]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[benchtests] Use inputs file for modf
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cf806aff
SP
12014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/bench-modf.c: Remove.
4 * benchtests/modf-inputs: New inputs file.
5
289e0779
JM
62014-03-28 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #16362]
9 * math/s_clog10.c (M_PI_LOG10E): New macro.
10 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11 imaginary parts are 0.
12 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14 imaginary parts are 0.
15 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17 imaginary parts are 0.
18 * math/libm-test.inc (clog10_test_data): Update expected results
19 for when real and imaginary parts are 0.
20
277ae3f1
PP
212014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22
23 * elf/dl-load.c: Finish conversion of __builtin_expect into
24 __glibc_{un}likely.
25
03a7091f
JM
262014-03-27 Joseph Myers <joseph@codesourcery.com>
27
28 [BZ #16348]
29 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30 1+x for argument with exponent below -67.
31 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32 Likewise.
33 * math/auto-libm-test-in: Add more tests of exp.
34 * math/auto-libm-test-out: Regenerated.
35
ea7d8b95
SP
362014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37
dd3022d7
SP
38 [BZ #16759]
39 * inet/getnetgrent_r.c (get_nonempty_val): New function.
40 (nscd_getnetgrent): Use it.
41
ea7d8b95
SP
42 [BZ #16760]
43 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
44 of stpcpy.
45
df5b85da
AK
462014-03-27 Andi Kleen <ak@linux.intel.com>
47
48 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
49 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
50 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
51 Remove out of line section. Use cfi intrinsics.
52 (LLL_STUB_UNWIND_INFO*): Remove.
53 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
54 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
55 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
56 Remove out of line section. Use cfi intrinsics.
57 (LLL_STUB_UNWIND_INFO*): Remove.
58
fbd6b5a4
SP
592014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
60
61 [BZ #16758]
62 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
63 blank values.
64
1b26b855
PP
652014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
66
67 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
68
9be36fb8
JM
692014-03-26 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #16198]
72 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
73 fnstenv.
74 * math/test-fenv-preserve.c: New file.
75 * math/Makefile (tests): Add test-fenv-preserve.
76
60a2f3c1
WN
772014-03-26 Will Newton <will.newton@linaro.org>
78
79 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
80
a5e5f1e2
RM
812014-03-25 Roland McGrath <roland@hack.frob.com>
82
83 * scripts/versionlist.awk: Partition the version sets and emit all
84 GLIBC_* (sorted) before all others (sorted).
85
00f4012a
JM
862014-03-25 Joseph Myers <joseph@codesourcery.com>
87
88 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
89 GLIBC_2.2.5 version.
90
7bc5a741
AZ
912014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92
93 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
94 calls.
95
7578473b
AZ
962014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97
98 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
99 previous change.
100
f3f1dab3
AZ
1012014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
104
6da36183
AS
1052014-03-25 Andreas Schwab <schwab@suse.de>
106
107 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
108 label to be used after in6ailist is initialized.
109
f3f1dab3 1102014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 111
7578473b 112 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
113 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
114
046651c1
JM
1152014-03-25 Joseph Myers <joseph@codesourcery.com>
116
117 [BZ #16357]
118 [BZ #16599]
119 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
120 min_plus_half.
121 (fp_formats): Update initializers.
122 (init_fp_formats): Initialize new field.
123 (output_for_one_input_case): Allow underflow for results up to
124 min_plus_half.
125 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
126 * math/auto-libm-test-in: Don't mark some underflows from asin and
127 atanh as spurious.
128 * math/auto-libm-test-out: Regenerated.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131
003e49ed
AS
1322014-03-25 Andreas Schwab <schwab@suse.de>
133
134 * libio/Makefile (tst-ftell-partial-wide-ENV)
135 (tst-ftell-active-handler-ENV): Define.
136
de031874
SL
1372014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
138
139 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
140
55a81e3b
PP
1412014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
142
143 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
144
f3426898
JM
1452014-03-24 Joseph Myers <joseph@codesourcery.com>
146
147 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
148 * sysdeps/x86_64/fpu/multiarch/e_exp.c
149 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
150
a42faf59
PP
1512014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
152
153 [BZ #16634]
a42faf59
PP
154 * elf/dl-load.c (open_verify): Add mode parameter.
155 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
156 (open_path): Change from boolean 'secure' to complete flag 'mode'
157 (_dl_map_object): Adjust.
158 * elf/Makefile (tests): Add tst-dlopen-aout.
159 * elf/tst-dlopen-aout.c: New test.
160
50936127
SL
1612014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
162
163 [BZ #16714]
164 * sysdeps/unix/sysv/linux/s390/bits/stat.h
165 (struct stat): Rename member pad0 to __glibc_reserved0.
166
26011b5c
SL
1672014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
168
169 [BZ #16712]
170 * sysdeps/s390/s390-32/bits/wordsize.h
171 (__WORDSIZE32_SIZE_ULONG): New define.
172 * sysdeps/s390/s390-64/bits/wordsize.h
173 (__WORDSIZE32_SIZE_ULONG): Likewise.
174 * sysdeps/generic/stdint.h (SIZE_MAX):
175 Define as UL if __WORDSIZE32_SIZE_ULONG.
176
a2d86bf1
SL
1772014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
178
179 [BZ #16713]
180 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
181 (__glibc_reserved0): New variable.
182 (sa_flags): Change type to int.
183
78b6eebc
SL
1842014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
185
186 * posix/Makefile (before-compile): Use += before-compile instead
187 of a :=.
188
f1399b5a
SL
1892014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
190
191 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
192 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
193
a071766e
AS
1942014-03-20 Andreas Schwab <schwab@suse.de>
195
196 [BZ #16743]
197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
198 non-matching result from nscd.
199
27c673b8
SP
2002014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
201
202 * scripts/bench.py: Moved to ...
203 * benchtests/scripts/bench.py: ... here.
204 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
205
44152e4b
AS
2062014-03-24 Andreas Schwab <schwab@suse.de>
207
208 [BZ #16002]
209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
210 alloca_account and account alloca use for struct in6ailist.
211
b376a11a
JM
2122014-03-24 Joseph Myers <joseph@codesourcery.com>
213
214 [BZ #16284]
215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
216 rounding mode to recompute results that overflow to infinity or
217 underflow to zero.
218 * math/auto-libm-test-in: Don't mark tests as expected to fail for
219 bug 16284.
220 * math/auto-libm-test-out: Regenerated.
221 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
222 (ccosh_test): Likewise.
223 (csin_test_data): Use plus_oflow.
224 (csin_test): Use ALL_RM_TEST.
225 (csinh_test_data): Use plus_oflow.
226 (csinh_test): Use ALL_RM_TEST.
227 * sysdeps/i386/fpu/libm-test-ulps: Update.
228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
229
f7be7376
JM
2302014-03-21 Joseph Myers <joseph@codesourcery.com>
231
1ca2d03e
JM
232 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
233 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
234 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
235
f7be7376
JM
236 [BZ #16731]
237 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
238 when x - 1 is zero.
239 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
240 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
241 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
243 argument is 1.
244 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
245 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
246 zero.
247 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
248 * sysdeps/i386/fpu/libm-test-ulps: Update.
249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
250
fdf4534d
SP
2512014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
252
df26ea53
SP
253 * scripts/bench.pl: Remove file.
254 * scripts/bench.py: New benchmark script.
255 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
256 * benchtests/README: Mention python dependency.
257 * scripts/pylintrc: New file.
258 * scripts/pylint: New file.
259
fdf4534d
SP
260 * bits/mathdef.h: Use #ifdef instead of #if.
261 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
262 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
263 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
264 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
265 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
266 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
267
6f23d093
AZ
2682014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
270
271 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
273 and strpbrk-ppc64 objects.
274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
275 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
276 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
277 multiarch strpbrk for POWER7.
278 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
279 multiarch strpbrk for PPC64.
280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
281 ifunc selector.
282 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
283 strpbrk for POWER7.
284
8c92dfff
JM
2852014-03-20 Joseph Myers <joseph@codesourcery.com>
286
287 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
288 (atan_test): Likewise.
289 (atanh_test_data): Use NO_TEST_INLINE for two tests.
290 (atanh_test): Use ALL_RM_TEST.
291 (atan2_test_data): Likewise.
292 (cabs_test): Likewise.
293 (cacosh_test): Likewise.
294 (carg_test): Likewise.
295 (casin_test): Likewise.
296 (casinh_test): Likewise.
297 (cbrt_test): Likewise.
298 (csqrt_test): Likewise.
299 (erf_test): Likewise.
300 (erfc_test): Likewise.
301 (pow10_test): Likewise.
302 (exp2_test): Likewise.
303 (hypot_test): Likewise.
304 (j0_test): Likewise.
305 (j1_test): Likewise.
306 (lgamma_test): Likewise.
307 (gamma_test): Likewise.
308 (sincos_test): Likewise.
309 (tanh_test): Likewise.
310 (y0_test): Likewise.
311 (y1_test): Likewise.
312 * sysdeps/i386/fpu/libm-test-ulps: Update.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
314
6eaf95cb
AZ
3152014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
316
a387428c
SP
317 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
319 and strcspn-ppc64 objects.
320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
321 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
322 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
323 multiarch strcspn for POWER7.
324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
325 multiarch strcspn for PPC64.
326 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
327 ifunc selector.
328 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
329 strcspn for POWER7.
330
ae3a5dff
JM
3312014-03-20 Joseph Myers <joseph@codesourcery.com>
332
333 * math/gen-libm-test.pl (generate_testfile): Expect only function
334 name as argument to AUTO_TESTS_* and pass results for all rounding
335 modes to parse_args.
336 (parse_auto_input): Separate inputs of automatic tests from
337 outputs before storing in %auto_tests.
338 * math/libm-test.inc (acos_test_data): Update call to
339 AUTO_TESTS_f_f.
340 (acos_test): Use ALL_RM_TEST.
341 (acos_tonearest_test_data): Remove.
342 (acos_test_tonearest): Likewise.
343 (acos_towardzero_test_data): Likewise.
344 (acos_test_towardzero): Likewise.
345 (acos_downward_test_data): Likewise.
346 (acos_test_downward): Likewise.
347 (acos_upward_test_data): Likewise.
348 (acos_test_upward): Likewise.
349 (acosh_test_data): Update call to AUTO_TESTS_f_f.
350 (asin_test_data): Likewise.
351 (asin_test): Use ALL_RM_TEST.
352 (asin_tonearest_test_data): Remove.
353 (asin_test_tonearest): Likewise.
354 (asin_towardzero_test_data): Likewise.
355 (asin_test_towardzero): Likewise.
356 (asin_downward_test_data): Likewise.
357 (asin_test_downward): Likewise.
358 (asin_upward_test_data): Likewise.
359 (asin_test_upward): Likewise.
360 (asinh_test_data): Update call to AUTO_TESTS_f_f.
361 (atan_test_data): Likewise.
362 (atanh_test_data): Likewise.
363 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
364 (cabs_test_data): Update call to AUTO_TESTS_c_f.
365 (carg_test_data): Likewise.
366 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
367 (ccos_test_data): Update call to AUTO_TESTS_c_c.
368 (ccosh_test_data): Likewise.
369 (cexp_test_data): Likewise.
370 (clog_test_data): Likewise.
371 (clog10_test_data): Likewise.
372 (cos_test_data): Update call to AUTO_TESTS_f_f.
373 (cos_test): Use ALL_RM_TEST.
374 (cos_tonearest_test_data): Remove.
375 (cos_test_tonearest): Likewise.
376 (cos_towardzero_test_data): Likewise.
377 (cos_test_towardzero): Likewise.
378 (cos_downward_test_data): Likewise.
379 (cos_test_downward): Likewise.
380 (cos_upward_test_data): Likewise.
381 (cos_test_upward): Likewise.
382 (cosh_test_data): Update call to AUTO_TESTS_f_f.
383 (cosh_test): Use ALL_RM_TEST.
384 (cosh_tonearest_test_data): Remove.
385 (cosh_test_tonearest): Likewise.
386 (cosh_towardzero_test_data): Likewise.
387 (cosh_test_towardzero): Likewise.
388 (cosh_downward_test_data): Likewise.
389 (cosh_test_downward): Likewise.
390 (cosh_upward_test_data): Likewise.
391 (cosh_test_upward): Likewise.
392 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
393 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
394 (ctan_test_data): Likewise.
395 (ctan_test): Use ALL_RM_TEST.
396 (ctan_tonearest_test_data): Remove.
397 (ctan_test_tonearest): Likewise.
398 (ctan_towardzero_test_data): Likewise.
399 (ctan_test_towardzero): Likewise.
400 (ctan_downward_test_data): Likewise.
401 (ctan_test_downward): Likewise.
402 (ctan_upward_test_data): Likewise.
403 (ctan_test_upward): Likewise.
404 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
405 (ctanh_test): Use ALL_RM_TEST.
406 (ctanh_tonearest_test_data): Remove.
407 (ctanh_test_tonearest): Likewise.
408 (ctanh_towardzero_test_data): Likewise.
409 (ctanh_test_towardzero): Likewise.
410 (ctanh_downward_test_data): Likewise.
411 (ctanh_test_downward): Likewise.
412 (ctanh_upward_test_data): Likewise.
413 (ctanh_test_upward): Likewise.
414 (erf_test_data): Update call to AUTO_TESTS_f_f.
415 (erfc_test_data): Likewise.
416 (exp_test_data): Likewise.
417 (exp_test): Use ALL_RM_TEST.
418 (exp_tonearest_test_data): Remove.
419 (exp_test_tonearest): Likewise.
420 (exp_towardzero_test_data): Likewise.
421 (exp_test_towardzero): Likewise.
422 (exp_downward_test_data): Likewise.
423 (exp_test_downward): Likewise.
424 (exp_upward_test_data): Likewise.
425 (exp_test_upward): Likewise.
426 (exp10_test_data): Update call to AUTO_TESTS_f_f.
427 (exp10_test): Use ALL_RM_TEST.
428 (exp10_tonearest_test_data): Remove.
429 (exp10_test_tonearest): Likewise.
430 (exp10_towardzero_test_data): Likewise.
431 (exp10_test_towardzero): Likewise.
432 (exp10_downward_test_data): Likewise.
433 (exp10_test_downward): Likewise.
434 (exp10_upward_test_data): Likewise.
435 (exp10_test_upward): Likewise.
436 (exp2_test_data): Update call to AUTO_TESTS_f_f.
437 (expm1_test_data): Likewise.
438 (expm1_test): Use ALL_RM_TEST.
439 (expm1_tonearest_test_data): Remove.
440 (expm1_test_tonearest): Likewise.
441 (expm1_towardzero_test_data): Likewise.
442 (expm1_test_towardzero): Likewise.
443 (expm1_downward_test_data): Likewise.
444 (expm1_test_downward): Likewise.
445 (expm1_upward_test_data): Likewise.
446 (expm1_test_upward): Likewise.
447 (fma_test_data): Update call to AUTO_TESTS_fff_f.
448 (fma_test): Use ALL_RM_TEST.
449 (fma_towardzero_test_data): Remove.
450 (fma_test_towardzero): Likewise.
451 (fma_downward_test_data): Likewise.
452 (fma_test_downward): Likewise.
453 (fma_upward_test_data): Likewise.
454 (fma_test_upward): Likewise.
455 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
456 (j0_test_data): Update call to AUTO_TESTS_f_f.
457 (j1_test_data): Likewise.
458 (jn_test_data): Update call to AUTO_TESTS_if_f.
459 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
460 (log_test_data): Update call to AUTO_TESTS_f_f.
461 (log10_test_data): Likewise.
462 (log1p_test_data): Likewise.
463 (log2_test_data): Likewise.
464 (pow_test_data): Update call to AUTO_TESTS_ff_f.
465 (pow_tonearest_test_data): Likewise.
466 (sin_test_data): Update call to AUTO_TESTS_f_f.
467 (sin_test): Use ALL_RM_TEST.
468 (sin_tonearest_test_data): Remove.
469 (sin_test_tonearest): Likewise.
470 (sin_towardzero_test_data): Likewise.
471 (sin_test_towardzero): Likewise.
472 (sin_downward_test_data): Likewise.
473 (sin_test_downward): Likewise.
474 (sin_upward_test_data): Likewise.
475 (sin_test_upward): Likewise.
476 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
477 (sinh_test_data): Update call to AUTO_TESTS_f_f.
478 (sinh_test): Use ALL_RM_TEST.
479 (sinh_tonearest_test_data): Remove.
480 (sinh_test_tonearest): Likewise.
481 (sinh_towardzero_test_data): Likewise.
482 (sinh_test_towardzero): Likewise.
483 (sinh_downward_test_data): Likewise.
484 (sinh_test_downward): Likewise.
485 (sinh_upward_test_data): Likewise.
486 (sinh_test_upward): Likewise.
487 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
488 (sqrt_test): Use ALL_RM_TEST.
489 (sqrt_tonearest_test_data): Remove.
490 (sqrt_test_tonearest): Likewise.
491 (sqrt_towardzero_test_data): Likewise.
492 (sqrt_test_towardzero): Likewise.
493 (sqrt_downward_test_data): Likewise.
494 (sqrt_test_downward): Likewise.
495 (sqrt_upward_test_data): Likewise.
496 (sqrt_test_upward): Likewise.
497 (tan_test_data): Update call to AUTO_TESTS_f_f.
498 (tan_test): Use ALL_RM_TEST.
499 (tan_tonearest_test_data): Remove.
500 (tan_test_tonearest): Likewise.
501 (tan_towardzero_test_data): Likewise.
502 (tan_test_towardzero): Likewise.
503 (tan_downward_test_data): Likewise.
504 (tan_test_downward): Likewise.
505 (tan_upward_test_data): Likewise.
506 (tan_test_upward): Likewise.
507 (tanh_test_data): Update call to AUTO_TESTS_f_f.
508 (tgamma_test_data): Likewise.
509 (y0_test_data): Likewise.
510 (y1_test_data): Likewise.
511 (yn_test_data): Update call to AUTO_TESTS_if_f.
512 (main): Do not call removed functions.
513
d71aeee8
JM
5142014-03-19 Joseph Myers <joseph@codesourcery.com>
515
516 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
517 (ldexp_test_data): Remove.
518 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
519 scalbn_test_data.
520 (scalb_test): Use ALL_RM_TEST.
521
baaf1ded
AS
5222014-03-19 Andreas Schwab <schwab@suse.de>
523
524 * nscd/nscd.service: Also invalidate netgroup cache on reload.
525
b1115e91
JM
5262014-03-19 Joseph Myers <joseph@codesourcery.com>
527
528 [BZ #16649]
529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
531 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
533 (__ASSUME_PREADV): Undefine.
534 (__ASSUME_PWRITEV): Likewise.
535
0283ecca
RM
5362014-03-18 Roland McGrath <roland@hack.frob.com>
537
7d375303
RM
538 * bits/mman-linux.h: Add comment about non-Linux use.
539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
540 bits/mman-linux.h resting place.
541
0283ecca
RM
542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
543 * bits/mman-linux.h: ... here.
544
aebe1003
AZ
5452014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
546
547 * conform/conformtest.pl: Add standard definition when calling C
548 preprocessor on data files.
549 (checknamespace): Remove unused variable.
550
b29b6bb8
JM
5512014-03-18 Joseph Myers <joseph@codesourcery.com>
552
553 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
554 minus_oflow, plus_uflow and minus_uflow in expected results.
555 * math/libm-test.inc (scalbn_test_data): Add more tests of
556 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
557 minus_uflow.
558 (scalbn_test): Use ALL_RM_TEST.
559 (scalbln_test_data): Add more tests of negative arguments. Use
560 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
561 (scalbln_test): Use ALL_RM_TEST.
562
c8f8fa15
RM
5632014-03-18 Roland McGrath <roland@hack.frob.com>
564
565 * scripts/abilist.awk: Ignore symbols marked with .hidden.
566
fede7a5f
WN
5672014-03-18 Will Newton <will.newton@linaro.org>
568
569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
570 inaccurate comment.
571
80cf0a58
JM
5722014-03-18 Joseph Myers <joseph@codesourcery.com>
573
574 * Makerules [!subdir] (check-abi): Exit with error status if a
575 test failed.
576
b3620862
JM
5772014-03-17 Joseph Myers <joseph@codesourcery.com>
578
579 * math/libm-test.inc (nearbyint_test_data): Include all tests used
580 for rint. Include results for all rounding modes.
581 (nearbyint_test): Use ALL_RM_TEST.
582 (rint_test_data): Include all tests used for nearbyint.
583
788bba36
WN
5842014-03-17 Will Newton <will.newton@linaro.org>
585
04ec140a
WN
586 * nptl/sysdeps/pthread/pthread.h: Revert previous
587 change.
588
7579d8d5
WN
589 * sysdeps/generic/ldsodefs.h: Revert previous
590 change.
591
c15cf13a
WN
592 * libio/genops.c: Revert previous change.
593 * libio/libioP.h: Likewise.
594 * stdio-common/vfprintf.c: Likewise.
595
d0ac1324
WN
596 * sysdeps/generic/math_private.h: Revert previous
597 change.
598
9290130a
WN
599 * sysdeps/generic/math_private.h: Check whether
600 HAVE_RM_CTX is defined with #ifdef rather
601 than #if.
602
afb466fc
WN
603 * argp/argp-fmtstream.h: Check whether
604 __STRICT_ANSI__ is defined with #ifdef rather
605 than #if.
606 * argp/argp.h: Likewise.
607
f7efd7c3
WN
608 * libio/genops.c: Check whether
609 _IO_JUMPS_OFFSET is defined with #ifdef rather
610 than #if.
611 * libio/libioP.h: Likewise.
612 * stdio-common/vfprintf.c: Likewise.
613
53f1bed3
WN
614 * sysdeps/generic/ldsodefs.h: Check whether
615 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
616 than #if.
617
788bba36
WN
618 * nptl/sysdeps/pthread/pthread.h: Check
619 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
620 its value.
621
fcd89ebe
SP
6222014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
623
ae42bbc5
SP
624 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
625 setting O_APPEND.
626 * libio/tst-ftell-active-handler.c (do_append_test): Add a
627 test case.
628
ea33158c
SP
629 [BZ #16680]
630 * libio/fileops.c (_IO_file_open): Seek to end of file but
631 don't cache the offset.
632 (get_file_offset): Remove function.
633 (do_ftell): Use cached offset when available.
634 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
635 don't cache the offset.
636 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
637 case.
638 (do_one_test): Call it.
639 (do_ftell_test): Fix up expected old offset for a+ mode.
640 * libio/wfileops.c (do_ftell_wide): Used cached offset when
641 available.
642
b1dbb426
SP
643 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
644 up test status with function return status.
645 (do_write_test): Likewise.
646 (do_append_test): Likewise.
647
fcd89ebe
SP
648 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
649 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
650 Remove.
651
9962a2d3
JM
6522014-03-17 Joseph Myers <joseph@codesourcery.com>
653
654 * math/gen-libm-test.pl (parse_args): Handle results specified for
655 each rounding mode separately.
656 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
657 tests and results from lrint_tonearest_test_data,
658 lrint_towardzero_test_data, lrint_downward_test_data and
659 lrint_upward_test_data.
660 (lrint_test): Use ALL_RM_TEST.
661 (lrint_tonearest_test_data): Remove.
662 (lrint_test_tonearest): Likewise.
663 (lrint_towardzero_test_data): Likewise.
664 (lrint_test_towardzero): Likewise.
665 (lrint_downward_test_data): Likewise.
666 (lrint_test_downward): Likewise.
667 (lrint_upward_test_data): Likewise.
668 (lrint_test_upward): Likewise.
669 (llrint_test_data): Merge in per-rounding-mode tests and results
670 from llrint_tonearest_test_data, llrint_towardzero_test_data,
671 llrint_downward_test_data and llrint_upward_test_data.
672 (llrint_test): Use ALL_RM_TEST.
673 (llrint_tonearest_test_data): Remove.
674 (llrint_test_tonearest): Likewise.
675 (llrint_towardzero_test_data): Likewise.
676 (llrint_test_towardzero): Likewise.
677 (llrint_downward_test_data): Likewise.
678 (llrint_test_downward): Likewise.
679 (llrint_upward_test_data): Likewise.
680 (llrint_test_upward): Likewise.
681 (rint_test_data): Merge in per-rounding-mode tests and results
682 from rint_tonearest_test_data, rint_towardzero_test_data,
683 rint_downward_test_data and rint_upward_test_data. Add
684 per-rounding-mode results for tests not in those arrays.
685 (rint_test): Use ALL_RM_TEST.
686 (rint_tonearest_test_data): Remove.
687 (rint_test_tonearest): Likewise.
688 (rint_towardzero_test_data): Likewise.
689 (rint_test_towardzero): Likewise.
690 (rint_downward_test_data): Likewise.
691 (rint_test_downward): Likewise.
692 (rint_upward_test_data): Likewise.
693 (rint_test_upward): Likewise.
694 (main): Don't call removed functions.
695
5006148e
RM
6962014-03-14 Roland McGrath <roland@hack.frob.com>
697
698 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
699 "Compiled on ..." crapola. It is anti-useful.
700
d6fe5e58
JM
7012014-03-14 Joseph Myers <joseph@codesourcery.com>
702
703 * scripts/evaluate-test.sh: Handle fourth argument to determine
704 whether test run should stop on failure.
705 * Makeconfig (stop-on-test-failure): New variable.
706 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
707 $(stop-on-test-failure).
708 * Makefile (tests): Give a summary of results from testing and
709 exit with failure status if they include an ERROR or FAIL.
710 (xtests): Likewise.
711 * manual/install.texi (Configuring and compiling): Mention
712 stop-on-test-failure=y.
713 * INSTALL: Regenerated.
714
498a2233
RM
7152014-03-14 Roland McGrath <roland@hack.frob.com>
716
22dbc19d
RM
717 * scripts/versionlist.awk: New file.
718 * Makerules [$(build-shared) = yes]
719 (postclean-generated): Add Versions.def, not Versions.def.v and
720 Versions.def.v.i.
721 ($(common-objpfx)Versions.def.v.i): Target removed.
722 ($(common-objpfx)Versions.def): New target.
723 ($(common-objpfx)Versions.all): Depend on that rather that
724 $(common-objpfx)Versions.def.v.
725 * Versions.def: File removed.
726
498a2233
RM
727 * Makeconfig (+gccwarn): Add -Wundef.
728 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
729 a dl-sysdep.h breaking its contract.
730 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
731 * include/stackinfo.h: New file.
732 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
733 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
734 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
735 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
736 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
737 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
738 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
739 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
740 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
741 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
742 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
743 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
744 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
745 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
746 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
747
c7de5025
AZ
7482014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 [BZ #16707]
751 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
752 implementation.
753 * math/libm-test.inc (round_test_data): Add more tests.
754
98fb27a3
AZ
7552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756
757 [BZ #16706]
758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
759 implementation.
760 * math/libm-test.inc (nearbyint_test_data): Add more tests.
761
374f7f61
AZ
7622014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763
764 [BZ #16701]
765 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
766 implementation.
767 * math/libm-test.inc (ceil_test_data): Add more tests.
768
4655c291
AZ
7692014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770
771 * math/libm-test.inc (trunc_test_data): Add more tests related to
772 BZ#16414.
773
d7329d4b
RM
7742014-03-14 Roland McGrath <roland@hack.frob.com>
775
776 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
777 with #if rather than #ifdef.
778 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
779
aa4de9ce
L
7802014-03-14 H.J. Lu <hongjiu.lu@intel.com>
781
782 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
783 first. Disable AVX-512 GCC support if assembler doesn't support
784 it.
785 * sysdeps/x86_64/configure: Regenerated.
786
2e03fae7
CD
7872014-03-13 Carlos O'Donell <carlos@redhat.com>
788
789 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
790 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
791 (__old_pthread_attr_setstack): Likewise.
792 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
793 [!_STACK_GROWS_DOWN]: Likewise.
794
43ca83ec
MF
7952014-03-13 Mike Frysinger <vapier@gentoo.org>
796
797 * config.make.in (have-bash2): Delete.
798 * configure.ac (libc_cv_have_bash2): Delete.
799 * configure: Regenerate.
800 * elf/Makefile (common-ldd-rewrite): Rename to ...
801 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
802 (sh-ldd-rewrite): Delete.
803 (bash-ldd-rewrite): Delete.
804 (have-bash2): Delete checks.
805 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
806
c66e48b4
MF
8072014-03-13 Mike Frysinger <vapier@gentoo.org>
808
809 * config.make.in (have-ksh): Delete.
810 (KSH): Delete.
811 * configure.ac (libc_cv_have_ksh): Delete.
812 * configure: Regenerate.
813
b93834ef
MF
8142014-03-13 Mike Frysinger <vapier@gentoo.org>
815
816 * elf/Makefile: Delete $(have-ksh) check.
817 ($(objpfx)sotruss): Change KSH to BASH.
818 * elf/sotruss.ksh: Rename to ...
819 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
820 function style to match POSIX. Drop ksh vim mode setting.
821
f3a4632a
MF
8222014-03-13 Mike Frysinger <vapier@gentoo.org>
823
824 * manual/time.texi (Specifying the Time Zone with TZ): Change
825 Tuesday to Thursday.
826
5896c8bd
MF
8272014-03-13 Mike Frysinger <vapier@gentoo.org>
828
829 * debug/tst-longjmp_chk2.c: Update header comment.
830 (stackoverflow_handler): Add comment. Call assert on pass value.
831
2d63a517
IZ
8322014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
833
834 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
835 (HAVE_AVX512_ASM_SUPPORT): Likewise.
836 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
837 (La_x86_64_vector): Add zmm.
838 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
839 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
840 ($(objpfx)tst-audit10): New target.
841 ($(objpfx)tst-audit10.out): Likewise.
842 (tst-audit10-ENV): New.
843 (AVX512-CFLAGS): Likewise.
844 (CFLAGS-tst-audit10.c): Likewise.
845 (CFLAGS-tst-auditmod10a.c): Likewise.
846 (CFLAGS-tst-auditmod10b.c): Likewise.
847 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
848 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
849 * sysdeps/x86_64/configure: Regenerated.
850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
851 AVX-512 zmm register support.
852 (_dl_x86_64_save_sse): Likewise.
853 (_dl_x86_64_restore_sse): Likewise.
854 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
855 size vector registers.
856 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
857 (ZMM_SIZE): Likewise.
858 * sysdeps/x86_64/tst-audit10.c: New file.
859 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
860 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
861
44c4e5d5
RM
8622014-03-13 Roland McGrath <roland@hack.frob.com>
863
864 * configure.ac (HAVE_EHDR_START): New check.
865 * configure: Regenerated.
866 * config.h.in (HAVE_EHDR_START): New #undef.
867 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
868 assuming the lowest-addressed segment maps the start of the file.
869
acd6e389
JM
8702014-03-13 Joseph Myers <joseph@codesourcery.com>
871
872 * INSTALL: Regenerated.
873
6f918f36
WN
8742014-03-13 Will Newton <will.newton@linaro.org>
875
876 * manual/setjmp.texi (System V contexts): Improve
877 clarity and grammar of documentation.
878
798212a0
PP
8792014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
880
881 [BZ #16381]
798212a0 882 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 883 (tests-pie): Add tst-pie2.
798212a0
PP
884 * elf/tst-pie2.c: New file.
885 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
886 for ET_EXEC.
887 * elf/rtld.c (map_doit): Load executable as lt_executable.
888 (dl_main): Likewise.
889
abe6d90c
JM
8902014-03-12 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #16642]
893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
894 (__ASSUME_PSELECT): Undefine.
895
dd3946c6
AZ
8962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897
898 [BZ #16689]
899 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
900 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
901 static build.
902 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
903 selector for static builds.
904
c44496df
SP
9052014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
906
907 [BZ #16695]
908 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
909 key in the buffer.
910
27c7220a
AZ
9112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
912
913 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
914 selector for static builds.
915
600fa361
JM
9162014-03-11 Joseph Myers <joseph@codesourcery.com>
917
76c96cf7
JM
918 * sysdeps/mips/math_private.h [__mips_hard_float]
919 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
920 libc_feresetround_mips_ctx.
921 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
922 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
923 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
924
600fa361
JM
925 [BZ #16677]
926 * math/s_nextafter.c (__nextafter): Do not return value from
927 overflowing computation.
928 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
929 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
930 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
931 Likewise.
932 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
933 Likewise.
934 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
935 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
936
d7706c32
RM
9372014-03-11 Roland McGrath <roland@hack.frob.com>
938
939 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
940 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
941 Move sfi_sp use from the load-multiple (that no longer sets sp) to
942 the new mov targetting sp.
943
4facea47
AZ
9442014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
946 [BZ #16683]
947 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
948 Define it for static builds as well.
949 (NO_BZERO_IMPL): Likewise.
950
e65caf1f
VR
9512014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
952
953 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
954 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
955 multiarch strspn for PPC64.
956 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
957 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
959 (__libc_ifunc_impl_list): Likewise.
960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
961 multiarch optimizations
962 * string/strspn.c (strspn): Using macro to redefine symbol name.
963
ba9cc071
AZ
9642014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
965 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966
967 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
968 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
969 multiarch strncat for PPC64.
970 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
971 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
973 (__libc_ifunc_impl_list): Likewise.
974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
975 multiarch optimizations
976
8b4ff974
SP
9772014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
978
979 [BZ #16639]
980 * nscd/nscd.service: Make service type forking.
981
54b46a4b
AZ
9822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983
984 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
985 sign in non default rounding modes.
986 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
987
e9996ef7
JM
9882014-03-08 Joseph Myers <joseph@codesourcery.com>
989
990 * math/libm-test.inc (ALL_RM_TEST): New macro.
991 (ceil_test): Use ALL_RM_TEST.
992 (cimag_test): Likewise.
993 (conj_test): Likewise.
994 (copysign_test): Likewise.
995 (cproj_test): Likewise.
996 (creal_test): Likewise.
997 (fabs_test): Likewise.
998 (floor_test): Likewise.
999 (fmax_test): Likewise.
1000 (fmin_test): Likewise.
1001 (fmod_test): Likewise.
1002 (fpclassify_test): Likewise.
1003 (frexp_test): Likewise.
1004 (ilogb_test): Likewise.
1005 (isfinite_test): Likewise.
1006 (finite_test): Likewise.
1007 (isgreater_test): Likewise.
1008 (isgreaterequal_test): Likewise.
1009 (isinf_test): Likewise.
1010 (isless_test): Likewise.
1011 (islessequal_test): Likewise.
1012 (islessgreater_test): Likewise.
1013 (isnan_test): Likewise.
1014 (isnormal_test): Likewise.
1015 (issignaling_test): Likewise.
1016 (isunordered_test): Likewise.
1017 (logb_test): Likewise.
1018 (logb_downward_test_data): Remove.
1019 (logb_test_downward): Likewise.
1020 (lround_test): Use ALL_RM_TEST.
1021 (llround_test): Likewise.
1022 (modf_test): Likewise.
1023 (nexttoward_test): Likewise.
1024 (remainder_test): Likewise.
1025 (drem_test): Likewise.
1026 (remainder_tonearest_test_data): Likewise.
1027 (remainder_test_tonearest): Likewise.
1028 (drem_test_tonearest): Likewise.
1029 (remainder_towardzero_test_data): Likewise.
1030 (remainder_test_towardzero): Likewise.
1031 (drem_test_towardzero): Likewise.
1032 (remainder_downward_test_data): Likewise.
1033 (remainder_test_downward): Likewise.
1034 (drem_test_downward): Likewise.
1035 (remainder_upward_test_data): Likewise.
1036 (remainder_test_upward): Likewise.
1037 (drem_test_upward): Likewise.
1038 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1039 (round_test): Use ALL_RM_TEST.
1040 (signbit_test): Likewise.
1041 (trunc_test): Likewise.
1042 (significand_test): Likewise.
1043 (main): Don't call removed functions.
1044
bc61d27c
JM
10452014-03-07 Joseph Myers <joseph@codesourcery.com>
1046
5c780849
JM
1047 [BZ #16674]
1048 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1049 || __USE_XOPEN2K8].
1050 (ILL_ILLOPN): Likewise.
1051 (ILL_ILLADR): Likewise.
1052 (ILL_ILLTRP): Likewise.
1053 (ILL_PRVOPC): Likewise.
1054 (ILL_PRVREG): Likewise.
1055 (ILL_COPROC): Likewise.
1056 (ILL_BADSTK): Likewise.
1057 (FPE_INTDIV): Likewise.
1058 (FPE_INTOVF): Likewise.
1059 (FPE_FLTDIV): Likewise.
1060 (FPE_FLTOVF): Likewise.
1061 (FPE_FLTUND): Likewise.
1062 (FPE_FLTRES): Likewise.
1063 (FPE_FLTINV): Likewise.
1064 (FPE_FLTSUB): Likewise.
1065 (SEGV_MAPERR): Likewise.
1066 (SEGV_ACCERR): Likewise.
1067 (BUS_ADRALN): Likewise.
1068 (BUS_ADRERR): Likewise.
1069 (BUS_OBJERR): Likewise.
1070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1071 (TRAP_TRACE): Likewise.
1072 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1073 __USE_XOPEN2K8].
1074 (CLD_KILLED): Likewise.
1075 (CLD_DUMPED): Likewise.
1076 (CLD_TRAPPED): Likewise.
1077 (CLD_STOPPED): Likewise.
1078 (CLD_CONTINUED): Likewise.
1079 (POLL_IN): Likewise.
1080 (POLL_OUT): Likewise.
1081 (POLL_MSG): Likewise.
1082 (POLL_ERR): Likewise.
1083 (POLL_PRI): Likewise.
1084 (POLL_HUP): Likewise.
1085 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1086 Likewise.
1087 (ILL_ILLOPN): Likewise.
1088 (ILL_ILLADR): Likewise.
1089 (ILL_ILLTRP): Likewise.
1090 (ILL_PRVOPC): Likewise.
1091 (ILL_PRVREG): Likewise.
1092 (ILL_COPROC): Likewise.
1093 (ILL_BADSTK): Likewise.
1094 (FPE_INTDIV): Likewise.
1095 (FPE_INTOVF): Likewise.
1096 (FPE_FLTDIV): Likewise.
1097 (FPE_FLTOVF): Likewise.
1098 (FPE_FLTUND): Likewise.
1099 (FPE_FLTRES): Likewise.
1100 (FPE_FLTINV): Likewise.
1101 (FPE_FLTSUB): Likewise.
1102 (SEGV_MAPERR): Likewise.
1103 (SEGV_ACCERR): Likewise.
1104 (BUS_ADRALN): Likewise.
1105 (BUS_ADRERR): Likewise.
1106 (BUS_OBJERR): Likewise.
1107 (BUS_MCEERR_AR): Likewise.
1108 (BUS_MCEERR_AO): Likewise.
1109 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1110 (TRAP_TRACE): Likewise.
1111 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1112 __USE_XOPEN2K8].
1113 (CLD_KILLED): Likewise.
1114 (CLD_DUMPED): Likewise.
1115 (CLD_TRAPPED): Likewise.
1116 (CLD_STOPPED): Likewise.
1117 (CLD_CONTINUED): Likewise.
1118 (POLL_IN): Likewise.
1119 (POLL_OUT): Likewise.
1120 (POLL_MSG): Likewise.
1121 (POLL_ERR): Likewise.
1122 (POLL_PRI): Likewise.
1123 (POLL_HUP): Likewise.
1124 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1125 (ILL_ILLOPN): Likewise.
1126 (ILL_ILLADR): Likewise.
1127 (ILL_ILLTRP): Likewise.
1128 (ILL_PRVOPC): Likewise.
1129 (ILL_PRVREG): Likewise.
1130 (ILL_COPROC): Likewise.
1131 (ILL_BADSTK): Likewise.
1132 (FPE_INTDIV): Likewise.
1133 (FPE_INTOVF): Likewise.
1134 (FPE_FLTDIV): Likewise.
1135 (FPE_FLTOVF): Likewise.
1136 (FPE_FLTUND): Likewise.
1137 (FPE_FLTRES): Likewise.
1138 (FPE_FLTINV): Likewise.
1139 (FPE_FLTSUB): Likewise.
1140 (SEGV_MAPERR): Likewise.
1141 (SEGV_ACCERR): Likewise.
1142 (BUS_ADRALN): Likewise.
1143 (BUS_ADRERR): Likewise.
1144 (BUS_OBJERR): Likewise.
1145 (BUS_MCEERR_AR): Likewise.
1146 (BUS_MCEERR_AO): Likewise.
1147 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1148 (TRAP_TRACE): Likewise.
1149 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1150 __USE_XOPEN2K8].
1151 (CLD_KILLED): Likewise.
1152 (CLD_DUMPED): Likewise.
1153 (CLD_TRAPPED): Likewise.
1154 (CLD_STOPPED): Likewise.
1155 (CLD_CONTINUED): Likewise.
1156 (POLL_IN): Likewise.
1157 (POLL_OUT): Likewise.
1158 (POLL_MSG): Likewise.
1159 (POLL_ERR): Likewise.
1160 (POLL_PRI): Likewise.
1161 (POLL_HUP): Likewise.
1162 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1163 Likewise.
1164 (ILL_ILLOPN): Likewise.
1165 (ILL_ILLADR): Likewise.
1166 (ILL_ILLTRP): Likewise.
1167 (ILL_PRVOPC): Likewise.
1168 (ILL_PRVREG): Likewise.
1169 (ILL_COPROC): Likewise.
1170 (ILL_BADSTK): Likewise.
1171 (ILL_BADIADDR): Likewise.
1172 (ILL_BREAK): Likewise.
1173 (FPE_INTDIV): Likewise.
1174 (FPE_INTOVF): Likewise.
1175 (FPE_FLTDIV): Likewise.
1176 (FPE_FLTOVF): Likewise.
1177 (FPE_FLTUND): Likewise.
1178 (FPE_FLTRES): Likewise.
1179 (FPE_FLTINV): Likewise.
1180 (FPE_FLTSUB): Likewise.
1181 (FPE_DECOVF): Likewise.
1182 (FPE_DECDIV): Likewise.
1183 (FPE_DECERR): Likewise.
1184 (FPE_INVASC): Likewise.
1185 (FPE_INVDEC): Likewise.
1186 (SEGV_MAPERR): Likewise.
1187 (SEGV_ACCERR): Likewise.
1188 (SEGV_PSTKOVF): Likewise.
1189 (BUS_ADRALN): Likewise.
1190 (BUS_ADRERR): Likewise.
1191 (BUS_OBJERR): Likewise.
1192 (BUS_MCEERR_AR): Likewise.
1193 (BUS_MCEERR_AO): Likewise.
1194 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1195 (TRAP_TRACE): Likewise.
1196 (TRAP_BRANCH): Likewise.
1197 (TRAP_HWBKPT): Likewise.
1198 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1199 __USE_XOPEN2K8].
1200 (CLD_KILLED): Likewise.
1201 (CLD_DUMPED): Likewise.
1202 (CLD_TRAPPED): Likewise.
1203 (CLD_STOPPED): Likewise.
1204 (CLD_CONTINUED): Likewise.
1205 (POLL_IN): Likewise.
1206 (POLL_OUT): Likewise.
1207 (POLL_MSG): Likewise.
1208 (POLL_ERR): Likewise.
1209 (POLL_PRI): Likewise.
1210 (POLL_HUP): Likewise.
1211 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1212 (ILL_ILLOPN): Likewise.
1213 (ILL_ILLADR): Likewise.
1214 (ILL_ILLTRP): Likewise.
1215 (ILL_PRVOPC): Likewise.
1216 (ILL_PRVREG): Likewise.
1217 (ILL_COPROC): Likewise.
1218 (ILL_BADSTK): Likewise.
1219 (FPE_INTDIV): Likewise.
1220 (FPE_INTOVF): Likewise.
1221 (FPE_FLTDIV): Likewise.
1222 (FPE_FLTOVF): Likewise.
1223 (FPE_FLTUND): Likewise.
1224 (FPE_FLTRES): Likewise.
1225 (FPE_FLTINV): Likewise.
1226 (FPE_FLTSUB): Likewise.
1227 (SEGV_MAPERR): Likewise.
1228 (SEGV_ACCERR): Likewise.
1229 (BUS_ADRALN): Likewise.
1230 (BUS_ADRERR): Likewise.
1231 (BUS_OBJERR): Likewise.
1232 (BUS_MCEERR_AR): Likewise.
1233 (BUS_MCEERR_AO): Likewise.
1234 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1235 (TRAP_TRACE): Likewise.
1236 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1237 __USE_XOPEN2K8].
1238 (CLD_KILLED): Likewise.
1239 (CLD_DUMPED): Likewise.
1240 (CLD_TRAPPED): Likewise.
1241 (CLD_STOPPED): Likewise.
1242 (CLD_CONTINUED): Likewise.
1243 (POLL_IN): Likewise.
1244 (POLL_OUT): Likewise.
1245 (POLL_MSG): Likewise.
1246 (POLL_ERR): Likewise.
1247 (POLL_PRI): Likewise.
1248 (POLL_HUP): Likewise.
1249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1250 (ILL_ILLOPN): Likewise.
1251 (ILL_ILLADR): Likewise.
1252 (ILL_ILLTRP): Likewise.
1253 (ILL_PRVOPC): Likewise.
1254 (ILL_PRVREG): Likewise.
1255 (ILL_COPROC): Likewise.
1256 (ILL_BADSTK): Likewise.
1257 (FPE_INTDIV): Likewise.
1258 (FPE_INTOVF): Likewise.
1259 (FPE_FLTDIV): Likewise.
1260 (FPE_FLTOVF): Likewise.
1261 (FPE_FLTUND): Likewise.
1262 (FPE_FLTRES): Likewise.
1263 (FPE_FLTINV): Likewise.
1264 (FPE_FLTSUB): Likewise.
1265 (SEGV_MAPERR): Likewise.
1266 (SEGV_ACCERR): Likewise.
1267 (BUS_ADRALN): Likewise.
1268 (BUS_ADRERR): Likewise.
1269 (BUS_OBJERR): Likewise.
1270 (BUS_MCEERR_AR): Likewise.
1271 (BUS_MCEERR_AO): Likewise.
1272 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1273 (TRAP_TRACE): Likewise.
1274 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1275 __USE_XOPEN2K8].
1276 (CLD_KILLED): Likewise.
1277 (CLD_DUMPED): Likewise.
1278 (CLD_TRAPPED): Likewise.
1279 (CLD_STOPPED): Likewise.
1280 (CLD_CONTINUED): Likewise.
1281 (POLL_IN): Likewise.
1282 (POLL_OUT): Likewise.
1283 (POLL_MSG): Likewise.
1284 (POLL_ERR): Likewise.
1285 (POLL_PRI): Likewise.
1286 (POLL_HUP): Likewise.
1287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1288 (ILL_ILLOPN): Likewise.
1289 (ILL_ILLADR): Likewise.
1290 (ILL_ILLTRP): Likewise.
1291 (ILL_PRVOPC): Likewise.
1292 (ILL_PRVREG): Likewise.
1293 (ILL_COPROC): Likewise.
1294 (ILL_BADSTK): Likewise.
1295 (FPE_INTDIV): Likewise.
1296 (FPE_INTOVF): Likewise.
1297 (FPE_FLTDIV): Likewise.
1298 (FPE_FLTOVF): Likewise.
1299 (FPE_FLTUND): Likewise.
1300 (FPE_FLTRES): Likewise.
1301 (FPE_FLTINV): Likewise.
1302 (FPE_FLTSUB): Likewise.
1303 (SEGV_MAPERR): Likewise.
1304 (SEGV_ACCERR): Likewise.
1305 (BUS_ADRALN): Likewise.
1306 (BUS_ADRERR): Likewise.
1307 (BUS_OBJERR): Likewise.
1308 (BUS_MCEERR_AR): Likewise.
1309 (BUS_MCEERR_AO): Likewise.
1310 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1311 (TRAP_TRACE): Likewise.
1312 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1313 __USE_XOPEN2K8].
1314 (CLD_KILLED): Likewise.
1315 (CLD_DUMPED): Likewise.
1316 (CLD_TRAPPED): Likewise.
1317 (CLD_STOPPED): Likewise.
1318 (CLD_CONTINUED): Likewise.
1319 (POLL_IN): Likewise.
1320 (POLL_OUT): Likewise.
1321 (POLL_MSG): Likewise.
1322 (POLL_ERR): Likewise.
1323 (POLL_PRI): Likewise.
1324 (POLL_HUP): Likewise.
1325 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1326 (ILL_ILLOPN): Likewise.
1327 (ILL_ILLADR): Likewise.
1328 (ILL_ILLTRP): Likewise.
1329 (ILL_PRVOPC): Likewise.
1330 (ILL_PRVREG): Likewise.
1331 (ILL_COPROC): Likewise.
1332 (ILL_BADSTK): Likewise.
1333 (ILL_DBLFLT): Likewise.
1334 (ILL_HARDWALL): Likewise.
1335 (FPE_INTDIV): Likewise.
1336 (FPE_INTOVF): Likewise.
1337 (FPE_FLTDIV): Likewise.
1338 (FPE_FLTOVF): Likewise.
1339 (FPE_FLTUND): Likewise.
1340 (FPE_FLTRES): Likewise.
1341 (FPE_FLTINV): Likewise.
1342 (FPE_FLTSUB): Likewise.
1343 (SEGV_MAPERR): Likewise.
1344 (SEGV_ACCERR): Likewise.
1345 (BUS_ADRALN): Likewise.
1346 (BUS_ADRERR): Likewise.
1347 (BUS_OBJERR): Likewise.
1348 (BUS_MCEERR_AR): Likewise.
1349 (BUS_MCEERR_AO): Likewise.
1350 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1351 (TRAP_TRACE): Likewise.
1352 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1353 __USE_XOPEN2K8].
1354 (CLD_KILLED): Likewise.
1355 (CLD_DUMPED): Likewise.
1356 (CLD_TRAPPED): Likewise.
1357 (CLD_STOPPED): Likewise.
1358 (CLD_CONTINUED): Likewise.
1359 (POLL_IN): Likewise.
1360 (POLL_OUT): Likewise.
1361 (POLL_MSG): Likewise.
1362 (POLL_ERR): Likewise.
1363 (POLL_PRI): Likewise.
1364 (POLL_HUP): Likewise.
1365 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1366 (ILL_ILLOPN): Likewise.
1367 (ILL_ILLADR): Likewise.
1368 (ILL_ILLTRP): Likewise.
1369 (ILL_PRVOPC): Likewise.
1370 (ILL_PRVREG): Likewise.
1371 (ILL_COPROC): Likewise.
1372 (ILL_BADSTK): Likewise.
1373 (FPE_INTDIV): Likewise.
1374 (FPE_INTOVF): Likewise.
1375 (FPE_FLTDIV): Likewise.
1376 (FPE_FLTOVF): Likewise.
1377 (FPE_FLTUND): Likewise.
1378 (FPE_FLTRES): Likewise.
1379 (FPE_FLTINV): Likewise.
1380 (FPE_FLTSUB): Likewise.
1381 (SEGV_MAPERR): Likewise.
1382 (SEGV_ACCERR): Likewise.
1383 (BUS_ADRALN): Likewise.
1384 (BUS_ADRERR): Likewise.
1385 (BUS_OBJERR): Likewise.
1386 (BUS_MCEERR_AR): Likewise.
1387 (BUS_MCEERR_AO): Likewise.
1388 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1389 (TRAP_TRACE): Likewise.
1390 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1391 __USE_XOPEN2K8].
1392 (CLD_KILLED): Likewise.
1393 (CLD_DUMPED): Likewise.
1394 (CLD_TRAPPED): Likewise.
1395 (CLD_STOPPED): Likewise.
1396 (CLD_CONTINUED): Likewise.
1397 (POLL_IN): Likewise.
1398 (POLL_OUT): Likewise.
1399 (POLL_MSG): Likewise.
1400 (POLL_ERR): Likewise.
1401 (POLL_PRI): Likewise.
1402 (POLL_HUP): Likewise.
1403 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1404 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1405
bc61d27c
JM
1406 [BZ #16670]
1407 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1408 before #include of <time.h>.
1409 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1410 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1411 (test-xfail-UNIX98/sched.h/conform): Likewise.
1412
302949e2
MS
14132014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1414
1415 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1416 error absence of trapping exception support.
1417 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1418
a00f522a
JM
14192014-03-07 Joseph Myers <joseph@codesourcery.com>
1420
6f99f280
JM
1421 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1422 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1423 * timezone/Makefile (testdata): Move definition above include of
1424 Rules.
1425 (test-zones): New variable.
1426 (tests-special): Add zone files.
1427 (build-testdata): Use $(evaluate-test).
1428
0b20a9e8
JM
1429 * elf/Makefile (tests-special): Rename tests to end with .out.
1430 ($(objpfx)noload-mem): Likewise.
1431 ($(objpfx)tst-leaks1-mem): Likewise.
1432 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1433 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1434 $(objpfx)test-iconvconfig.out.
1435 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1436 set -e inside subshell and redirect output to file.
1437 * iconvdata/Makefile (generated): Rename tests to end with .out.
1438 Correct type.
1439 (tests-special): Rename tests to end with .out.
1440 ($(objpfx)mtrace-tst-loading): Likewise.
1441 * intl/Makefile (generated): Likewise.
1442 (tests-special): Likewise.
1443 ($(objpfx)mtrace-tst-gettext): Likewise.
1444 * misc/Makefile (generated): Likewise.
1445 (tests-special): Likewise.
1446 ($(objpfx)tst-error1-mem): Likewise.
1447 * nptl/Makefile (tests-special): Likewise.
1448 ($(objpfx)tst-stack3-mem): Likewise.
1449 (generated): Likewise.
1450 * posix/Makefile (generated): Likewise.
1451 (tests-special): Likewise.
1452 (xtests-special): Likewise.
1453 ($(objpfx)tst-fnmatch-mem): Likewise.
1454 ($(objpfx)bug-regex2-mem): Likewise.
1455 ($(objpfx)bug-regex14-mem): Likewise.
1456 ($(objpfx)bug-regex21-mem): Likewise.
1457 ($(objpfx)bug-regex31-mem): Likewise.
1458 ($(objpfx)tst-vfork3-mem): Likewise.
1459 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1460 ($(objpfx)tst-pcre-mem): Likewise.
1461 ($(objpfx)tst-boost-mem): Likewise.
1462 ($(objpfx)bug-ga2-mem): Likewise.
1463 ($(objpfx)bug-glob2-mem): Likewise.
1464 * resolv/Makefile (generate): Likewise.
1465 (tests-special): Likewise.
1466 (xtests-special): Likewise.
1467 (generated): Likewise.
1468 ($(objpfx)mtrace-tst-leaks): Likewise.
1469 ($(objpfx)mtrace-tst-leaks2): Likewise.
1470
265d52ab
JM
1471 * scripts/merge-test-results.sh: New file.
1472 * Makefile (tests-special-notdir): New variable.
1473 (tests): Run merge-test-results.sh.
1474 (xtests): Likewise.
1475 * Rules (tests-special-notdir): New variable.
1476 (xtests-special-notdir): Likewise.
1477 (tests): Run merge-test-results.sh
1478 (xtests): Likewise.
1479
54ee292d
JM
1480 * Makeconfig (test-xfail-name): New variable.
1481 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1482 compute variable name for expected failures.
1483 * conform/Makefile (conformtest-headers-data): New variable.
1484 (conformtest-standards): Likewise.
1485 (conformtest-headers-ISO): Likewise.
1486 (conformtest-headers-ISO99): Likewise.
1487 (conformtest-headers-ISO11): Likewise.
1488 (conformtest-headers-POSIX): Likewise.
1489 (conformtest-headers-XPG3): Likewise.
1490 (conformtest-headers-XPG4): Likewise.
1491 (conformtest-headers-UNIX98): Likewise.
1492 (conformtest-headers-XOPEN2K): Likewise.
1493 (conformtest-headers-POSIX2008): Likewise.
1494 (conformtest-headers-XOPEN2K8): Likewise.
1495 (conformtest-header-list-base): Likewise.
1496 (conformtest-header-list-tests): Likewise.
1497 (conformtest-header-base): Likewise.
1498 (conformtest-header-tests): Likewise.
1499 (tests-special): Add $(conformtest-header-list-tests). If
1500 [$(fast-check) && !$(cross-compiling)], add
1501 $(conformtest-header-tests) instead of
1502 $(objpfx)run-conformtest.out.
1503 (generated): Add $(conformtest-header-list-base). If
1504 [$(fast-check) && !$(cross-compiling)], add
1505 $(conformtest-header-base). Remove previous setting.
1506 ($(conformtest-header-list-tests)): New target.
1507 (test-xfail-run-conformtest): Remove variable.
1508 ($(objpfx)run-conformtest.out): Remove target.
1509 (test-xfail-ISO11/complex.h/conform): New variable.
1510 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1511 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1512 (test-xfail-XPG3/varargs.h/conform): Likewise.
1513 (test-xfail-XPG4/varargs.h/conform): Likewise.
1514 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1515 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1516 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1517 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1518 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1519 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1520 (test-xfail-XPG3/ftw.h/conform): Likewise.
1521 (test-xfail-XPG3/grp.h/conform): Likewise.
1522 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1523 (test-xfail-XPG3/limits.h/conform): Likewise.
1524 (test-xfail-XPG3/pwd.h/conform): Likewise.
1525 (test-xfail-XPG3/search.h/conform): Likewise.
1526 (test-xfail-XPG3/signal.h/conform): Likewise.
1527 (test-xfail-XPG3/stdio.h/conform): Likewise.
1528 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1529 (test-xfail-XPG3/string.h/conform): Likewise.
1530 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1531 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1532 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1533 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1534 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1535 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1536 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1537 (test-xfail-XPG3/termios.h/conform): Likewise.
1538 (test-xfail-XPG3/time.h/conform): Likewise.
1539 (test-xfail-XPG3/unistd.h/conform): Likewise.
1540 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1541 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1542 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1543 (test-xfail-XPG4/netdb.h/conform): Likewise.
1544 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1545 (test-xfail-XPG4/signal.h/conform): Likewise.
1546 (test-xfail-XPG4/stdio.h/conform): Likewise.
1547 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1548 (test-xfail-XPG4/stropts.h/conform): Likewise.
1549 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1550 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1551 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1552 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1553 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1554 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1555 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1556 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1557 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1558 (test-xfail-XPG4/termios.h/conform): Likewise.
1559 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1560 (test-xfail-XPG4/unistd.h/conform): Likewise.
1561 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1562 (test-xfail-POSIX/sched.h/conform): Likewise.
1563 (test-xfail-POSIX/signal.h/conform): Likewise.
1564 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1565 (test-xfail-POSIX/tar.h/conform): Likewise.
1566 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1567 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1568 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1569 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1570 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1571 (test-xfail-UNIX98/sched.h/conform): Likewise.
1572 (test-xfail-UNIX98/signal.h/conform): Likewise.
1573 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1574 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1575 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1576 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1577 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1578 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1579 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1580 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1581 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1582 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1583 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1584 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1585 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1586 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1587 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1588 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1589 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1590 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1591 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1592 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1593 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1594 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1595 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1596 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1597 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1598 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1599 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1600 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1601 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1602 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1603 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1604 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1605 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1606 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1607 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1608 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1609 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1610 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1611 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1612 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1613 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1614 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1615 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1616 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1617 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1618 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1619 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1620 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1621 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1622 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1623 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1624 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1625 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1626 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1627 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1628 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1629 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1630 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1631 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1632 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1633 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1634 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1635 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1636 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1637 (conformtest-cc-flags): Likewise.
1638 ($(conformtest-header-tests): New target.
1639 * conform/check-header-lists.sh: New file.
1640 * conform/run-conformtest.sh: Remove.
1641
a00f522a
JM
1642 * conform/conformtest.pl: Allow ' and \ in values given for
1643 constants.
1644 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1645 inclusion.
1646 [POSIX] (sys/types.h): Likewise.
1647 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1648 inclusion.
1649 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1650 inclusion.
1651 * conform/data/signal.h-data (SIGIO): Remove expectation.
1652 [XPG3] (SIGBUS): Do not expect.
1653 [POSIX || XPG3] (SIGPOLL): Likewise.
1654 [POSIX || XPG3] (SIGPROF): Likewise.
1655 [POSIX || XPG3] (SIGSYS): Likewise.
1656 [XPG3] (SIGTRAP): Likewise.
1657 [POSIX || XPG3] (SIGURG): Likewise.
1658 [POSIX || XPG3] (SIGVTALRM): Likewise.
1659 [POSIX || XPG3] (SIGXCPU): Likewise.
1660 [POSIX || XPG3] (SIGXFSZ): Likewise.
1661 [POSIX] (SA_SIGINFO): Expect.
1662 [XPG3] (siginfo_t): Do not expect type or contents.
1663 [POSIX] (si_pid): Do not expect element.
1664 [POSIX] (si_uid): Likewise.
1665 [POSIX] (si_addr): Likewise.
1666 [POSIX] (si_status): Likewise.
1667 [POSIX] (si_band): Likewise.
1668 [XPG4] (si_value): Likewise.
1669 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1670 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1671 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1672 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1673 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1674 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1675 [POSIX || XPG3] (ILL_COPROC): Likewise.
1676 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1677 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1678 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1679 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1680 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1681 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1682 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1683 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1684 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1685 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1686 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1687 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1688 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1689 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1690 [POSIX || XPG3] (CLD_EXITED): Likewise.
1691 [POSIX || XPG3] (CLD_KILLED): Likewise.
1692 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1693 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1694 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1695 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1696 [POSIX || XPG3] (POLL_IN): Likewise.
1697 [POSIX || XPG3] (POLL_OUT): Likewise.
1698 [POSIX || XPG3] (POLL_MSG): Likewise.
1699 [POSIX || XPG3] (POLL_ERR): Likewise.
1700 [POSIX || XPG3] (POLL_PRI): Likewise.
1701 [POSIX || XPG3] (POLL_HUP): Likewise.
1702 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1703 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1704 (SIG*): Do not allow.
1705 [XPG3] (si_*): Likewise.
1706 [XPG3] (SI_*): Likewise.
1707 [XPG3 || XPG4] (sigev_*): Likewise.
1708 [XPG3 || XPG4] (SIGEV_*): Likewise.
1709 [XPG3 || XPG4] (sival_*): Likewise.
1710 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1711 [POSIX || XPG3] (BUS_*): Likewise.
1712 [POSIX || XPG3] (CLD_*): Likewise.
1713 [POSIX || XPG3] (FPE_*): Likewise.
1714 [POSIX || XPG3] (ILL_*): Likewise.
1715 [POSIX || XPG3] (POLL_*): Likewise.
1716 [POSIX || XPG3] (SEGV_*): Likewise.
1717 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1718 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1719 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1720 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1721 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1722 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1723 Specify type and value.
1724 (TVERSLEN): Likewise.
1725 (REGTYPE): Likewise.
1726 (AREGTYPE): Likewise.
1727 (LNKTYPE): Likewise.
1728 (SYMTYPE): Likewise.
1729 (CHRTYPE): Likewise.
1730 (BLKTYPE): Likewise.
1731 (DIRTYPE): Likewise.
1732 (FIFOTYPE): Likewise.
1733 (CONTTYPE): Likewise.
1734 (TSUID): Likewise.
1735 (TSGID): Likewise.
1736 (TSVTX): Likewise.
1737 (TUREAD): Likewise.
1738 (TUWRITE): Likewise.
1739 (TUEXEC): Likewise.
1740 (TGREAD): Likewise.
1741 (TGWRITE): Likewise.
1742 (TGEXEC): Likewise.
1743 (TOREAD): Likewise.
1744 (TOWRITE): Likewise.
1745 (TOEXEC): Likewise.
1746 [POSIX] (TSVTX): Expect constant.
1747
aa97dee1
JM
17482014-03-06 Joseph Myers <joseph@codesourcery.com>
1749
f214606a
JM
1750 * Makefile (tests): Change dependencies to ....
1751 (tests-special): ... additions to this variable.
1752 (tests): Depend on $(tests-special).
1753 * Makerules (check-abi-list): New variable.
1754 (check-abi): Depend on $(check-abi-list).
1755 [$(subdir) = elf] (tests-special): Add
1756 $(objpfx)check-abi-libc.out.
1757 [$(build-shared) = yes && subdir] (tests-special): Add
1758 $(check-abi-list).
1759 [$(build-shared) = yes && subdir] (tests): Do not depend on
1760 check-abi.
1761 * Rules (tests): Depend on $(tests-special).
1762 (xtests): Depend on $(xtests-special).
1763 * catgets/Makefile (tests): Change dependencies to ....
1764 (tests-special): ... additions to this variable.
1765 * conform/Makefile (tests): Change dependencies to ....
1766 (tests-special): ... additions to this variable.
1767 * elf/Makefile (tests): Change dependencies to ....
1768 (tests-special): ... additions to this variable.
1769 * grp/Makefile (tests): Change dependencies to ....
1770 (tests-special): ... additions to this variable.
1771 * iconv/Makefile (xtests): Change dependencies to ....
1772 (xtests-special): ... additions to this variable.
1773 * iconvdata/Makefile (tests): Change dependencies to ....
1774 (tests-special): ... additions to this variable.
1775 * intl/Makefile (tests): Change dependencies to ....
1776 (tests-special): ... additions to this variable. Also add
1777 $(objpfx)tst-gettext.out.
1778 * io/Makefile (tests): Change dependencies to ....
1779 (tests-special): ... additions to this variable.
1780 * libio/Makefile (tests): Change dependencies to ....
1781 (tests-special): ... additions to this variable.
1782 * malloc/Makefile (tests): Change dependencies to ....
1783 (tests-special): ... additions to this variable.
1784 * misc/Makefile (tests): Change dependencies to ....
1785 (tests-special): ... additions to this variable.
1786 * nptl/Makefile (tests): Change dependencies to ....
1787 (tests-special): ... additions to this variable.
1788 * nptl_db/Makefile (tests): Change dependencies to ....
1789 (tests-special): ... additions to this variable.
1790 * posix/Makefile (tests): Change dependencies to ....
1791 (tests-special): ... additions to this variable.
1792 (xtests): Change dependencies to ....
1793 (xtests-special): ... additions to this variable.
1794 * resolv/Makefile (tests): Change dependencies to ....
1795 (tests-special): ... additions to this variable.
1796 (xtests): Change dependencies to ....
1797 (xtests-special): ... additions to this variable.
1798 * stdio-common/Makefile (tests): Change dependencies to ....
1799 (tests-special): ... additions to this variable.
1800 (do-tst-unbputc): Remove target.
1801 (do-tst-printf): Likewise.
1802 * stdlib/Makefile (tests): Change dependencies to ....
1803 (tests-special): ... additions to this variable.
1804 * string/Makefile (tests): Change dependencies to ....
1805 (tests-special): ... additions to this variable.
1806 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1807 (tests-special): ... additions to this variable.
1808
81700b53
JM
1809 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1810 whole file.
1811 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1812 whole file.
1813 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1814 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1815
2ea18461
JM
1816 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1817 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1818 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1819 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1820 * conform/data/libgen.h-data [XPG3]: Likewise.
1821 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1822 * conform/data/ndbm.h-data [XPG3]: Likewise.
1823 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1824 * conform/data/netdb.h-data [XPG3]: Likewise.
1825 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1826 * conform/data/poll.h-data [XPG3]: Likewise.
1827 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1828 * conform/data/strings.h-data [XPG3]: Likewise.
1829 * conform/data/stropts.h-data [XPG3]: Likewise.
1830 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1831 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1832 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1833 Likewise.
1834 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1835 * conform/data/sys/time.h-data [XPG3]: Likewise.
1836 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1837 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1838 * conform/data/sys/un.h-data [XPG3]: Likewise.
1839 * conform/data/syslog.h-data [XPG3]: Likewise.
1840 * conform/data/ucontext.h-data [XPG3]: Likewise.
1841 * conform/data/utmpx.h-data [XPG3]: Likewise.
1842 * conform/data/varargs.h-data [UNIX98]: Enable file.
1843
355bc986
JM
1844 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1845
215db402
JM
1846 * math/libm-test.inc (struct test_f_f_data): Move expected results
1847 into structure for each rounding mode.
1848 (struct test_ff_f_data): Likewise.
1849 (struct test_ff_f_data_nexttoward): Likewise.
1850 (struct test_fi_f_data): Likewise.
1851 (struct test_fl_f_data): Likewise.
1852 (struct test_if_f_data): Likewise.
1853 (struct test_fff_f_data): Likewise.
1854 (struct test_c_f_data): Likewise.
1855 (struct test_f_f1_data): Likewise.
1856 (struct test_fF_f1_data): Likewise.
1857 (struct test_ffI_f1_data): Likewise.
1858 (struct test_c_c_data): Likewise.
1859 (struct test_cc_c_data): Likewise.
1860 (struct test_f_i_data): Likewise.
1861 (struct test_ff_i_data): Likewise.
1862 (struct test_f_l_data): Likewise.
1863 (struct test_f_L_data): Likewise.
1864 (struct test_fFF_11_data): Likewise.
1865 (RM_): New macro.
1866 (RM_FE_DOWNWARD): Likewise.
1867 (RM_FE_TONEAREST): Likewise.
1868 (RM_FE_TOWARDZERO): Likewise.
1869 (RM_FE_UPWARD): Likewise.
1870 (RUN_TEST_LOOP_f_f): Update references to expected results.
1871 (RUN_TEST_LOOP_2_f): Likewise.
1872 (RUN_TEST_LOOP_fff_f): Likewise.
1873 (RUN_TEST_LOOP_c_f): Likewise.
1874 (RUN_TEST_LOOP_f_f1): Likewise.
1875 (RUN_TEST_LOOP_fF_f1): Likewise.
1876 (RUN_TEST_LOOP_fI_f1): Likewise.
1877 (RUN_TEST_LOOP_ffI_f1): Likewise.
1878 (RUN_TEST_LOOP_c_c): Likewise.
1879 (RUN_TEST_LOOP_cc_c): Likewise.
1880 (RUN_TEST_LOOP_f_i): Likewise.
1881 (RUN_TEST_LOOP_f_i_tg): Likewise.
1882 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1883 (RUN_TEST_LOOP_f_b): Likewise.
1884 (RUN_TEST_LOOP_f_b_tg): Likewise.
1885 (RUN_TEST_LOOP_f_l): Likewise.
1886 (RUN_TEST_LOOP_f_L): Likewise.
1887 (RUN_TEST_LOOP_fFF_11): Likewise.
1888 * math/gen-libm-test.pl (parse_args): Output four copies of
1889 expected results for each test.
1890
67737b8f
JM
1891 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1892 (__ASSUME_UTIMES): Remove.
1893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1894 (__ASSUME_UTIMES): Likewise.
1895
aa97dee1
JM
1896 * math/gen-auto-libm-tests.c: Update comment on output format.
1897 (output_for_one_input_case): Generate before-rounding and
1898 after-rounding information as conditions on output flags not
1899 floating-point format.
1900 * math/auto-libm-test-out: Regenerated.
1901 * math/gen-libm-test.pl (cond_value): New function.
1902 (or_cond_value): Use cond_value.
1903 (generate_testfile): Handle conditional exceptions.
1904
e6b6a857
JM
19052014-03-05 Joseph Myers <joseph@codesourcery.com>
1906
2f0a0f44
JM
1907 * math/libm-test.inc (max_valid_error): New variable.
1908 (init_max_error): Take new argument specifying whether function
1909 results are exactly determined. Set max_valid_error and bound
1910 other variables for errors based on this argument.
1911 (set_max_error): Do not record results above max_valid_error.
1912 (check_float_internal): Only accept errors of up to 0.5ulps if
1913 also at most max_valid_error.
1914 (START): Take new argument EXACT and pass it to init_max_error.
1915 (acos_test): Update call to START.
1916 (acos_test_tonearest): Likewise.
1917 (acos_test_towardzero): Likewise.
1918 (acos_test_downward): Likewise.
1919 (acos_test_upward): Likewise.
1920 (acosh_test): Likewise.
1921 (asin_test): Likewise.
1922 (asin_test_tonearest): Likewise.
1923 (asin_test_towardzero): Likewise.
1924 (asin_test_downward): Likewise.
1925 (asin_test_upward): Likewise.
1926 (asinh_test): Likewise.
1927 (atan_test): Likewise.
1928 (atanh_test): Likewise.
1929 (atan2_test): Likewise.
1930 (cabs_test): Likewise.
1931 (cacos_test): Likewise.
1932 (cacosh_test): Likewise.
1933 (carg_test): Likewise.
1934 (casin_test): Likewise.
1935 (casinh_test): Likewise.
1936 (catan_test): Likewise.
1937 (catanh_test): Likewise.
1938 (cbrt_test): Likewise.
1939 (ccos_test): Likewise.
1940 (ccosh_test): Likewise.
1941 (ceil_test): Likewise.
1942 (cexp_test): Likewise.
1943 (cimag_test): Likewise.
1944 (clog_test): Likewise.
1945 (clog10_test): Likewise.
1946 (conj_test): Likewise.
1947 (copysign_test): Likewise.
1948 (cos_test): Likewise.
1949 (cos_test_tonearest): Likewise.
1950 (cos_test_towardzero): Likewise.
1951 (cos_test_downward): Likewise.
1952 (cos_test_upward): Likewise.
1953 (cosh_test): Likewise.
1954 (cosh_test_tonearest): Likewise.
1955 (cosh_test_towardzero): Likewise.
1956 (cosh_test_downward): Likewise.
1957 (cosh_test_upward): Likewise.
1958 (cpow_test): Likewise.
1959 (cproj_test): Likewise.
1960 (creal_test): Likewise.
1961 (csin_test): Likewise.
1962 (csinh_test): Likewise.
1963 (csqrt_test): Likewise.
1964 (ctan_test): Likewise.
1965 (ctan_test_tonearest): Likewise.
1966 (ctan_test_towardzero): Likewise.
1967 (ctan_test_downward): Likewise.
1968 (ctan_test_upward): Likewise.
1969 (ctanh_test): Likewise.
1970 (ctanh_test_tonearest): Likewise.
1971 (ctanh_test_towardzero): Likewise.
1972 (ctanh_test_downward): Likewise.
1973 (ctanh_test_upward): Likewise.
1974 (erf_test): Likewise.
1975 (erfc_test): Likewise.
1976 (exp_test): Likewise.
1977 (exp_test_tonearest): Likewise.
1978 (exp_test_towardzero): Likewise.
1979 (exp_test_downward): Likewise.
1980 (exp_test_upward): Likewise.
1981 (exp10_test): Likewise.
1982 (exp10_test_tonearest): Likewise.
1983 (exp10_test_towardzero): Likewise.
1984 (exp10_test_downward): Likewise.
1985 (exp10_test_upward): Likewise.
1986 (pow10_test): Likewise.
1987 (exp2_test): Likewise.
1988 (expm1_test): Likewise.
1989 (expm1_test_tonearest): Likewise.
1990 (expm1_test_towardzero): Likewise.
1991 (expm1_test_downward): Likewise.
1992 (expm1_test_upward): Likewise.
1993 (fabs_test): Likewise.
1994 (fdim_test): Likewise.
1995 (floor_test): Likewise.
1996 (fma_test): Likewise.
1997 (fma_test_towardzero): Likewise.
1998 (fma_test_downward): Likewise.
1999 (fma_test_upward): Likewise.
2000 (fmax_test): Likewise.
2001 (fmin_test): Likewise.
2002 (fmod_test): Likewise.
2003 (fpclassify_test): Likewise.
2004 (frexp_test): Likewise.
2005 (hypot_test): Likewise.
2006 (ilogb_test): Likewise.
2007 (isfinite_test): Likewise.
2008 (finite_test): Likewise.
2009 (isgreater_test): Likewise.
2010 (isgreaterequal_test): Likewise.
2011 (isinf_test): Likewise.
2012 (isless_test): Likewise.
2013 (islessequal_test): Likewise.
2014 (islessgreater_test): Likewise.
2015 (isnan_test): Likewise.
2016 (isnormal_test): Likewise.
2017 (issignaling_test): Likewise.
2018 (isunordered_test): Likewise.
2019 (j0_test): Likewise.
2020 (j1_test): Likewise.
2021 (jn_test): Likewise.
2022 (ldexp_test): Likewise.
2023 (lgamma_test): Likewise.
2024 (gamma_test): Likewise.
2025 (lrint_test): Likewise.
2026 (lrint_test_tonearest): Likewise.
2027 (lrint_test_towardzero): Likewise.
2028 (lrint_test_downward): Likewise.
2029 (lrint_test_upward): Likewise.
2030 (llrint_test): Likewise.
2031 (llrint_test_tonearest): Likewise.
2032 (llrint_test_towardzero): Likewise.
2033 (llrint_test_downward): Likewise.
2034 (llrint_test_upward): Likewise.
2035 (log_test): Likewise.
2036 (log10_test): Likewise.
2037 (log1p_test): Likewise.
2038 (log2_test): Likewise.
2039 (logb_test): Likewise.
2040 (logb_test_downward): Likewise.
2041 (lround_test): Likewise.
2042 (llround_test): Likewise.
2043 (modf_test): Likewise.
2044 (nearbyint_test): Likewise.
2045 (nextafter_test): Likewise.
2046 (nexttoward_test): Likewise.
2047 (pow_test): Likewise.
2048 (pow_test_tonearest): Likewise.
2049 (pow_test_towardzero): Likewise.
2050 (pow_test_downward): Likewise.
2051 (pow_test_upward): Likewise.
2052 (remainder_test): Likewise.
2053 (drem_test): Likewise.
2054 (remainder_test_tonearest): Likewise.
2055 (drem_test_tonearest): Likewise.
2056 (remainder_test_towardzero): Likewise.
2057 (drem_test_towardzero): Likewise.
2058 (remainder_test_downward): Likewise.
2059 (drem_test_downward): Likewise.
2060 (remainder_test_upward): Likewise.
2061 (drem_test_upward): Likewise.
2062 (remquo_test): Likewise.
2063 (rint_test): Likewise.
2064 (rint_test_tonearest): Likewise.
2065 (rint_test_towardzero): Likewise.
2066 (rint_test_downward): Likewise.
2067 (rint_test_upward): Likewise.
2068 (round_test): Likewise.
2069 (scalb_test): Likewise.
2070 (scalbn_test): Likewise.
2071 (scalbln_test): Likewise.
2072 (signbit_test): Likewise.
2073 (sin_test): Likewise.
2074 (sin_test_tonearest): Likewise.
2075 (sin_test_towardzero): Likewise.
2076 (sin_test_downward): Likewise.
2077 (sin_test_upward): Likewise.
2078 (sincos_test): Likewise.
2079 (sinh_test): Likewise.
2080 (sinh_test_tonearest): Likewise.
2081 (sinh_test_towardzero): Likewise.
2082 (sinh_test_downward): Likewise.
2083 (sinh_test_upward): Likewise.
2084 (sqrt_test): Likewise.
2085 (sqrt_test_tonearest): Likewise.
2086 (sqrt_test_towardzero): Likewise.
2087 (sqrt_test_downward): Likewise.
2088 (sqrt_test_upward): Likewise.
2089 (tan_test): Likewise.
2090 (tan_test_tonearest): Likewise.
2091 (tan_test_towardzero): Likewise.
2092 (tan_test_downward): Likewise.
2093 (tan_test_upward): Likewise.
2094 (tanh_test): Likewise.
2095 (tgamma_test): Likewise.
2096 (trunc_test): Likewise.
2097 (y0_test): Likewise.
2098 (y1_test): Likewise.
2099 (yn_test): Likewise.
2100 (significand_test): Likewise.
2101
e6b6a857
JM
2102 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2103 individual tests in comment.
2104 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2105 (prev_max_error): New variable.
2106 (prev_real_max_error): Likewise.
2107 (prev_imag_max_error): Likewise.
2108 (compare_ulp_data): Don't refer to test names in comment.
2109 (find_test_ulps): Remove function.
2110 (find_function_ulps): Likewise.
2111 (find_complex_function_ulps): Likewise.
2112 (init_max_error): Take function name as argument. Look up ulps
2113 for that function.
2114 (print_ulps): Remove function.
2115 (print_max_error): Use prev_max_error instead of calling
2116 find_function_ulps.
2117 (print_complex_max_error): Use prev_real_max_error and
2118 prev_imag_max_error instead of calling find_complex_function_ulps.
2119 (check_float_internal): Take max_ulp parameter instead of calling
2120 find_test_ulps. Don't call print_ulps.
2121 (check_float): Update call to check_float_internal.
2122 (check_complex): Update calls to check_float_internal.
2123 (START): Pass argument to init_max_error.
2124 * math/gen-libm-test.pl (%results): Don't include "kind"
2125 information.
2126 (parse_ulps): Don't handle ulps of individual tests.
2127 (print_ulps_file): Likewise.
2128 (output_ulps): Likewise.
2129 * math/README.libm-test: Update.
2130 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2131 individual tests.
2132 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2133 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2134 * sysdeps/arm/libm-test-ulps: Likewise.
2135 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2136 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2137 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2138 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2139 * sysdeps/microblaze/libm-test-ulps: Likewise.
2140 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2141 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2142 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2143 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2144 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2145 * sysdeps/sh/libm-test-ulps: Likewise.
2146 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2147 * sysdeps/tile/libm-test-ulps: Likewise.
2148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2149
45adef3c
JM
21502014-03-04 Joseph Myers <joseph@codesourcery.com>
2151
2152 * math/libm-test.inc (print_complex_max_error): Check separately
2153 whether real and imaginary errors are within allowed range and
2154 pass 0 to print_complex_function_ulps instead of value within
2155 allowed range.
2156
000232b9
SP
21572014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2158
d4b17258
SP
2159 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2160 formatting.
2161 (get_handles_fopen): Likewise.
2162 (do_write_test): Likewise.
2163
091eff71
SP
2164 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2165
fa3cd248
SP
2166 * libio/fileops.c (do_ftell): Use cached offset when
2167 available.
2168 * libio/iofwide.c (do_ftell_wide): Likewise.
2169 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2170 _IO_file_attach.
2171 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2172
000232b9
SP
2173 [BZ #16532]
2174 * libio/libioP.h (get_file_offset): New function.
2175 * libio/fileops.c (get_file_offset): Likewise.
2176 (do_ftell): Likewise.
2177 (_IO_new_file_seekoff): Split out ftell logic.
2178 * libio/wfileops.c (do_ftell_wide): Likewise.
2179 (_IO_wfile_seekoff): Split out ftell logic.
2180 * libio/tst-ftell-active-handler.c: New test case.
2181 * libio/Makefile (tests): Add it.
2182
116f4d1a
RM
21832014-03-03 Roland McGrath <roland@hack.frob.com>
2184
2185 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2186 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2187
532a6035
SP
21882014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2189
2190 [BZ #16639]
2191 * nscd/connections.c (nscd_init): Call do_exit.
2192 (start_threads): Call do_exit and notify_parent.
2193 (begin_drop_privileges): Call do_exit.
2194 (finish_drop_privileges): Likewise.
2195 * nscd/selinux.c (preserve_capabilities): Likewise.
2196 (install_real_capabilities): Likewise.
2197 (nscd_selinux_enabled): Likewise.
2198 (avc_create_thread): Likewise.
2199 (avc_alloc_lock): Likewise.
2200 (nscd_avc_init): Likewise.
2201 * nscd/nscd.c (parent_fd): New static variable.
2202 (main): Create a pipe between parent and child processes.
2203 Skip closing parent_fd.
2204 (monitor_child): New function.
2205 (do_exit): Likewise.
2206 (notify_parent): Likewise.
2207 * nscd/nscd.h (notify_parent): Likewise.
2208 (do_exit): Likewise.
2209
d6285c9f
CD
22102014-03-03 Carlos O'Donell <carlos@redhat.com>
2211
2212 * malloc/malloc.c (__libc_calloc): Revert last change.
2213
2b85d2a0
AZ
22142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215
2216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2217
c7debbdf
RS
22182014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2219
2220 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2222 implementation.
2223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2224 (__libc_ifunc_impl_list): Likewise.
2225 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2226 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2227 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2228 * string/strrchr.c: Define STRRCHR.
2229
235eed86
OB
22302014-02-28 Ondřej Bílka <neleai@seznam.cz>
2231
2232 * benchtest/bench-strtok.c (simple_strtok): Delete.
2233 (strtok_string): Use as benchmark.
2234 * string/strtok (STRTOK): New macro.
2235
8e25d1e7
CD
22362014-02-28 Carlos O'Donell <carlos@redhat.com>
2237
ef563f92
CD
2238 * manual/threads.texi: Add header and standard comments to all
2239 functions.
2240
8e25d1e7
CD
2241 * elf/dl-lookup.c (check_match): New function.
2242 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2243 (do_lookup_x): Remove nested function check_match. Use non-nested
2244 function check_match.
2245
ff71cc37
RM
22462014-02-28 Roland McGrath <roland@hack.frob.com>
2247
f08e9a26
RM
2248 * csu/Makefile (generated, before-compile): Use += rather than =.
2249 * catgets/Makefile (generated, generated-dirs): Likewise.
2250 * debug/Makefile (generated): Likewise.
2251 * dlfcn/Makefile (generated): Likewise.
2252 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2253 * iconvdata/Makefile (before-compile, generated): Likewise.
2254 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2255 * libio/Makefile (generated): Likewise.
2256 * malloc/Makefile (generated): Likewise.
2257 * manual/Makefile (generated, generated-dirs): Likewise.
2258 * misc/Makefile (generated): Likewise.
2259 * posix/Makefile (generated): Likewise.
2260 * resolv/Makefile (generated): Likewise.
2261 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2262 * timezone/Makefile (generated, generated-dirs): Likewise.
2263
ff71cc37
RM
2264 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2265
fe13a20c
AZ
22662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2267
2268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2269 implementation.
2270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2271 POWER8 llround ifunc implementation.
2272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2273 POWER8 implementation.
2274 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2275 POWER8 llround implementation.
2276
1ad8950a
AZ
22772014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278
2279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2280 implementation.
2281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2282 POWER8 llrint ifunc implementation.
2283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2284 POWER8 implementation.
2285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2286 POWER8 llrint implementation.
2287
cac626d6
AZ
22882014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2289
2290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2291 implementation.
2292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2293 POWER8 finite ifunc implementation.
2294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2295 POWER8 implementation.
2296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2297 Likewise.
2298 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2299 POWER8 finite implementation.
2300 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2301
4393fc11
AZ
23022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303
2304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2305 implementation.
2306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2307 POWER8 isinf ifunc implementation.
2308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2309 POWER8 implementation.
2310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2311 Likewise.
2312 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2313 POWER8 isinf implementation.
2314 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2315
487972ae
AZ
23162014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2319 Add hwcap2 initialization.
2320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2321 implementation.
2322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2323 POWER8 isnan ifunc implementation.
2324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2325 POWER8 implementation.
2326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2327 Likewise.
2328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2329 POWER8 isnan implementation.
2330 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2331
7d92b787
JY
23322014-02-27 Joey Ye <joey.ye@arm.com>
2333
2334 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2335 (_FP_NANFRAC_Q): Set to zero.
2336
1cadc858
SP
23372014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2338
2339 [BZ #16623]
2340 * math/auto-libm-test-in: New test inputs.
2341 * math/auto-libm-test-out: Regenerate.
2342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2343 and DA.
2344 (__cos): Likewise.
2345 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2346
f8c17e79
JM
23472014-02-27 Joseph Myers <joseph@codesourcery.com>
2348
2349 * scripts/evaluate-test.sh: Take new argument indicating whether
2350 failure is expected.
2351 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2352 indicating whether failure is expected.
2353 * conform/Makefile (test-xfail-run-conformtest): New variable.
2354 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2355 level.
2356 * posix/Makefile (test-xfail-annexc): New variable.
2357 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2358
a5f891ac
JM
23592014-02-26 Joseph Myers <joseph@codesourcery.com>
2360
2361 * argp/Makefile: Include Makeconfig immediately after defining
2362 subdir.
2363 * assert/Makefile: Likewise.
2364 * benchtests/Makefile: Likewise.
2365 * catgets/Makefile: Likewise.
2366 * conform/Makefile: Likewise.
2367 * crypt/Makefile: Likewise.
2368 * csu/Makefile: Likewise.
2369 (all): Remove target.
2370 * ctype/Makefile: Include Makeconfig immediately after defining
2371 subdir.
2372 * debug/Makefile: Likewise.
2373 * dirent/Makefile: Likewise.
2374 * dlfcn/Makefile: Likewise.
2375 * gmon/Makefile: Likewise.
2376 * gnulib/Makefile: Likewise.
2377 * grp/Makefile: Likewise.
2378 * gshadow/Makefile: Likewise.
2379 * hesiod/Makefile: Likewise.
2380 * hurd/Makefile: Likewise.
2381 (all): Remove target.
2382 * iconvdata/Makefile: Include Makeconfig immediately after
2383 defining subdir.
2384 * inet/Makefile: Likewise.
2385 * intl/Makefile: Likewise.
2386 * io/Makefile: Likewise.
2387 * libio/Makefile: Likewise.
2388 (all): Remove target.
2389 * locale/Makefile: Include Makeconfig immediately after defining
2390 subdir.
2391 * login/Makefile: Likewise.
2392 * mach/Makefile: Likewise.
2393 (all): Remove target.
2394 * malloc/Makefile: Include Makeconfig immediately after defining
2395 subdir.
2396 (all): Remove target.
2397 * manual/Makefile: Include Makeconfig immediately after defining
2398 subdir.
2399 * math/Makefile: Likewise.
2400 * misc/Makefile: Likewise.
2401 * nis/Makefile: Likewise.
2402 * nss/Makefile: Likewise.
2403 * po/Makefile: Likewise.
2404 (all): Remove target.
2405 * posix/Makefile: Include Makeconfig immediately after defining
2406 subdir.
2407 * pwd/Makefile: Likewise.
2408 * resolv/Makefile: Likewise.
2409 * resource/Makefile: Likewise.
2410 * rt/Makefile: Likewise.
2411 * setjmp/Makefile: Likewise.
2412 * shadow/Makefile: Likewise.
2413 * signal/Makefile: Likewise.
2414 * socket/Makefile: Likewise.
2415 * soft-fp/Makefile: Likewise.
2416 * stdio-common/Makefile: Likewise.
2417 * stdlib/Makefile: Likewise.
2418 * streams/Makefile: Likewise.
2419 * string/Makefile: Likewise.
2420 * sunrpc/Makefile: Likewise.
2421 (all): Remove target.
2422 * sysvipc/Makefile: Include Makeconfig immediately after defining
2423 subdir.
2424 * termios/Makefile: Likewise.
2425 * time/Makefile: Likewise.
2426 * timezone/Makefile: Likewise.
2427 (all): Remove target.
2428 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2429 subdir.
2430 * wctype/Makefile: Likewise.
2431
5b456e9d
SE
24322014-02-26 Steve Ellcey <sellcey@mips.com>
2433
2434 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2435 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2436 (libc_feholdexcept_setround_mips): Ditto.
2437 (libc_feholdsetround): New.
2438 (libc_feholdsetroundf): New.
2439 (libc_feholdsetroundl): New.
2440 (libc_feupdateenv_test_mips): New.
2441 (libc_feupdateenv_test): New.
2442 (libc_feupdateenv_testf): New.
2443 (libc_feupdateenv_testl): New.
2444 (libc_feresetround): New.
2445 (libc_feresetroundf): New.
2446 (libc_feresetroundl): New.
2447 (libc_fetestexcept_mips): New.
2448 (libc_fetestexcept): New.
2449 (libc_fetestexceptf): New.
2450 (libc_fetestexceptl): New.
2451 (HAVE_RM_CTX): New.
2452 (libc_feholdexcept_setround_mips_ctx): New.
2453 (libc_feholdexcept_setround_ctx): New.
2454 (libc_feholdexcept_setroundf_ctx): New.
2455 (libc_feholdexcept_setroundl_ctx): New.
2456 (libc_fesetenv_mips_ctx): New.
2457 (libc_fesetenv_ctx): New.
2458 (libc_fesetenv_ctxf): New.
2459 (libc_fesetenv_ctxl): New.
2460 (libc_feupdateenv_mips_ctx): New.
2461 (libc_feupdateenv_ctx): New.
2462 (libc_feupdateenvf_ctx): New.
2463 (libc_feupdateenvl_ctx): New.
2464 (libc_feholdsetround_mips_ctx): New.
2465 (libc_feholdsetround_ctx): New.
2466 (libc_feholdsetroundf_ctx): New.
2467 (libc_feholdsetroundl_ctx): New.
2468 (libc_feresetround_mips_ctx): New.
2469 (libc_feresetround_ctx): New.
2470 (libc_feresetroundf_ctx): New.
2471 (libc_feresetroundl_ctx): New.
2472
085d0e35
CD
24732014-02-26 Carlos O'Donell <carlos@redhat.com>
2474
f067bf1f
CD
2475 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2476
085d0e35
CD
2477 * manual/ipc.texi: New file.
2478 * manual/Makefile (chapters): Add ipc.
2479 * manual/job.texi: Add "Inter-Process Communication" to next.
2480 * manual/process.texi: Add "Inter-Process Communication" to prev.
2481
86e58c08
AZ
24822014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2483
2484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2485
4248f0da
OB
24862014-02-26 Ondřej Bílka <neleai@seznam.cz>
2487
2488 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2489
cf822e3c
OB
2490 * manual/arith.texi: Fix spaces after sentences.
2491 * manual/charset.texi: Likewise.
2492 * manual/errno.texi: Likewise.
2493 * manual/install.texi: Likewise.
2494 * manual/llio.texi: Likewise.
2495 * manual/locale.texi: Likewise.
2496 * manual/maint.texi: Likewise.
2497 * manual/math.texi: Likewise.
2498 * manual/memory.texi: Likewise.
2499 * manual/message.texi: Likewise.
2500 * manual/probes.texi: Likewise.
2501 * manual/resource.texi: Likewise.
2502 * manual/signal.texi: Likewise.
2503 * manual/socket.texi: Likewise.
2504 * manual/stdio.texi: Likewise.
2505 * manual/string.texi: Likewise.
2506 * manual/time.texi: Likewise.
2507 * manual/users.texi: Likewise.
2508
ade40b10
CD
25092014-02-25 Carlos O'Donell <carlos@redhat.com>
2510
2511 [BZ #16632]
2512 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2513 _DEFAULT_SOURCE is defined.
2514
d0503676
CD
25152014-02-25 Ulrich Drepper <drepper@gmail.com>
2516 Carlos O'Donell <carlos@redhat.com>
2517
2518 [BZ #16613]
2519 * elf/dl-tls.c (_dl_count_modids): New function.
2520 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2521 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2522 audit library and increment generation counter.
2523 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2524 * elf/tst-audit9.c: New file.
2525 * elf/tst-auditmod9a.c: New file.
2526 * elf/tst-auditmod9b.c: New file.
2527 * elf/Makefile: Add rules to build and run tst-audit9.
2528
4cbf380c
FW
25292014-02-25 Florian Weimer <fweimer@redhat.com>
2530
2531 [BZ #15347]
2532 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2533
80a56cc3
WN
25342014-02-25 Will Newton <will.newton@linaro.org>
2535
2536 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2537 (__longjmp): Restore sp and lr before restoring callee
2538 saved registers. Add longjmp and longjmp_target
2539 SystemTap probe point.
2540 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2541 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2542 Define to zero to match jmpbuf layout.
2543 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2544 (__sigsetjmp): Save sp and lr before saving callee
2545 saved registers. Add setjmp SystemTap probe point.
2546
3ea0f74e
SL
25472014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2548
2549 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2550
b04acb26
AS
25512014-02-24 Andreas Schwab <schwab@suse.de>
2552
2553 [BZ #15804]
2554 * elf/pldd.c (wait_for_ptrace_stop): New function.
2555 (main): Call it after attaching.
2556
098ad55c
RM
25572014-02-22 Roland McGrath <roland@hack.frob.com>
2558
d4ec6ae1
RM
2559 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2560 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2561 Versions files is now verboten.
2562 * hurd/Versions (libc: GLIBC_2.0):
2563 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2564 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2565 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2566 * mach/Versions: Likewise.
2567
098ad55c
RM
2568 * csu/Versions: Remove unused %include.
2569 * resolv/Versions: Likewise.
2570
acd7f096
JM
25712014-02-21 Joseph Myers <joseph@codesourcery.com>
2572
f0881698
JM
2573 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2574 ($(objpfx)check-local-headers.out): Likewise.
2575 ($(objpfx)begin-end-check.out): Likewise.
2576 * Makerules (check-abi-%.out): Likewise.
2577 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2578 ($(objpfx)test2.cat): Likewise.
2579 ($(objpfx)de/libc.cat): Likewise.
2580 ($(objpfx)test-gencat.out): Likewise.
2581 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2582 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2583 ($(objpfx)noload-mem): Likewise.
2584 ($(objpfx)tst-pathopt.out): Likewise.
2585 ($(objpfx)tst-rtld-load-self.out): Likewise.
2586 ($(objpfx)tst-array1-cmp.out): Likewise.
2587 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2588 ($(objpfx)tst-array2-cmp.out): Likewise.
2589 ($(objpfx)tst-array3-cmp.out): Likewise.
2590 ($(objpfx)tst-array4-cmp.out): Likewise.
2591 ($(objpfx)tst-array5-cmp.out): Likewise.
2592 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2593 ($(objpfx)check-textrel.out): Likewise.
2594 ($(objpfx)check-execstack.out): Likewise.
2595 ($(objpfx)check-localplt.out): Likewise.
2596 ($(objpfx)order2-cmp.out): Likewise.
2597 ($(objpfx)tst-leaks1-mem): Likewise.
2598 ($(objpfx)tst-leaks1-static-mem): Likewise.
2599 ($(objpfx)tst-initorder-cmp.out): Likewise.
2600 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2601 ($(objpfx)tst-unused-dep.out): Likewise.
2602 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2604 * iconv/Makefile (test-iconvconfig): Likewise.
2605 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2606 ($(objpfx)iconv-test.out): Likewise.
2607 ($(objpfx)tst-tables.out): Likewise.
2608 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2609 ($(objpfx)tst-gettext.out): Likewise.
2610 ($(objpfx)tst-translit.out): Likewise.
2611 ($(objpfx)tst-gettext2.out): Likewise.
2612 ($(objpfx)tst-gettext4.out): Likewise.
2613 ($(objpfx)tst-gettext6.out): Likewise.
2614 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2615 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2616 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2617 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2618 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2619 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2620 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2621 ($(objpfx)wordexp-tst.out): Likewise.
2622 ($(objpfx)annexc.out): Likewise.
2623 ($(objpfx)tst-fnmatch-mem): Likewise.
2624 ($(objpfx)bug-regex2-mem): Likewise.
2625 ($(objpfx)bug-regex14-mem): Likewise.
2626 ($(objpfx)bug-regex21-mem): Likewise.
2627 ($(objpfx)bug-regex31-mem): Likewise.
2628 ($(objpfx)tst-vfork3-mem): Likewise.
2629 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2630 ($(objpfx)tst-pcre-mem): Likewise.
2631 ($(objpfx)tst-boost-mem): Likewise.
2632 ($(objpfx)tst-getconf.out): Likewise.
2633 ($(objpfx)bug-ga2-mem): Likewise.
2634 ($(objpfx)bug-glob2-mem): Likewise.
2635 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2636 ($(objpfx)mtrace-tst-leaks2): Likewise.
2637 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2638 ($(objpfx)tst-printf.out): Likewise.
2639 ($(objpfx)tst-setvbuf1.out): Likewise.
2640 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2641 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2642 ($(objpfx)tst-fmtmsg.out): Likewise.
2643 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2644 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2645
acd7f096
JM
2646 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2647 * bits/sigaction.h [__USE_MISC]: Likewise.
2648 * bits/waitstatus.h: Update #endif comments.
2649 * ctype/ctype.h: Likewise.
2650 * dirent/dirent.h: Likewise.
2651 [__USE_MISC]: Remove redundant conditionals.
2652 * grp/grp.h: Update #endif comments.
2653 [__USE_GNU]: Remove redundant conditionals.
2654 [__USE_MISC]: Likewise.
2655 * inet/netinet/in.h [__USE_GNU]: Likewise.
2656 * io/sys/stat.h [__USE_MISC]: Likewise.
2657 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2658 * libio/bits/stdio.h: Update #endif comments.
2659 [__USE_MISC]: Remove redundant conditionals.
2660 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2661 * libio/stdio.h: Update #endif comments.
2662 [__USE_MISC]: Remove redundant conditionals.
2663 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2664 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2665 * math/math.h: Update #else and #endif comments.
2666 [__USE_MISC]: Remove redundant conditionals.
2667 * misc/sys/uio.h: Update #endif comments.
2668 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2669 * posix/glob.h [__USE_MISC]: Likewise.
2670 * posix/sys/types.h: Update #endif comments.
2671 [__USE_MISC]: Remove redundant conditionals.
2672 * posix/sys/wait.h: Update #endif comments.
2673 [__USE_MISC]: Remove redundant conditionals.
2674 * posix/unistd.h: Update #endif comments.
2675 [__USE_MISC]: Remove redundant conditionals.
2676 * pwd/pwd.h [__USE_GNU]: Likewise.
2677 [__USE_MISC]: Likewise.
2678 * resolv/netdb.h [__USE_GNU]: Likewise.
2679 * signal/signal.h: Update #endif comments.
2680 [__USE_MISC]: Remove redundant conditionals.
2681 * stdlib/stdlib.h: Update #else and #endif comments.
2682 [__USE_MISC]: Remove redundant conditionals.
2683 [__USE_GNU]: Likewise.
2684 * string/bits/string2.h [__USE_MISC]: Likewise.
2685 * string/string.h: Update #endif comments.
2686 [__USE_MISC]: Remove redundant conditionals.
2687 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2688 Likewise.
2689 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2690 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2691 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2692 Likewise.
2693 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2694 Likewise.
2695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2696 comments.
2697 [__USE_MISC]: Remove redundant conditionals.
2698 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2699 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2700 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2701 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2702 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2703 Likewise.
2704 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2705 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2706 Likewise.
2707 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2708 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2709 Likewise.
2710 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2711 Likewise.
2712 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2714 Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2716 Likewise.
2717 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2718 * sysdeps/x86/bits/string.h: Update #endif comments.
2719 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2720 conditionals.
2721 * time/sys/time.h: Update #endif comments.
2722 * time/time.h: Likewise.
2723 [__USE_MISC]: Remove redundant conditionals.
2724
a5d82e4e
YG
27252014-02-21 Yury Gribov <y.gribov@samsung.com>
2726
2727 [BZ #16600]
2728 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2729
9a80491d
AS
27302014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2731
2732 * Versions.def (librt): Add GLIBC_2.17.
2733
105fa381
AC
27342014-02-21 Adam Conrad <adconrad@0c3.net>
2735
2736 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2737 synonym for _SYS_AUXV_H to allow direct inclusion.
2738 * sysdeps/sparc/bits/hwcap.h: Likewise.
2739 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2740 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2741 * sysdeps/sparc/sysdep.h: Likewise.
2742
b8cd1c4e
SP
27432014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2744
2745 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2746
bd939d23
RS
27472014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2748
2749 * benchtests/bench-strrchr.c: Print length instead of position.
2750
5d7b57ca
JM
27512014-02-20 Joseph Myers <joseph@codesourcery.com>
2752
bc688c10
JM
2753 [BZ #16611]
2754 * sysdeps/unix/sysv/linux/kernel-features.h
2755 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2756 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2757 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2758 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2759 Likewise.
2760 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2761 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2762 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2763 (__ASSUME_SENDMMSG): Define instead of using previous
2764 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2765 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2766 (__ASSUME_SENDMMSG_SYSCALL): Define.
2767 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2768 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2769 Likewise.
2770 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2771 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2772 Likewise.
2773 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2774 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2775 Likewise.
2776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2777 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2778 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2779 [__ASSUME_SENDMMSG]: Change conditionals to
2780 [__ASSUME_SENDMMSG_SOCKETCALL].
2781 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2782 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2783 Define.
2784 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2785 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2786 Likewise.
2787 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2788 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2789 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2790 [!__ASSUME_SENDMMSG]: Change conditional to
2791 [!__ASSUME_SENDMMSG_SOCKETCALL].
2792 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2793 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2794 Define.
2795
0e31b18c
JM
2796 [BZ #16610]
2797 * sysdeps/unix/sysv/linux/kernel-features.h
2798 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2799 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2800 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2801 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2802 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2803 [__i386__ || __sparc__]
2804 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2805 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2806 (__ASSUME_RECVMMSG): Define instead of using previous
2807 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2808 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2809 (__ASSUME_RECVMMSG_SYSCALL): Define.
2810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2811 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2812 Likewise.
2813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2815 Likewise.
2816 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2817 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2818 Likewise.
2819 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2820 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2821 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2822 [__ASSUME_RECVMMSG]: Change condition to
2823 [__ASSUME_RECVMMSG_SOCKETCALL].
2824 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2825 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2826 Define.
2827 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2828 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2829 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2830 Likewise.
2831 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2832 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2833 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2834 [!__ASSUME_RECVMMSG]: Change condition to
2835 [!__ASSUME_RECVMMSG_SOCKETCALL].
2836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2837 (__ASSUME_RECVMMSG_SYSCALL): Define.
2838
dd481ccf
JM
2839 [BZ #16609]
2840 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2841 __powerpc__ || __s390__ || __sh__ || __sparc__]
2842 (__ASSUME_SOCKETCALL): Define.
2843 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2844 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2845 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2846 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2847 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2848 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2849 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2850 (__ASSUME_ACCEPT4): Define instead of using previous
2851 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2852 __powerpc__ || __sparc__ || __s390__)] condition.
2853 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2854 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2855 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2856 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2857 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2858 [!__ASSUME_ACCEPT4]: Change condition to
2859 [!__ASSUME_ACCEPT4_SOCKETCALL].
2860 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2861 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2862 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2863 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2864 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2865 __ASSUME_ACCEPT4_SYSCALL.
2866 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2867 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2869 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2870 __ASSUME_ACCEPT4_SYSCALL.
2871 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2872 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2873 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2874 [__ASSUME_ACCEPT4]: Change condition to
2875 [__ASSUME_ACCEPT4_SOCKETCALL].
2876 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2877 (__ASSUME_SOCKETCALL): Define.
2878 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2880 (__ASSUME_SOCKETCALL): Define.
2881 (__ASSUME_ACCEPT4): Remove.
2882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2883 Define.
2884 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2885 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2886 Likewise.
2887 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2888 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2889
5d7b57ca
JM
2890 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2891 macro.
2892 (HWCAP_ARM_LPAE): Likewise.
2893 (HWCAP_ARM_EVTSTRM): Likewise.
2894 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2895 Add vpfd32, lpae and evtstrm.
2896 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2897 Increase to 22.
2898
63689d61
JM
28992014-02-19 Joseph Myers <joseph@codesourcery.com>
2900
2901 * math/auto-libm-test-in: Add tests of clog10.
2902 * math/auto-libm-test-out: Regenerated.
2903 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2904 * sysdeps/i386/fpu/libm-test-ulps: Update.
2905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2906
ab09bf61
AS
29072014-02-18 Andreas Schwab <schwab@suse.de>
2908
2909 [BZ #16574]
2910 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2911 Store non-zero if the second buffer was newly allocated.
2912 (send_dg): Likewise.
2913 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2914 to send_vc and send_dg.
2915 (res_nsend): Pass NULL for ansp2_malloced.
2916 * resolv/res_query.c (__libc_res_nquery): Add parameter
2917 answerp2_malloced and pass it down to __libc_res_nsend.
2918 (res_nquery): Pass additional NULL to __libc_res_nquery.
2919 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2920 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2921 second answer buffer if answerp2_malloced was set.
2922 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2923 (__libc_res_nquerydomain): Add parameter
2924 answerp2_malloced and pass it down to __libc_res_nquery.
2925 (res_nquerydomain): Pass additional NULL to
2926 __libc_res_nquerydomain.
2927 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2928 additional NULL to __libc_res_nsend and __libc_res_nquery.
2929 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2930 additional NULL to __libc_res_nsearch.
2931 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2932 parameter of __libc_res_nsearch to check for separately allocated
2933 second buffer.
2934 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2935 __libc_res_nquery.
2936 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2937 additional NULL to __libc_res_nquery.
2938 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2939 __libc_res_nsearch.
2940 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2941 * include/resolv.h: Update prototypes of __libc_res_nquery,
2942 __libc_res_nsearch, __libc_res_nsend.
2943
a4fb7861
JM
29442014-02-18 Joseph Myers <joseph@codesourcery.com>
2945
c6af2d89
JM
2946 * math/auto-libm-test-in: Add tests of fma.
2947 * math/auto-libm-test-out: Regenerated.
2948 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2949 (fma_towardzero_test_data): Likewise.
2950 (fma_downward_test_data): Likewise.
2951 (fma_upward_test_data): Likewise.
2952 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2953 mpc_mode.
2954 (rounding_modes): Add values for new field.
2955 (func_calc_method): Add value mpfr_fff_f.
2956 (func_calc_desc): Add mpfr_fff_f union field.
2957 (test_function): Add field exact_args.
2958 (FUNC): Add macro argument EXACT_ARGS.
2959 (FUNC_mpfr_f_f): Update call to FUNC.
2960 (FUNC_mpfr_f_f): Likewise.
2961 (FUNC_mpfr_ff_f): Likewise.
2962 (FUNC_mpfr_if_f): Likewise.
2963 (FUNC_mpc_c_f): Likewise.
2964 (FUNC_mpc_c_c): Likewise.
2965 (test_functions): Add fma. Update calls to FUNC.
2966 (handle_input_arg): Add argument exact_args.
2967 (add_test): Update call to handle_input_arg.
2968 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2969 (output_for_one_input_case): Update call to calc_generic_results.
2970 Recalculate exact zero results in each rounding mode.
2971
a4fb7861
JM
2972 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2973 non-negative before setting low bit.
2974 * math/auto-libm-test-in: Mark one asin test possibly having
2975 spurious underflow.
2976 * math/auto-libm-test-out: Regenerated.
2977 * sysdeps/i386/fpu/libm-test-ulps: Update.
2978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2979
ef114eaf
DH
29802014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2981
2b7f4f2c
SP
2982 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2983 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2984 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2985 * README: Add missing listing for microblaze*-*-linux-gnu.
2986
c70a4b1d
MF
29872014-02-16 Mike Frysinger <vapier@gentoo.org>
2988
2989 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2990 * sysdeps/unix/sysv/linux/ia64: Move directory from
2991 ports/sysdeps/unix/sysv/linux/ia64.
2992 * README: Update listing for ia64-*-linux-gnu.
2993
591aeaf7
TD
29942014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2995 Joseph Myers <joseph@codesourcery.com>
2996
2997 * Makeconfig (test-name): New variable.
2998 (evaluate-test): Likewise.
2999 * Makerules (do-test-clean): Remove .test-result files.
3000 (common-mostlyclean): Likewise.
3001 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3002 * scripts/evaluate-test.sh: New file.
3003
6e89caf1
JM
30042014-02-14 Joseph Myers <joseph@codesourcery.com>
3005
7f98f180
JM
3006 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3007 separate $(objpfx)tst-fopenloc-cmp.out and
3008 $(objpfx)tst-fopenloc-mem.out targets.
3009 (tests): Update dependencies.
3010 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3011 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3012 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3013 (tst-rxspencer-no-utf8-ARGS): New variable.
3014 (tst-rxspencer-no-utf8-ENV): Likewise.
3015 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3016 instead of $(objpfx)tst-rxspencer-mem.
3017 ($(objpfx)tst-rxspencer-mem): Change target to
3018 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3019 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3020 * posix/tst-rxspencer-no-utf8.c: New file.
3021
6e89caf1
JM
3022 * elf/Makefile ($(objpfx)order.out): Remove rule.
3023 [$(run-built-tests) = yes] (tests): Depend on
3024 $(objpfx)order-cmp.out.
3025 ($(objpfx)order-cmp.out): New rule.
3026 [$(run-built-tests) = yes] (tests): Depend on
3027 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3028 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3029 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3030 $(objpfx)tst-array5-static-cmp.out.
3031 ($(objpfx)tst-array1.out): Remove rule.
3032 ($(objpfx)tst-array1-cmp.out): New rule.
3033 ($(objpfx)tst-array1-static.out): Remove rule.
3034 ($(objpfx)tst-array1-static-cmp.out): New rule.
3035 ($(objpfx)tst-array2.out): Remove rule.
3036 ($(objpfx)tst-array2-cmp.out): New rule.
3037 ($(objpfx)tst-array3.out): Remove rule.
3038 ($(objpfx)tst-array3-cmp.out): New rule.
3039 ($(objpfx)tst-array4.out): Remove rule.
3040 ($(objpfx)tst-array4-cmp.out): New rule.
3041 ($(objpfx)tst-array5.out): Remove rule.
3042 ($(objpfx)tst-array5-cmp.out): New rule.
3043 ($(objpfx)tst-array5-static.out): Remove rule.
3044 ($(objpfx)tst-array5-static-cmp.out): New rule.
3045 [$(run-built-tests) = yes] (tests): Depend on
3046 $(objpfx)order2-cmp.out.
3047 ($(objpfx)order2.out): Remove rule.
3048 ($(objpfx)order2-cmp.out): New rule.
3049 ($(objpfx)tst-initorder.out): Remove rule.
3050 [$(run-built-tests) = yes] (tests): Depend on
3051 $(objpfx)tst-initorder-cmp.out.
3052 ($(objpfx)tst-initorder-cmp.out): New rule.
3053 ($(objpfx)tst-initorder2.out): Remove rule.
3054 [$(run-built-tests) = yes] (tests): Depend on
3055 $(objpfx)tst-initorder2-cmp.out.
3056 ($(objpfx)tst-initorder2-cmp.out): New rule.
3057 [$(run-built-tests) = yes] (tests): Depend on
3058 $(objpfx)tst-unused-dep-cmp.out.
3059 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3060 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3061 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3062 on $(objpfx)tst-setvbuf1-cmp.out.
3063 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3064 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3065 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3066 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3067 ($(objpfx)tst-svc.out): Remove rule.
3068 ($(objpfx)tst-svc-cmp.out): New rule.
3069
ed9a38e2
JM
30702014-02-13 Joseph Myers <joseph@codesourcery.com>
3071
3072 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3073 * ctype/ctype.h [__USE_MISC]: Likewise.
3074 * dirent/dirent.h [__USE_MISC]: Likewise.
3075 * grp/grp.h [__USE_MISC]: Likewise.
3076 * io/fcntl.h [__USE_MISC]: Likewise.
3077 * io/sys/stat.h [__USE_MISC]: Likewise.
3078 * libio/stdio.h [__USE_MISC]: Likewise.
3079 * posix/unistd.h [__USE_MISC]: Likewise.
3080 * pwd/pwd.h [__USE_MISC]: Likewise.
3081 * stdlib.h [__USE_MISC]: Likewise.
3082 * string/bits/string2.h [__USE_MISC]: Likewise.
3083 * string/string.h [__USE_MISC]: Likewise.
3084 * time/time.h [__USE_MISC]: Likewise.
3085
d6680619
AS
30862014-02-13 Andreas Schwab <schwab@suse.de>
3087
3088 [BZ #16574]
3089 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3090 second answer buffer if it was separately allocated.
3091
ace614b8
JM
30922014-02-12 Joseph Myers <joseph@codesourcery.com>
3093
743151ae
JM
3094 * sysdeps/mips/math-tests.h: Include <features.h>.
3095 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3096 (ROUNDING_TESTS_long_double): Do not define.
3097 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3098 (EXCEPTION_TESTS_long_double): Likewise.
3099 * sysdeps/mips/mips64/libm-test-ulps: Update.
3100
498afc54
JM
3101 * include/features.h (__USE_BSD): Remove macro definitions.
3102 (__USE_SVID): Likewise.
3103 (_BSD_SOURCE): Likewise.
3104 (_SVID_SOURCE): Likewise.
3105 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3106 from definition of _DEFAULT_SOURCE.
3107 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3108 [_DEFAULT_SOURCE].
3109 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3110 * bits/mman.h [__USE_BSD]: Likewise.
3111 * bits/termios.h [__USE_BSD]: Likewise.
3112 * bits/waitstatus.h [__USE_BSD]: Likewise.
3113 * ctype/ctype.h [__USE_SVID]: Likewise.
3114 * dirent/dirent.h [__USE_BSD]: Likewise.
3115 * grp/grp.h [__USE_SVID]: Likewise.
3116 [__USE_BSD]: Likewise.
3117 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3118 * io/fcntl.h [__USE_BSD]: Likewise.
3119 * io/ftw.h [__USE_BSD]: Likewise.
3120 * io/sys/stat.h [__USE_BSD]: Likewise.
3121 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3122 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3123 * libio/stdio.h [__USE_SVID]: Likewise.
3124 [__USE_BSD]: Likewise.
3125 * math/math.h [__USE_SVID]: Likewise.
3126 [__USE_BSD]: Likewise.
3127 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3128 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3129 * misc/search.h [__USE_SVID]: Likewise.
3130 * misc/sys/mman.h [__USE_BSD]: Likewise.
3131 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3132 * misc/sys/uio.h [__USE_BSD]: Likewise.
3133 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3134 * posix/glob.h [__USE_BSD]: Likewise.
3135 * posix/regex.h [__USE_BSD]: Likewise.
3136 * posix/sys/types.h [__USE_BSD]: Likewise.
3137 [__USE_SVID]: Likewise.
3138 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3139 * posix/sys/wait.h [__USE_BSD]: Likewise.
3140 [__USE_SVID]: Likewise.
3141 * posix/unistd.h [__USE_BSD]: Likewise.
3142 [__USE_SVID]: Likewise.
3143 * pwd/pwd.h [__USE_SVID]: Likewise.
3144 * resolv/netdb.h [__USE_BSD]: Likewise.
3145 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3146 * signal/signal.h [__USE_BSD]: Likewise.
3147 [__USE_SVID]: Likewise.
3148 * socket/sys/socket.h [__USE_BSD]: Likewise.
3149 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3150 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3151 [__USE_SVID]: Likewise.
3152 * string/bits/string2.h [__USE_BSD]: Likewise.
3153 [__USE_SVID]: Likewise.
3154 * string/bits/string3.h [__USE_BSD]: Likewise.
3155 * string/endian.h [__USE_BSD]: Likewise.
3156 * string/string.h [__USE_SVID]: Likewise.
3157 [__USE_BSD]: Likewise.
3158 * string/strings.h [__USE_BSD]: Likewise.
3159 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3160 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3161 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3162 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3163 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3164 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3165 Likewise.
3166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3167 Likewise.
3168 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3169 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3170 Likewise.
3171 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3172 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3173 Likewise.
3174 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3175 Likewise.
3176 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3177 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3178 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3179 Likewise.
3180 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3181 Likewise.
3182 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3183 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3184 * termios/termios.h [__USE_BSD]: Likewise.
3185 * time/sys/time.h [__USE_BSD]: Likewise.
3186 * time/time.h [__USE_BSD]: Likewise.
3187 [__USE_SVID]: Likewise.
3188
dd7b064c
JM
3189 * Makefile (subdir_targets): Remove subdir_lint.out.
3190
a2c4c199
JM
3191 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3192 (do-tst-printf): Likewise.
3193 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3194 $(objpfx)tst-printf.out.
3195
8756f740
JM
3196 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3197
1b6dd3f1
JM
3198 * Makerules (check-abi-%): Change target to
3199 $(objpfx)check-abi-%.out.
3200 (check-abi target): Update dependencies.
3201 (check-abi-pattern variable): Redirect output of diff to $@.
3202 (check-abi variable): Likewise.
3203 * elf/Makefile (check-abi): Update dependencies.
3204
ace614b8
JM
3205 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3206 unused.
3207 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3208 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3209 subnormal range.
3210 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3211 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3212 value has largest subnormal exponent.
3213 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3214 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3215 * sysdeps/aarch64/soft-fp/sfp-machine.h
3216 (_FP_TININESS_AFTER_ROUNDING): New macro.
3217 * sysdeps/alpha/soft-fp/sfp-machine.h
3218 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3219 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3220 Likewise.
3221 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3222 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3223 * sysdeps/mips/soft-fp/sfp-machine.h
3224 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3225 * sysdeps/powerpc/soft-fp/sfp-machine.h
3226 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3227 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3228 Likewise.
3229 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3230 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3231 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3232 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3233 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3234 Likewise.
3235
fbfdf9cb
DAS
32362014-02-12 Dylan Alex Simon <dylan@dylex.net>
3237
3238 [BZ #16545]
3239 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3240 model 1.
3241
68b7efaa
RH
32422014-02-12 Richard Henderson <rth@redhat.com>
3243
c70a4b1d 3244 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3245 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3246 * sysdeps/unix/sysv/linux/alpha: Move directory from
3247 ports/sysdeps/unix/sysv/linux/alpha.
3248 * README: Update listing for alpha-*-linux-gnu.
3249
cb4a2928
JM
32502014-02-11 Joseph Myers <joseph@codesourcery.com>
3251
c941736c
JM
3252 * include/features.h: Update comment documenting feature test
3253 macros.
3254 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3255 _DEFAULT_SOURCE.
3256 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3257 (_SVID_SOURCE): Likewise.
3258 (_DEFAULT_SOURCE): Update description of default features.
3259 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3260 with _GNU_SOURCE.
3261 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3262 (S_ISVTX): Likewise.
3263 * manual/math.texi (Mathematical Constants): Likewise.
3264 * manual/signal.texi (Interrupted Primitives): Likewise.
3265 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3266 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3267 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3268 Don't refer to _SVID_SOURCE in warning text.
3269
e8d8d7ec
JM
3270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3271
cb4a2928
JM
3272 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3273 already defined.
3274 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3275 * sysdeps/mips/dl-lookup.c: Remove.
3276 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3277
7e6424e3
AK
32782014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3279
3280 [BZ #16447]
3281 * math/auto-libm-test-in: Add testcase for expl.
3282 * math/auto-libm-test-out: Regenerate.
3283 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3284 calculation of unsafe.
3285 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3286
75eff3fe
MS
32872014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3288
3289 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3290 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3291 ports/sysdeps/unix/sysv/linux/aarch64.
3292 * README: Update listing for aarch64*-*-linux-gnu.
3293
d35f1e80
WN
32942014-02-11 Will Newton <will.newton@linaro.org>
3295
3296 * manual/probes.texi (Mathematical Function Probes): Use
3297 "triggered" instead of "hit".
3298
7b3436d4
WN
32992014-02-11 Will Newton <will.newton@linaro.org>
3300
3301 * manual/probes.texi (Internal Probes): Add documentation
3302 of setjmp, longjmp and longjmp_target probes.
3303
b4f12ca3
WN
33042014-02-11 Will Newton <will.newton@linaro.org>
3305
3306 * include/stap-probe.h: Add comment about probe argument
3307 format.
3308
c13a72b7
WN
33092014-02-11 Will Newton <will.newton@linaro.org>
3310
3311 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3312 definition. (tr_where, tr_freehook, tr_mallochook,
3313 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3314
195b8165
DM
33152014-02-11 David S. Miller <davem@davemloft.net>
3316
3317 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3318 processing int_tests.
3319
2ad7600b
JM
33202014-02-10 Joseph Myers <joseph@codesourcery.com>
3321
3322 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3323 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3324 * sysdeps/unix/sysv/linux/mips: Move directory from
3325 ports/sysdeps/unix/sysv/linux/mips.
3326 * README: Update listing for mips-*-linux-gnu and
3327 mips64-*-linux-gnu.
3328
73588a72
AS
33292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3330
3331 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3332 * sysdeps/unix/sysv/linux/m68k: Move directory from
3333 ports/sysdeps/unix/sysv/linux/m68k.
3334 * README: Update listing for m68k-*-linux-gnu.
3335
4372980f
CM
33362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3337
3338 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3339 * sysdeps/unix/sysv/linux/generic: Move directory from
3340 ports/sysdeps/unix/sysv/linux/generic.
3341 * sysdeps/unix/sysv/linux/tile: Move directory from
3342 ports/sysdeps/unix/sysv/linux/tile.
3343 * README: Update listing for tile*-*-linux-gnu.
3344
a1ffb40e
OB
33452014-02-10 Ondřej Bílka <neleai@seznam.cz>
3346
3347 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3348 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3349 * catgets/open_catalog.c (__open_catalog): Likewise.
3350 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3351 * debug/confstr_chk.c: Likewise.
3352 * debug/fread_chk.c (__fread_chk): Likewise.
3353 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3354 * debug/getgroups_chk.c: Likewise.
3355 * debug/mbsnrtowcs_chk.c: Likewise.
3356 * debug/mbsrtowcs_chk.c: Likewise.
3357 * debug/mbstowcs_chk.c: Likewise.
3358 * debug/memcpy_chk.c: Likewise.
3359 * debug/memmove_chk.c: Likewise.
3360 * debug/mempcpy_chk.c: Likewise.
3361 * debug/memset_chk.c: Likewise.
3362 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3363 * debug/strcat_chk.c (__strcat_chk): Likewise.
3364 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3365 * debug/strncat_chk.c (__strncat_chk): Likewise.
3366 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3367 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3368 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3369 * debug/wcpncpy_chk.c: Likewise.
3370 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3371 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3372 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3373 * debug/wcsncpy_chk.c: Likewise.
3374 * debug/wcsnrtombs_chk.c: Likewise.
3375 * debug/wcsrtombs_chk.c: Likewise.
3376 * debug/wcstombs_chk.c: Likewise.
3377 * debug/wmemcpy_chk.c: Likewise.
3378 * debug/wmemmove_chk.c: Likewise.
3379 * debug/wmempcpy_chk.c: Likewise.
3380 * debug/wmemset_chk.c: Likewise.
3381 * dirent/scandirat.c (SCANDIRAT): Likewise.
3382 * dlfcn/dladdr1.c (dladdr1): Likewise.
3383 * dlfcn/dladdr.c (dladdr): Likewise.
3384 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3385 * dlfcn/dlerror.c (__dlerror): Likewise.
3386 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3387 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3388 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3389 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3390 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3391 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3392 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3393 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3394 Likewise.
3395 * elf/dl-conflict.c: Likewise.
3396 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3397 * elf/dl-dst.h: Likewise.
3398 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3399 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3401 * elf/dl-init.c (call_init, _dl_init): Likewise.
3402 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3403 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3404 _dl_map_object_from_fd, open_verify, open_path,
3405 _dl_map_object): Likewise.
3406 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3407 Likewise.
3408 * elf/dl-minimal.c (__libc_memalign): Likewise.
3409 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3410 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3411 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3412 * elf/dl-sym.c (do_sym): Likewise.
3413 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3414 _dl_tls_get_addr_soft): Likewise.
3415 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3416 * elf/dl-writev.h (_dl_writev): Likewise.
3417 * elf/ldconfig.c (search_dir): Likewise.
3418 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3419 dl_main): Likewise.
3420 * elf/setup-vdso.h (setup_vdso): Likewise.
3421 * grp/compat-initgroups.c (compat_call): Likewise.
3422 * grp/fgetgrent.c (fgetgrent): Likewise.
3423 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3424 * grp/putgrent.c (putgrent): Likewise.
3425 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3426 Likewise.
3427 * hurd/hurdinit.c: Likewise.
3428 * iconvdata/8bit-gap.c (struct): Likewise.
3429 * iconvdata/ansi_x3.110.c : Likewise.
3430 * iconvdata/big5.c : Likewise.
3431 * iconvdata/big5hkscs.c : Likewise.
3432 * iconvdata/cp1255.c: Likewise.
3433 * iconvdata/cp1258.c : Likewise.
3434 * iconvdata/cp932.c : Likewise.
3435 * iconvdata/euc-cn.c: Likewise.
3436 * iconvdata/euc-jisx0213.c : Likewise.
3437 * iconvdata/euc-jp.c: Likewise.
3438 * iconvdata/euc-jp-ms.c : Likewise.
3439 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3440 * iconvdata/gb18030.c : Likewise.
3441 * iconvdata/gbbig5.c (const): Likewise.
3442 * iconvdata/gbgbk.c: Likewise.
3443 * iconvdata/gbk.c : Likewise.
3444 * iconvdata/ibm1364.c : Likewise.
3445 * iconvdata/ibm930.c : Likewise.
3446 * iconvdata/ibm932.c: Likewise.
3447 * iconvdata/ibm933.c : Likewise.
3448 * iconvdata/ibm935.c : Likewise.
3449 * iconvdata/ibm937.c : Likewise.
3450 * iconvdata/ibm939.c : Likewise.
3451 * iconvdata/ibm943.c: Likewise.
3452 * iconvdata/iso_11548-1.c: Likewise.
3453 * iconvdata/iso-2022-cn.c : Likewise.
3454 * iconvdata/iso-2022-cn-ext.c : Likewise.
3455 * iconvdata/iso-2022-jp-3.c: Likewise.
3456 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3457 * iconvdata/iso-2022-kr.c : Likewise.
3458 * iconvdata/iso646.c (gconv_end): Likewise.
3459 * iconvdata/iso_6937-2.c : Likewise.
3460 * iconvdata/iso_6937.c : Likewise.
3461 * iconvdata/iso8859-1.c: Likewise.
3462 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3463 * iconvdata/shift_jisx0213.c : Likewise.
3464 * iconvdata/sjis.c : Likewise.
3465 * iconvdata/t.61.c : Likewise.
3466 * iconvdata/tcvn5712-1.c : Likewise.
3467 * iconvdata/tscii.c: Likewise.
3468 * iconvdata/uhc.c : Likewise.
3469 * iconvdata/unicode.c (gconv_end): Likewise.
3470 * iconvdata/utf-16.c (gconv_end): Likewise.
3471 * iconvdata/utf-32.c (gconv_end): Likewise.
3472 * iconvdata/utf-7.c (base64): Likewise.
3473 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3474 * iconv/gconv_close.c (__gconv_close): Likewise.
3475 * iconv/gconv_open.c (__gconv_open): Likewise.
3476 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3477 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3478 internal_ucs4le_loop_single, ucs4le_internal_loop,
3479 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3480 * iconv/iconv.c (iconv): Likewise.
3481 * iconv/iconv_close.c: Likewise.
3482 * iconv/loop.c (SINGLE): Likewise.
3483 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3484 * include/atomic.h: Likewise.
3485 * inet/inet6_option.c (option_alloc): Likewise.
3486 * intl/bindtextdom.c (set_binding_values): Likewise.
3487 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3488 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3489 * intl/localealias.c (read_alias_file): Likewise.
3490 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3491 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3492 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3493 * libio/fmemopen.c (fmemopen): Likewise.
3494 * libio/iofgets.c (_IO_fgets): Likewise.
3495 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3496 * libio/iofgetws.c (fgetws): Likewise.
3497 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3498 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3499 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3500 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3501 * locale/findlocale.c (_nl_find_locale): Likewise.
3502 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3503 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3504 Likewise.
3505 * locale/setlocale.c (setlocale): Likewise.
3506 * login/programs/pt_chown.c (main): Likewise.
3507 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3508 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3509 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3510 mmap, mmap64, mremap, munmap): Likewise.
3511 * math/e_exp2l.c: Likewise.
3512 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3513 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3514 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3515 * math/s_catan.c (__catan): Likewise.
3516 * math/s_catanf.c (__catanf): Likewise.
3517 * math/s_catanh.c (__catanh): Likewise.
3518 * math/s_catanhf.c (__catanhf): Likewise.
3519 * math/s_catanhl.c (__catanhl): Likewise.
3520 * math/s_catanl.c (__catanl): Likewise.
3521 * math/s_ccosh.c (__ccosh): Likewise.
3522 * math/s_ccoshf.c (__ccoshf): Likewise.
3523 * math/s_ccoshl.c (__ccoshl): Likewise.
3524 * math/s_cexp.c (__cexp): Likewise.
3525 * math/s_cexpf.c (__cexpf): Likewise.
3526 * math/s_cexpl.c (__cexpl): Likewise.
3527 * math/s_clog10.c (__clog10): Likewise.
3528 * math/s_clog10f.c (__clog10f): Likewise.
3529 * math/s_clog10l.c (__clog10l): Likewise.
3530 * math/s_clog.c (__clog): Likewise.
3531 * math/s_clogf.c (__clogf): Likewise.
3532 * math/s_clogl.c (__clogl): Likewise.
3533 * math/s_csin.c (__csin): Likewise.
3534 * math/s_csinf.c (__csinf): Likewise.
3535 * math/s_csinh.c (__csinh): Likewise.
3536 * math/s_csinhf.c (__csinhf): Likewise.
3537 * math/s_csinhl.c (__csinhl): Likewise.
3538 * math/s_csinl.c (__csinl): Likewise.
3539 * math/s_csqrt.c (__csqrt): Likewise.
3540 * math/s_csqrtf.c (__csqrtf): Likewise.
3541 * math/s_csqrtl.c (__csqrtl): Likewise.
3542 * math/s_ctan.c (__ctan): Likewise.
3543 * math/s_ctanf.c (__ctanf): Likewise.
3544 * math/s_ctanh.c (__ctanh): Likewise.
3545 * math/s_ctanhf.c (__ctanhf): Likewise.
3546 * math/s_ctanhl.c (__ctanhl): Likewise.
3547 * math/s_ctanl.c (__ctanl): Likewise.
3548 * math/w_pow.c: Likewise.
3549 * math/w_powf.c: Likewise.
3550 * math/w_powl.c: Likewise.
3551 * math/w_scalb.c (sysv_scalb): Likewise.
3552 * math/w_scalbf.c (sysv_scalbf): Likewise.
3553 * math/w_scalbl.c (sysv_scalbl): Likewise.
3554 * misc/error.c (error_tail): Likewise.
3555 * misc/pselect.c (__pselect): Likewise.
3556 * nis/nis_callback.c (__nis_create_callback): Likewise.
3557 * nis/nis_call.c (__nisfind_server): Likewise.
3558 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3559 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3560 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3561 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3562 * nis/nis_lookup.c (nis_lookup): Likewise.
3563 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3564 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3565 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3566 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3567 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3568 internal_getgrgid_r): Likewise.
3569 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3570 Likewise.
3571 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3572 internal_getpwuid_r): Likewise.
3573 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3574 internal_getspnam_r): Likewise.
3575 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3576 _nss_nis_getaliasbyname_r): Likewise.
3577 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3578 _nss_nis_getntohost_r): Likewise.
3579 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3580 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3581 Likewise.
3582 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3583 internal_nis_gethostent_r, internal_gethostbyname2_r,
3584 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3585 _nss_nis_gethostbyname4_r): Likewise.
3586 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3587 initgroups_netid): Likewise.
3588 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3589 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3590 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3591 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3592 _nss_nis_getprotobynumber_r): Likewise.
3593 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3594 _nss_nis_getsecretkey): Likewise.
3595 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3596 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3597 Likewise.
3598 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3599 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3600 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3601 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3602 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3603 _nss_nis_getspnam_r): Likewise.
3604 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3605 Likewise.
3606 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3607 _nss_nisplus_getntohost_r): Likewise.
3608 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3609 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3610 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3611 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3612 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3613 Likewise.
3614 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3615 _nss_nisplus_getnetbyaddr_r): Likewise.
3616 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3617 _nss_nisplus_getprotobynumber_r): Likewise.
3618 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3619 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3620 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3621 Likewise.
3622 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3623 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3624 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3625 _nss_nisplus_getspnam_r): Likewise.
3626 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3627 * nscd/aicache.c (addhstaiX): Likewise.
3628 * nscd/cache.c (cache_search, prune_cache): Likewise.
3629 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3630 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3631 * nscd/grpcache.c (addgrbyX): Likewise.
3632 * nscd/hstcache.c (addhstbyX): Likewise.
3633 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3634 * nscd/mem.c (gc, mempool_alloc): Likewise.
3635 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3636 Likewise.
3637 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3638 Likewise.
3639 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3640 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3641 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3642 Likewise.
3643 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3644 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3645 * nscd/nscd_helper.c (__readvall, open_socket,
3646 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3647 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3648 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3649 * nscd/pwdcache.c (addpwbyX): Likewise.
3650 * nscd/selinux.c (preserve_capabilities): Likewise.
3651 * nscd/servicescache.c (addservbyX): Likewise.
3652 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3653 * posix/fnmatch.c (fnmatch): Likewise.
3654 * posix/getopt.c (_getopt_internal_r): Likewise.
3655 * posix/glob.c (glob, glob_in_dir): Likewise.
3656 * posix/wordexp.c (exec_comm_child): Likewise.
3657 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3658 gaih_getanswer_slice): Likewise.
3659 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3660 * resolv/res_init.c: Likewise.
3661 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3662 * resolv/res_query.c (__libc_res_nquery): Likewise.
3663 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3664 Likewise.
3665 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3666 * stdio-common/perror.c (perror): Likewise.
3667 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3668 * stdio-common/tmpnam.c (tmpnam): Likewise.
3669 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3670 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3671 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3672 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3673 * stdlib/putenv.c (putenv): Likewise.
3674 * stdlib/setenv.c (__add_to_environ): Likewise.
3675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3676 * stdlib/strtol_l.c (INTERNAL): Likewise.
3677 * string/memmem.c (memmem): Likewise.
3678 * string/strerror.c (strerror): Likewise.
3679 * string/strnlen.c (__strnlen): Likewise.
3680 * string/test-memmem.c (simple_memmem): Likewise.
3681 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3682 * sunrpc/pm_getport.c (__get_socket): Likewise.
3683 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3684 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3685 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3686 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3687 Likewise.
3688 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3690 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3692 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3693 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3694 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3695 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3696 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3698 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3699 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3701 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3702 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3703 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3704 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3705 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3706 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3707 Likewise.
3708 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3709 Likewise.
3710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3711 Likewise.
3712 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3714 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3716 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3717 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3718 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3728 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3729 Likewise.
3730 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3731 Likewise.
3732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3733 Likewise.
3734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3736 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3737 Likewise.
3738 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3739 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3740 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3741 * sysdeps/posix/sleep.c: Likewise.
3742 * sysdeps/posix/tempname.c: Likewise.
3743 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3745 Likewise.
3746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3747 elf_machine_rela): Likewise.
3748 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3750 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3751 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3752 Likewise.
3753 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3755 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3757 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3758 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3759 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3760 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3761 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3762 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3764 elf_machine_lazy_rel): Likewise.
3765 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3767 elf_machine_lazy_rel): Likewise.
3768 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3769 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3770 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3771 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3772 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3773 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3774 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3776 Likewise.
3777 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3778 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3779 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3780 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3781 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3782 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3783 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3784 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3785 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3786 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3787 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3788 Likewise.
3789 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3790 (__posix_fallocate64_l64): Likewise.
3791 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3792 (posix_fallocate): Likewise.
3793 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3795 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3796 getifaddrs_internal): Likewise.
3797 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3799 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3800 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3801 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3802 (__posix_fallocate64_l64): Likewise.
3803 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3807 Likewise.
3808 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3809 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3810 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3813 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3814 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3815 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3818 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3819 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3821 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3822 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3823 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3824 Likewise.
3825 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3826 (posix_fallocate): Likewise.
3827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3828 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3829 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3830 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3831 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3832 Likewise.
3833 * time/asctime.c (asctime_internal): Likewise.
3834 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3835 * time/tzset.c (__tzset_parse_tz): Likewise.
3836 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3837 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3838 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3839 * wcsmbs/wcsmbsload.h: Likewise.
3840
f3d338c9
OB
38412014-02-10 Ondřej Bílka <neleai@seznam.cz>
3842
3843 [BZ #15894]
3844 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3845
bdfe308a
OB
38462014-02-10 Ondřej Bílka <neleai@seznam.cz>
3847
3848 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3849 arena_get2): Remove THREAD_STATS conditionals.
3850 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3851 __malloc_stats, int): Likewise.
3852
d674667c
MF
38532014-02-08 Mike Frysinger <vapier@gentoo.org>
3854
3855 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3856 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3857
6349768c
MF
38582014-02-08 Mike Frysinger <vapier@gentoo.org>
3859
3860 * manual/setjmp.texi: Fix typos/grammar errors.
3861
0b7c7473
MF
38622014-02-08 Mike Frysinger <vapier@gentoo.org>
3863
3864 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3865 Only return early when n is <= 0. Delete unused return statement.
3866
ac8cc9e3
MF
38672014-02-08 Mike Frysinger <vapier@gentoo.org>
3868
3869 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3870 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3871 * debug/tst-longjmp_chk3.c: New file.
3872
c5bb8e23
MF
38732014-02-08 Mike Frysinger <vapier@gentoo.org>
3874
3875 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3876 (test_main): Replace code with set_fortify_handler call.
3877 * debug/test-strcpy_chk.c: Likewise.
3878 * debug/tst-chk1.c: Likewise.
3879 * debug/tst-longjmp_chk.c: Likewise.
3880 * test-skeleton.c: Include fcntl.h & paths.h
3881 (set_fortify_handler): Define.
3882
10444e42
MF
38832014-02-08 Mike Frysinger <vapier@gentoo.org>
3884
3885 * debug/tst-longjmp_chk.c: Add header comment and include
3886 ../test-skeleton.c.
3887 (do_test): Mark static.
3888 (TEST_FUNCTION): Define.
3889
1e805e8d
MF
38902014-02-08 Mike Frysinger <vapier@gentoo.org>
3891
3892 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3893 (IP_PMTUDISC_INTERFACE): Likewise.
3894 (IP_MULTICAST_IF): Likewise.
3895 (IP_MULTICAST_TTL): Likewise.
3896 (IP_MULTICAST_LOOP): Likewise.
3897 (IP_ADD_MEMBERSHIP): Likewise.
3898 (IP_DROP_MEMBERSHIP): Likewise.
3899 (IP_UNBLOCK_SOURCE): Likewise.
3900 (IP_BLOCK_SOURCE): Likewise.
3901 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3902 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3903 (IP_MSFILTER): Likewise.
3904 (MCAST_JOIN_GROUP): Likewise.
3905 (MCAST_BLOCK_SOURCE): Likewise.
3906 (MCAST_UNBLOCK_SOURCE): Likewise.
3907 (MCAST_LEAVE_GROUP): Likewise.
3908 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3909 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3910 (MCAST_MSFILTER): Likewise.
3911 (IP_MULTICAST_ALL): Likewise.
3912 (IP_UNICAST_IF): Likewise.
3913
73f79bb7
MF
39142014-02-08 Mike Frysinger <vapier@gentoo.org>
3915
3916 * timezone/Makefile: Delete $(have-ksh) check.
3917 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3918 * timezone/tzselect.ksh: Add +x mode bits.
3919
8da79b60
MF
39202014-02-08 Mike Frysinger <vapier@gentoo.org>
3921
3922 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3923 (ANON_INODE_FS_MAGIC): Likewise.
3924 (BDEVFS_MAGIC): Likewise.
3925 (BINFMTFS_MAGIC): Likewise.
3926 (BTRFS_TEST_MAGIC): Likewise.
3927 (CRAMFS_MAGIC_WEND): Likewise.
3928 (DEBUGFS_MAGIC): Likewise.
3929 (ECRYPTFS_SUPER_MAGIC): Likewise.
3930 (EXT3_SUPER_MAGIC): Likewise.
3931 (EXT4_SUPER_MAGIC): Likewise.
3932 (FUTEXFS_SUPER_MAGIC): Likewise.
3933 (HOSTFS_SUPER_MAGIC): Likewise.
3934 (HUGETLBFS_MAGIC): Likewise.
3935 (MINIX3_SUPER_MAGIC): Likewise.
3936 (MTD_INODE_FS_MAGIC): Likewise.
3937 (NILFS_SUPER_MAGIC): Likewise.
3938 (OPENPROM_SUPER_MAGIC): Likewise.
3939 (PIPEFS_MAGIC): Likewise.
3940 (PSTOREFS_MAGIC): Likewise.
3941 (QNX6_SUPER_MAGIC): Likewise.
3942 (RAMFS_MAGIC): Likewise.
3943 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3944 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3945 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3946 (SECURITYFS_MAGIC): Likewise.
3947 (SELINUX_MAGIC): Likewise.
3948 (SMACK_MAGIC): Likewise.
3949 (SOCKFS_MAGIC): Likewise.
3950 (SQUASHFS_MAGIC): Likewise.
3951 (STACK_END_MAGIC): Likewise.
3952 (TMPFS_MAGIC): Likewise.
3953 (USBDEVICE_SUPER_MAGIC): Likewise.
3954 (V9FS_MAGIC): Likewise.
3955 (XENFS_SUPER_MAGIC): Likewise.
3956 (CRAMFS_MAGIC): Fix typo in comment.
3957 (EXT2_SUPER_MAGIC): Update comment.
3958 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3959
464263cc
JM
39602014-02-08 Joseph Myers <joseph@codesourcery.com>
3961
c6bfe5c4
JM
3962 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3963 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3964 * sysdeps/unix/sysv/linux/arm: Move directory from
3965 ports/sysdeps/unix/sysv/linux/arm.
3966 * README: Update listing for arm-*-linux-gnueabi.
3967
464263cc
JM
3968 * README: Remove mention of am33.
3969
32749f6c
RM
39702014-02-07 Roland McGrath <roland@hack.frob.com>
3971
3972 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3973 than the comma operator, to avoid "rhs of comma has no effect"
3974 compiler warnings.
3975 (__sigfillset, __sigandset, __sigorset): Likewise.
3976 * include/signal.h (__sigemptyset): Likewise.
3977 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3978
d5b396c1
AM
39792014-02-07 Allan McRae <allan@archlinux.org>
3980
3981 * version.h (RELEASE): Set to "development".
3982 (VERSION): Set to "2.19.90"
3983 * NEWS: Add 2.20 section.
3984
3bfff2ed
CD
39852014-02-06 Carlos O'Donell <carlos@redhat.com>
3986
3987 [BZ #16529]
3988 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3989
ee7cc385
SP
39902014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3991
3992 * manual/contrib.texi: Update entry for Carlos O'Donell,
3993 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3994
f877c4f2
CD
39952014-02-05 Carlos O'Donell <carlos@rehdat.com>
3996
27e839f6
CD
3997 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3998
f877c4f2
CD
3999 * sysdeps/unix/sysv/linux/kernel-features.h
4000 [__LINUX_KERNEL_VERSION >= 0x020621]
4001 (__ASSUME_PROC_PID_TASK_COMM): Define.
4002
68159946
SP
40032014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4004
ba17cdbd
SP
4005 [BZ #16398]
4006 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4007 conversion when destination buffer does not have enough space.
4008 * libio/tst-ftell-partial-wide.c: New test case.
4009 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4010
68159946
SP
4011 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4012 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4013 Leonard and Allan McRae.
4014
2b528732
DM
40152014-02-04 David S. Miller <davem@davemloft.net>
4016
4017 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4018 32-bit.
4019
0ff82463
AZ
40202014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4021
c01603f7
AZ
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4023 file
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4025 New file
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4027 file.
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4029 file.
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4031 New file.
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4033 file.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4035 file.
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4037 New file.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4039 New file.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4041 New file.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4043 New file.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4045 New file.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4047 New file.
4048
40492014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4050
0ff82463
AZ
4051 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4052 * shlib-versions: Likewise.
4053
1695c773
AZ
40542014-02-04 Roland McGrath <roland@hack.frob.com>
4055 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056
4057 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4058 (abilist-pattern): New variable, set to %-le.abilist.
4059
4060 * Makerules (abilist-pattern): New variable.
4061 (vpath): Use $(abilist-pattern) in place of %.abilist.
4062 (check-abi-% pattern rule): Likewise.
4063 (check-abi, update-abi): Likewise.
4064
6c0ce4b4
EW
40652014-02-04 Eric Wong <normalperson@yhbt.net>
4066
4067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4068
dc98b8f5
EW
40692014-02-04 Eric Wong <normalperson@yhbt.net>
4070
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4072
481e3524
CD
40732014-02-03 Carlos O'Donell <carlos@redhat.com>
4074
4075 * manual/startup.texi: Add next, previous, and top entries for
4076 the `Program Arguments' and `Environment Variables' nodes.
4077
375592d3
AO
40782014-02-03 Alexandre Oliva <aoliva@redhat.com>
4079
4080 * manual/macros.texi: Add comments before MTASC-safety macros.
4081
f54838ba
AO
4082 * manual/users.texi: Document MTASC-safety properties.
4083
909e12ad
AO
4084 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4085 pthread_getspecific, pthread_setspecific): Format with
4086 @deftypefun, and add @safety note.
4087 * manual/signal.texi: Move comments that analyze the above
4088 functions to their home place.
4089
fd3daba4
AM
40902014-02-03 Allan McRae <allan@archlinux.org>
4091
4092 * po/sl.po: Update Slovenian translation from translation project.
4093
597636d7
AO
40942014-02-02 Alexandre Oliva <aoliva@redhat.com>
4095
4096 * manual/time.texi (timegm): Add missing blank after @c.
4097 Reported by Joseph Myers <joseph@codesourcery.com>.
4098
ee196e3c
AO
40992014-02-01 Alexandre Oliva <aoliva@redhat.com>
4100
4101 * manual/check-safety.sh: New.
4102 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4103
f8d529d5
AO
4104 * manual/terminal.texi: Document MTASC-safety properties.
4105
de55fdf4
AO
4106 * manual/filesys.texi: Document MTASC-safety properties.
4107
c3299c08
AO
4108 * manual/errno.texi: Document MTASC-safety properties.
4109
06e90b14
AO
4110 * manual/intro.texi: Document safety identifiers and
4111 conditionals.
4112
1acd4371
AO
4113 * manual/string.texi (wcstok): Fix prototype.
4114 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4115
23e5b8cb
AO
4116 * manual/time.texi: Document MTASC-safety properties.
4117
11087373
AO
4118 * manual/string.texi: Document MTASC-safety properties.
4119
5da2c93d
AO
4120 * manual/threads.texi: Document MTASC-safety properties.
4121
171e9210
AO
4122 * manual/stdio.texi: Document MTASC-safety properties.
4123
d9e02532
AO
4124 * manual/syslog.texi: Document MTASC-safety properties.
4125
6af8bab7
AO
4126 * manual/sysinfo.texi: Document MTASC-safety properties.
4127
663b02d7
AO
4128 * manual/startup.texi: Document MTASC-safety properties.
4129
973f180b
AO
4130 * manual/socket.texi: Document MTASC-safety properties.
4131
8f3c25c8
AO
4132 * manual/signal.texi: Document MTASC-safety properties.
4133
542210fb
AO
41342014-01-31 Alexandre Oliva <aoliva@redhat.com>
4135
4136 * manual/setjmp.texi: Document MTASC-safety properties.
4137
433c45a2
AO
4138 * manual/search.texi: Document MTASC-safety properties.
4139
c8ce789c
AO
4140 * manual/resource.texi: Document MTASC-safety properties.
4141
19f5d29c
AO
4142 * manual/process.texi: Document MTASC-safety properties.
4143
e2dfb7f4
AO
4144 * manual/platform.texi: Document MTASC-safety properties.
4145
8c1413f5
AO
4146 * manual/pipe.texi: Document MTASC-safety properties.
4147
03483ada
AO
4148 * manual/pattern.texi: Document MTASC-safety properties.
4149
29e7e2df
AO
4150 * manual/message.texi: Document MTASC-safety properties.
4151
9f529d7c
AO
4152 [BZ #12751]
4153 * manual/memory.texi: Document MTASC-safety properties.
4154
27aaa791
AO
4155 * manual/math.texi: Document MTASC-safety properties.
4156
f2d58726
AO
4157 * manual/locale.texi: Document MTASC-safety properties.
4158
2cc3615c
AO
4159 * manual/llio.texi: Document MTASC-safety properties.
4160
d9f0ec97
AO
4161 * manual/libdl.texi: New.
4162
e7c4409a
AO
4163 * manual/lang.texi: Document MTASC-safety properties.
4164
27bdc63c
AO
4165 * manual/job.texi: Document MTASC-safety properties.
4166
a7b90ea9
AO
4167 * manual/getopt.texi: Document MTASC-safety properties.
4168
c49130e3
AO
4169 * manual/ctype.texi: Document MTASC-safety properties.
4170
0d23a5c1
MR
41712014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4172
4173 [BZ #16046]
4174 * csu/libc-tls.c (static_map): Remove variable.
4175 (__libc_setup_tls): Use main executable's link map for TLS data.
4176 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4177 casing for LM_ID_BASE and GL(dl_nns).
4178 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4179 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4180 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4181 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4182 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4183 member.
4184 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4185 l_phnum members.
4186
0037bb60
AO
41872014-01-30 Alexandre Oliva <aoliva@redhat.com>
4188
4189 * manual/debug.texi: Document MTASC-safety properties.
4190
409e00bd
L
41912014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 [BZ #16510]
4194 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4195 of __x86_64__ when disabling x87 inline functions.
4196
86e60666
AO
41972014-01-29 Alexandre Oliva <aoliva@redhat.com>
4198
4199 * manual/charset.texi: Document MTASC-safety properties.
4200
76167637
AO
4201 * manual/crypt.texi: Document MTASC-safety properties.
4202
e567f2a0
AO
4203 * manual/conf.texi: Document MTASC-safety properties.
4204
b719dafd
AO
4205 * manual/arith.texi: Document MTASC-safety properties.
4206
4a16c662
AO
4207 * manual/argp.texi: Document MTASC-safety properties.
4208
0a57b83e
AO
4209 * manual/macros.texi: Introduce macros to document multi
4210 thread, asynchronous signal and asynchronous cancellation
4211 safety properties.
4212 * manual/intro.texi: Introduce the properties themselves.
4213
feab2397
KK
42142014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4215
4216 * sysdeps/sh/sh4/Makefile: New file.
4217
1c0d11bc
AS
42182014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4219
4220 * math/gen-libm-test.pl ($srcdir): New variable.
4221 ($auto_input): Use it.
4222
af37a8a3
SP
42232014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4224
d7b00f98
SP
4225 [BZ #16506]
4226 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4227 access beyond array bounds when parsing netgroups file.
4228
af37a8a3
SP
4229 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4230 the old buffer before realloc.
4231
0c00f062
AM
42322014-01-27 Allan McRae <allan@archlinux.org>
4233
4234 * po/fr.po: Update French translation from translation project.
4235
7d69a1b0
KK
42362014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4237
4238 * sysdeps/sh/libm-test-ulps: Regenerate.
4239
6e697ff7
DM
42402014-01-24 David S. Miller <davem@davemloft.net>
4241
4242 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4243
9cadb35c
KK
42442014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4245
4246 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4247 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4248
5d41dadf
SP
42492013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4250
4251 [BZ #16474]
4252 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4253 string pointers after reallocation.
4254
0bad441c
KK
42552014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4256
4257 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4258 __SH4A__ instead of __SH_FPU_ANY__.
4259
7007c661
KK
42602014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4261
4262 * sysdeps/sh/fpu_control.h: New file.
4263 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4264 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4265 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4266 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4267 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4268 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4269 * sysdeps/sh/sys/ucontext.h: Remove.
4270 * sysdeps/sh/sys: Remove directory.
4271
0f0c35e4
AK
42722014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4273
4274 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4275 s390/sys/ucontext.h.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4277 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4278
4959e284
L
42792014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4280
4281 [BZ #15605]
4282 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4283
d98720e0
AZ
42842014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4285
4286 [BZ#16431]
4287 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4288 Adjust the vDSO correctly for internal calls.
4289 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4290
91cbd0bc
AM
42912014-01-20 Allan McRae <allan@archlinux.org>
4292
4293 * po/ca.po: Update Catalan translation from translation project.
4294
7a02cfad
MF
42952014-01-16 Mike Frysinger <vapier@gentoo.org>
4296
4297 * sysdeps/s390/sotruss-lib.c: New file.
4298
736c304a
AZ
42992014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4300
4301 [BZ#16430]
6e077ee5 4302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4303 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4304 local calls issues by not having a PLT stub required for IFUNC calls.
4305 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4306
94d0cea0
JM
43072014-01-16 Joseph Myers <joseph@codesourcery.com>
4308
4309 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4310 * math/test-fpucw-static.c: Likewise.
4311
980cb518
SP
43122013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4313
4314 [BZ #16453]
4315 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4316
2393fc01
AZ
43172014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4318
4319 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4320 implementation for powerpc.
4321
d359bcc2
OB
43222014-01-15 Ondřej Bílka <neleai@seznam.cz>
4323
4324 [BZ #14782]
4325 * sysdeps/posix/system.c (__libc_system): Do not enable
4326 asynchronous cancellation.
4327
7beb48cb
AK
43282014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4329
4330 [BZ #16427]
4331 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4332 handling only for numbers special also in the IEEE case.
4333
c20d5bf5
AK
43342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4335
4336 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4337
e83bd4ee
AM
43382014-01-11 Allan McRae <allan@archlinux.org>
4339
76d0ea69
AM
4340 * po/bg.po: Update Bulgarian translation from translation project.
4341
e83bd4ee
AM
4342 * po/de.po: Update German translation from translation project.
4343
bc2ba20a
RM
43442014-01-10 Roland McGrath <roland@hack.frob.com>
4345
4346 * sysdeps/generic/gcc-compat.h: New file.
4347
649ecea2
SP
43482014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4349
4350 * benchtests/asin-inputs: Correct slow inputs.
4351 * benchtests/acos-inputs: Likewise.
4352
1b19c006
AM
43532014-01-10 Allan McRae <allan@archlinux.org>
4354
a46dab08
AM
4355 * po:sv.po: Update Swedish translation from translation project.
4356
421df74a
AM
4357 * po/vi.po: Update Vietnamese translation from translation project.
4358
d61c51a7
AM
4359 * po/eo.po: Update Esperanto translation from translation project.
4360
0339a319
AM
4361 * po/cs.po: Update Czech translation from translation project.
4362
94ad3e99
AM
4363 * po/nl.po: Update Dutch translation from translation project.
4364
e349ca71
AM
4365 * po/pl.po: Update Polish translation from translation project.
4366
ddf930c1
AM
4367 * po/ru.po: Update Russian translation from translation project.
4368
1b19c006
AM
4369 * po/uk.po: Update Ukrainian translation from translation project.
4370
9f236c49
BM
43712014-01-08 Brooks Moses <bmoses@google.com>
4372
4373 * elf/dl-load.c: Fix comment typo.
4374
cd6701cf
CD
43752014-01-08 Carlos O'Donell <carlos@redhat.com>
4376
4377 * po/header.pot: Rename to...
4378 * po/pot.header: ... this.
4379 * po/Makefile: Use pot.header.
4380
66671c84
YK
43812014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4382 Maxim Kuvyrkov <maxim@kugelworks.com>
4383
4384 [BZ #16394]
cd6701cf
CD
4385 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4386 SRC and DEST against LEN.
66671c84 4387
38f34581
AZ
43882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4389
4390 [BZ #16414]
4391 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4392 implementation.
4393 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4394
43952014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4396
4397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4398
4c327f2a
JM
43992014-01-08 Joseph Myers <joseph@codesourcery.com>
4400
4401 [BZ #16408]
4402 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4403 for large positive arguments.
4404
b821f414
JM
44052014-01-07 Joseph Myers <joseph@codesourcery.com>
4406
1f0f2067
JM
4407 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4408
a5a326f6
JM
4409 * math/auto-libm-test-in: Mark various tests with
4410 xfail-rounding:ldbl-128ibm.
4411 * math/auto-libm-test-out: Regenerated.
4412
b821f414
JM
4413 [BZ #16407]
4414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4415 Increase overflow threshold.
4416
94c8a4bc
OB
44172014-01-07 Ondřej Bílka <neleai@seznam.cz>
4418
4419 [BZ #14286]
4420 * stdio-common/vfprintf.c: Check for integer overflow.
4421
87ded0c3
AK
44222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4423
4424 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4425 the first argument and return value of __tls_get_addr_internal.
4426
c5eebdd0
AK
44272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4428
4429 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4430 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4431
05d138ef
AK
44322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4433
4434 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4435 * sysdeps/s390/rtld-global-offsets.sym: New file.
4436 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4437 GLIBC_2.19 symbol.
4438 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4439 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4440 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4441 ... this.
4442 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4443 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4444 ... this.
4445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4446 Regenerate.
4447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4448 Regenerate.
4449 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4450 halfs of GPRs for high_gprs contexts.
4451 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4452 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4453 field.
4454 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4455 uc_flags field.
4456 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4457 64 bit versions:
4458 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4459 for high GPRs (uc_high_gprs) and for future extensions
4460 (__reserved).
4461 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4462 for future extensions (__reserved).
4463 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4464 64 bit versions:
4465 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4466 SC_HIGHGPRS offset definition.
4467 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4468 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4469
93a45ff1
AK
44702014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4471
4472 * Versions.def: Add GLIBC_2.19 for libpthread.
4473 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4474 siglongjmp for libpthread with GLIBC_2.19 symver.
4475 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4476 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4477 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4478 * sysdeps/s390/__longjmp.c: New file.
4479 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4480 * sysdeps/s390/longjmp.c: New file.
4481 * sysdeps/s390/setjmp.S: New file.
4482 * sysdeps/s390/sigjmp.S: New file.
4483 * sysdeps/s390/v1-longjmp.c: New file.
4484 * sysdeps/s390/v1-setjmp.h: New file.
4485 * sysdeps/s390/v1-sigjmp.c: New file.
4486 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4487 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4488 GLIBC_2.19 version.
4489 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4490 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4491 versioned symbols for ____longjmp_chk.
4492 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4493 Likewise.
4494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4495 Regenerate.
4496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4497 Regenerate.
4498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4499 Regenerate.
4500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4501 Regenerate.
4502 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4503 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4504 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4505 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4506 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4507 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4508 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4509 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4510 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4511 * sysdeps/s390/rtld-__longjmp.c: New file.
4512 * sysdeps/s390/rtld-setjmp.S: New file.
4513
eb3fc44b
JM
45142014-01-06 Joseph Myers <joseph@codesourcery.com>
4515
4516 [BZ #16400]
4517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4518 Return -__logl (x) for small positive arguments without evaluating
4519 a polynomial.
4520
9341dde4
MF
45212014-01-06 Mike Frysinger <vapier@gentoo.org>
4522
4523 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4524 Rename to ...
4525 (__ptrace_peeksiginfo_args): ... this.
4526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4529
4cff0293
AM
45302014-01-06 Allan McRae <allan@archlinux.org>
4531
4532 * inet/netinet/in.h: Fix typo in comment.
4533
75595dcf
AJ
45342014-01-05 Andreas Jaeger <aj@suse.de>
4535
4536 * sysdeps/i386/fpu/libm-test-ulps: Update.
4537
79c1e109
AM
45382014-01-05 Allan McRae <allan@archlinux.org>
4539
dd804818
AM
4540 * po/libc.pot: Regenerated.
4541
79c1e109
AM
4542 * malloc/memusagestat.c: Fix gettext call formatting.
4543
0c813d1f
SK
45442014-01-04 Sami Kerola <kerolasa@iki.fi>
4545
4546 * nscd/nscd.c: Improve usage() output.
4547
20f4a8d9
MF
45482014-01-04 Mike Frysinger <vapier@gentoo.org>
4549
4550 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4551 * sysdeps/unix/sysv/linux/configure: Regenerated.
4552 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4553 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4554
22562bb2
JM
45552014-01-03 Joseph Myers <joseph@codesourcery.com>
4556
4557 [BZ #16390]
4558 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4559 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4560
d7ad2d9b
AZ
45612014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562
4563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4564 extra tokens at end of #undef directive.
4565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4566 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4568
7dd009d8
JM
45692014-01-03 Joseph Myers <joseph@codesourcery.com>
4570
24db925a
JM
4571 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4572
7dd009d8
JM
4573 * math/auto-libm-test-in: Mark various tests with
4574 xfail-rounding:ldbl-128ibm.
4575 * math/auto-libm-test-out: Regenerated.
4576
396e3ecf
JM
45772014-01-02 Joseph Myers <joseph@codesourcery.com>
4578
819e5d50
JM
4579 [BZ #16386]
4580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4581 numbers with subnormal high part when calculating exponent.
4582
90b6a1e5
JM
4583 [BZ #16385]
4584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4585 fabs.
4586
396e3ecf
JM
4587 [BZ #16384]
4588 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4589 M_LN2l.
4590 (__ieee754_acoshl): Use __log1pl not __log1p.
4591
6c8dbf00
OB
45922013-01-02 Ondřej Bílka <neleai@seznam.cz>
4593
4594 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4595 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4596 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4597 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4598 Convert to GNU style.
4599 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4600 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4601 memalign_check, __malloc_set_state): Likewise.
4602 * malloc/mallocbug.c (main): Likewise.
4603 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4604 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4605 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4606 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4607 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4608 * malloc/malloc.h: Likewise.
4609 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4610 memalignhook, reallochook, mabort): Likewise.
4611 * malloc/mcheck.h: Likewise.
4612 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4613 mmap64, mremap, munmap, dest): Likewise.
4614 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4615 * malloc/morecore.c (__default_morecore): Likewise.
4616 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4617 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4618 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4619 print_and_abort): Likewise.
4620 * malloc/obstack.h: Likewise.
4621 * malloc/set-freeres.c (__libc_freeres): Likewise.
4622 * malloc/tst-mallocstate.c (main): Likewise.
4623 * malloc/tst-mtrace.c (main): Likewise.
4624 * malloc/tst-realloc.c (do_test): Likewise.
4625
d4124212
SP
46262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4627
9a3c6a6f
SP
4628 [BZ #16366]
4629 * nscd/netgroupcache.c (do_notfound): New function.
4630 (addgetnetgrentX): Use it.
4631
d4124212
SP
4632 [BZ # 16365]
4633 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4634 NSS_STATUS_NOTFOUND.
4635
97b9a009
JM
46362014-01-01 Joseph Myers <joseph@codesourcery.com>
4637
4638 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4640
d4697bc9
AM
46412014-01-01 Allan McRae <allan@archlinux.org>
4642
ddb3687f
AM
4643 * scripts/update-copyrights: Update configure input file suffix.
4644
88726d48
AM
4645 * NEWS: Update copyright year.
4646 * catgets/gencat.c: Likewise.
4647 * csu/version.c: Likewise.
4648 * debug/catchsegv.sh: Likewise.
4649 * debug/pcprofiledump.c: Likewise.
4650 * debug/xtrace.sh: Likewise.
4651 * elf/ldconfig.c: Likewise.
4652 * elf/ldd.bash.in: Likewise.
4653 * elf/pldd.c: Likewise.
4654 * elf/sotruss.ksh: Likewise.
4655 * elf/sprof.c: Likewise.
4656 * iconv/iconv_prog.c: Likewise.
4657 * iconv/iconvconfig.c: Likewise.
4658 * locale/programs/locale.c: Likewise.
4659 * locale/programs/localedef.c: Likewise.
4660 * login/programs/pt_chown.c: Likewise.
4661 * malloc/memusage.sh: Likewise.
4662 * malloc/memusagestat.c: Likewise.
4663 * malloc/mtrace.pl: Likewise.
4664 * manual/libc.texinfo: Likewise.
4665 * nscd/nscd.c: Likewise.
4666 * nss/getent.c: Likewise.
4667 * nss/makedb.c: Likewise.
4668 * posix/getconf.c: Likewise.
4669 * scripts/test-installation.pl: Likewise.
4670
d4697bc9
AM
4671 * All files with FSF copyright notices: Update copyright dates
4672 using scripts/update-copyrights.
4673 * intl/plural.c: Regenerated.
4674 * locale/programs/charmap-kw.h: Likewise.
4675 * locale/programs/locfile-kw.h: Likewise.
4676
c8590f9d
MF
46772013-12-31 Mike Frysinger <vapier@gentoo.org>
4678
4679 * sysdeps/unix/sysv/linux/configure: Regenerated.
4680 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4681 the linux/fanotify.h header.
4682 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4683 HAVE_LINUX_FANOTIFY_H is defined.
4684
b19221b9
SP
46852013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4686
dd1d85e5
SP
4687 * benchtests/cos-inputs: New inputs.
4688 * benchtests/sin-inputs: Likewise.
4689
1acbb90f
SP
4690 * benchtests/atan-inputs: New inputs. Fix name of multiple
4691 precision fallback inputs.
4692
4c012ed3
SP
4693 * benchtests/atanh-inputs: New inputs.
4694 * benchtests/tanh-inputs: Likewise.
4695
eff98324
SP
4696 * benchtests/acosh-inputs: New inputs.
4697 * benchtests/asinh-inputs: Likewise.
4698
ce641152
SP
4699 * benchtests/cosh-inputs: New inputs.
4700 * benchtests/sinh-inputs: Likewise.
4701
b19221b9
SP
4702 * benchtests/acos-inputs: Add more inputs.
4703 * benchtests/asin-inputs: Likewise.
4704
030a4976 47052013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4706
030a4976 4707 [BZ #16375]
9dcc8f11
VS
4708 * manual/arith.texi: Fix spelling.
4709 * manual/charset.texi: Likewise.
4710 * manual/errno.texi: Likewise.
4711 * manual/filesys.texi: Likewise.
4712 * manual/lang.texi: Likewise.
4713 * manual/llio.texi: Likewise.
4714 * manual/locale.texi: Likewise.
4715 * manual/message.texi: Likewise.
4716 * manual/resource.texi: Likewise.
4717 * manual/search.texi: Likewise.
4718 * manual/setjmp.texi: Likewise.
4719 * manual/stdio.texi: Likewise.
4720 * manual/string.texi: Likewise.
4721 * manual/sysinfo.texi: Likewise.
4722 * manual/time.texi: Likewise.
4723
11520a57
CD
47242013-12-27 Carlos O'Donell <carlos@redhat.com>
4725
4726 * po/sl.po: New file.
4727
471103ae
MF
47282013-12-27 Mike Frysinger <vapier@gentoo.org>
4729
4730 * .gitignore: Add core/.gdbinit/.gdb_history.
4731
6c9642ed
AM
47322013-12-27 Allan McRae <allan@archlinux.org>
4733
4734 [BZ #16369]
4735 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4736 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4737
3f637079
BM
47382013-12-24 Brooks Moses <bmoses@google.com>
4739
4740 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4741 all compilers that claim C++98 compliance, not just GCC.
4742 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4743 Likewise.
4744
abc26e99
MK
47452013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4746
4747 * NEWS: Restore accidentally deleted bug-fix entries.
4748
362b47fe
MK
47492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4750 Ondřej Bílka <neleai@seznam.cz>
4751
4752 [BZ #15073]
4753 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4754 have_lock.
362b47fe 4755
b9bcbbcb
OB
47562013-12-23 Ondřej Bílka <neleai@seznam.cz>
4757
4758 [BZ #12986]
4759 * manual/stdio.texi (String Input Conversions): Clarify that character
4760 classes are not supported.
4761
fb55fcd2
AZ
47622013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4763
4764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4765
ef7344f0
JM
47662013-12-22 Joseph Myers <joseph@codesourcery.com>
4767
4f40e4b3
JM
4768 [BZ #16337]
4769 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4770 Calculate results for small negative arguments directly rather
4771 than using reflection formula with special underflow handling.
4772
ef7344f0
JM
4773 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4774 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4775 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4776 (fchflags): Likewise.
4777 (revoke): Likewise.
4778 (setlogin): Likewise.
4779 (sigaltstack): Likewise.
4780 (wait4): Likewise.
4781 (sigblock): Remove.
4782 (sigsetmask): Likewise.
4783 (wait3): Likewise.
4784 (waitpid): Likewise.
4785 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4786 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4787 file.
4788 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4789 * sysdeps/unix/bsd/Makefile: ... here.
4790 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4791 * sysdeps/unix/bsd/Versions: ... here.
4792 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4793 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4794 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4795 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4796 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4797 * sysdeps/unix/bsd/sigblock.c: ... here.
4798 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4799 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4800 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4801 * sysdeps/unix/bsd/sigvec.c: ... here.
4802 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4803 * sysdeps/unix/bsd/tcdrain.c: ... here.
4804 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4805 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4806 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4807 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4808 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4809 * sysdeps/unix/bsd/wait.c: ... here.
4810 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4811 * sysdeps/unix/bsd/wait3.c: ... here.
4812 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4813 * sysdeps/unix/bsd/waitpid.c: ... here.
4814
5b0626b9
JM
48152013-12-21 Joseph Myers <joseph@codesourcery.com>
4816
4817 [BZ #16356]
4818 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4819 round-to-nearest for [!USE_AS_EXPM1L].
4820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4821 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4822 more tests of exp and exp10. Expect some exp10 tests to miss
4823 exceptions or fail in directed rounding modes.
4824 * math/auto-libm-test-out: Regenerated.
4825 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4826 (exp10_test_tonearest): New function.
4827 (exp10_towardzero_test_data): New array.
4828 (exp10_test_towardzero): New function.
4829 (exp10_downward_test_data): New array.
4830 (exp10_test_downward): New function.
4831 (exp10_upward_test_data): New array.
4832 (exp10_test_upward): New function.
4833 (main): Call the new functions.
4834 * sysdeps/i386/fpu/libm-test-ulps: Update.
4835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4836
7fda5682
JM
48372013-12-20 Joseph Myers <joseph@codesourcery.com>
4838
31e3a405
JM
4839 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4840 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4841 * math/auto-libm-test-out: Regenerated.
4842 * math/libm-test.inc (acosh_test_data): Add more tests.
4843 (atanh_test_data): Likewise.
4844 (ceil_test_data): Likewise.
4845 (copysign_test_data): Likewise.
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848
85bff96a
JM
4849 * timezone/checktab.awk: Update from tzcode 2013i.
4850 * timezone/private.h: Likewise.
4851 * timezone/scheck.c: Likewise.
4852 * timezone/tzfile.h: Likewise.
4853 * timezone/tzselect.ksh: Likewise.
4854 * timezone/zdump.c: Likewise.
4855 * timezone/zic.c: Likewise.
4856
b7867a3b
JM
4857 * math/auto-libm-test-in: Add tests of cpow.
4858 * math/auto-libm-test-out: Regenerated.
4859 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4860 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4861 mpc_cc_c.
4862 (func_calc_desc): Add mpc_cc_c union field.
4863 (test_functions): Add cpow.
4864 (special_fill_2pi): New function.
4865 (special_real_inputs): Add 2pi.
4866 (calc_generic_results): Handle mpc_cc_c.
4867 * sysdeps/i386/fpu/libm-test-ulps: Update.
4868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4869
7fda5682
JM
4870 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4871 csqrt, ctan and ctanh.
4872 * math/auto-libm-test-out: Regenerated.
4873 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4874 (TEST_COND_x86): Likewise.
4875 (ccos_test_data): Use AUTO_TESTS_c_c.
4876 (ccosh_test_data): Likewise.
4877 (cexp_test_data): Likewise.
4878 (clog_test_data): Likewise.
4879 (csqrt_test_data): Likewise.
4880 (ctan_test_data): Likewise.
4881 (ctan_tonearest_test_data): Likewise.
4882 (ctan_towardzero_test_data): Likewise.
4883 (ctan_downward_test_data): Likewise.
4884 (ctan_upward_test_data): Likewise.
4885 (ctanh_test_data): Likewise.
4886 (ctanh_tonearest_test_data): Likewise.
4887 (ctanh_towardzero_test_data): Likewise.
4888 (ctanh_downward_test_data): Likewise.
4889 (ctanh_upward_test_data): Likewise.
4890 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4891 mpc_c_c.
4892 (func_calc_desc): Add mpc_c_c union field.
4893 (FUNC_mpc_c_c): New macro.
4894 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4895 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4896 ctanh.
4897 (special_fill_min_subnorm_p120): New function.
4898 (special_real_inputs): Add min_subnorm_p120.
4899 (calc_generic_results): Handle mpc_c_c.
4900 * sysdeps/i386/fpu/libm-test-ulps: Update.
4901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4902
5ff8d60e
SP
49032013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4904
392dd2de
SP
4905 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4906 do_sin_slow): New functions.
4907 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4908 cslow2, csloww1, csloww2): Use the new functions.
4909
84ba214c
SP
4910 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4911 Use M to change sign of result instead of X. Assume X is
4912 positive.
4913 (csloww1): Likewise.
4914 (__sin): Adjust.
4915 (__cos): Adjust.
4916
975195e4
SP
4917 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4918 arguments A and DA.
4919 (__sin): Adjust.
4920 (__cos): Likewise.
4921
5ff8d60e
SP
4922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4923 (__cos): Likewise.
4924 (sloww1): Don't adjust sign of DX.
4925 (csloww1): Likewise.
4926 (sloww2): Use X directly and don't adjust sign of DX.
4927 (csloww2): Likewise.
4928
eb983568
JM
49292013-12-19 Joseph Myers <joseph@codesourcery.com>
4930
64a17f1a
JM
4931 * math/auto-libm-test-in: Add tests of cabs and carg.
4932 * math/auto-libm-test-out: Regenerated.
4933 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4934 (carg_test_data): Likewise.
4935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4936 mpc_c_f.
4937 (func_calc_desc): Add mpc_c_f union field.
4938 (test_functions): Add cabs and carg.
4939 (calc_generic_results): Handle mpc_c_f.
4940
eb983568
JM
4941 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4942 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4943 as a macro and a compat symbol.
4944 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4945 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4946 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4947 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4948 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4949 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4950 not use .hidden.
4951 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4952 Likewise.
4953 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4954 Likewise.
4955 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4956 Likewise.
4957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4958 Likewise.
4959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4960 Likewise.
4961 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4962 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4963 from GLIBC_2.3.2.
4964
6eeb678a
AZ
49652013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
4967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4968
6f6fc482
JM
49692013-12-19 Joseph Myers <joseph@codesourcery.com>
4970
21fea2e2
JM
4971 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4972 trailing whitespace removed.
4973 * scripts/config.guess: Update to version 2013-11-29.
4974 * scripts/config.sub: Update to version 2013-10-01.
4975
6f6fc482
JM
4976 * math/auto-libm-test-in: Add tests of sincos.
4977 * math/auto-libm-test-out: Regenerated.
4978 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4980 mpfr_f_11.
4981 (func_calc_desc): Add mpfr_f_11 union field.
4982 (test_functions): Add sincos.
4983 (calc_generic_results): Handle mpfr_f_11.
4984 * sysdeps/i386/fpu/libm-test-ulps: Update.
4985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4986
83f5c32d
AS
49872013-12-19 Andreas Schwab <schwab@suse.de>
4988
4989 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4990 CALL_MCOUNT.
4991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4993 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4994
c688b419
JM
49952013-12-19 Joseph Myers <joseph@codesourcery.com>
4996
335ee092
JM
4997 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4998 * sysdeps/i386/fpu/libm-test-ulps: Update.
4999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5000
f88acd39
JM
5001 [BZ #16293]
5002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5003 round-to-nearest mode when using frndint.
5004 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5005 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5006 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5007 Likewise.
5008 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5009 sinh test to fail.
5010 * math/auto-libm-test-out: Regenerated.
5011 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5012 (TEST_COND_x86): Likewise.
5013 (expm1_tonearest_test_data): New array.
5014 (expm1_test_tonearest): New function.
5015 (expm1_towardzero_test_data): New array.
5016 (expm1_test_towardzero): New function.
5017 (expm1_downward_test_data): New array.
5018 (expm1_test_downward): New function.
5019 (expm1_upward_test_data): New array.
5020 (expm1_test_upward): New function.
5021 (main): Run the new test functions.
5022 * sysdeps/i386/fpu/libm-test-ulps: Update.
5023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5024
c688b419
JM
5025 * include/features.h: Update comment documenting feature test
5026 macros. Mention _DEFAULT_SOURCE in comment.
5027 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5028 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5029 _BSD_SOURCE and _SVID_SOURCE.
5030 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5031 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5032 !_SVID_SOURCE]: Likewise.
5033 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5034 (__USE_POSIX_IMPLICITLY): Define.
5035 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5036 (_POSIX_SOURCE): Undefine and redefine.
5037 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5038 (_POSIX_C_SOURCE): Likewise.
5039 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5040 (Feature Test Macros): Update documentation of default features.
5041
9f6e964c
RS
50422013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5043
5044 * benchtests/Makefile: Add bench-strtok.
5045 * benchtests/bench-strtok.c: New file: strtok benchtest.
5046
ee0a148a
AM
50472013-12-19 Allan McRae <allan@archlinux.org>
5048
5049 * manual/install.texi: Suppress menu for plain text output.
5050 * INSTALL: Regenerated.
5051
b9ab448f
BM
50522013-12-18 Brooks Moses <bmoses@google.com>
5053
5054 [BZ #15846]
5055 * misc/getauxval.c: Include errno.h.
5056 (__getauxval): Set errno to ENOENT if the requested type is not
5057 found.
5058 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5059 don't declare with __attribute_const__.
5060 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5061 * manual/startup.texi: Document that getauxval sets errno.
5062
23776487
JM
50632013-12-18 Joseph Myers <joseph@codesourcery.com>
5064
f889953b
JM
5065 * math/auto-libm-test-in: Add tests of jn and yn.
5066 * math/auto-libm-test-out: Regenerated.
5067 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5068 (yn_test_data): Likewise.
5069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5070 mpfr_if_f.
5071 (func_calc_desc): Add mpfr_if_f union field.
5072 (FUNC_mpfr_if_f): New macro.
5073 (test_functions): Add jn and yn.
5074 (calc_generic_results): Assert type of second input for
5075 mpfr_ff_f. Handle mpfr_if_f.
5076 (output_for_one_input_case): Disable all checking for arguments
5077 fitting floating-point types in case of an integer argument.
5078 * sysdeps/i386/fpu/libm-test-ulps: Update.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5080
23776487
JM
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5082 Don't expect fegetround reference in libm.so.
5083
cb756c6d
MS
50842013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5085
5086 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5087 $(config-cflags-nofma).
5088
2dec468f
JM
50892013-12-18 Joseph Myers <joseph@codesourcery.com>
5090
5953eb3a
JM
5091 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5092 * math/auto-libm-test-out: Regenerated.
5093
2dec468f
JM
5094 [BZ #16338]
5095 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5096 to determine exponent and adjust argument to have exponent of -1.
5097 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5098 log2.
5099 * math/auto-libm-test-out: Regenerated.
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102
4d84e6ad
OB
51032013-12-18 Ondřej Bílka <neleai@seznam.cz>
5104
5105 * manual/probes.texi: Remove cases when per-thread arenas are
5106 disabled.
5107
1818483b
AS
51082013-12-18 Andreas Schwab <schwab@suse.de>
5109
5110 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5111 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5112 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5113 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5114 * sysdeps/i386/i686/multiarch/Makefile: Update.
5115 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5116
25de95bf
JM
51172013-12-17 Joseph Myers <joseph@codesourcery.com>
5118
5119 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5120 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5121
674762d9
PE
51222013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5123
ed27ed83 5124 [BZ #15968]
0748546f
PE
5125 Support TZ transition times < 00:00:00.
5126 This is needed for version-3 tz-format files; it supports time
5127 stamps past 2037 for America/Godthab (the only entry in the tz
5128 database for which this change is relevant).
5129 * manual/time.texi (TZ Variable): Document transition times
5130 from -167:59:59 through -00:00:01.
5131 * time/tzset.c (tz_rule): Time of day is now signed.
5132 (__tzset_parse_tz): Parse negative time of day.
5133
4480e934
PE
5134 Document TZ transition times >= 25:00:00.
5135 * manual/time.texi (TZ Variable): Document transition times from
5136 25:00:00 through 167:59:59. These are already supported, and this
5137 support will help with version-3 tz-format files.
5138
69947401
PE
5139 * manual/time.texi (TZ Variable): Modernize North America example
5140 to reflect current (i.e., 2007-and-later) daylight saving rules.
5141
674762d9
PE
5142 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5143
7011c262
JM
51442013-12-17 Joseph Myers <joseph@codesourcery.com>
5145
2fc6557e
JM
5146 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5147 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5150 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5151 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5152 * sysdeps/unix/bsd/clock.c: Likewise.
5153 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5154 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5155 * sysdeps/unix/bsd/init-posix.c: Likewise.
5156 * sysdeps/unix/bsd/poll.c: Likewise.
5157 * sysdeps/unix/bsd/ptsname.c: Likewise.
5158 * sysdeps/unix/bsd/seekdir.c: Likewise.
5159 * sysdeps/unix/bsd/setegid.c: Likewise.
5160 * sysdeps/unix/bsd/seteuid.c: Likewise.
5161 * sysdeps/unix/bsd/setgid.c: Likewise.
5162 * sysdeps/unix/bsd/setrgid.c: Likewise.
5163 * sysdeps/unix/bsd/setruid.c: Likewise.
5164 * sysdeps/unix/bsd/setsid.c: Likewise.
5165 * sysdeps/unix/bsd/setuid.c: Likewise.
5166 * sysdeps/unix/bsd/sigaction.c: Likewise.
5167 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5168 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5169 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5170 * sysdeps/unix/bsd/telldir.c: Likewise.
5171 * sysdeps/unix/bsd/times.c: Likewise.
5172 * sysdeps/unix/bsd/usleep.c: Likewise.
5173
029c7b25
JM
5174 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5175 ($(objpfx)libbsd-compat.a): Remove rule.
5176
7011c262
JM
5177 * include/features.h (__FAVOR_BSD): Do not define.
5178 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5179 features conflicting with POSIX.
5180 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5181 (_BSD_SOURCE): Remove description of not being a subset of other
5182 feature test macros.
5183 * manual/job.texi (getpgrp): Do not document BSD version.
5184 (getpgid): Do not document by reference to BSD getpgrp.
5185 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5186 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5187 * signal/signal.h [__FAVOR_BSD]: Likewise.
5188 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5189 instead of making contents conditional on [__FAVOR_BSD].
5190 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5191
affb6f78
AZ
51922013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5193
5194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5195
c88769dd
JM
51962013-12-17 Joseph Myers <joseph@codesourcery.com>
5197
6432a540
JM
5198 [BZ #16314]
5199 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5200 values below 2**-450, not 2**-500.
5201 * math/auto-libm-test-in: Don't allow spurious underflow from
5202 hypot.
5203 * math/auto-libm-test-out: Regenerated.
5204
c88769dd
JM
5205 [BZ #16316]
5206 [BZ #16330]
5207 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5208 values of ha and hb and sort them after adjusting subnormal
5209 arguments.
5210 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5211 Likewise.
5212 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5213 values of ea and eb and sort them after adjusting subnormal
5214 arguments.
5215 * math/auto-libm-test-in: Do not expect some hypot tests of
5216 subnormals to fail. Add more hypot tests.
5217 * math/auto-libm-test-out: Regenerated.
5218
29618f6b
KK
52192013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5220
5221 [BZ #13304]
5222 * sysdeps/sh/s_fma.c: New file.
5223 * sysdeps/sh/s_fmaf.c: New file.
5224 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5225 version.
5226 * sysdeps/sh/Implies: Add sh/soft-fp.
5227
eacfdfbf
RM
52282013-12-16 Roland McGrath <roland@hack.frob.com>
5229
5230 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5231 level of indirection to members `objname', `errstring', `malloced'.
5232 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5233 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5234 it as the __longjmp argument (just pass 1 instead).
5235 (_dl_catch_error): Initialize C with argument pointers and address of
5236 volatile local ERRCODE rather than copying values out of C at return.
5237
ff362e5b
JM
52382013-12-16 Joseph Myers <joseph@codesourcery.com>
5239
5240 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5241 * math/auto-libm-test-out: Regenerated.
5242 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5243 (hypot_test_data): Likewise.
5244 (pow_test_data): Likewise.
5245 (pow_tonearest_test_data): Likewise.
5246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5247 mpfr_ff_f.
5248 (func_calc_desc): Add mpfr_ff_f union field.
5249 (FUNC_mpfr_ff_f): New macro.
5250 (test_functions): Add atan2, hypot and pow.
5251 (special_fill_min): New function.
5252 (special_fill_minus_min): Likewise.
5253 (special_fill_min_subnorm): Likewise.
5254 (special_fill_minus_min_subnorm): Likewise.
5255 (special_real_inputs): Add min, -min, min_subnorm and
5256 -min_subnorm.
5257 (calc_generic_results): Handle mpfr_ff_f.
5258 * sysdeps/i386/fpu/libm-test-ulps: Update.
5259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5260
5764c27f
WN
52612013-12-16 Will Newton <will.newton@linaro.org>
5262
5263 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5264 (Aligned Memory Blocks): Add documentation for aligned_alloc
5265 and suggest it as an alternative to posix_memalign.
5266 (Hooks for Malloc): Document __memalign_hook is also called
5267 for aligned_alloc. (Summary of Malloc): Add summary for
5268 aligned alloc. Document __memalign_hook is also called
5269 for aligned_alloc.
5270
0a096e44
WN
52712013-12-16 Will Newton <will.newton@linaro.org>
5272
5273 * manual/memory.texi (Malloc Examples): Clarify default
5274 alignment documentation. Suggest posix_memalign rather
5275 than memalign or valloc.
5276 (Aligned Memory Blocks): Remove suggestion to use memalign
5277 or valloc. Remove obsolete comment about BSD.
5278 Document memalign errno values and mark the function obsolete.
5279 Document posix_memalign returned error codes. Mark valloc
5280 as obsolete. (Hooks for Malloc): __memalign_hook is also
5281 called for posix_memalign and valloc.
5282 (Summary of Malloc): Add posix_memalign to function summary.
5283 __memalign_hook is also called for posix_memalign and valloc.
5284
8d561986
SP
52852013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5286
5287 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5288 TAYLOR_SIN.
5289 (__sin): Adjust.
5290 (__cos): Likewise.
5291 (sloww): Use mynumber union. Expand ternary operator into
5292 if-else statements.
5293 (cslow): use mynumber union.
5294
73616a74
AM
52952013-12-16 Allan McRae <allan@archlinux.org>
5296
9e8ac24b
AM
5297 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5298 * configure: Regenerated.
5299
6f8e37eb
AM
5300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5301
8894bad3
AM
5302 [BZ #14120]
5303 * configure.ac: Added --enable-maintainer-mode. Check for
5304 autoconf when enabled.
5305 * configure: Regenerated.
5306
73616a74
AM
5307 * nscd/nscd.service: New file.
5308 * nscd/nscd.tmpfiles: New file.
5309
584b18eb
OB
53102013-12-14 Ondřej Bílka <neleai@seznam.cz>
5311
5312 [BZ #12100]
5313 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5314 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5315 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5316 (strstr): Add __strstr_sse2_unaligned ifunc.
5317 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5318 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5319 (strcasestr): Remove __strcasestr_sse42 ifunc.
5320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5323
8a5c7897
KK
53242013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5325
5326 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5327 * sysdeps/sh/bits/fenv.h: ... here.
5328 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5329
fd712ef3
AZ
53302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5331
5332 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5333
42fcb46c
AZ
53342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5335
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5337 hypotf multiarch implementations.
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5341 multiarch hypot for PPC64.
5342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5345 multiarch hypotf for PPC64.
5346
83efded4
AZ
53472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348
5349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5350 modff multiarch implementations.
5351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5354 multiarch modf for PPC64.
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5358 multiarch modff for PPC64.
5359
43e246d2
AZ
53602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5361
5362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5363 and logl multiarch implementations.
5364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5367 multiarch logb for PPC64.
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5371 multiarch logb for PPC64.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5375 multiarch logb for PPC64.
5376
8fdad123
AZ
53772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5378
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5380 isinff multiarch implementation.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5382 file.
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5385 multiarch isinf for PPC64.
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5387 file.
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5389 multiarch isinff for PPC64.
5390
1481d706
AZ
53912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392
5393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5394 finitef multiarch implementation.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5396 file.
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5399 multiarch finite for PPC64.
5400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5401 file.
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5403 multiarch finitef for PPC64.
5404
5ccd5fc8
AZ
54052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
5407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5408 lrint multiarch implementation.
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5410 file.
5411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5413 multiarch llrint for PPC64.
5414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5415 multiarch lrint for PPC64.
5416
2568f3fa
AZ
54172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5418
5419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5420 copysignf multiarch implementation.
5421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5422 file.
5423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5424 file.
5425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5426 multiarch copysign for PPC64.
5427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5428 multiarch copysignf for PPC64.
5429
1cb341fd
AZ
54302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5431
5432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5433 multiarch implementation.
5434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5435 file.
5436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5437 file.
5438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5439 file.
5440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5441 file.
5442 multiarch llround for PPC64.
5443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5444 multiarch trunc for PPC64.
5445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5446 multiarch truncf for PPC64.
5447
59a3e194
AZ
54482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5449
5450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5451 multiarch implementation.
5452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5453 file.
5454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5455 file.
5456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5457 file.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5459 file.
5460 multiarch llround for PPC64.
5461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5462 multiarch round for PPC64.
5463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5464 multiarch roundf for PPC64.
5465
357fd3b4
AZ
54662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5467
5468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5469 multiarch implementation.
5470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5471 file.
5472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5473 file.
5474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5475 file.
5476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5477 file.
5478 multiarch llround for PPC64.
5479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5480 multiarch floor for PPC64.
5481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5482 multiarch floorf for PPC64.
5483
96770f12
AZ
54842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5485
5486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5487 multiarch implementation.
5488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5489 file.
5490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5491 file.
5492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5493 file.
5494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5495 file.
5496 multiarch llround for PPC64.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5498 multiarch ceil for PPC64.
5499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5500 multiarch ceilf for PPC64.
5501
c3627f6e
AZ
55022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5503
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5505 multiarch implementation.
5506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5507 file.
5508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5509 file.
5510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5511 file.
5512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5513 multiarch llround for PPC64.
5514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5515 multiarch lround for PPC64.
5516
b2284ad7
AZ
55172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518
5519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5520 multiarch implementation.
5521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5524 file.
5525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5528 multiarch isnan for PPC64.
5529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5530 multiarch isnanf for PPC64.
5531
69bbc63d
AZ
55322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533
5534 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5535 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5536 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5537 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5538 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5540
c24517c9
AZ
55412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5542
5543 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5544 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5546 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5547
a52374e8
AZ
55482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5549
5550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5551 multiarch implementations.
5552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5553 (__libc_ifunc_impl_list): Likewise.
5554 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5555 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5556 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5557 multiarch stpcpy for PPC64.
5558
7f5ec113
AZ
55592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560
5561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5562 multiarch implementations.
5563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5564 (__libc_ifunc_impl_list): Likewise.
5565 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5566 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5567 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5568 multiarch strcpy for PPC64.
5569
e28bcd42
AZ
55702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5573 redefine function name.
5574 (_wordcopy_fwd_dest_aligned): Likewise.
5575 (_wordcopy_bwd_aligned): Likewise.
5576 (_wordcopy_bwd_dest_aligned): Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5578 multiarch implementations.
5579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5580 (__libc_ifunc_impl_list): Likewise.
5581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5582 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5584 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5585 multiarch wcscpy for PPC64.
5586
92cacfce
AZ
55872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5590 multiarch implementations.
5591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5592 (__libc_ifunc_impl_list): Likewise.
5593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5594 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5595 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5596 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5597 multiarch wcscpy for PPC64.
5598
7b714620
AZ
55992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5600
5601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5602 multiarch implementations.
5603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5604 (__libc_ifunc_impl_list): Likewise.
5605 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5607 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5608 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5609 multiarch wcsrchr for PPC64.
5610
16fd2ae3
AZ
56112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5612
5613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5614 multiarch implementations.
5615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5616 (__libc_ifunc_impl_list): Likewise.
5617 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5618 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5619 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5620 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5621 multiarch wcschr for PPC64.
5622
9ee2969b
AZ
56232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5624
5625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5626 multiarch implementations.
5627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5628 (__libc_ifunc_impl_list): Likewise.
5629 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5630 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5631 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5632 multiarch strchrnul for PPC64.
5633
372dc060
AZ
56342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635
5636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5637 implementations.
5638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5639 (__libc_ifunc_impl_list): Likewise.
5640 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5641 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5642 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5643 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5644 strchr for PPC64.
5645
24c2c3b9
AZ
56462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5647
5648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5649 implementations.
5650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5651 (__libc_ifunc_impl_list): Likewise.
5652 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5653 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5654 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5655 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5656 strncmp for PPC64.
5657
1c92d9a0
AZ
56582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659
5660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5661 multiarch implementations.
5662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5663 (__libc_ifunc_impl_list): Likewise.
5664 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5665 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5666 strncasecmp for PPC64.
5667 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5668 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5669 multiarch strncasecmp_l for PPC64.
5670
17de3ee3
AZ
56712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672
5673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5674 multiarch implementations.
5675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5676 (__libc_ifunc_impl_list): Likewise.
5677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5678 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5679 multiarch strcasecmp for PPC64.
5680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5681 file.
5682 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5683 multiarch strcasecmp_l for PPC64.
5684
62982bf9
AZ
56852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686
5687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5688 implementations.
5689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5690 (__libc_ifunc_impl_list): Likewise.
5691 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5692 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5693 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5694 strnlen for PPC64.
5695
a65f4904
AZ
56962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5697
5698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5699 implementations.
5700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5701 (__libc_ifunc_impl_list): Likewise.
5702 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5703 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5704 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5705 strlen for PPC64.
5706
1fd005ad
AZ
57072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708
5709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5710 implementations.
5711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5712 (__libc_ifunc_impl_list): Likewise.
5713 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5714 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5715 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5716 rawmemrchr for PPC64.
5717
cd05ba91
AZ
57182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719
5720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5721 implementation.
5722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5723 (__libc_ifunc_impl_list): Likewise.
5724 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5725 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5726 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5727 memrchr for PPC64.
5728
870f8676
AZ
57292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730
5731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5732 implementation.
5733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5734 (__libc_ifunc_impl_list): Likewise.
5735 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5736 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5737 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5738 memchr for PPC64.
5739
f00be62b
AZ
57402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741
5742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5743 implementation.
5744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5745 (__libc_ifunc_impl_list): Likewise.
5746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5749 mempcpy for PPC64.
5750
8a29a3d0
AZ
57512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5752
5753 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5754 avoid cretion of __bzero symbol.
5755 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5756 Likewise.
5757 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5758 Likewise.
5759 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5760 Likewise.
5761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5762 multiarch implementations.
5763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5764 (__libc_ifunc_impl_list): Likewise.
5765 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5766 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5767 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5768 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5769 bzero for PPC32.
5770 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5771 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5772 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5773 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5774 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5775 memset for PPC64.
5776 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5777
07253fcf
AZ
57782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5779
5780 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5782 implementations.
5783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5784 (__libc_ifunc_impl_list): Likewise.
5785 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5786 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5787 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5788 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5789 memcmp for PPC64.
5790
b5beafbc
AZ
57912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792
5793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5794 multiarch for POWER/PPC64.
5795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5796 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5797 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5803 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5804 memcpy for PPC64.
5805
5e6a4d4b
AZ
58062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5807
5808 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5809 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5810 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5811 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5812 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5813 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5814 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5815 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5816 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5817 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5818 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5819 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5820 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5821 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5822 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5830
ddfab6dc
KK
58312013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5832
5833 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5834
19b5525e
SP
58352013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
5837 * benchtests/Makefile (bench): Add exp2 and log2.
5838 (LDLIBS-bench-exp2): Add -lm.
5839 (LDLIBS-bench-log2): Likewise.
5840 * benchtests/exp2-inputs: New inputs file.
5841 * benchtests/log2-inputs: New inputs file.
5842 * benchtests/log-inputs: Add new inputs.
5843 * benchtests/tan-inputs: Likewise.
5844
196f7f5d
SP
58452013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5846
7a74607f
SP
5847 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5848 definition...
5849 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5850 csloww1, csloww2): ... from here.
5851
196f7f5d
SP
5852 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5853 instead of structures.
5854 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5855 (POLYNOMIAL): Likewise.
5856 (TAYLOR_SLOW): Likewise.
5857 (__sin): Likewise.
5858 (__cos): Likewise.
5859 (slow1): Likewise.
5860 (slow2): Likewise.
5861 (sloww): Likewise.
5862 (sloww1); Likewise.
5863 (sloww2): Likewise.
5864 (bsloww1): Likewise.
5865 (bsloww2): Likewise.
5866 (cslow2): Likewise.
5867 (csloww): Likewise.
5868 (csloww1): Likewise.
5869 (csloww2): Likewise.
5870
0dfa665c
OB
58712013-12-10 Ondřej Bílka <neleai@seznam.cz>
5872
5873 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5874 (__malloc_assert, __libc_realloc, __libc_calloc,
5875 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5876 memcpy and memset.
5877 * malloc/hooks.c (realloc_check): Likewise.
5878
5782a80f
OB
58792013-12-10 Ondřej Bílka <neleai@seznam.cz>
5880
5881 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5882 * malloc/arena.c: Remove PER_THREAD conditional.
5883 [!PER_THREAD]: Remove code.
5884 (ptmalloc_unlock_all2): Likewise.
5885 (ptmalloc_init): Likewise.
5886 (_int_new_arena): Likewise.
5887 (arena_get2): Likewise.
5888 * malloc/hooks.c (__malloc_get_state): Likewise.
5889 (__malloc_set_state): Likewise.
5890 * malloc/malloc.c: Likewise.
5891 (struct malloc_state): Likewise.
5892 (struct malloc_par): Likewise.
5893 (__libc_realloc): Likewise.
5894 (__libc_mallopt): Likewise.
5895
aeb95445
AZ
58962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5897
5898 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5899
e8349efd
OB
59002013-12-09 Ondřej Bílka <neleai@seznam.cz>
5901
5902 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5903 macro to a function. Check for zero perturb_byte.
5904 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5905
f3eeb3fc
OB
59062013-12-09 Ondřej Bílka <neleai@seznam.cz>
5907
5908 * malloc/malloc.c: (force_reg): Remove.
5909 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5910 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5911 force_reg by atomic_forced_read.
5912 * malloc/arena.c (ptmalloc_init): Likewise.
5913 * malloc/hooks.c (top_check): Likewise.
5914
be2f9009
AZ
59152013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916
5917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5918
e7b914bd
MT
59192013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5920
5921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5922
9f0be4f8
JM
59232013-12-08 Joseph Myers <joseph@codesourcery.com>
5924
5925 * math/auto-libm-test-in: Add tests of lgamma.
5926 * math/auto-libm-test-out: Regenerated.
5927 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5928 (M_LOG_2_SQRT_PIl): Likewise.
5929 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5931 mpfr_f_f1.
5932 (func_calc_desc): Add mpfr_f_f1 union field.
5933 (ARGS1): New macro.
5934 (ARGS2): Likewise.
5935 (ARGS3): Likewise.
5936 (ARGS4): Likewise.
5937 (RET1): Likewise.
5938 (RET2): Likewise.
5939 (CALC): Likewise.
5940 (FUNC): Likewise.
5941 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5942 (test_functions): Add lgamma.
5943 (calc_generic_results): Handle mpfr_f_f1.
5944 * sysdeps/i386/fpu/libm-test-ulps: Update.
5945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946
24eeafdb
AZ
59472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948
5949 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5950 __mpn_add_n for PowerPC64/POWER7.
5951 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5952 __mpn_sub_n for PowerPC64/POWER7.
5953
4a2c0fd4
AZ
59542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955
5956 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5957 __mpn_addmul_1 for PowerPC64.
5958 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5959 __mpn_submul_1 for PowerPC64.
5960 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5961 for PowerPC64.
5962 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5963 for PowerPC64.
5964
4b5b548c
FS
59652013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5966
5967 [BZ #15089]
5968 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5969
0a3ac0aa
AZ
59702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971
5972 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5973
ccdc8438
AZ
59742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975
5976 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5977 add multiarch folders.
5978 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5979 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5980 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5981 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5982 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5983 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5984 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5985 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5986 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5987 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5988 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5995
2e973d99
AZ
59962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5999 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6001 New file.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6003 New file.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6005 multiarch __ieee754_hypot for PowerPC32.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6007 New file.
6008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6009 New file.
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6011 multiarch __ieee754_hypotf for PowerPC32.
6012
2d9470b2
AZ
60132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014
6015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6016 long_double_symbol only if __logbl is defined.
6017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6018 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6020 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6022 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6024 path for implementation.
6025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6026 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6028 logb, and logbl multiarch implementations for PowerPC32.
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6030 file.
6031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6032 file.
6033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6034 multiarch logb for PowerPC32.
6035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6036 file.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6038 file.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6040 multiarch logbf for PowerPC32.
6041 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6043 file.
6044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6045 multiarch logbl implementation for PowerPC32.
6046
5212ffce
AZ
60472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6050 and modff multiarch implementations.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6052 New file.
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6054 New file.
6055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6056 multiarch modf for PowerPC32.
6057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6058 New file.
6059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6060 New file.
6061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6062 multiarch modff for PowerPC32.
6063
79dccf31
AZ
60642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6067 and lrintf multiarch implementations.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6069 New file.
6070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6071 New file.
6072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6073 multiarch lrint for PowerPC32.
6074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6075 file: multiarch lrintf for PowerPC32.
6076
deb66480
AZ
60772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6080 and lroundf multiarch implementations.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6082 New file.
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6084 New file.
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6086 New file.
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6088 multiarch lround for PowerPC32.
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6090 file: multiarch lroundf for PowerPC32.
6091
264b036b
AZ
60922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6093
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6095 copysign and copysignf multiarch implementations.
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6097 New file.
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6099 New file.
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6101 file: multiarch copysign for PowerPC32.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6103 file: multiarch copysignf for PowerPC32.
6104
d47db6c9
AZ
61052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6106
6107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6108 and truncf multiarch implementations.
6109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6110 New file.
6111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6112 file.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6114 multiarch trunc for PowerPC32.
6115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6116 New file.
6117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6118 New file.
6119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6120 multiarch truncf for PowerPC32.
6121
ddb60b5a
AZ
61222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
6124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6125 and roundf multiarch implementations.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6127 New file.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6129 file.
6130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6131 multiarch round for PowerPC32.
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6133 New file.
6134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6135 New file.
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6137 multiarch roundf for PowerPC32.
6138
bedcf49b
AZ
61392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6142 and floorf multiarch implementations.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6144 New file.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6146 file.
6147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6148 multiarch floor for PowerPC32.
6149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6150 New file.
6151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6152 New file.
6153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6154 multiarch floorf for PowerPC32.
6155
35ae5b40
AZ
61562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6157
6158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6159 and ceilf multiarch implementations.
6160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6161 New file.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6163 file.
6164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6165 multiarch ceil for PowerPC32.
6166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6167 New file.
6168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6169 file.
6170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6171 multiarch ceilf for PowerPC32.
6172
ae1a4cd9
AZ
61732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174
6175 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6176 is defined.
6177 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6178 FINITEF is defined.
6179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6180 and finitef multiarch implementations.
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6182 New file.
6183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6184 file.
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6186 multiarch finite for PowerPC32.
6187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6188 New file.
6189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6190 file: multiarch finitef for PowerPC32.
6191
64fffd65
AZ
61922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193
6194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6195 and isinff multiarch implementations.
6196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6197 file.
6198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6199 file.
6200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6201 multiarch isinf for PowerPC32.
6202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6203 New file.
6204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6205 multiarch isinff for PowerPC32.
6206
8e4e7ba2
AZ
62072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208
6209 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6210 alias when __isnan is defined.
6211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6212 and isnanf multiarch implementations.
6213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6214 file.
6215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6216 file.
6217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6218 file.
6219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6220 file.
6221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6222 multiarch isnan for PowerPC32.
6223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6224 New file.
6225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6226 New file.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6228 multiarch isnanf for PowerPC32.
6229
ddba588e
AZ
62302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6233 and sqrtf multiarch implementations.
6234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6235 file.
6236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6237 file.
6238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6239 multiarch sqrt for PowerPC32.
6240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6241 file.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6243 file.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6245 multiarch sqrtf for PowerPC32.
6246
0f96a2f0
AZ
62472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248
6249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6250 and llroundf multiarch implementations.
6251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6252 New file.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6254 New file.
6255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6256 New file.
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6258 file: multiarch llround for PowerPC32.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6260 file: multiarch llroundf for PowerPC32.
6261
c9b5d79e
AZ
62622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6263
6264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6265 multiarch PowerPC32 fpu implementations.
6266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6267 New file.
6268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6269 New file.
6270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6271 multiarch llrint for PowerPC32.
6272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6273 New file.
6274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6275 New file.
6276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6277 file.
6278
9cbb3aab
AZ
62792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6282
ea5a72f8
AZ
62832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6284
6285 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6286 file.
6287 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6288 file.
6289 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6290 file.
6291 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6292 multiarch wordcopy for PPC32.
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6294 wordcopy objects.
6295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6296 (__libc_ifunc_impl_list): Likewise.
6297 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6298 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6299 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6300 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6302 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6303
93be09e7
AZ
63042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305
6306 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6308 file.
6309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6310 file.
6311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6312 file.
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6314 multiarch wcscpy for PPC32.
6315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6316 multiarch objects.
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6318 (__libc_ifunc_impl_list): Likewise.
6319 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6320 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6321 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6322 sysdeps/powerpc/power6/wcscpy.c.
6323
bb04e529
AZ
63242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6325
6326 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6328 file.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6330 file.
6331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6332 file.
6333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6334 multiarch wcsrchr for PPC32.
6335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6336 multiarch objects.
6337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6338 (__libc_ifunc_impl_list): Likewise.
6339 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6340 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6341 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6342 sysdeps/powerpc/power6/wcsrchr.c.
6343
05b5cd1c
AZ
63442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345
6346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6347 file.
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6349 file.
6350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6352 multiarch wcschr for PPc32.
6353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6354 multiarch objects.
6355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6356 (__libc_ifunc_impl_list): Likewise.
6357 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6358 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6359 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6360 sysdeps/powerpc/power6/wcschr.c.
6361
ba964147
AZ
63622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363
6364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6366 file.
6367 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6368 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6369 file: multiarch strchr for PPC32.
6370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6371 multiarch objects.
6372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6373 (__libc_ifunc_impl_list): Likewise.
6374
31c81aaa
AZ
63752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376
6377 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6378 name.
6379 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6380 file.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6382 file.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6384 multiarch strchrnul for PPC32.
6385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6386 multiarch objects.
6387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6388 (__libc_ifunc_impl_list): Likewise.
6389
0d0607d9
AZ
63902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391
6392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6393 file.
6394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6395 multiarch strncasecmp for PPC32.
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6397 file.
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6399 multiarch strncasecmp_l for PPC32.
6400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6401 strncasecmp multiarch objects.
6402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6403 (__libc_ifunc_impl_list): Likewise.
6404
4dfd5c86
AZ
64052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6406
6407 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6408 file.
6409 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6410 multiarch strncasecmp for PPC32.
6411 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6412 New file.
6413 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6414 multiarch strcasecmp_l for PPC32.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6416 multiarch objects.
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6418 (__libc_ifunc_impl_list): Likewise.
6419
a19e01a3
AZ
64202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6421
6422 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6423 file.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6425 file.
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6427 multiarch strncmp for PPC32.
6428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6429 multiarch objects.
6430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6431 (__libc_ifunc_impl_list): Likewise.
6432
ae9cf7a2
AZ
64332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6436 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6437 file.
6438 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6441 multiarch objects.
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6443 (__libc_ifunc_impl_list): Likewise.
6444
3148bb7d
AZ
64452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6446
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6448 file.
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6450 file.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6453 multiarch objects.
6454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6455 (__libc_ifunc_impl_list): Likewise.
6456
7af8b946
AZ
64572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6458
6459 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6460 file.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6462 file.
6463 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6464 multiarch rawmemchr for PPC32.
6465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6466 multiarch objects.
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6468 (__libc_ifunc_impl_list): Likewise.
6469
03a6aa6a
AZ
64702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6471
6472 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6473 file.
6474 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6475 file.
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6477 file: memrchr multiarch for PPC32.
6478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6479 multiarch objects.
6480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6481 (__libc_ifunc_impl_list): Likewise.
6482
1c62e6d9
AZ
64832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484
6485 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6486 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6487 file.
6488 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6489 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6490 multiarch memchr for PPC32.
6491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6492 multiarch objects.
6493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Likewise.
6495
87da8bdb
AZ
64962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6497
6498 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6499 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6500 file.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6502 file.
6503 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6504 file: multiarch mempcpy for PPC32.
6505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6506 multiarch objects.
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6508 (__libc_ifunc_impl_list): Likewise.
6509
20ed4714
AZ
65102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6511
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6513 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6515 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6516 multiarch bzero for PPC32.
6517 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6518 file.
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6520 file.
6521 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6522 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6523 file: multiarch memset for PPC32.
6524 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6526 memset multiarch objects.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6528 (__libc_ifunc_impl_list): Likewise.
6529
ab3e3a46
AZ
65302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6533 file.
6534 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6536 memcmp for PPC32.
6537 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6539 multiarch objects.
6540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6541 (__libc_ifunc_impl_list): Likewise.
6542
930de6f0
AZ
65432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6544
6545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6548 file.
6549 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6550 file.
6551 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6552 file.
6553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6554 multiarch memcpy for PPC32.
6555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6556 multiarch objects.
6557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6558 (__libc_ifunc_impl_list): Likewise.
6559
4c628e00
AZ
65602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6561
6562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6563 support multiarch for POWER/PPC32.
6564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6565 Likewise.
6566 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6568 Implies file to make multiarch folder appers before the fpu and
6569 default folder for power4 configuration.
6570
f4479220
SP
65712013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6572
6573 * scripts/bench.pl: Append volatile keyword to type.
6574
8517800f
KK
65752013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6576
6577 * sysdeps/sh/sotruss-lib.c: New file.
6578 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6579
180138f1
AZ
65802013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581
6582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6583
bbf37bdc
JM
65842013-12-05 Joseph Myers <joseph@codesourcery.com>
6585
e47cc4e0
JM
6586 [BZ #6810]
6587 * math/w_tgamma.c: Include <errno.h>.
6588 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6589 * math/w_tgammaf.c: Include <errno.h>.
6590 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6591 * math/w_tgammal.c: Include <errno.h>.
6592 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6593 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6594 underflow. Add more tgamma tests.
6595 * math/auto-libm-test-out: Regenerated.
6596 * sysdeps/i386/fpu/libm-test-ulps: Update.
6597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6598
bbf37bdc
JM
6599 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6600 sin, sinh, tan, tanh, tgamma, y0 and y1.
6601 * math/auto-libm-test-out: Regenerated.
6602 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6603 (TEST_COND_x86): Likewise.
6604 (M_E2l): Remove macro.
6605 (M_E3l): Likewise.
6606 (M_2_SQRT_PIl): Likewise.
6607 (M_SQRT_PIl): Likewise.
6608 (M_1_DIV_El): Likewise.
6609 (log_test_data): Use AUTO_TESTS_f_f.
6610 (log10_test_data): Likewise.
6611 (log1p_test_data): Likewise.
6612 (log2_test_data): Likewise.
6613 (sin_test_data): Likewise.
6614 (sin_tonearest_test_data): Likewise.
6615 (sin_towardzero_test_data): Likewise.
6616 (sin_downward_test_data): Likewise.
6617 (sin_upward_test_data): Likewise.
6618 (sinh_test_data): Likewise.
6619 (sinh_tonearest_test_data): Likewise.
6620 (sinh_towardzero_test_data): Likewise.
6621 (sinh_downward_test_data): Likewise.
6622 (sinh_upward_test_data): Likewise.
6623 (tan_test_data): Likewise.
6624 (tan_tonearest_test_data): Likewise.
6625 (tan_towardzero_test_data): Likewise.
6626 (tan_downward_test_data): Likewise.
6627 (tan_upward_test_data): Likewise.
6628 (tanh_test_data): Likewise.
6629 (tgamma_test_data): Likewise.
6630 (y0_test_data): Likewise.
6631 (y1_test_data): Likewise.
6632 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6633 (special_real_inputs): Add pi/4.
6634 * sysdeps/i386/fpu/libm-test-ulps: Update.
6635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6636
eb5ad6b9
AZ
66372013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6638
6639 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6640 "longjmp_target" static probes.
6641 (__longjmp): Rename to __longjmp_symbol.
6642 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6643 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6644 on which longjmp to generate.
6645 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6646 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6647 probe.
6648 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6649 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6650 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6651 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6652 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6653 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6655 __longjmp_symbol based on which __longjmp to generate.
6656 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6657 probe.
6658 (setjmp): Rename to setjmp_symbol.
6659 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6660 (_setjmp): Rename to _setjmp_symbol.
6661 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6662 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6663 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6664 which setjmp to generate.
6665 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6666 "longjmp_target" static probes.
6667
d136c6dc
SP
66682013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6669
9298ecba
SP
6670 * benchtests/README: Add note about output arguments.
6671 * benchtests/bench-sincos.c: Remove file.
6672 * benchtests/sincos-inputs: New file.
6673 * scripts/bench.pl: Identify output arguments and define
6674 static variables for them.
6675
232983e9
SP
6676 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6677
d136c6dc
SP
6678 [BZ #15941]
6679 * Makefile (INSTALL): Add install-plain.texi as the primary
6680 dependency.
6681 * manual/install-plain.texi: New file.
6682 * manual/install.texi: Include node directive only for
6683 non-plaintext output.
6684
699ff837
JM
66852013-12-04 Joseph Myers <joseph@codesourcery.com>
6686
ab07cea8
JM
6687 * stdlib/longlong.h: Update from GCC.
6688
699ff837
JM
6689 [BZ #6807]
6690 [BZ #15901]
6691 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6692 * math/w_j0f.c (y0f): Likewise.
6693 * math/w_j0l.c (__y0l): Likewise.
6694 * math/w_j1.c (y1): Likewise.
6695 * math/w_j1f.c (y1f): Likewise.
6696 * math/w_j1l.c (__y1l): Likewise
6697 * math/w_jn.c (yn): Likewise.
6698 * math/w_jnf.c (ynf): Likewise.
6699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6700 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6701 value for Bessel function domain errors outside _SVID_ mode.
6702 Adjust sign of return value for yn (negative integer, 0).
6703 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6704 by zero in return for negative x and set sign appropriately for
6705 negative n.
6706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6708 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6709 expectations in error cases.
6710 (y1_test_data): Likewise.
6711 (yn_test_data): Likewise.
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6714
5b118558
UW
67152013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6716
6717 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6718 "64" to "64-v1". Add "64-v2".
6719 (abi-64-options): Rename to ...
6720 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6721 (abi-64-condition): Rename to ...
6722 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6723 (abi-64-ld-soname): Rename to ...
6724 (abi-64-v1-ld-soname): ... this.
6725 (abi-64-v2-options): Define.
6726 (abi-64-v2-condition): Likewise.
6727 (abi-64-v2-ld-soname): Likewise.
6728 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6729 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6733
61cd8fe4
UW
67342013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6735 Alan Modra <amodra@gmail.com>
6736
6737 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6738 New versions for use with the ELFv2 ABI.
6739 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6740 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6741 declaration.
6742 (struct La_ppc64v2_retval): Likewise.
6743 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6744 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6745 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6746 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6747 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6748 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6749 Do not save or restore CR.
6750 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6751 (_dl_profile_resolve): Do no save or restore CR. Support extended
6752 return values for ELFv2 ABI. Fix location of FPR return registers.
6753 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6754 updated values for _CALL_ELF == 2.
6755 (La_regs, La_retval, int_retval): Likewise.
6756
8b8a692c
UW
67572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6758
6759 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6760 (FRAME_MIN_SIZE_PARM): Likewise.
6761 (FRAME_BACKCHAIN): Likewise.
6762 (FRAME_CR_SAVE): Likewise.
6763 (FRAME_LR_SAVE): Likewise.
6764 (FRAME_TOC_SAVE): Likewise.
6765 (FRAME_PARM_SAVE): Likewise.
6766 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6767 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6768 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6769 (call_mcount_parm_offset): New macro.
6770 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6771 (PROF): Use symbolic stack frame offsets.
6772 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6773 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6774 Redefine in terms of FRAME_MIN_SIZE.
6775 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6776 (_dl_profile_resolve): Likewise. Update comment.
6777 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6778 symbols stack frame offsets.
6779 (__sigsetjmp): Likewise.
6780 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6781 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6783 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6784
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6786 (FRAME_BACKCHAIN): Remove.
6787 (FRAME_CR_SAVE): Likewise.
6788 (FRAME_LR_SAVE): Likewise.
6789 (FRAME_COMPILER_DW): Likewise.
6790 (FRAME_LINKER_DW): Likewise.
6791 (FRAME_TOC_SAVE): Likewise.
6792 (FRAME_PARM_SAVE): Likewise.
6793 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6794 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6795 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6797 (CHECK_SP): Use symbolic stack frame offsets.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6799 zone" instead of caller's parameter save area for temp storage.
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6801 Likewise. Also, use symbolic stack frame offsets.
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6803 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6804 our own stack frame instead of the caller's.
6805 (__socket): Use symbolic stack frame offsets.
6806
122b66de
UW
68072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6808 Alan Modra <amodra@gmail.com>
6809
6810 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6811 Define.
6812 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6813 PPC64_LOCAL_ENTRY_OFFSET): Define.
6814 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6815 New function.
6816 (elf_machine_fixup_plt): Call it.
6817 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6818 reloc arguments.
6819 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6820 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6821 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6822 r2 before calling target.
6823
696caf1d
UW
68242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6825 Alan Modra <amodra@gmail.com>
6826
6827 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6828 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6829 versions of macros to support ELFv2 ABI.
6830 (LOCALENTRY): New macro.
6831 (ENTRY, EALIGN): Use it.
6832 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6833 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6834 fall through into ENTRY entry point.
6835 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6836 Only define if _CALL_ELF != 2.
6837
6838 (elf_machine_matches_host): Verify ABI version matches.
6839 (RTLD_START): Use LOCALENTRY.
6840 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6841 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6842 (PLT_ENTRY_WORDS): New macro.
6843 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6844 (elf_machine_runtime_setup): Support ELFv2 ABI.
6845 (elf_machine_fixup_plt): Likewise.
6846 (elf_machine_plt_conflict): Likewise.
6847 (resolve_ifunc): Likewise.
6848 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6850 Likewise.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6852 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6854 (makecontext): Support ELFv2 ABI.
6855 * elf/elf.h (EF_PPC64_ABI): Define.
6856
d31beafa
UW
68572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6858
6859 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6860 New assembler macro.
6861 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6862 [ASSEMBLER] (ENTRY): ... but instead here ...
6863 [ASSEMBLER] (EALIGN): ... and here.
6864 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6865 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6866 [!ASSEMBLER] (ENTRY_2): Use it.
6867 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6868 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6869 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6870 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6871 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6873 Use PPC64_LOAD_FUNCPTR.
6874
b525166b
UW
68752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6876
6877 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6878
7ec07d9a
AM
68792013-12-04 Alan Modra <amodra@gmail.com>
6880
6881 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6882 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6883 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6884 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6885
6886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6887 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6888 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6889 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6890 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6891 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6892
5162e7dd
UW
68932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6894
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6896 (__makecontext): Fix incorrect CFI when backtracing out of
6897 context created via makecontext.
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6899 (__setcontext): Fix incorrect CFI during switch to new context.
6900 (__novec_setcontext): Likewise.
6901
19e3372b
OB
69022013-12-04 Ondřej Bílka <neleai@seznam.cz>
6903
6904 [BZ #4772]
6905 * time/strptime_l.c (__strptime_internal): Allow modifiers
6906 in strptime.
6907 * time/tst-strptime.c (day_tests): Add testcase.
6908
6909
ecaf142d
SP
69102013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6911
6912 * scripts/bench.pl: Skip over blank lines.
6913
fbf964ae
PE
69142013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6915
6916 [BZ #926]
6917 * manual/time.texi (Calendar Time): Clarify what timezone functions
6918 use.
6919
fa60a674
AZ
69202013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921
6922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6923
d674f0ef
OB
69242013-12-04 Ondřej Bílka <neleai@seznam.cz>
6925
6926 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6927 implementation.
6928 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6929 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6930 * debug/memset_chk.c (__memset_chk): Likewise.
6931 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6932 * debug/strncpy_chk.c: Likewise.
6933
17dea188
JM
69342013-12-03 Joseph Myers <joseph@codesourcery.com>
6935
749008ff
JM
6936 [BZ #15268]
6937 [BZ #15425]
6938 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6939 (__ieee754_exp): For possibly underflowing results, check size of
6940 result and force underflow exception if required.
6941 * math/auto-libm-test-in: Add more tests of exp.
6942 * math/auto-libm-test-out: Regenerated.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945
17dea188
JM
6946 [BZ #16283]
6947 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6948 * math/w_exp2f.c (__exp2f): Likewise.
6949 * math/w_exp2l.c (__exp2l): Likewise.
6950 * math/auto-libm-test-in: Do not allow missing errno on exp2
6951 underflow.
6952 * math/auto-libm-test-out: Regenerated.
6953
b20de2c3
OB
69542013-12-03 Ondřej Bílka <neleai@seznam.cz>
6955
6956 [BZ #16274]
6957 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6958 handle filename validation.
6959 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6960 (do_open): Delete.
6961
d8e2dbe3
JM
69622013-12-03 Joseph Myers <joseph@codesourcery.com>
6963
34e16df5
JM
6964 [BZ #6786]
6965 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6966 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6967 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6968 <float.h>.
6969 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6971 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6973 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6974 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6975 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6976 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6977 Add more erfc tests.
6978 * math/auto-libm-test-out: Regenerated.
6979 * sysdeps/i386/fpu/libm-test-ulps: Update.
6980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6981
d8e2dbe3
JM
6982 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6983 exp2, expm1, j0 and j1.
6984 * math/auto-libm-test-out: Regenerated.
6985 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6986 (erfc_test_data): Likewise.
6987 (exp_test_data): Likewise.
6988 (exp_tonearest_test_data): Likewise.
6989 (exp_towardzero_test_data): Likewise.
6990 (exp_downward_test_data): Likewise.
6991 (exp_upward_test_data): Likewise.
6992 (exp10_test_data): Likewise.
6993 (exp2_test_data): Likewise.
6994 (expm1_test_data): Likewise.
6995 (j0_test_data): Likewise.
6996 (j1_test_data): Likewise.
6997 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6998 (input_flag_type): Add flag_xfail_rounding.
6999 (input_flags): Add xfail-rounding.
7000 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7001 (output_for_one_input_case): Handle flag_xfail_rounding.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004
18d14251
AJ
70052013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7006
3d2e6075 7007 [BZ #16289]
18d14251
AJ
7008 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7009 division by 0.
7010
520d437b
SP
70112013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7012
7013 [BZ #16195]
7014 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7015 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7016 (STAP_PROBE0): New macro.
7017 (STAP_PROBE1): Likewise.
7018 (STAP_PROBE2): Likewise.
7019 (STAP_PROBE3): Likewise.
7020 (STAP_PROBE4): Likewise.
7021
416e0145
OB
70222013-12-02 Ondřej Bílka <neleai@seznam.cz>
7023
7024 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7025
9d17796a
SE
70262013-12-02 Steve Ellcey <sellcey@mips.com>
7027
7028 * benchtests/Makefile (bench): Add sqrt.
7029 (LDLIBS-bench-sqrt): New.
7030 * benchtests/sqrt-input: New.
7031
f524d6a8
PS
70322013-12-02 Pavel Simerda <psimerda@redhat.com>
7033
639a0ef8
PS
7034 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7035 (GAIH_EAI): Likewise.
7036 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7037 (gaih_inet): Likewise.
7038 (getaddrinfo): Don't use GAIH_EAI.
7039
f524d6a8
PS
7040 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7041 (struct gaih): Remove definition.
7042
df3aedaf
SP
70432013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7044
7045 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7046 Use HERRNOP directly.
7047
1ab19dec
AZ
70482013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7049
b42ad38d 7050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7051
176b0c79
JM
70522013-11-30 Joseph Myers <joseph@codesourcery.com>
7053
7054 * math/gen-auto-libm-tests.c (test_functions): Add more
7055 single-argument functions.
7056 (special_fill_pi_2): New function.
7057 (special_fill_minus_pi_2): Likewise.
7058 (special_fill_pi_6): Likewise.
7059 (special_fill_minus_pi_6): Likewise.
7060 (special_fill_pi_3): Likewise.
7061 (special_fill_2pi_3): Likewise.
7062 (special_fill_e): Likewise.
7063 (special_fill_1_e): Likewise.
7064 (special_fill_e_minus_1): Likewise.
7065 (special_real_inputs): Add more special inputs.
7066 (output_for_one_input_case): Do not require ERANGE on underflow to
7067 zero if round-to-nearest result does not underflow to zero, unless
7068 exact results required.
7069 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7070 atan, atanh, cbrt, cos and cosh.
7071 * math/auto-libm-test-out: Regenerated.
7072 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7073 (acos_tonearest_test_data): Likewise.
7074 (acos_towardzero_test_data): Likewise.
7075 (acos_downward_test_data): Likewise.
7076 (acos_upward_test_data): Likewise.
7077 (acosh_test_data): Likewise.
7078 (asin_test_data): Likewise.
7079 (asin_tonearest_test_data): Likewise.
7080 (asin_towardzero_test_data): Likewise.
7081 (asin_upward_test_data): Likewise.
7082 (asinh_test_data): Likewise.
7083 (atan_test_data): Likewise.
7084 (atanh_test_data): Likewise.
7085 (cbrt_test_data): Likewise.
7086 (cos_test_data): Likewise.
7087 (cos_tonearest_test_data): Likewise.
7088 (cos_towardzero_test_data): Likewise.
7089 (cos_downward_test_data): Likewise.
7090 (cos_upward_test_data): Likewise.
7091 (cosh_test_data): Likewise.
7092 (cosh_tonearest_test_data): Likewise.
7093 (cosh_towardzero_test_data): Likewise.
7094 (cosh_downward_test_data): Likewise.
7095 (cosh_upward_test_data): Likewise.
7096 * sysdeps/i386/fpu/libm-test-ulps: Update.
7097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7098
ffb536d0
JM
70992013-11-29 Joseph Myers <joseph@codesourcery.com>
7100
2a77a467
JM
7101 [BZ #6787]
7102 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7103 * math/w_exp10f.c (__exp10f): Likewise.
7104 * math/w_exp10l.c (__exp10l): Likewise.
7105 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7106 errno settings in existing tests.
7107
ea3bc4e8
JM
7108 [BZ #14032]
7109 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7110 precision control set to double precision.
7111 * sysdeps/i386/fpu/w_sqrt.c: New file.
7112 * math/auto-libm-test-in: Add more tests.
7113 * math/auto-libm-test-out: Update.
7114
0712c9d8
JM
7115 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7116 (sqrt_test_tonearest): New function.
7117 (sqrt_towardzero_test_data): New variable.
7118 (sqrt_test_towardzero): New function.
7119 (sqrt_downward_test_data): New variable.
7120 (sqrt_test_downward): New function.
7121 (sqrt_upward_test_data): New variable.
7122 (sqrt_test_upward): New function.
7123 (main): Call the new functions.
7124
ffb536d0
JM
7125 * math/gen-auto-libm-tests.c: New file.
7126 * math/auto-libm-test-in: Likewise.
7127 * math/auto-libm-test-out: New generated file.
7128 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7129 variables.
7130 (%beautify): Add generated representations of zero.
7131 (top level): Set $auto_input and call parse_auto_input.
7132 (beautify): Remove trailing "f" from hex float constants.
7133 (parse_args): Handle XFAIL_TEST.
7134 (convert_condition): New function.
7135 (or_value): Likewise.
7136 (or_cond_value): Likewise.
7137 (generate_testfile): Handle AUTO_TESTS_* lines.
7138 (parse_auto_input): New function.
7139 * math/libm-test.inc (XFAIL_TEST): New macro.
7140 (ERRNO_UNCHANGED): Update value.
7141 (ERRNO_EDOM): Likewise.
7142 (ERRNO_ERANGE): Likewise.
7143 (IGNORE_RESULT): Likewise.
7144 (TEST_COND_flt_32): New macro.
7145 (TEST_COND_dbl_64): Likewise.
7146 (TEST_COND_ldbl_96_intel): Likewise.
7147 (TEST_COND_ldbl_96_m68k): Likewise.
7148 (TEST_COND_ldbl_128): Likewise.
7149 (TEST_COND_ldbl_128ibm): Likewise.
7150 (TEST_COND_long32): Likewise.
7151 (TEST_COND_long64): Likewise.
7152 (TEST_COND_before_rounding): Likewise.
7153 (TEST_COND_after_rounding): Likewise.
7154 (enable_test): Handle XFAIL_TEST flag.
7155 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7156 with finite results.
7157 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7158 auto-libm-test-out.
7159
acd98a8e
AK
71602013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7161 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7162
7163 [BZ #16214]
7164 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7165 __tls_get_addr_internal instead of __tls_get_offset in order to
7166 avoid GOT pointer dependency. Make rtld export
7167 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7168 __tls_get_addr since we are a __tls_get_offset platform.
7169 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7170 GOT pointer being set up before.
7171 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7172
3c1c46a6
JM
71732013-11-28 Joseph Myers <joseph@codesourcery.com>
7174
7475aef5
JM
7175 * manual/math.texi (Errors in Math Functions): Document accuracy
7176 goals.
7177
8bca7cd8
JM
7178 [BZ #15004]
7179 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7180 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7182 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7186 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7187 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7188 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7189 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7191 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7192 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7195
91a1f3fe
JM
7196 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7197 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7198 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7199 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7200 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7201 Likewise.
7202 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7203 Likewise.
7204 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7205 Likewise.
7206 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7207 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7208 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7209 atomic-feupdateenv and flt-rounds.
7210 * sysdeps/powerpc/nofpu/Versions (libc): Add
7211 __atomic_feholdexcept, __atomic_feclearexcept,
7212 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7213 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7214 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7215 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7216 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7217 here.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7219 Update.
7220
c5df7609
JM
7221 * manual/arith.texi (FP Exceptions): Document that exceptions may
7222 not be raised when matherr is used.
7223 (Math Error Reporting): Document overflow in directed rounding
7224 modes. Document that errno may not be set when finite values are
7225 returned on overflow. Document intent to set errno on underflow
7226 only for underflow to zero.
7227
3c1c46a6
JM
7228 [BZ #16271]
7229 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7230 round-to-nearest then adjust result for other rounding modes.
7231 * include/fenv.h (fegetround): Use libm_hidden_proto.
7232 * math/fegetround.c (fegetround): Use libm_hidden_def.
7233 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7234 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7235 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7236 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7237 Likewise.
7238 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7239 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7240 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7241 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7242
5a4c6d53
SP
72432013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7244
7245 [BZ #16077]
7246 * nss/Versions (libnss_files): Add
7247 _nss_files_gethostbyname3_r.
7248 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7249 New function.
7250 (HOST_DB_LOOKUP): Remove macro.
7251 (_nss_files_gethostbyname_r): Implement function without the
7252 HOST_DB_LOOKUP macro.
7253 (_nss_files_gethostbyname2_r): Likewise.
7254
897b98ba
OB
72552013-11-28 Ondřej Bílka <neleai@seznam.cz>
7256
7257 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7258
6f476861
UB
72592013-11-26 Uros Bizjak <ubizjak@gmail.com>
7260
7261 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7262 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7263 warning.
7264
bd12ab55
AZ
72652013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7266
7267 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7268 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7269 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7270 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7271 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7272 __fe_nomask_env_priv and attribute_hidden.
7273 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7274 (libc_feupdateenv_test_ppc): Likewise.
7275 (libc_feresetround_ppc): Likewise.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7277 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7278 compat_symbol macro.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7280 (__fe_nomask_env): Likewise.
7281 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7282
52bb6543
OB
72832013-11-26 Ondřej Bílka <neleai@seznam.cz>
7284
7285 * string/Makefile: Remove ifunc tests.
7286 * string/test-string.h: Define TEST_IFUNC.
7287 * string/test-bcopy-ifunc.c: Remove.
7288 * string/test-bzero-ifunc.c: Likewise.
7289 * string/test-memccpy-ifunc.c: Likewise.
7290 * string/test-memchr-ifunc.c: Likewise.
7291 * string/test-memcmp-ifunc.c: Likewise.
7292 * string/test-memcpy-ifunc.c: Likewise.
7293 * string/test-memmem-ifunc.c: Likewise.
7294 * string/test-memmove-ifunc.c: Likewise.
7295 * string/test-mempcpy-ifunc.c: Likewise.
7296 * string/test-memrchr-ifunc.c: Likewise.
7297 * string/test-memset-ifunc.c: Likewise.
7298 * string/test-rawmemchr-ifunc.c: Likewise.
7299 * string/test-stpcpy-ifunc.c: Likewise.
7300 * string/test-stpncpy-ifunc.c: Likewise.
7301 * string/test-strcasecmp-ifunc.c: Likewise.
7302 * string/test-strcasestr-ifunc.c: Likewise.
7303 * string/test-strcat-ifunc.c: Likewise.
7304 * string/test-strchr-ifunc.c: Likewise.
7305 * string/test-strchrnul-ifunc.c: Likewise.
7306 * string/test-strcmp-ifunc.c: Likewise.
7307 * string/test-strcpy-ifunc.c: Likewise.
7308 * string/test-strcspn-ifunc.c: Likewise.
7309 * string/test-strlen-ifunc.c: Likewise.
7310 * string/test-strncasecmp-ifunc.c: Likewise.
7311 * string/test-strncat-ifunc.c: Likewise.
7312 * string/test-strncmp-ifunc.c: Likewise.
7313 * string/test-strncpy-ifunc.c: Likewise.
7314 * string/test-strnlen-ifunc.c: Likewise.
7315 * string/test-strpbrk-ifunc.c: Likewise.
7316 * string/test-strrchr-ifunc.c: Likewise.
7317 * string/test-strspn-ifunc.c: Likewise.
7318 * string/test-strstr-ifunc.c: Likewise.
7319
ab260039 73202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7321
7322 * benchtests/Makefile: Remove ifunc tests.
7323 * benchtests/bench-string.h: Define TEST_IFUNC.
7324 * benchtests/bench-bcopy-ifunc.c: Remove.
7325 * benchtests/bench-bzero-ifunc.c: Likewise.
7326 * benchtests/bench-memccpy-ifunc.c: Likewise.
7327 * benchtests/bench-memchr-ifunc.c: Likewise.
7328 * benchtests/bench-memcmp-ifunc.c: Likewise.
7329 * benchtests/bench-memcpy-ifunc.c: Likewise.
7330 * benchtests/bench-memmem-ifunc.c: Likewise.
7331 * benchtests/bench-memmove-ifunc.c: Likewise.
7332 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7333 * benchtests/bench-memrchr-ifunc.c: Likewise.
7334 * benchtests/bench-memset-ifunc.c: Likewise.
7335 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7336 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7337 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7338 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7339 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7340 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7341 * benchtests/bench-strcat-ifunc.c: Likewise.
7342 * benchtests/bench-strchr-ifunc.c: Likewise.
7343 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7344 * benchtests/bench-strcmp-ifunc.c: Likewise.
7345 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7346 * benchtests/bench-strcpy-ifunc.c: Likewise.
7347 * benchtests/bench-strcspn-ifunc.c: Likewise.
7348 * benchtests/bench-strlen-ifunc.c: Likewise.
7349 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7350 * benchtests/bench-strncat-ifunc.c: Likewise.
7351 * benchtests/bench-strncmp-ifunc.c: Likewise.
7352 * benchtests/bench-strncpy-ifunc.c: Likewise.
7353 * benchtests/bench-strnlen-ifunc.c: Likewise.
7354 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7355 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7356 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7357 * benchtests/bench-strspn-ifunc.c: Likewise.
7358 * benchtests/bench-strstr-ifunc.c: Likewise.
7359
73602013-11-26 Ondřej Bílka <neleai@seznam.cz>
7361
ab260039
OB
7362 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7363
d1d9eaf4 73642013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7365
d1d9eaf4
OB
7366 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7367 * rt/aio.h: Likewise.
7368 * sysdeps/gnu/bits/utmp.h: Likewise.
7369 * sysdeps/gnu/bits/utmpx.h: Likewise.
7370 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7371 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7372 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7373 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7374 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7375 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7376 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7377 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7379 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7380 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7381 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7382 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7384 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7385 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7386 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7387 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7388 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7389 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7390 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7391 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7392 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7393 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7394 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7397 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7398 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7402 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7404 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7405 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7406 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7407 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7408 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7409 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7410 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7411 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7412
a7624ed9
CD
74132013-11-25 Carlos O'Donell <carlos@redhat.com>
7414
7415 [BZ #16245]
7416 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7417 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7418
63cfe52b
JM
74192013-11-25 Joseph Myers <joseph@codesourcery.com>
7420
7421 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7422 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7423 Likewise.
7424
41e8926a
AZ
74252013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7426
7427 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7428 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7429 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7430 (__fesetround): Remove define.
7431 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7432 rounding and exceptions handling.
7433 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7434 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7435 (__fe_nomask_env): Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7437 __fegetround instead of fegetround.
7438 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7440
6851bd4d
RM
74412013-11-21 Roland McGrath <roland@hack.frob.com>
7442
070906ff
RM
7443 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7444 it's there.
7445
6851bd4d
RM
7446 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7447
84ae135d
MI
74482013-11-21 Meador Inge <meadori@codesourcery.com>
7449
7450 [BZ #11157]
7451 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7452 (encrypt_r): Likewise.
7453 * malloc/obstack.h (obstack_free): Likewise.
7454 * posix/unistd.h (encrypt): Likewise.
7455
daf75146
GM
74562013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7457
7458 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7459 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7460 DL_CALL_DT_FINI() that call the functions directly.
7461 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7462 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7463 * elf/dl-fini.c: Likewise.
7464
10ad46bc
OB
74652013-11-20 Ondřej Bílka <neleai@seznam.cz>
7466
7467 * malloc/hooks.c (memalign_check): Add alignment rounding.
7468 * malloc/malloc.c (_mid_memalign): New function.
7469 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7470 Implement by calling _mid_memalign.
7471 * manual/probes.texi (Memory Allocation Probes): Remove
7472 memory_valloc_retry and memory_pvalloc_retry.
7473
f3fd2628
SP
74742013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7475
4712799f
SP
7476 * locale/programs/locarchive.c (open_archive): Add const
7477 qualifier to ARCHIVEFNAME and copy default fname to
7478 DEFAULT_FNAME.
7479
0417b20f
SP
7480 [BZ #15601]
7481 * libio/tst-widetext.input: Rename Oriya to Odia.
7482 * locale/iso-639.def: Likewise.
7483
f3fd2628
SP
7484 * manual/probes.texi (Mathematical Function Probes): Add
7485 documentation for sin, cos, asin and acos probes.
7486 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7487 (__sin32): Add slowasin probe.
7488 (__cos32): Add slowacos probe.
7489 (__mpsin): Add slowsin probe.
7490 (__mpcos): Add slowcos probe.
7491
73c1ce4f
JM
74922013-11-19 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #15483]
7495 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7496 thread-local __sim_exceptions_thread and global
7497 __sim_exceptions_global.
7498 (__sim_disabled_exceptions): Change to thread-local
7499 __sim_disabled_exceptions_thread and global
7500 __sim_disabled_exceptions_global.
7501 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7502 and global __sim_round_mode_global.
7503 (__simulate_exceptions): Use thread-local floating-point state and
7504 set global state from it as needed.
7505 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7506 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7507 __sim_round_mode_thread.
7508 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7509 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7510 and global __sim_exceptions_global.
7511 (__sim_disabled_exceptions): Change to thread-local
7512 __sim_disabled_exceptions_thread and global
7513 __sim_disabled_exceptions_global.
7514 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7515 and global __sim_round_mode_global.
7516 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7517 (SIM_SET_GLOBAL): Likewise.
7518 * sysdeps/powerpc/soft-fp/sfp-machine.h
7519 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7520 __sim_round_mode_thread.
7521 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7522 __sim_disabled_exceptions_thread.
7523 (__sim_exceptions): Change to __sim_exceptions_thread.
7524 (__sim_disabled_exceptions): Change to
7525 __sim_disabled_exceptions_thread.
7526 (__sim_round_mode): Change to __sim_round_mode_thread.
7527 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7528 thread-local floating-point state and set global state from it as
7529 needed.
7530 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7531 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7532 (__sim_disabled_exceptions): Remove extern declaration.
7533 (feenableexcept): Use thread-local floating-point state and set
7534 global state from it as needed.
7535 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7536 extern declaration.
7537 (__sim_disabled_exceptions): Likewise.
7538 (__sim_round_mode): Likewise.
7539 (__fegetenv): Use thread-local floating-point state.
7540 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7541 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7542 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7543 floating-point state and set global state from it as needed.
7544 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7545 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7546 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7547 Likewise.
7548 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7549 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7550 Likewise.
7551 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7552 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7553 Use __sim_round_mode_thread.
7554 * math/test-fenv-tls.c: New file.
7555 * math/Makefile (tests): Add test-fenv-tls.
7556 ($(objpfx)test-fenv-tls): Depend on
7557 $(common-objpfx)nptl/libpthread.so.
7558
b5449b12
AS
75592013-11-19 Andreas Schwab <schwab@suse.de>
7560
7561 * locale/programs/locale.c (show_info): Decode wordarray elements.
7562 * locale/categories.def (LC_MONETARY): Add element for
7563 _NL_MONETARY_CRNCYSTR.
7564 * locale/C-monetary.c (conversion_rate): New variable.
7565 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7566 element.
7567
e186536b
CM
75682013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7569
7570 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7571 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7572
5c349950
PP
75732013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7574
7575 * elf/Makefile (tst-auxv): New test.
7576 * elf/tst-auxv.c: New
7577 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7578
699df45b
JM
75792013-11-18 Joseph Myers <joseph@codesourcery.com>
7580
7581 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7582 (hidden_proto): Caller changed.
7583 (hidden_tls_proto): New macro.
7584 (libc_hidden_tls_proto): Likewise.
7585 (rtld_hidden_tls_proto): Likewise.
7586 (libm_hidden_tls_proto): Likewise.
7587 (libresolv_hidden_tls_proto): Likewise.
7588 (librt_hidden_tls_proto): Likewise.
7589 (libdl_hidden_tls_proto): Likewise.
7590 (libnss_files_hidden_tls_proto): Likewise.
7591 (libnsl_hidden_tls_proto): Likewise.
7592 (libnss_nisplus_hidden_tls_proto): Likewise.
7593 (libutil_hidden_tls_proto): Likewise.
7594
b7589107
OB
75952013-11-18 Ondřej Bílka <neleai@seznam.cz>
7596
7597 [BZ #10253]
7598 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7599 (decompose_rpath): Defer expansion to fillin_rpath.
7600 (_dl_init_paths): Pass linkmap to fillin_rpath.
7601
250c23bd
RS
76022013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7603
7604 * benchtests/Makefile: Add strsep.
7605 * benchtests/bench-strsep.c: New file: strsep benchtest.
7606 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7607
a7931fcf
AS
76082013-11-18 Andreas Schwab <schwab@suse.de>
7609
7610 * locale/programs/locale.c (show_info) [case byte]: Check for
7611 '\377' instead of '\177'.
7612 * locale/C-monetary.c (not_available): Always use "\377".
7613 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7614 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7615 detect unavailable sign_posn locale elements.
7616 * locale/localeconv.c (__localeconv): For grouping and
7617 mon_grouping handle "\177" and "\377" like no grouping.
7618 (INT_ELEM): New macro. Use it to set all numeric members.
7619 * locale/programs/ld-monetary.c (monetary_read)
7620 <tok_mon_grouping>: Normalize single -1 to the empty string.
7621 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7622 Likewise.
7623
728dab0e
OB
76242013-11-07 Ondřej Bílka <neleai@seznam.cz>
7625
7626 [BZ #16055]
7627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7628 when we match (nil).
7629 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7630
66294491
JM
76312013-11-16 Joseph Myers <joseph@codesourcery.com>
7632
ce665817
JM
7633 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7634 (NO_TEST_INLINE): Update value.
7635 (ERRNO_UNCHANGED): Likewise.
7636 (ERRNO_EDOM): Likewise.
7637 (ERRNO_ERANGE): Likewise.
7638 (IGNORE_RESULT): Likewise.
7639 (check_float_internal): Check signs of NaN results if
7640 TEST_NAN_SIGN used.
7641 (check_complex): Pass TEST_NAN_SIGN flag through to second
7642 check_float_internal call.
7643 (copysign_test_data): Add tests with quiet NaNs as second
7644 argument. Use TEST_NAN_SIGN.
7645 (fabs_test_data): Add test of negative quiet NaN argument. Use
7646 TEST_NAN_SIGN.
7647 (signbit_test_data): Add tests of quiet NaN argument.
7648 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7649
ee1466a9
JM
7650 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7651 $ignore_result.
7652 (parse_args): Handle function results specified as IGNORE.
7653 * math/libm-test.inc (IGNORE_RESULT): New macro.
7654 (check_float_internal): Do not check numerical result if flag
7655 IGNORE_RESULT set.
7656 (check_complex): Pass through IGNORE_RESULT to second
7657 check_float_internal call.
7658 (check_int): Do not check numerical result if flag IGNORE_RESULT
7659 set.
7660 (check_long): Likewise.
7661 (check_bool): Likewise.
7662 (check_longlong): Likewise.
7663 (lrint_test_data): Add tests of infinite and NaN arguments.
7664 (lrint_tonearest_test_data): Likewise.
7665 (lrint_towardzero_test_data): Likewise.
7666 (lrint_downward_test_data): Likewise.
7667 (lrint_upward_test_data): Likewise.
7668 (llrint_test_data): Likewise.
7669 (llrint_tonearest_test_data): Likewise.
7670 (llrint_towardzero_test_data): Likewise.
7671 (llrint_downward_test_data): Likewise.
7672 (llrint_upward_test_data): Likewise.
7673 (lround_test_data): Likewise.
7674 (llround_test_data): Likewise.
7675
14407b7e
JM
7676 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7677 (ERRNO_UNCHANGED): Update value.
7678 (ERRNO_EDOM): Likewise.
7679 (ERRNO_ERANGE): Likewise.
7680 (NO_TEST_INLINE_FLOAT): New macro.
7681 (NO_TEST_INLINE_DOUBLE): Likewise.
7682 (enable_test): New function.
7683 (RUN_TEST_f_f): Check enable_test before running test.
7684 (RUN_TEST_2_f): Likewise.
7685 (RUN_TEST_fff_f): Likewise.
7686 (RUN_TEST_c_f): Likewise.
7687 (RUN_TEST_f_f1): Likewise.
7688 (RUN_TEST_fF_f1): Likewise.
7689 (RUN_TEST_fI_f1): Likewise.
7690 (RUN_TEST_ffI_f1): Likewise.
7691 (RUN_TEST_c_c): Likewise.
7692 (RUN_TEST_cc_c): Likewise.
7693 (RUN_TEST_f_i): Likewise.
7694 (RUN_TEST_f_i_tg): Likewise.
7695 (RUN_TEST_ff_i_tg): Likewise.
7696 (RUN_TEST_f_b): Likewise.
7697 (RUN_TEST_f_b_tg): Likewise.
7698 (RUN_TEST_f_l): Likewise.
7699 (RUN_TEST_f_L): Likewise.
7700 (RUN_TEST_fFF_11): Likewise.
7701 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7702 conditionals.
7703 (cosh_test_data): Likewise.
7704 (exp_test_data): Likewise.
7705 (expm1_test_data): Likewise.
7706 (hypot_test_data): Likewise.
7707 (pow_test_data): Likewise.
7708 (sinh_test_data): Likewise.
7709 (tanh_test_data): Likewise.
7710 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7711 flags argument.
7712
ca07f197
JM
7713 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7714 tests with quiet NaN input and output.
7715 (acosh_test_data): Likewise.
7716 (asin_test_data): Likewise.
7717 (asinh_test_data): Likewise.
7718 (atan_test_data): Likewise.
7719 (atanh_test_data): Likewise.
7720 (atan2_test_data): Likewise.
7721 (cbrt_test_data): Likewise.
7722 (cos_test_data): Likewise.
7723 (cosh_test_data): Likewise.
7724 (erf_test_data): Likewise.
7725 (erfc_test_data): Likewise.
7726 (exp_test_data): Likewise.
7727 (exp10_test_data): Likewise.
7728 (exp2_test_data): Likewise.
7729 (expm1_test_data): Likewise.
7730 (hypot_test_data): Likewise.
7731 (j0_test_data): Likewise.
7732 (j1_test_data): Likewise.
7733 (jn_test_data): Likewise.
7734 (lgamma_test_data): Likewise.
7735 (log_test_data): Likewise.
7736 (log10_test_data): Likewise.
7737 (log1p_test_data): Likewise.
7738 (log2_test_data): Likewise.
7739 (pow_test_data): Likewise.
7740 (scalb_test_data): Likewise.
7741 (sin_test_data): Likewise.
7742 (sincos_test_data): Likewise.
7743 (sinh_test_data): Likewise.
7744 (tan_test_data): Likewise.
7745 (tanh_test_data): Likewise.
7746 (tgamma_test_data): Likewise.
7747 (y0_test_data): Likewise.
7748 (y1_test_data): Likewise.
7749 (yn_test_data): Likewise.
7750
66294491
JM
7751 [BZ #16167]
7752 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7753 argument being NaN and avoid computations with second argument in
7754 that case.
7755 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7756 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7757 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7758
1820b143
CL
77592013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7760
7761 * locale/iso-639.def: Add Chitwani Tharu (the).
7762
714bd261
AS
77632013-11-14 Andreas Schwab <schwab@suse.de>
7764
7765 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7766 word instead of empty string.
7767
7ab44563
AZ
77682013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7769
7770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7771 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7773 (__fe_nomask_env): Likewise.
7774
e8470ea2
SE
77752013-11-13 Steve Ellcey <sellcey@mips.com>
7776
7777 * benchtests/bench-timing.h: Include time.h.
7778
17c1d9f0
L
77792013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7780
7781 [BZ #15997]
7782 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7783 to 3.4.0 for x32.
7784 * sysdeps/unix/sysv/linux/configure: Regenerated.
7785
9310c284
JM
77862013-11-13 Joseph Myers <joseph@codesourcery.com>
7787
7788 [BZ #16151]
7789 * stdlib/strtod_l.c (round_and_return): Do not consider
7790 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7791 exponent one less than half the least subnormal exponent.
7792 * stdlib/test-strtod-round-data: Add more tests.
7793 * stdlib/tst-strtod-round.c (tests): Regenerated.
7794
7a2ad8cf
AZ
77952013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7796
7797 [BZ #14143]
7798 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7799 (__fe_mask_env): Likewise.
7800 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7801 libm_hidden_proto and add function prototype.
7802 (__fe_mask_env): Add function prototype.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7804 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7806 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7808 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7809
50727aa7
MS
78102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7811
b2f386c1 7812 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7813 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7814
a615be46
MS
78152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7816
7817 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7818 of htab_find_slot().
7819
7ddace62
DM
78202013-11-11 David S. Miller <davem@davemloft.net>
7821
7822 [BZ #16150]
7823 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7824 symbol in the non-vis3 case in static builds.
7825 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7826 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7827 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7828 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7829
9182aa67
JK
78302013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7831
7832 [BZ #387]
7833 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7834 it is empty.
7835
450a2e2d
AZ
78362013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7837
b2f386c1
SP
7838 * benchtests/Makefile: Add bench-strtod.
7839 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7840
8ec3f656
AS
78412013-11-11 Andreas Schwab <schwab@suse.de>
7842
7843 [BZ #16153]
7844 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7845 terminating NUL in key length.
7846
76a9b998
AZ
78472013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7848
7849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7850 Add artificial ODP entry for vDSO symbol for PPC64.
7851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7852 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7853
e4368156
OB
78542013-11-07 Ondřej Bílka <neleai@seznam.cz>
7855
7856 [BZ #15374]
7857 * nss/getent.c (services_keys): Recognize services starting with digit.
7858
8d6bb57c
DM
78592013-11-06 David S. Miller <davem@davemloft.net>
7860
7861 [BZ #15985]
7862 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7863 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7864
e256c421
WN
78652013-11-06 Will Newton <will.newton@linaro.org>
7866
7867 * manual/memory.texi (Malloc Examples): Remove register
7868 keyword from examples.
7869
f6e12daa 78702013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7871
f6e12daa 7872 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7873
9d880655
AS
78742013-11-04 Joseph Myers <joseph@codesourcery.com>
7875
fd2f9486 7876 [BZ #6981]
9d880655
AS
7877 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7878 depending on [__GCC_IEC_559 > 0].
7879 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7880 depending on [__GCC_IEC_559_COMPLEX > 0].
7881
ae129d3c
CL
78822013-11-03 Chris Leonard <cjl@sugarlabs.org>
7883
7884 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7885 to iso-639.def.
7886
4a15c2a4 78872013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7888
7889 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7890
8b35e35d
OB
78912013-11-01 Ondřej Bílka <neleai@seznam.cz>
7892
7893 [BZ #16112]
7894 * malloc/malloc (malloc_info): Do not handle first bin as
7895 special case.
7896
1d70fd6c
CL
78972013-11-01 Chris Leonard <cjl@sugarlabs.org>
7898
7899 * locale/iso-639.def: Add Central Nahuatl (nhn).
7900
8c5c2600
BH
79012013-11-01 Bruno Haible <bruno@clisp.org>
7902
7903 [BZ #7003]
7904 * manual/math.texi (BSD Random): Specify range upper bound as
7905 in POSIX.
7906
da5579c2
CL
79072013-10-31 Chris Leonard <cjl@sugarlabs.org>
7908
7909 * locale/iso-639.def: Add Meadow Mari (mhr).
7910
5d30d853
OB
79112013-10-31 Ondřej Bílka <neleai@seznam.cz>
7912
7913 [BZ #14752], [BZ #15763]
7914 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7915 Validate name.
7916 * rt/tst_shm.c: Add test for escaping directory.
7917
a4966c61
AS
79182013-10-31 Andreas Schwab <schwab@suse.de>
7919
8a43e768 7920 [BZ #15917]
a4966c61
AS
7921 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7922 followed by 'x' as part of digit sequence.
7923 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7924
28d708c4
MAP
79252013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7926
7927 [BZ #16037]
7928 * configure.ac: allow GNU Make 4.0 and greater.
7929 * configure: Regenerated.
7930
a56ee40b
WN
79312013-10-30 Will Newton <will.newton@linaro.org>
7932
7933 [BZ #16038]
7934 * malloc/hooks.c (memalign_check): Limit alignment to the
7935 maximum representable power of two.
7936 * malloc/malloc.c (__libc_memalign): Likewise.
7937 * malloc/tst-memalign.c (do_test): Add test for very
7938 large alignment values.
7939 * malloc/tst-posix_memalign.c (do_test): Likewise.
7940
c6e4925d
OB
79412013-10-30 Ondřej Bílka <neleai@seznam.cz>
7942
7943 [BZ #11087]
7944 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7945 (munmap_chunk): Likewise.
7946 (mremap_chunk): Likewise.
7947
79482013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7949
8a43e768 7950 [BZ #15799]
bbea82f7
OB
7951 * stdlib/div.c (div): Remove obsolete code.
7952 * stdlib/ldiv.c (ldiv): Likewise.
7953 * stdlib/lldiv.c (lldiv): Likewise.
7954
977f4b31
SP
79552013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7956
7957 [BZ #16071]
7958 * nss/nss_files/files-XXX.c (get_contents_ret): New
7959 enumerator.
7960 (get_contents): New function.
7961 (internal_getent): Use it. Expand size of LINEBUFLEN.
7962
cb8a6dbd
MF
79632013-10-30 Mike Frysinger <vapier@gentoo.org>
7964
7965 * configure.in: Moved to ...
7966 * configure.ac: ... here. Change reference to configure.in
7967 to configure.ac.
7968 * sysdeps/arm/preconfigure.ac: ... here.
7969 configure.in to configure.ac.
7970 * sysdeps/gnu/configure.in: Moved to ...
7971 * sysdeps/gnu/configure.ac: ... here.
7972 * sysdeps/i386/configure.in: Moved to ...
7973 * sysdeps/i386/configure.ac: ... here.
7974 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7975 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7976 * sysdeps/mach/configure.in: Moved to ...
7977 * sysdeps/mach/configure.ac: ... here.
7978 * sysdeps/mach/hurd/configure.in: Moved to ...
7979 * sysdeps/mach/hurd/configure.ac: ... here.
7980 * sysdeps/powerpc/configure.in: Moved to ...
7981 * sysdeps/powerpc/configure.ac: ... here.
7982 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7983 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7984 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7985 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7986 * sysdeps/s390/s390-32/configure.in: Moved to ...
7987 * sysdeps/s390/s390-32/configure.ac: ... here.
7988 * sysdeps/s390/s390-64/configure.in: Moved to ...
7989 * sysdeps/s390/s390-64/configure.ac: ... here.
7990 * sysdeps/sh/configure.in: Moved to ...
7991 * sysdeps/sh/configure.ac: ... here.
7992 * sysdeps/sparc/configure.in: Moved to ...
7993 * sysdeps/sparc/configure.ac: ... here.
7994 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7995 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7996 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7997 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7998 * sysdeps/x86_64/configure.in: Moved to ...
7999 * sysdeps/x86_64/configure.ac: ... here.
8000 * sysdeps/x86_64/preconfigure.in: Moved to ...
8001 * sysdeps/x86_64/preconfigure.ac: ... here.
8002 * aclocal.m4: Change reference to configure.in to configure.ac.
8003 * config.h.in: Likewise.
8004 * manual/install.texi: Likewise.
8005 * manual/maint.texi: Likewise.
8006 * Makefile: Likewise.
8007 * malloc/Makefile: Likewise.
8008 * nscd/Makefile: Likewise.
8009 * Makeconfig: Change reference to configure.in and
8010 preconfigure.in to configure.ac and preconfigure.ac
8011 respectively.
8012 * INSTALL: Regenerated.
8013 * configure: Likewise.
8014 * sysdeps/gnu/configure: Likewise.
8015 * sysdeps/i386/configure: Likewise.
8016 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8017 * sysdeps/mach/configure: Likewise.
8018 * sysdeps/mach/hurd/configure: Likewise.
8019 * sysdeps/powerpc/configure: Likewise.
8020 * sysdeps/powerpc/powerpc32/configure: Likewise.
8021 * sysdeps/powerpc/powerpc64/configure: Likewise.
8022 * sysdeps/s390/s390-32/configure: Likewise.
8023 * sysdeps/s390/s390-64/configure: Likewise.
8024 * sysdeps/sh/configure: Likewise.
8025 * sysdeps/sparc/configure: Likewise.
8026 * sysdeps/unix/sysv/linux/configure: Likewise.
8027 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8028 * sysdeps/x86_64/configure: Likewise.
8029 * sysdeps/x86_64/preconfigure: Likewise.
8030
36a4953a
AS
80312013-10-29 Andreas Schwab <schwab@suse.de>
8032
8033 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8034
c79a1204
SP
80352013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8036
dfa1b402
SP
8037 * benchtests/pow-inputs: Add new inputs.
8038
54f73d9c
SP
8039 * benchtests/exp-inputs: Add new inputs.
8040
c79a1204
SP
8041 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8042 conditional check for return value.
8043 (__cos32): Likewise.
8044
67beb545 80452013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8046
8047 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8048 to provide a boost for large inputs with word alignment.
8049 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8050 implementation based on optimized PPC64 strcpy.
8051 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8052 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8053 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8054 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8055
151659f6
OB
80562013-10-25 Ondřej Bílka <neleai@seznam.cz>
8057
482a077e 8058 [BZ #2801]
151659f6
OB
8059 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8060
10b0f26b
OB
80612013-10-25 Ondřej Bílka <neleai@seznam.cz>
8062
8063 [BZ #14876]
8064 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8065 * time/tst-strptime.c (day_tests): Add testcase.
8066
ca42d35e
OB
80672013-10-25 Ondřej Bílka <neleai@seznam.cz>
8068
482a077e 8069 [BZ #14029]
ca42d35e
OB
8070 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8071
52e6d801
FB
80722013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8073
8074 [BZ #16074]
8075 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8076 MAP_FAILED on error.
8077
7cbcdb36
SP
80782013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8079
8080 [BZ #16072]
8081 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8082 heap for large requests.
8083
894f3f10
AM
80842013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8085
8086 [BZ #9954]
8087 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8088 result if the result has no associated interface.
8089 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8090 interface for all 127.X.Y.Z addresses.
8091
b85545a6
CL
80922013-10-24 Chris Leonard <cjl@sugarlabs.org>
8093
8094 * locale/iso-639.def: Add Ligurian (lij)
8095
d1f23d46
OB
80962013-10-21 Ondřej Bílka <neleai@seznam.cz>
8097
8098 [BZ #15825]
8099 * sunrpc/rpc_main.c: Document rpcgen -5.
8100
4db5b08f
MS
81012013-10-19 Michael Stahl <mstahl@redhat.com>
8102
8103 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8104
a471e96a
OB
81052013-10-19 Ondřej Bílka <neleai@seznam.cz>
8106
d1f23d46 8107 [BZ #10278]
a471e96a
OB
8108 * posix/glob.c: Match only directories when trailing slash is present.
8109 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8110 (main): Add testcase.
8111
45c30c61
OB
81122013-10-19 Ondřej Bílka <neleai@seznam.cz>
8113
8114 [BZ #15670]
8115 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8116
484c12fb
CD
81172013-10-18 Carlos O'Donell <carlos@redhat.com>
8118
3d7dc513
CD
8119 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8120 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8121 AUTH_DES and cindex for FIPS 140-2.
8122 (DES Encryption): Add cindex FIPS 46-3.
8123
484c12fb
CD
8124 * locale/locarchive.h (struct locarhandle): Add fname.
8125 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8126 if an optional argument was specified to --list-archive,
8127 otherwise NULL.
8128 * locale/programs/locarchive.c (show_archive_content): Take new
8129 argument fname and pass it via ah.fname to open_archive.
8130 * locale/programs/localedef.h: Update decl.
8131 (open_archive): If AH->fname is non-null, open that file
8132 rather than the default file name, and don't ignore ENOENT.
8133 (create_archive): Set AH.fname to NULL.
8134 (delete_locales_from_archive): Likewise.
8135 (add_locales_to_archive): Likewise.
8136 * locale/programs/locfile.c (write_all_categories): Likewise.
8137
3c8325fb
JM
81382013-10-18 Joseph Myers <joseph@codesourcery.com>
8139 Aldy Hernandez <aldyh@redhat.com>
8140
8141 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8142 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8143 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8144 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8145 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8146 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8147 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8148 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8149 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8150 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8151 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8152 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8153 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8154 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8155 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8156 Likewise.
8157 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8158 Likewise.
8159 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8160 Likewise.
8161 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8162 Likewise.
8163 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8164 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8165 Likewise.
8166 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8167 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8168 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8169 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8170 Likewise.
8171 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8172 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8173 * sysdeps/powerpc/preconfigure: Likewise.
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8175 Likewise.
8176 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8177 Replace contents of file by #include of <fenv_libc.h>.
8178 * sysdeps/powerpc/soft-fp/sfp-machine.h
8179 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8180 and <sys/prctl.h>.
8181 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8182 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8194 Allow copysignl PLT reference to be missing.
8195
5abe0682
RS
81962013-10-18 Richard Sandiford <richard@codesourcery.com>
8197 Joseph Myers <joseph@codesourcery.com
8198
8199 [BZ #15948]
8200 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8201 single character.
8202 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8203
c7738d08
SP
82042013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
8206 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8207 * elf/tst-tls1.c: Likewise.
8208 * elf/tst-tls10.h: Likewise.
8209 * elf/tst-tls14.c: Likewise.
8210 * elf/tst-tls2.c: Likewise.
8211 * elf/tst-tls3.c: Likewise.
8212 * elf/tst-tls4.c: Likewise.
8213 * elf/tst-tls5.c: Likewise.
8214 * elf/tst-tls6.c: Likewise.
8215 * elf/tst-tls7.c: Likewise.
8216 * elf/tst-tls8.c: Likewise.
8217 * elf/tst-tls9.c: Likewise.
8218 * elf/tst-tlsmod1.c: Likewise.
8219 * elf/tst-tlsmod13.c: Likewise.
8220 * elf/tst-tlsmod13a.c: Likewise.
8221 * elf/tst-tlsmod14a.c: Likewise.
8222 * elf/tst-tlsmod16a.c: Likewise.
8223 * elf/tst-tlsmod16b.c: Likewise.
8224 * elf/tst-tlsmod2.c: Likewise.
8225 * elf/tst-tlsmod3.c: Likewise.
8226 * elf/tst-tlsmod4.c: Likewise.
8227 * elf/tst-tlsmod5.c: Likewise.
8228 * elf/tst-tlsmod6.c: Likewise.
8229
0bfcf2c7
OB
82302013-10-18 Ondřej Bílka <neleai@seznam.cz>
8231
8232 [BZ #12486]
8233 * malloc/malloc.c: remove checks for statistics.
8234
264aad1e
OB
82352013-10-17 Ondřej Bílka <neleai@seznam.cz>
8236
8237 [BZ #15277]
8238 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8239 * inet/tst-network.c: Add testcase.
8240
b957ced8
AS
82412013-10-17 Andreas Schwab <schwab@suse.de>
8242
8243 [BZ #15218]
8244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8245 to determine canonical name.
8246
c5d5d574
OB
82472013-10-17 Ondřej Bílka <neleai@seznam.cz>
8248
8249 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8250 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8273 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8274 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8307
e5c2c2d0
JM
83082013-10-17 Joseph Myers <joseph@codesourcery.com>
8309
8310 [BZ #16041]
8311 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8312 make result into a quiet NaN.
8313
51ca9e29
JM
83142013-10-16 Joseph Myers <joseph@codesourcery.com>
8315
8316 * soft-fp/adddf3.c: Fix horizontal whitespace.
8317 * soft-fp/addsf3.c: Likewise.
8318 * soft-fp/addtf3.c: Likewise.
8319 * soft-fp/divdf3.c: Likewise.
8320 * soft-fp/divsf3.c: Likewise.
8321 * soft-fp/divtf3.c: Likewise.
8322 * soft-fp/double.h: Likewise.
8323 * soft-fp/eqdf2.c: Likewise.
8324 * soft-fp/eqsf2.c: Likewise.
8325 * soft-fp/eqtf2.c: Likewise.
8326 * soft-fp/extenddftf2.c: Likewise.
8327 * soft-fp/extended.h: Likewise.
8328 * soft-fp/extendsfdf2.c: Likewise.
8329 * soft-fp/extendsftf2.c: Likewise.
8330 * soft-fp/extendxftf2.c: Likewise.
8331 * soft-fp/fixdfdi.c: Likewise.
8332 * soft-fp/fixdfsi.c: Likewise.
8333 * soft-fp/fixdfti.c: Likewise.
8334 * soft-fp/fixsfdi.c: Likewise.
8335 * soft-fp/fixsfsi.c: Likewise.
8336 * soft-fp/fixsfti.c: Likewise.
8337 * soft-fp/fixtfdi.c: Likewise.
8338 * soft-fp/fixtfsi.c: Likewise.
8339 * soft-fp/fixtfti.c: Likewise.
8340 * soft-fp/fixunsdfdi.c: Likewise.
8341 * soft-fp/fixunsdfsi.c: Likewise.
8342 * soft-fp/fixunsdfti.c: Likewise.
8343 * soft-fp/fixunssfdi.c: Likewise.
8344 * soft-fp/fixunssfsi.c: Likewise.
8345 * soft-fp/fixunssfti.c: Likewise.
8346 * soft-fp/fixunstfdi.c: Likewise.
8347 * soft-fp/fixunstfsi.c: Likewise.
8348 * soft-fp/fixunstfti.c: Likewise.
8349 * soft-fp/floatdidf.c: Likewise.
8350 * soft-fp/floatdisf.c: Likewise.
8351 * soft-fp/floatditf.c: Likewise.
8352 * soft-fp/floatsidf.c: Likewise.
8353 * soft-fp/floatsisf.c: Likewise.
8354 * soft-fp/floatsitf.c: Likewise.
8355 * soft-fp/floattidf.c: Likewise.
8356 * soft-fp/floattisf.c: Likewise.
8357 * soft-fp/floattitf.c: Likewise.
8358 * soft-fp/floatundidf.c: Likewise.
8359 * soft-fp/floatundisf.c: Likewise.
8360 * soft-fp/floatunditf.c: Likewise.
8361 * soft-fp/floatunsidf.c: Likewise.
8362 * soft-fp/floatunsisf.c: Likewise.
8363 * soft-fp/floatunsitf.c: Likewise.
8364 * soft-fp/floatuntidf.c: Likewise.
8365 * soft-fp/floatuntisf.c: Likewise.
8366 * soft-fp/floatuntitf.c: Likewise.
8367 * soft-fp/fmadf4.c: Likewise.
8368 * soft-fp/fmasf4.c: Likewise.
8369 * soft-fp/fmatf4.c: Likewise.
8370 * soft-fp/gedf2.c: Likewise.
8371 * soft-fp/gesf2.c: Likewise.
8372 * soft-fp/getf2.c: Likewise.
8373 * soft-fp/ledf2.c: Likewise.
8374 * soft-fp/lesf2.c: Likewise.
8375 * soft-fp/letf2.c: Likewise.
8376 * soft-fp/muldf3.c: Likewise.
8377 * soft-fp/mulsf3.c: Likewise.
8378 * soft-fp/multf3.c: Likewise.
8379 * soft-fp/negdf2.c: Likewise.
8380 * soft-fp/negsf2.c: Likewise.
8381 * soft-fp/negtf2.c: Likewise.
8382 * soft-fp/op-1.h: Likewise.
8383 * soft-fp/op-2.h: Likewise.
8384 * soft-fp/op-4.h: Likewise.
8385 * soft-fp/op-8.h: Likewise.
8386 * soft-fp/op-common.h: Likewise.
8387 * soft-fp/quad.h: Likewise.
8388 * soft-fp/single.h: Likewise.
8389 * soft-fp/soft-fp.h: Likewise.
8390 * soft-fp/sqrtdf2.c: Likewise.
8391 * soft-fp/sqrtsf2.c: Likewise.
8392 * soft-fp/sqrttf2.c: Likewise.
8393 * soft-fp/subdf3.c: Likewise.
8394 * soft-fp/subsf3.c: Likewise.
8395 * soft-fp/subtf3.c: Likewise.
8396 * soft-fp/truncdfsf2.c: Likewise.
8397 * soft-fp/trunctfdf2.c: Likewise.
8398 * soft-fp/trunctfsf2.c: Likewise.
8399 * soft-fp/trunctfxf2.c: Likewise.
8400 * soft-fp/unorddf2.c: Likewise.
8401 * soft-fp/unordsf2.c: Likewise.
8402 * soft-fp/unordtf2.c: Likewise.
8403
9ebb0332
JM
84042013-10-15 Joseph Myers <joseph@codesourcery.com>
8405
8406 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8407 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8408
4b1a6d8b
OB
84092013-10-15 Ondřej Bílka <neleai@seznam.cz>
8410
8411 * elf/dl-libc.c: Clear initfini list after freeing.
8412
1e145589
JM
84132013-10-14 Joseph Myers <joseph@codesourcery.com>
8414
8415 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8416 * soft-fp/addsf3.c: Likewise.
8417 * soft-fp/addtf3.c: Likewise.
8418 * soft-fp/divdf3.c: Likewise.
8419 * soft-fp/divsf3.c: Likewise.
8420 * soft-fp/divtf3.c: Likewise.
8421 * soft-fp/double.h: Likewise.
8422 * soft-fp/eqdf2.c: Likewise.
8423 * soft-fp/eqsf2.c: Likewise.
8424 * soft-fp/eqtf2.c: Likewise.
8425 * soft-fp/extenddftf2.c: Likewise.
8426 * soft-fp/extended.h: Likewise.
8427 * soft-fp/extendsfdf2.c: Likewise.
8428 * soft-fp/extendsftf2.c: Likewise.
8429 * soft-fp/extendxftf2.c: Likewise.
8430 * soft-fp/fixdfdi.c: Likewise.
8431 * soft-fp/fixdfsi.c: Likewise.
8432 * soft-fp/fixdfti.c: Likewise.
8433 * soft-fp/fixsfdi.c: Likewise.
8434 * soft-fp/fixsfsi.c: Likewise.
8435 * soft-fp/fixsfti.c: Likewise.
8436 * soft-fp/fixtfdi.c: Likewise.
8437 * soft-fp/fixtfsi.c: Likewise.
8438 * soft-fp/fixtfti.c: Likewise.
8439 * soft-fp/fixunsdfdi.c: Likewise.
8440 * soft-fp/fixunsdfsi.c: Likewise.
8441 * soft-fp/fixunsdfti.c: Likewise.
8442 * soft-fp/fixunssfdi.c: Likewise.
8443 * soft-fp/fixunssfsi.c: Likewise.
8444 * soft-fp/fixunssfti.c: Likewise.
8445 * soft-fp/fixunstfdi.c: Likewise.
8446 * soft-fp/fixunstfsi.c: Likewise.
8447 * soft-fp/fixunstfti.c: Likewise.
8448 * soft-fp/floatdidf.c: Likewise.
8449 * soft-fp/floatdisf.c: Likewise.
8450 * soft-fp/floatditf.c: Likewise.
8451 * soft-fp/floatsidf.c: Likewise.
8452 * soft-fp/floatsisf.c: Likewise.
8453 * soft-fp/floatsitf.c: Likewise.
8454 * soft-fp/floattidf.c: Likewise.
8455 * soft-fp/floattisf.c: Likewise.
8456 * soft-fp/floattitf.c: Likewise.
8457 * soft-fp/floatundidf.c: Likewise.
8458 * soft-fp/floatundisf.c: Likewise.
8459 * soft-fp/floatunsidf.c: Likewise.
8460 * soft-fp/floatunsisf.c: Likewise.
8461 * soft-fp/floatuntidf.c: Likewise.
8462 * soft-fp/floatuntisf.c: Likewise.
8463 * soft-fp/floatuntitf.c: Likewise.
8464 * soft-fp/fmadf4.c: Likewise.
8465 * soft-fp/fmasf4.c: Likewise.
8466 * soft-fp/fmatf4.c: Likewise.
8467 * soft-fp/gedf2.c: Likewise.
8468 * soft-fp/gesf2.c: Likewise.
8469 * soft-fp/getf2.c: Likewise.
8470 * soft-fp/ledf2.c: Likewise.
8471 * soft-fp/lesf2.c: Likewise.
8472 * soft-fp/letf2.c: Likewise.
8473 * soft-fp/muldf3.c: Likewise.
8474 * soft-fp/mulsf3.c: Likewise.
8475 * soft-fp/multf3.c: Likewise.
8476 * soft-fp/negdf2.c: Likewise.
8477 * soft-fp/negsf2.c: Likewise.
8478 * soft-fp/negtf2.c: Likewise.
8479 * soft-fp/op-1.h: Likewise.
8480 * soft-fp/op-2.h: Likewise.
8481 * soft-fp/op-4.h: Likewise.
8482 * soft-fp/op-8.h: Likewise.
8483 * soft-fp/op-common.h: Likewise.
8484 * soft-fp/quad.h: Likewise.
8485 * soft-fp/single.h: Likewise.
8486 * soft-fp/soft-fp.h: Likewise.
8487 * soft-fp/sqrtdf2.c: Likewise.
8488 * soft-fp/sqrtsf2.c: Likewise.
8489 * soft-fp/sqrttf2.c: Likewise.
8490 * soft-fp/subdf3.c: Likewise.
8491 * soft-fp/subsf3.c: Likewise.
8492 * soft-fp/subtf3.c: Likewise.
8493 * soft-fp/truncdfsf2.c: Likewise.
8494 * soft-fp/trunctfdf2.c: Likewise.
8495 * soft-fp/trunctfsf2.c: Likewise.
8496 * soft-fp/trunctfxf2.c: Likewise.
8497 * soft-fp/unorddf2.c: Likewise.
8498 * soft-fp/unordsf2.c: Likewise.
8499 * soft-fp/unordtf2.c: Likewise.
8500
17c48a60
OB
85012013-10-14 Ondřej Bílka <neleai@seznam.cz>
8502
8503 [BZ #15672]
8504 * misc/error.c (error_tail): Fix possible buffer overflow.
8505
cabba934
OB
85062013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8507
8508 [BZ #13028]
8509 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8510 address.
8511
94bf958a
PM
85122013-10-14 P. J. McDermott <pj@pehjota.net>
8513
8514 [BZ #832]
8515 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8516 testing pipefail option.
8517
71b4dea7
JM
85182013-10-12 Joseph Myers <joseph@codesourcery.com>
8519
8520 * soft-fp/double.h: Indent preprocessor directives inside #if.
8521 * soft-fp/extended.h: Likewise.
8522 * soft-fp/op-2.h: Likewise.
8523 * soft-fp/op-4.h: Likewise.
8524 * soft-fp/op-common.h: Likewise.
8525 * soft-fp/quad.h: Likewise.
8526 * soft-fp/single.h: Likewise.
8527 * soft-fp/soft-fp.h: Likewise.
8528
55602758
YC
85292013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8530
8531 * iconv/iconv_prog.c: Fix typos.
8532 * stdio-common/psiginfo-data.h: Likewise.
8533
9cd83302
RT
85342013-10-12 Reuben Thomas <rrt@sc3d.org>
8535
8536 [BZ #15764]
8537 * locale/setlocale.c: Fix typo.
8538
99fd9f47
JM
85392013-10-12 Joseph Myers <joseph@codesourcery.com>
8540
b7ea74f0
JM
8541 [BZ #16036]
8542 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8543 signaling NaN arguments.
8544 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8545 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8546
8a509447
JM
8547 [BZ #14910]
8548 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8549 unordered operands.
8550 * soft-fp/gesf2.c (__gesf2): Likewise.
8551 * soft-fp/getf2.c (__getf2): Likewise.
8552 * soft-fp/ledf2.c (__ledf2): Likewise.
8553 * soft-fp/lesf2.c (__lesf2): Likewise.
8554 * soft-fp/letf2.c (__letf2): Likewise.
8555
98998e9f
JM
8556 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8557 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8558 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8559 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8560 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8561 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8562 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8563 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8564 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8565 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8566 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8567 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8568 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8569 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8570 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8571 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8572 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8573 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8574 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8575 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8576 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8577 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8578 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8579 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8580 * soft-fp/floattidf.c (__floattidf): Likewise.
8581 * soft-fp/floattisf.c (__floattisf): Likewise.
8582 * soft-fp/floattitf.c (__floattitf): Likewise.
8583 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8584 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8585 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8586 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8587 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8588 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8589 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8590 * soft-fp/gesf2.c (__gesf2): Likewise.
8591 * soft-fp/getf2.c (__getf2): Likewise.
8592 * soft-fp/ledf2.c (__ledf2): Likewise.
8593 * soft-fp/lesf2.c (__lesf2): Likewise.
8594 * soft-fp/letf2.c (__letf2): Likewise.
8595
8edc4a11
JM
8596 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8597 Undefine and redefine.
8598 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8599 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8600 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8601 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8602 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8603 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8604 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8605 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8606 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8607 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8608 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8609 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8610 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8611 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8612 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8613
8399acaf
JM
8614 [BZ #16032]
8615 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8616 without decrementing exponent if mantissa >= that for the
8617 denominator, not >.
8618 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8619 denominator, not >. Decrement exponent in < case instead of
8620 incrementing in >= case.
8621 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8622 without decrementing exponent if mantissa >= that for the
8623 denominator, not >.
8624
99fd9f47
JM
8625 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8626 computing saturated result for unsigned overflow.
8627
10e1cf6b
SP
86282013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8629 Jeff Law <law@redhat.com>
8630
8631 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8632 (atan2Mp): Add systemtap probe marker.
8633 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8634 (__ieee754_log): Add systemtap probe marker.
8635 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8636 (atanMp): Add systemtap probe marker.
8637 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8638 (tanMp): Add systemtap probe marker.
8639 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8640 (__slowexp): Add systemtap probe marker.
8641 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8642 (__slowpow): Add systemtap probe marker.
8643 * manual/probes.texi: Document probes.
8644
3d110c7c
EB
86452013-10-11 Eric Biggers <ebiggers3@gmail.com>
8646
8647 [BZ #15362]
8648 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8649 written.
8650 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8651 written.
8652 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8653 written to buffer but not flushed.
8654 * libio/iofwrite_u.c: Likewise.
8655 * libio/iopadn.c: Return bytes returned even if EOF was
8656 encountered.
8657 * libio/iowpadn.c: Likewise.
8658 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8659 if _IO_padn does not write the whole buffer.
8660 [!COMPILE_WPRINTF] (PAD): Likewise.
8661
75b4202a
DM
86622013-10-10 David S. Miller <davem@davemloft.net>
8663
8664 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8665 directory block.
8666
6c6352e6
JM
86672013-10-10 Joseph Myers <joseph@codesourcery.com>
8668
33b853c3
JM
8669 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8670 instead of FSF address.
8671 * soft-fp/fixdfti.c: Likewise.
8672 * soft-fp/fixsfti.c: Likewise.
8673 * soft-fp/fixtfti.c: Likewise.
8674 * soft-fp/fixunsdfti.c: Likewise.
8675 * soft-fp/fixunssfti.c: Likewise.
8676 * soft-fp/fixunstfti.c: Likewise.
8677 * soft-fp/floattidf.c: Likewise.
8678 * soft-fp/floattisf.c: Likewise.
8679 * soft-fp/floattitf.c: Likewise.
8680 * soft-fp/floatuntidf.c: Likewise.
8681 * soft-fp/floatuntisf.c: Likewise.
8682 * soft-fp/floatuntitf.c: Likewise.
8683 * soft-fp/trunctfxf2.c: Likewise.
8684
6c6352e6
JM
8685 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8686 * soft-fp/fixdfti.c: Likewise.
8687 * soft-fp/fixsfti.c: Likewise.
8688 * soft-fp/fixtfti.c: Likewise.
8689 * soft-fp/fixunsdfti.c: Likewise.
8690 * soft-fp/fixunssfti.c: Likewise.
8691 * soft-fp/fixunstfti.c: Likewise.
8692 * soft-fp/floattidf.c: Likewise.
8693 * soft-fp/floattisf.c: Likewise.
8694 * soft-fp/floattitf.c: Likewise.
8695 * soft-fp/floatuntidf.c: Likewise.
8696 * soft-fp/floatuntisf.c: Likewise.
8697 * soft-fp/floatuntitf.c: Likewise.
8698 * soft-fp/trunctfxf2.c: Likewise.
8699
3bf78b71
DM
87002013-10-10 David S. Miller <davem@davemloft.net>
8701
8702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8703
6f10289e
JM
87042013-10-10 Joseph Myers <joseph@codsourcery.com>
8705
bd878fc0
JM
8706 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8707 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8708 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8709 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8710 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8711 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8712 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8713
6f10289e
JM
8714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8715 for NaNs before doing comparisons on argument.
8716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8717 Likewise.
8718
321e2684
WN
87192013-10-10 Will Newton <will.newton@linaro.org>
8720
8721 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8722 passed to _int_memalign does not overflow.
8723
40fefba1
TR
87242013-10-10 Torvald Riegel <triegel@redhat.com>
8725
8726 * scripts/bench.pl: Add include-sources directive.
8727 * benchtests/README: Update documentation.
8728
2ae21ed2
JM
87292013-10-10 Joseph Myers <joseph@codesourcery.com>
8730
dcc2dd3f
JM
8731 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8732 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8733 instead of FP_INIT_ROUNDMODE.
8734 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8735 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8736
2ae21ed2
JM
8737 [BZ #16034]
8738 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8739 copy class of input value.
8740 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8741 not handle exceptions.
8742 * soft-fp/negsf2.c (__negsf2): Likewise.
8743 * soft-fp/negtf2.c (__negtf2): Likewise.
8744 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8745
cb8f9562
JM
87462013-10-09 Joseph Myers <joseph@codesourcery.com>
8747
8748 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8749 semicolon. From Linux kernel.
8750
5b60c59d
AB
87512013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8752
8753 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8754
b86835ca
YC
87552013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8756
8757 [BZ #156]
8758 * manual/socket.texi: Added statement about buffer
8759 for gethostbyname2_r.
8760
e7044ea7
OB
87612013-10-08 Ondřej Bílka <neleai@seznam.cz>
8762
8763 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8764 Use .p2align directive instead, throughout.
8765 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8766 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8767 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8769 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8770 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8771 * sysdeps/x86_64/strchr.S: Likewise.
8772 * sysdeps/x86_64/strrchr.S: Likewise.
8773
09544cbc
SP
87742013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8775
88576635
SP
8776 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8777
e7b2d1dd
SP
8778 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8779
09544cbc
SP
8780 * sysdeps/generic/math_private.h (__mpsin1): Remove
8781 declaration.
8782 (__mpcos1): Likewise.
8783 (__mpsin): New argument __range_reduce.
8784 (__mpcos): Likewise.
8785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8786 (slow): Use __mpsin and __mpcos.
8787 (slow1): Likewise.
8788 (slow2): Likewise.
8789 (sloww): Likewise.
8790 (sloww1): Likewise.
8791 (sloww2): Likewise.
8792 (bsloww): Likewise.
8793 (bsloww1): Likewise.
8794 (bsloww2): Likewise.
8795 (cslow2): Likewise.
8796 (csloww): Likewise.
8797 (csloww1): Likewise.
8798 (csloww2): Likewise.
8799 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8800 range_reduce. Merge in __mpsin1.
8801 (__mpcos): Likewise.
8802 (__mpsin1): Remove.
8803 (__mpcos1): Likewise.
8804
7602d070
JM
88052013-10-07 Joseph Myers <joseph@codesourcery.com>
8806
8807 * locale/loadlocale.c (_nl_intern_locale_data): Use
8808 LOCFILE_ALIGNED_P.
8809 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8810 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8811 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8812 obstack data is appropriately aligned.
8813 (obstack_int32_grow_fast): Likewise.
8814 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8815 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8816 (add_locale_uint32_array): Likewise.
8817
a357259b
SP
88182013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8819
8820 * benchtests/Makefile: Remove ARGLIST and RET variables.
8821 ($(objpfx)bench-%.c): Pass only function name to the script.
8822 * benchtests/README: Update documentation.
8823 * benchtests/acos-inputs: Add new directives.
8824 * benchtests/acosh-inputs: Likewise.
8825 * benchtests/asin-inputs: Likewise.
8826 * benchtests/asinh-inputs: Likewise.
8827 * benchtests/atan-inputs: Likewise.
8828 * benchtests/atanh-inputs: Likewise.
8829 * benchtests/cos-inputs: Likewise.
8830 * benchtests/cosh-inputs: Likewise.
8831 * benchtests/exp-inputs: Likewise.
8832 * benchtests/log-inputs: Likewise.
8833 * benchtests/pow-inputs: Likewise.
8834 * benchtests/rint-inputs: Likewise.
8835 * benchtests/sin-inputs: Likewise.
8836 * benchtests/sinh-inputs: Likewise.
8837 * benchtests/tan-inputs: Likewise.
8838 * benchtests/tanh-inputs: Likewise.
8839 * scripts/bench.pl: Add support for new directives.
8840
9ec1b13d
AM
88412013-10-07 Alan Modra <amodra@gmail.com>
8842
8843 * README: Fix careless merge.
8844
8b7d57cd
AM
88452013-10-05 Alan Modra <amodra@gmail.com>
8846
8847 * NEWS: Mention powerpc64le support and bugs fixed.
8848 * README: Both big-endian and little-endian powerpc64 supported.
8849
7b7bab13
ST
88502013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8851
8852 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8853 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8854 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8855 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8856
d39baad1
RA
88572013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8858
8859 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8860 match prototype.
8861
cd78f7e7
JM
88622013-10-04 Joseph Myers <joseph@codesourcery.com>
8863
29d73d86
JM
8864 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8865 Move -mhard-float appending from
8866 ports/sysdeps/powerpc/powerpc32/Makefile.
8867 [$(with-fp) = yes] (ASFLAGS): Likewise.
8868 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8869 * sysdeps/powerpc/nofpu: Move directory from
8870 ports/sysdeps/powerpc/nofpu.
8871 * sysdeps/powerpc/soft-fp: Move directory from
8872 ports/sysdeps/powerpc/soft-fp.
8873 * sysdeps/powerpc/powerpc32/405: Move directory from
8874 ports/sysdeps/powerpc/powerpc32/405.
8875 * sysdeps/powerpc/powerpc32/440: Move directory from
8876 ports/sysdeps/powerpc/powerpc32/440.
8877 * sysdeps/powerpc/powerpc32/464: Move directory from
8878 ports/sysdeps/powerpc/powerpc32/464.
8879 * sysdeps/powerpc/powerpc32/476: Move directory from
8880 ports/sysdeps/powerpc/powerpc32/476.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8882 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8884 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8886 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8888 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8890 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8891 * README: Update for powerpc-*-linux-gnu software floating point
8892 support in libc.
8893
e246b347
JM
8894 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8895 case to powerpc/powerpc32*.
8896 * sysdeps/unix/sysv/linux/configure: Regenerated.
8897
89c2003e
JM
8898 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8899 (_FPU_MASK_OM): Define as 0x04.
8900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8902 0x00c10080.
8903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8904 0x0000003c.
8905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8906
cd78f7e7
JM
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8908 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8909 getcontext_e500.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8911 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8912 setcontext_e500.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8914 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8915 and setcontext_e500.
8916
c755294d
CL
89172013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8918
8919 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8920
e16d221c
SP
89212013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8922
8923 * manual/threads.texi (Default Thread Attributes): Fix typo.
8924
215c7d43
WN
89252013-10-04 Will Newton <will.newton@linaro.org>
8926
8927 * malloc/Makefile: Add tst-memalign.
8928 * malloc/tst-memalign.c: New file.
8929
27d0461b
WN
8930 * malloc/tst-posix_memalign.c: Add comments.
8931 (do_test): Add comments and call free on all potentially
8932 allocated pointers. Add space after cast.
8933
1bc92709
WN
8934 * malloc/tst-pvalloc.c: Add comments.
8935 (do_test): Add comments and call free on all potentially
8936 allocated pointers. Remove duplicate check for NULL pointer.
8937 Add space after cast.
8938
66a9be9d
WN
8939 * malloc/tst-valloc.c: Add comments.
8940 (do_test): Add comments and call free on all potentially
8941 allocated pointers. Remove duplicate check for NULL pointer.
8942 Add space after cast.
8943
4cb81307
AM
89442013-10-04 Alan Modra <amodra@gmail.com>
8945
8946 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8947 Use stdint types in rather than __attribute__((mode())).
8948 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8949
f8e3e9f3
AM
89502013-10-04 Alan Modra <amodra@gmail.com>
8951
8952 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8953 Correct handling of unaligned relocs for little-endian.
8954 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8955
8f9ebb08
AM
89562013-10-04 Alan Modra <amodra@gmail.com>
8957
8958 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8959 * configure: Regenerate.
8960 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8961 * shlib-versions: Likewise.
8962
0edf96c2
AM
89632013-10-04 Alan Modra <amodra@gmail.com>
8964
8965 * string/tester.c (test_memrchr): Increment reported test cycle.
8966
e0f7a380
AM
89672013-10-04 Alan Modra <amodra@gmail.com>
8968
8969 * string/test-memcpy.c (do_one_test): When reporting errors, print
8970 string address and don't overrun end of string.
8971
466b0393
AM
89722013-10-04 Alan Modra <amodra@gmail.com>
8973
8974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8975 insrdi. Make better use of reg selection to speed exit slightly.
8976 Schedule entry path a little better. Remove useless "are we done"
8977 checks on entry to main loop. Handle wrapping around zero address.
8978 Correct main loop count. Handle single left-over word from main
8979 loop inline rather than by using loop_small. Remove extra word
8980 case in loop_small caused by wrong loop count. Add little-endian
8981 support.
8982 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8984 cache hint.
8985 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8986 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8987 support. Avoid rlwimi.
8988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8989
3be87c77
AM
89902013-10-04 Alan Modra <amodra@gmail.com>
8991
8992 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8993 insrdi. Formatting.
3be87c77
AM
8994 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8995 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8996 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8997 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8998 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8999 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9000
759cfef3
AM
90012013-10-04 Alan Modra <amodra@gmail.com>
9002
9003 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9004 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9005 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9006 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9007 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9010 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9011 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9012 use of regs. Use power7 mtocrf. Tidy function tails.
9013
fe6e95d7
AM
90142013-10-04 Alan Modra <amodra@gmail.com>
9015
9016 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9017 Formatting. Consistently use rXXX register defines or rN defines.
9018 Use early exit labels that avoid restoring unused non-volatile regs.
9019 Make cr field use more consistent with rWORDn compares. Rename
9020 regs used as shift registers for unaligned loop, using rN defines
9021 for short lifetime/multiple use regs.
9022 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9023 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9024 addi 1,1,64 to pop stack frame. Simplify return value code.
9025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9026
664318c3
AM
90272013-10-04 Alan Modra <amodra@gmail.com>
9028
9029 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9030 support. Correct typos, formatting. Optimize tail. Use insrdi
9031 rather than rlwimi.
9032 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9033 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9034 little-endian support. Correct typos.
9035 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9036 rather than rlwimi.
9037 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9038 in loop and entry code to keep "and." results.
9039 (strchr): Add little-endian support. Comment. Move cntlzd
9040 earlier in tail.
9041 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9042
43b84013
AM
90432013-10-04 Alan Modra <amodra@gmail.com>
9044
9045 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9046 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9047 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9048 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9049
8a7413f9
AM
90502013-10-04 Alan Modra <amodra@gmail.com>
9051
9052 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9053 (rTMP): Define as r11.
9054 (strcmp): Add little-endian support. Optimise tail.
9055 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9056 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9057 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9059 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9061 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9062
33ee81de
AM
90632013-10-04 Alan Modra <amodra@gmail.com>
9064
9065 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9066 little-endian support. Remove unnecessary "are we done" tests.
9067 Handle "s" wrapping around zero and extremely large "size".
9068 Correct main loop count. Handle single left-over word from main
9069 loop inline rather than by using small_loop. Correct comments.
9070 Delete "zero" tail, use "end_max" instead.
9071 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9072
db9b4570
AM
90732013-10-04 Alan Modra <amodra@gmail.com>
9074
9075 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9076 support. Don't branch over align.
9077 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9078 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9079 support. Rearrange tmp reg use to suit. Comment.
9080 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9081
f7c399cf
AM
90822013-10-04 Alan Modra <amodra@gmail.com>
9083
9084 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9085
0b2c2ace
AM
90862013-10-04 Alan Modra <amodra@gmail.com>
9087
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9089 conditional form of branch and link when obtaining pc.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9091
02f04a6c
AM
90922013-10-04 Alan Modra <amodra@gmail.com>
9093
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9095 HIWORD/LOWORD.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9098
9b874b2f
AM
90992013-10-04 Alan Modra <amodra@gmail.com>
9100
9101 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9102 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9103 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9104 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9105 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9106 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9107 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9108 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9109 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9110 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9111
be1e5d31
AB
91122013-10-04 Anton Blanchard <anton@au1.ibm.com>
9113 Alistair Popple <alistair@ozlabs.au.ibm.com>
9114 Alan Modra <amodra@gmail.com>
9115
9116 [BZ #15723]
9117 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9118 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9119 _dl_hwcap access for little-endian.
9120 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9121 destroy vmx regs when saving unaligned.
9122 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9123 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9124 destroy vmx regs when saving unaligned.
9125
fef13a78
AM
91262013-10-04 Alan Modra <amodra@gmail.com>
9127
9128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9129 Don't use a union to pack hi/low value.
9130
76a66d51
AB
91312013-10-04 Anton Blanchard <anton@au1.ibm.com>
9132
9133 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9134 for little-endian.
9135 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9137 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9138 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9139 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9140
6a31fe7f
AM
91412013-10-04 Alan Modra <amodra@gmail.com>
9142
9143 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9144 constants to usual value for .cst8 section, and remove redundant
9145 high address load.
9146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9147 constant for 0x1p52. Load little-endian words of double from
9148 correct stack offsets.
9149
7b88401f
AM
91502013-10-04 Alan Modra <amodra@gmail.com>
9151
9152 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9153 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9154 words of double from correct stack offsets.
9155 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9156 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9157 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9158 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9160 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9162 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9163 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9164 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9165 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9166 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9167 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9168 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9169 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9170 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9171 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9172
9c008155
AM
91732013-10-04 Alan Modra <amodra@gmail.com>
9174
9175 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9176 64-bit int/double union.
9177 (_FPU_SETCW): Likewise.
9178 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9179 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9180
da13146d
AM
91812013-10-04 Alan Modra <amodra@gmail.com>
9182
9183 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9184 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9185
603e8410
AM
91862013-10-04 Alan Modra <amodra@gmail.com>
9187
9188 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9189 use vector int constants.
9190 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9191
4a28b3ca
AB
91922013-10-04 Anton Blanchard <anton@au1.ibm.com>
9193
9194 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9195 array with long long.
9196 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9197 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9198 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9199 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9200 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9201 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9202 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9203 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9204 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9205 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9206 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9207 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9208 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9209
2ca85d2b
AB
92102013-10-04 Anton Blanchard <anton@au1.ibm.com>
9211
9212 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9213 (__signbit): Likewise. Correct for little-endian.
9214 (__signbitl): Call __signbit.
9215 (lrint): Correct for little-endian.
9216 (lrintf): Call lrint.
9217
62a728ae
AM
92182013-10-04 Alan Modra <amodra@gmail.com>
9219
9220 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9221 union 32-bit int array member with 64-bit int array.
9222 (t515, tm256): Double rather than long double.
9223 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9224
32c301df
AM
92252013-10-04 Alan Modra <amodra@gmail.com>
9226
9227 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9228 Delete.
9229 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9231 version of math_ldbl.h.
9232
650ef4bd
AM
92332013-10-04 Alan Modra <amodra@gmail.com>
9234
9235 [BZ #15734], [BZ #15735]
9236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9237 all uses of ieee875 long double macros and unions. Simplify test
9238 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9239 ldbl_extract_mantissa value for ix,iy exponents. Properly
9240 normalize after ldbl_extract_mantissa, and don't add hidden bit
9241 already handled. Don't treat low word of ieee854 mantissa like
9242 low word of IBM long double and mask off bit when testing for
9243 zero.
9244 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9245 all uses of ieee875 long double macros and unions. Simplify tests
9246 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9247 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9248 two1022, instead use their values. Recognise that tests for large
9249 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9250 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9251 Rewrite all uses of ieee875 long double macros and unions. Simplify
9252 test for 0.0L and nan. Correct negation.
9253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9254 ieee875 long double macros and unions. Correct output for large
9255 magnitude x. Correct absolute value calculation.
9256 (__erfcl): Likewise.
9257 * math/libm-test.inc: Add tests for errors discovered in IBM long
9258 double versions of fmodl, remainderl, erfl and erfcl.
9259
765714ca
AM
92602013-10-04 Alan Modra <amodra@gmail.com>
9261
9262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9263 all uses of ieee854 long double macros and unions. Simplify tests
9264 for long doubles that are fully specified by the high double.
9265 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9266 Likewise.
9267 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9268 Remove dead code too.
9269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9270 (__ieee754_ynl): Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9272 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9274 Remove dead code too.
9275 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9279 Simplify.
9280 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9281 Simplify.
9282 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9283 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9285 Comment on variable precision.
9286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9288 Likewise.
9289 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9293 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9294
4ebd120c
AM
92952013-10-04 Alan Modra <amodra@gmail.com>
9296
9297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9299 all uses of ieee854 long double macros and unions.
9300 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9306 Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9309 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9310 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9312 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9313 Simplify sign and nan test too.
9314 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9315 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9318 Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9321 Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9328
1b6adf88
AM
93292013-10-04 Alan Modra <amodra@gmail.com>
9330
9331 * stdio-common/printf_size.c (__printf_size): Don't use
9332 union ieee854_long_double in fpnum union.
9333 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9334 signbit macro to retrieve sign from long double.
9335 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9336 retrieve sign from long double.
9337 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9338 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9339 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9340 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9341 * math/test-misc.c (main): Don't use union ieee854_long_double.
9342
4cf69995
AM
93432013-10-04 Alan Modra <amodra@gmail.com>
9344
9345 [BZ #15680]
9346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9348 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9349 calculation. Remove unnecessary test for denormal exponent.
9350 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9351 Correct handling of denormals. Avoid undefined shift behaviour.
9352 Correct normalisation of low mantissa when low double is denormal.
9353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9354 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9355 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9356 Correct normalisation of low mantissa. Test for overflow of high
9357 mantissa and normalise.
9358 (ldbl_nearbyint): Use more readable constant for two52.
9359 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9360 (__mpn_construct_long_double): Fix test for overflow of high
9361 mantissa and correct normalisation. Avoid undefined shift.
9362
9605ca6c
AM
93632013-10-04 Alan Modra <amodra@gmail.com>
9364
9365 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9366 (union ibm_extended_long_double): Define as an array of ieee754_double.
9367 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9369 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9370 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9374 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9377 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9378
975569d0
JM
93792013-10-03 Joseph Myers <joseph@codesourcery.com>
9380
d3d23756
JM
9381 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9382 page size instead of calling getpagesize.
9383
975569d0
JM
9384 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9385 (LOCFILE_ALIGN_MASK): Likewise.
9386 (LOCFILE_ALIGN_UP): Likewise.
9387 (LOCFILE_ALIGNED_P): Likewise.
9388 * locale/programs/ld-collate.c (collate_output): Use the new
9389 macros instead of __alignof__ (int32_t).
9390 * locale/weight.h (findidx): Likewise.
9391
b1fe1f2b
OB
93922013-10-03 Ondřej Bílka <neleai@seznam.cz>
9393
9394 [BZ #431]
9395 * manual/string.texi: Fix strncat and wcsncat.
9396
5f855e35
BM
93972013-10-03 Brooks Moses <bmoses@google.com>
9398
9399 [BZ #15915]
9400 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9401 * Makerules: ...here, and adjust associated comments.
9402
3cef6009
WN
94032013-10-02 Will Newton <will.newton@linaro.org>
9404
9405 * malloc/Makefile: Add tst-pvalloc.
9406 * malloc/tst-pvalloc.c: New file.
9407
7815420b
WN
94082013-10-02 Will Newton <will.newton@linaro.org>
9409
9410 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9411 improve test coverage.
9412
4868b204
WN
94132013-10-02 Will Newton <will.newton@linaro.org>
9414
9415 * malloc/Makefile: Add tst-posix_memalign.
9416 * malloc/tst-posix_memalign.c: New file.
9417
29c793b3
EB
94182013-10-01 Eric Blake <eblake@redhat.com>
9419
9420 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9421 Use __THROWNL rather than __THROW on static functions.
9422
fd967522
PM
94232013-09-30 Petr Machata <pmachata@redhat.com>
9424
9425 * elf/elf.h (R_AARCH64_ABS16): New macro.
9426 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9427 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9428 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9429 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9430 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9431 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9432 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9433 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9434 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9435 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9436 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9437 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9438 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9439 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9440 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9441 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9442 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9443 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9444 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9445 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9446 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9447 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9448 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9449 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9450 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9451 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9452 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9453 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9454 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9455 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9456 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9457 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9458 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9459 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9460 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9461 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9462 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9463 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9464 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9465 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9466 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9467 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9468 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9469 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9470 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9471 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9472 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9473 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9474 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9475 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9476 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9477 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9478 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9479 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9480 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9481 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9482 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9483 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9484 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9485 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9486 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9487 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9488 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9489 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9490 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9491 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9492 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9493 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9494 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9495 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9496 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9497 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9498 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9499 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9500 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9501 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9502 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9503 (R_AARCH64_TLSDESC_LDR): Likewise.
9504 (R_AARCH64_TLSDESC_ADD): Likewise.
9505 (R_AARCH64_TLSDESC_CALL): Likewise.
9506
b2179107
AS
95072013-09-30 Andreas Schwab <schwab@suse.de>
9508
9509 [BZ #15048]
9510 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9511 the nss database lookup.
9512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9514
47f28d0a
MF
95152013-09-28 Mike Frysinger <vapier@gentoo.org>
9516
9517 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9518
95192013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9520
9521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9522 ${Bash-specific parameter/pattern/string} parameter expansion.
9523 * sysdeps/unix/make-syscalls.sh: Likewise.
9524
f4518a17
KK
95252013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9526
9527 * sysdeps/sh/stackguard-macros.h: New file.
9528
dc1a95c7
OB
95292013-09-26 Ondřej Bílka <neleai@seznam.cz>
9530
9531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9533 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9535 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9536 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9537
5ebbff8f
AZ
95382013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9539
9540 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9541 Fix thread ID register.
9542
4fd2cf9f
JM
95432013-09-25 Joseph Myers <joseph@codesourcery.com>
9544
9545 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9546 [POSIX || UNIX98]: Require rather than permitting all symbols from
9547 <time.h>.
9548 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9549 element of struct sched_param.
9550 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9551 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9552 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9553 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9554 constant.
9555
12c22bc4
OL
95562013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9557
9558 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9559 argument calculation.
9560
a03d8ea7
JM
95612013-09-24 Joseph Myers <joseph@codesourcery.com>
9562
9563 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9564 Expect macro.
9565 [POSIX] (pthread_attr_t): Do not require type.
9566 [POSIX] (pthread_cond_t): Likewise.
9567 [POSIX] (pthread_condattr_t): Likewise.
9568 [POSIX] (pthread_key_t): Likewise.
9569 [POSIX] (pthread_mutex_t): Likewise.
9570 [POSIX] (pthread_mutexattr_t): Likewise.
9571 [POSIX] (pthread_once_t): Likewise.
9572 [POSIX] (pthread_t): Likewise.
9573 [POSIX-based standards] (pthread_atfork): Expect function.
9574
6055173a
JM
95752013-09-24 Joseph Myers <joseph@codesourcery.com>
9576 Richard Sandiford <richard@codesourcery.com>
9577
9578 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9579 (swap_endianness_p): New extern variable.
9580 (set_big_endian): New inline function.
9581 (maybe_swap_uint32): Likewise.
9582 (maybe_swap_uint32_array): Likewise.
9583 (maybe_swap_uint32_obstack): Likewise.
9584 * locale/programs/locfile.c: Include <stdbool.h>.
9585 (swap_endianness_p): New variable.
9586 (add_locale_uint32): Call maybe_swap_uint32.
9587 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9588 (write_locale_data): Call maybe_swap_uint32_array.
9589 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9590 maybe_swap_uint32.
9591 (obstack_int32_grow_fast): Likewise.
9592 (output_weightwc): Call maybe_swap_uint32_obstack.
9593 (collate_output): Likewise.
9594 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9595 (OPT_LITTLE_ENDIAN): Likewise.
9596 (options): Add --little-endian and --big-endian options.
9597 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9598 * locale/programs/locarchive.c: Include "locfile.h".
9599 (GET): New macro.
9600 (SET): Likewise.
9601 (INC): Likewise.
9602 (create_archive): Use the new macros to access fields of
9603 structures directly mapped from or written to locale archives.
9604 (oldlocrecentcmp): Likewise.
9605 (enlarge_archive): Likewise.
9606 (insert_name): Likewise.
9607 (add_alias): Likewise.
9608 (add_locale): Likewise.
9609 (delete_locales_from_archive): Likewise.
9610 (show_archive_content): Likewise.
9611 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9612 locale data.
9613
39bf0bb4
RM
96142013-09-24 Roland McGrath <roland@hack.frob.com>
9615
9616 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9617 http://www.gnu.org/doc/freemanuals.texi.
9618 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9619
f02eed10
WN
96202013-09-24 Will Newton <will.newton@linaro.org>
9621
9622 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9623 macro.
9624
a3a6c312
JM
96252013-09-23 Joseph Myers <joseph@codesourcery.com>
9626
9627 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9628 unsigned char.
9629
107375ac
MR
96302013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9631
9632 * manual/threads.texi (POSIX Threads): Fix a typo.
9633
141f3a77
SP
96342013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9635
303e567a
SP
9636 [BZ #14547]
9637 * string/tst-strcoll-overflow.c: New test case.
9638 * string/Makefile (xtests): Add tst-strcoll-overflow.
9639 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9640 cache if string sizes may cause integer overflow.
9641
141f3a77
SP
9642 [BZ #14547]
9643 * string/strcoll_l.c (coll_seq): New members rule, idx,
9644 save_idx and back_us.
9645 (get_next_seq_nocache): New function.
9646 (do_compare_nocache): New function.
9647 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9648 when malloc fails.
9649
c61b4d41
CD
96502013-09-23 Carlos O'Donell <carlos@redhat.com>
9651
0b1f8e35
CD
9652 [BZ #15754]
9653 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9654 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9655 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9656
c61b4d41
CD
9657 [BZ #15754]
9658 * elf/Makefile (tests): Add tst-ptrguard1.
9659 (tests-static): Add tst-ptrguard1-static.
9660 (tst-ptrguard1-ARGS): Define.
9661 (tst-ptrguard1-static-ARGS): Define.
9662 * elf/tst-ptrguard1.c: New file.
9663 * elf/tst-ptrguard1-static.c: New file.
9664 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9665 * sysdeps/i386/stackguard-macros.h: Likewise.
9666 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9667 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9668 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9669 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9670 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9671 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9672
96732013-09-23 Hector Marco <hecmargi@upv.es>
9674 Ismael Ripoll <iripoll@disca.upv.es>
9675 Carlos O'Donell <carlos@redhat.com>
9676
9677 [BZ #15754]
9678 * sysdeps/generic/stackguard-macros.h: Define
9679 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9680 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9681 Define __pointer_chk_guard_local.
9682 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9683 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9684
f5f4e7b4
VV
96852013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9686
9687 [BZ #15859]
9688 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9689
5bb43a43
AS
96902013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9691
9692 * include/string.h (__ffs): Declare as hidden.
9693 * string/ffs.c (__ffs): Define as hidden.
9694 * sysdeps/i386/ffs.c (__ffs): Likewise.
9695 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9696 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9697 * sysdeps/s390/ffs.c (__ffs): Likewise.
9698 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9699
3ea5be54
AO
97002013-09-20 Alexandre Oliva <aoliva@redhat.com>
9701
ffb89e53
AO
9702 * NEWS: Mention malloc probes.
9703
322dea08
AO
9704 * malloc/arena.c (new_heap): New memory_heap_new probe.
9705 (grow_heap): New memory_heap_more probe.
9706 (shrink_heap): New memory_heap_less probe.
9707 (heap_trim): New memory_heap_free probe.
9708 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9709 (systrim): New memory_sbrk_less probe.
9710 * manual/probes.texi: Document them.
9711
655673f3
AO
9712 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9713 * manual/probes.texi: Document it.
9714
35fed6f1
AO
9715 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9716 (__libc_realloc): Add memory_realloc_retry probe.
9717 (__libc_memalign): Add memory_memalign_retry probe.
9718 (__libc_valloc): Add memory_valloc_retry probe.
9719 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9720 (__libc_calloc): Add memory_calloc_retry probe.
9721 * manual/probes.texi: Document them.
9722
6999d38c
AO
9723 * malloc/arena.c (get_free_list): Add probe
9724 memory_arena_reuse_free_list.
9725 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9726 and memory_arena_reuse.
9727 (arena_get2) [!PER_THREAD]: Likewise.
9728 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9729 memory_arena_reuse_realloc.
9730 * manual/probes.texi: Document them.
9731
0653427f
AO
9732 * malloc/malloc.c (__libc_free): Add
9733 memory_mallopt_free_dyn_thresholds probe.
9734 (__libc_mallopt): Add multiple memory_mallopt probes.
9735 * manual/probes.texi: Document them.
9736
3ea5be54
AO
9737 * malloc/malloc.c: Include stap-probe.h.
9738 (__libc_mallopt): Add memory_mallopt probe.
9739 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9740 * manual/probes.texi: New.
9741 * manual/Makefile (chapters): Add probes.
9742 * manual/threads.texi: Set next node.
9743
e35696c3 97442013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9745
e35696c3
CL
9746 [BZ #15963, #13985]
9747 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9748 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9749 Add `Chinese' to `nan' entry name.
9750
4aafb73c
SP
97512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9752
9753 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9754 (POLYNOMIAL): Likewise.
9755 (TAYLOR_SINCOS): Likewise.
9756 (TAYLOR_SLOW): Likewise.
9757 (__sin): Use TAYLOR_SINCOS.
9758 (__cos): Likewise.
9759 (slow): Use TAYLOR_SLOW.
9760 (sloww): Likewise.
9761 (bsloww): Likewise.
9762 (csloww): Likewise.
9763
d84f25c7
LD
97642013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9765
9766 * stdlib/strtod_l.c: Fix buffer overrun.
9767
5eea0404
SP
97682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9769
7849ff93
SP
9770 * benchtests/Makefile (bench): Add sincos.
9771 * benchtests/bench-sincos.c: New file.
9772
cfa3c886
SP
9773 * math/libm-test.inc (cos_test_data): New test inputs.
9774 (sin_test_data): Likewise.
9775
b348e1e3
SP
9776 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9777 macro.
9778 (__sin): Use it.
9779 (__cos): Likewise.
9780 (slow1): Likewise.
9781 (slow2): Likewise.
9782 (sloww1): Likewise.
9783 (sloww2): Likewise.
9784 (bsloww1): Likewise.
9785 (bsloww2): Likewise.
9786 (cslow2): Likewise.
9787 (csloww1): Likewise.
9788 (csloww2): Likewise.
9789
6cce25f8
SP
9790 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9791 function.
9792 (__sin): Use it.
9793 (__cos): Likewise.
9794
5eea0404
SP
9795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9796 gotos.
9797 (__cos): Likewise.
9798
9c21573c
MR
97992013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9800
9801 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9802 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9803 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9804 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9805 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9806 * elf/cache.c (print_entry): Handle the new cache flags.
9807
24d22e65
JM
98082013-09-18 Joseph Myers <joseph@codesourcery.com>
9809 Aldy Hernandez <aldyh@redhat.com>
9810
9811 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9812 Change condition to [_SOFT_FLOAT].
9813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9825 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9828 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9829 declaration.
9830
d13ef066
JM
98312013-09-18 Joseph Myers <joseph@codesourcery.com>
9832
2e071de0
JM
9833 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9834 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9835 (__longjmp): Use LOAD_GP to load saved GPRs.
9836 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9837 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9838 (__sigsetjmp): Use SAVE_GP to save GPRs.
9839
d13ef066
JM
9840 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9841 Do not append -msoft-float.
9842 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9843
97a0650b
SP
98442013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9845
9846 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9847
11ca09e9
JM
98482013-09-17 Joseph Myers <joseph@codesourcery.com>
9849
9850 [BZ #15966]
9851 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9852 (_FPU_GETCW): Use initial "__" on variable and field names but not
9853 on macro parameter name.
9854 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9855 parentheses around reference to macro parameter.
9856
08ffcf34
RS
98572013-09-13 Richard Sandiford <richard@codesourcery.com>
9858
9859 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9860 prototype.
9861 (ctype_startup): Use uint32_t in cast and sizeof for
9862 ctype->charnames.
9863
ae7080d3
JL
98642013-09-11 Jia Liu <proljc@gmail.com>
9865
9866 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9867 __daddr_t_defined.
9868 [__FreeBSD__]: Likewise.
9869
5905e7b3
OB
98702013-09-11 Ondřej Bílka <neleai@seznam.cz>
9871
9872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9873 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9874 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9875 (strchr): Remove __strchr_sse42 ifunc selection.
9876 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9877 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9878
b987c776
WN
98792013-09-11 Will Newton <will.newton@linaro.org>
9880
9881 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9882 parameter to RES. Remove hardcoded 1000 value.
9883 * benchtests/bench-skeleton.c (main): Pass RES parameter
9884 to TIMING_INIT and multiply result by 1000.
9885
ddf985af
AZ
98862013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9887
9888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9889
ffdd3181
AS
98902013-09-11 Andreas Schwab <schwab@suse.de>
9891
9892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9893 if not defined.
9894 (O_TMPFILE) [__USE_GNU]: Define.
9895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9896 Define.
9897
b73ed247
WN
98982013-09-11 Will Newton <will.newton@linaro.org>
9899
9900 [BZ #15857]
9901 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9902 does not overflow.
9903
55e17aad
WN
99042013-09-11 Will Newton <will.newton@linaro.org>
9905
9906 [BZ #15856]
9907 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9908 does not overflow.
9909
1159a193
WN
99102013-09-11 Will Newton <will.newton@linaro.org>
9911
9912 [BZ #15855]
9913 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9914 does not overflow.
9915
5905e7b3 99162013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9917
9918 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9919 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9923
cdfc721b
AM
99242013-09-10 Allan McRae <allan@archlinux.org>
9925
aa04af00
AM
9926 [BZ #15748]
9927 * manual/arith.texi (Parsing of Floats): Clarify
9928 cross-reference.
9929
cdfc721b
AM
9930 [BZ #15849]
9931 * manual/install.texi (Running make install): Mention
9932 --enable-pt-chown.
9933 * INSTALL: Regenerated.
9934
95e7cf29
MR
99352013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9936
9937 * csu/init-first.c (_init): Remove the !SHARED condition around
9938 FPU control word initialization.
9939 * elf/dl-support.c (_dl_fpu_control): New variable.
9940 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9941 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9942 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9943 * math/test-fpucw-static.c: New file.
9944 * math/test-fpucw-ieee.c: New file.
9945 * math/test-fpucw-ieee-static.c: New file.
9946 * math/Makefile (tests): Add `test-fpucw-ieee' and
9947 `$(tests-static)'.
9948 (tests-static): New variable.
9949 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9950 dependency to...
9951 [($(build-shared),yes)]
9952 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9953 ... this.
9954 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9955 New dependency.
9956
83e43bf0
AM
99572013-09-09 Allan McRae <allan@archlinux.org>
9958
a9f5ce09
AM
9959 [BZ #15939]
9960 * manual/string.texi (Collation Functions): Fix typo in
9961 strcoll example.
9962 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9963
34829bc2
AM
9964 [BZ #15893]
9965 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9966
3932737d
AM
9967 [BZ #15892]
9968 * libio/memstream.c (open_memstream): Fix memory leak.
9969 * libio/wmemstream.c (open_wmemstream): Likewise.
9970
83e43bf0
AM
9971 [BZ #15895]
9972 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9973
0c66b8e9
WN
99742013-09-09 Will Newton <will.newton@linaro.org>
9975
9976 * malloc/Makefile: Add tst-realloc to tests.
9977 * malloc/tst-realloc.c: New file.
9978
f6b00fd1
AM
99792013-09-09 Allan McRae <allan@archlinux.org>
9980
9981 [BZ #15844]
9982 * COPYING: Update from GNU website to fix FSF address.
9983 * COPYING.LIB: Likewise.
9984
eec55e16
DM
99852013-09-06 David S. Miller <davem@davemloft.net>
9986
9987 * po/zh_TW.po: Update Chinese (traditional) translation from
9988 translation project.
9989
1ecbb381
RS
99902013-09-06 Richard Sandiford <richard@codesourcery.com>
9991 Joseph Myers <joseph@codesourcery.com>
9992
9993 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9994 "localeinfo.h".
9995 (obstack_chunk_alloc): New macro.
9996 (obstack_chunk_free): Likewise.
9997 (record_offset): New function.
9998 (init_locale_data): Likewise.
9999 (align_locale_data): Likewise.
10000 (add_locale_empty): Likewise.
10001 (add_locale_raw_data): Likewise.
10002 (add_locale_raw_obstack): Likewise.
10003 (add_locale_string): Likewise.
10004 (add_locale_wstring): Likewise.
10005 (add_locale_uint32): Likewise.
10006 (add_locale_uint32_array): Likewise.
10007 (add_locale_char): Likewise.
10008 (start_locale_structure): Likewise.
10009 (end_locale_structure): Likewise.
10010 (start_locale_prelude): Likewise.
10011 (end_locale_prelude): Likewise.
10012 (write_locale_data): Take locale_file structure rather than an
10013 iovec.
10014 * locale/programs/locfile.h: Include "obstack.h".
10015 (struct locale_file): Change to store locale file contents instead
10016 of header.
10017 (init_locale_data): New prototype.
10018 (align_locale_data): Likewise.
10019 (add_locale_empty): Likewise.
10020 (add_locale_raw_data): Likewise.
10021 (add_locale_raw_obstack): Likewise.
10022 (add_locale_string): Likewise.
10023 (add_locale_wstring): Likewise.
10024 (add_locale_uint32): Likewise.
10025 (add_locale_uint32_array): Likewise.
10026 (add_locale_char): Likewise.
10027 (start_locale_structure): Likewise.
10028 (end_locale_structure): Likewise.
10029 (start_locale_prelude): Likewise.
10030 (end_locale_prelude): Likewise.
10031 (write_locale_data): Update prototype.
10032 * locale/programs/3level.h (struct TABLE): Remove result field.
10033 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10034 Use new locale_file interface.
10035 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10036 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10037 * locale/programs/ld-address.c (address_output): Use new
10038 locale_file interface.
10039 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10040 NO_ADD_LOCALE.
10041 (collate_finish): Don't call collseq_table_finalize.
10042 (collate_output): Use new locale_file interface.
10043 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10044 in file.
10045 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10046 (TABLE): Move defines earlier in file.
10047 (ELEMENT): Likewise.
10048 (DEFAULT): Likewise.
10049 (wctrans_table_add): Move macro and inline function earlier in
10050 file.
10051 (struct wctype_table): Move type earlier in file.
10052 (add_locale_wctype_table): New static prototype.
10053 (struct locale_ctype_t): Use logical types instead of struct iovec
10054 pointers for members.
10055 (ctype_output): Use new locale_file interface.
10056 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10057 new locale_file interface.
10058 (allocate_arrays): Update for use of new locale_file interface.
10059 * locale/programs/ld-identification.c (identification_output): Use
10060 new locale_file interface.
10061 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10062 * locale/programs/ld-messages.c (messages_output): Likewise.
10063 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10064 * locale/programs/ld-name.c (name_output): Likewise.
10065 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10066 * locale/programs/ld-paper.c (paper_output): Likewise.
10067 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10068 * locale/programs/ld-time.c (time_output): Likewise.
10069
e029e2e5
AZ
100702013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10071
10072 * benchtests/Makefile: Add memrchr benchmark.
10073 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10074 benchmark as memrchr.
10075 * benchtests/bench-memrchr-ifunc.c: New file.
10076 * benchtests/bench-memrchr.c: New file.
10077
bbf6e8e4
WN
100782013-09-06 Will Newton <will.newton@linaro.org>
10079
10080 * benchtests/Makefile (string-bench): Add memcpy.
10081
6c82a2f8
CD
100822013-09-05 Carlos O'Donell <carlos@redhat.com>
10083 Cong Wang <amwang@redhat.com>
10084
e732c5f0 10085 [BZ #15850]
6c82a2f8
CD
10086 * sysdeps/unix/sysv/linux/bits/in.h
10087 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10088 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10089 before __USE_KERNEL_IPV6_DEFS uses.
10090 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10091 IPPROTO_BEETPH.
10092 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10093 sockaddr_in6, or ipv6_mreq.
10094
5430fc65
AZ
100952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10096
10097 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10098 memory access for final bytes in some large inputs.
10099 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10100
4660856c
AZ
101012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10102
10103 * string/test-memrchr.c: New file.
10104 * string/test-memrchr-ifunc.c: New file.
10105 * string/Makefile: Add new memrchr testcase.
10106
bb8ea713
MF
101072013-09-05 Mike Frysinger <vapier@gentoo.org>
10108
10109 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10110 fanotify_init returns EPERM.
10111
b92a20b5
JM
101122013-09-04 Joseph Myers <joseph@codesourcery.com>
10113
10114 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10115 errors.
10116 (top level): Treat second token from macro or constant entries for
10117 allowed headers as allowed.
10118 * include/complex.h: Condition internal declarations on
10119 [!_ISOMAC].
10120 * include/fenv.h: Condition include of <stdbool.h> and internal
10121 declarations on [!_ISOMAC].
7447ccd9
CL
10122
101232013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10124
3e181dda 10125 [BZ #15923]
7447ccd9
CL
10126 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10127
3f2e46a4
JM
101282013-09-04 Joseph Myers <joseph@codesourcery.com>
10129
10130 * configure.in (--enable-versioning): Remove configure option.
10131 (libc_cv_asm_symver_directive): Remove configure test.
10132 (libc_cv_ld_version_script_option): Likewise.
10133 (VERSIONING): Remove variable and AC_SUBST.
10134 (DO_VERSIONING): Remove AC_DEFINE.
10135 * configure: Regenerated.
10136 * config.h.in (DO_VERSIONING): Remove macro.
10137 * Makerules [$(versioning) = yes]: Change conditionals to
10138 [$(build-shared) = yes].
10139 * config.make.in (versioning): Remove variable.
10140 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10141 [$(build-shared) = yes].
10142 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10143 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10144 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10145 [$(build-shared) = yes].
10146 * extra-lib.mk [$(versioning) = yes]: Likewise.
10147 * hurd/Makefile [$(versioning) = yes]: Likewise.
10148 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10149 [SHARED].
10150 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10151 [SHARED].
10152 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10153 [SHARED && !NO_HIDDEN].
10154 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10155 [SHARED].
10156 [SHARED && DO_VERSIONING]: Likewise..
10157 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10158 [$(build-shared) = yes].
10159 * manual/install.texi (--disable-versioning): Remove
10160 documentation.
10161 * INSTALL: Regenerated.
10162 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10163 to [SHARED].
10164 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10165 [$(build-shared) = yes].
10166 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10167 * sysdeps/i386/i686/multiarch/strstr-c.c
10168 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10169 [SHARED && !NO_HIDDEN].
10170 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10171 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10172 * sysdeps/powerpc/powerpc32/dl-machine.c
10173 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10174 * sysdeps/powerpc/powerpc32/sysdep.h
10175 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10176 to [SHARED && PIC && !NO_HIDDEN].
10177 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10178 conditional to [SHARED].
10179
44558701
WN
101802013-09-04 Will Newton <will.newton@linaro.org>
10181
10182 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10183 * benchtests/bench-string.h: Include bench-timing.h instead
10184 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10185 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10186 call to HP_TIMING_DIFF_INIT.
10187 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10188 instead of hp-timing.h macros.
10189 * benchtests/bench-memchr.c: Likewise.
10190 * benchtests/bench-memcmp.c: Likewise.
10191 * benchtests/bench-memcpy.c: Likewise.
10192 * benchtests/bench-memmem.c: Likewise.
10193 * benchtests/bench-memmove.c: Likewise.
10194 * benchtests/bench-memset.c: Likewise.
10195 * benchtests/bench-rawmemchr.c: Likewise.
10196 * benchtests/bench-strcasecmp.c: Likewise.
10197 * benchtests/bench-strcasestr.c: Likewise.
10198 * benchtests/bench-strcat.c: Likewise.
10199 * benchtests/bench-strchr.c: Likewise.
10200 * benchtests/bench-strcmp.c: Likewise.
10201 * benchtests/bench-strcpy.c: Likewise.
10202 * benchtests/bench-strcpy_chk.c: Likewise.
10203 * benchtests/bench-strlen.c: Likewise.
10204 * benchtests/bench-strncasecmp.c: Likewise.
10205 * benchtests/bench-strncat.c: Likewise.
10206 * benchtests/bench-strncmp.c: Likewise.
10207 * benchtests/bench-strncpy.c: Likewise.
10208 * benchtests/bench-strnlen.c: Likewise.
10209 * benchtests/bench-strpbrk.c: Likewise.
10210 * benchtests/bench-strrchr.c: Likewise.
10211 * benchtests/bench-strspn.c: Likewise.
10212 * benchtests/bench-strstr.c: Likewise.
10213
cae16d66
WN
102142013-09-04 Will Newton <will.newton@linaro.org>
10215
10216 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10217
ffa3cd7f
JM
102182013-09-03 Joseph Myers <joseph@codesourcery.com>
10219
10220 [BZ #15427]
10221 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10222 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10223 * math/libm-test.inc (lgamma_test_data): Add more tests.
10224 * sysdeps/i386/fpu/libm-test-ulps: Update.
10225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10226
8f02859f
OB
102272013-09-03 Ondřej Bílka <neleai@seznam.cz>
10228
10229 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10231 Add ifunc.
10232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10233 Add strcmp-sse2-unaligned
10234 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10235
18d43716
MF
102362013-09-02 Mike Frysinger <vapier@gentoo.org>
10237
10238 * Versions.def (libc): Add GLIBC_2.19.
10239
ac444012
MF
102402013-09-02 Mike Frysinger <vapier@gentoo.org>
10241
10242 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10243 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10244
b7835e32
JM
102452013-09-02 Joseph Myers <joseph@codesourcery.com>
10246
10247 [BZ #14155]
10248 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10249 intermediate calculations in recurrence.
10250 (__ieee754_ynf): Likewise.
10251 * math/libm-test.inc (jn_test_data): Do not allow spurious
10252 underflow exception. Add more tests.
10253 (yn_test_data): Add more tests.
10254 * sysdeps/i386/fpu/libm-test-ulps: Update.
10255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10256
8220f4f0
OB
102572013-09-02 Ondřej Bílka <neleai@seznam.cz>
10258
10259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10260
f24a6d08
OB
102612013-08-30 Ondřej Bílka <neleai@seznam.cz>
10262
10263 * csu/init-first.c: Fix then/than typos.
10264 * locale/programs/ld-collate.c: Likewise.
10265 * locale/programs/linereader.h: Likewise.
10266 * manual/charset.texi: Likewise.
10267 * manual/filesys.texi: Likewise.
10268 * manual/stdio.texi: Likewise.
10269 * manual/string.texi: Likewise.
10270 * stdlib/fmtmsg.c: Likewise.
10271 * sysdeps/i386/stpncpy.S: Likewise.
10272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10273 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10275 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10276
382466e0
OB
102772013-08-30 Ondřej Bílka <neleai@seznam.cz>
10278
10279 * elf/dl-open.c: Fix typos.
10280 * iconvdata/gbbig5.c: Likewise.
10281 * iconvdata/iso-2022-jp.c: Likewise.
10282 * iconv/gconv_int.h: Likewise.
10283 * iconv/loop.c: Likewise.
10284 * nis/rpcsvc/nis.h: Likewise.
10285 * resolv/ns_name.c: Likewise.
10286 * stdio-common/vfscanf.c: Likewise.
10287 * streams/stropts.h: Likewise.
10288 * sunrpc/rpc_thread.c: Likewise.
10289 * sysdeps/i386/strpbrk.S: Likewise.
10290 * sysdeps/ieee754/k_standard.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10293 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10294 * sysdeps/mach/hurd/profil.c: Likewise.
10295 * sysdeps/s390/dl-procinfo.h: Likewise.
10296 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10298 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10299 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10301
0186c6e9
OB
103022013-08-30 Ondřej Bílka <neleai@seznam.cz>
10303
10304 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10306
d4e16af1
OB
103072013-08-29 Ondřej Bílka <neleai@seznam.cz>
10308
10309 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10310 aix specific files.
10311 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10314 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10315 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10316 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10319
88335980
TS
103202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10321 Roland McGrath <roland@hack.frob.com>
10322
10323 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10324 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10325
ed479b02
ST
103262013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10327
10328 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10329 __executable_start symbol instead of _start.
10330
f1cc4c86
TS
103312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10332
d821f07c
TS
10333 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10334 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10335 Move macros to...
10336 * sysdeps/gnu/ldsodefs.h: ... this new file.
10337
c54290cf
TS
10338 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10339 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10340 instead of ELFOSABI_LINUX.
10341
0007fc9b 10342 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10343 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10344 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10345 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10346 Likewise.
10347 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10348 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10350 Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10352 (ibm_extended_long_double): Add ieee_nan member.
10353 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10354 (do_test): New function.
10355
f1cc4c86
TS
10356 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10357 TEST_TRUNC.
10358 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10359 functions, renamed from truncdfsf_test, trunctfsf_test,
10360 trunctfdf_test.
10361 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10362 functions.
10363 (do_test): Run all these.
10364
6f65e668
OB
103652013-08-29 Ondřej Bílka <neleai@seznam.cz>
10366
10367 * argp/argp-help.c: Fix typos.
10368 * argp/argp-parse.c: Likewise.
10369 * debug/backtracesyms.c: Likewise.
10370 * elf/elf.h: Likewise.
10371 * malloc/malloc.c: Likewise.
10372 * nis/nis_print.c: Likewise.
10373 * resolv/res_comp.c: Likewise.
10374 * stdlib/stdlib.h: Likewise.
10375 * sunrpc/clnt_tcp.c: Likewise.
10376 * sunrpc/clnt_udp.c: Likewise.
10377 * sunrpc/clnt_unix.c: Likewise.
10378 * sysdeps/unix/bsd/ptsname.c: Likewise.
10379 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10382 Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10384 Likewise.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10386 Likewise.
6f65e668
OB
10387 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10388
3a309239
SP
103892013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10390
10391 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10393
3b813b29
MF
103942013-08-27 Mike Frysinger <vapier@gentoo.org>
10395
10396 [BZ #15897]
10397 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10398 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10399 ($(objpfx)bug-dl-leaf): New rule.
10400 ($(objpfx)bug-dl-leaf.so): Likewise.
10401 ($(objpfx)bug-dl-leaf.out): Likewise.
10402 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10403 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10404 * dlfcn/bug-dl-leaf.c: New test.
10405 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10406 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10407 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10408 (dlclose): Likewise.
10409 (dlmopen): Likewise.
10410
8cc3269f
RM
104112013-08-27 Roland McGrath <roland@hack.frob.com>
10412
7f9d0034
RM
10413 * include/netdb.h [!_ISOMAC]:
10414 Don't include <tls.h>.
10415 (h_errno, __libc_h_errno): Move declaration and macros out of
10416 [_LIBC_REENTRANT].
10417
fb431262
RM
10418 * include/resolv.h [_RESOLV_H_]:
10419 Don't include <tls.h>.
10420 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10421 * resolv/res_libc.c: Don't include <tls.h>.
10422 (_res): Use __attribute__ ((nocommon)) in place of
10423 __attribute__ ((section (".bss"))).
10424
bd81123a
RM
10425 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10426 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10427
c4e42566
RM
10428 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10429
f890a59b
RM
10430 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10431 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10432
10433 * resolv/res_mkquery.c: Include <sys/time.h>.
10434
5d1f0a09
RM
10435 * inet/ifreq.c: Moved to ...
10436 * sysdeps/unix/ifreq.c: ... here.
10437 * inet/ifreq.c: New file, true stub version.
10438
6fcf28b3
RM
10439 * socket/sa_len.c: New file.
10440 * socket/Makefile (aux): Add it.
10441 * sysdeps/unix/sysv/linux/Makefile
10442 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10443 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10444 and #include <socket/sa_len.c>.
10445 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10446 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10447
e041fb8b
RM
10448 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10449 * bits/socket.h: ... here.
10450
8cc3269f
RM
10451 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10452 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10453 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10454
5d228a43
AS
104552013-08-27 Andreas Schwab <schwab@suse.de>
10456
45b8accc
AS
10457 [BZ #15736]
10458 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10459 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10460 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10461 * string/test-strcasecmp.c (test_main): Run tests in several
10462 locales.
10463 * string/test-strncasecmp.c (test_main): Likewise.
10464
5d228a43
AS
10465 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10466 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10467 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10469 (__strncasecmp_ssse3) [PIC]: Likewise.
10470
59d112a4
RM
104712013-08-26 Roland McGrath <roland@hack.frob.com>
10472
53234cc3
RM
10473 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10474
59d112a4
RM
10475 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10476 instead of explicitly declaring xdecrypt.
10477 * nis/nss_nis/nis-publickey.c: Likewise.
10478
595aba70
SP
104792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10480
10481 [BZ #15890]
10482 * nscd/aicache.c: Include res_hconf.h.
10483 (addhstaiX): Initialize res_hconf.
10484
ffabd393
AS
104852013-08-26 Andreas Schwab <schwab@suse.de>
10486
10487 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10488 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10489
e0a69f5c
SP
104902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
10492 * nscd/aicache.c (addhstaiX): Fix indentation.
10493
8c12f01d
MF
104942013-08-25 Mike Frysinger <vapier@gentoo.org>
10495
10496 * configure.ac: Quote $build_pt_chown test.
10497 * configure: Regenerated.
10498
8fe89494
JM
104992013-08-23 Joseph Myers <joseph@codesourcery.com>
10500
10501 [BZ #15532]
10502 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10503 * math/s_cexpf.c (__cexpf): Likewise.
10504 * math/s_cexpl.c (__cexpl): Likewise.
10505 * math/libm-test.inc (cexp_test_data): Correct expected return
10506 value for NaN + i0. Add another test.
10507
75b181d6
DM
105082013-08-22 David S. Miller <davem@davemloft.net>
10509
10510 * po/ca.po: Update Catalan translation from translation project.
936241e4 10511 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10512
acd06bb1
JM
105132013-08-21 Joseph Myers <joseph@codesourcery.com>
10514
10515 [BZ #15797]
10516 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10517 is infinite, not alongside NaN test.
10518 * math/s_fdimf.c (__fdimf): Likewise.
10519 * math/s_fdiml.c (__fdiml): Likewise.
10520 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10521 errno is unchanged.
10522
c0c3f78a
OB
105232013-08-21 Ondřej Bílka <neleai@seznam.cz>
10524
10525 * argp/argp-help.c: Fix typos.
10526 * crypt/speeds.c: Likewise.
10527 * csu/check_fds.c: Likewise.
10528 * elf/dl-load.c: Likewise.
10529 * elf/dl-open.c: Likewise.
10530 * elf/reldep3.c: Likewise.
10531 * elf/reldep.c: Likewise.
10532 * elf/sprof.c: Likewise.
10533 * iconv/iconv_charmap.c: Likewise.
10534 * iconv/skeleton.c: Likewise.
10535 * iconv/strtab.c: Likewise.
10536 * io/lockf64.c: Likewise.
10537 * libio/libioP.h: Likewise.
10538 * resolv/gai_notify.c: Likewise.
10539 * resolv/ns_name.c: Likewise.
10540 * resolv/ns_samedomain.c: Likewise.
10541 * resolv/res_send.c: Likewise.
10542 * stdlib/random.c: Likewise.
10543 * sunrpc/rpc/xdr.h: Likewise.
10544 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10545 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10547 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10549 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10552 * sysdeps/mach/hurd/check_fds.c: Likewise.
10553 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10554 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10555 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10556 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10557 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10558 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10559 * sysdeps/pthread/aio_notify.c: Likewise.
10560 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10561 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10562 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10563 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10564 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10565
46ed1038
LD
105662013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10567
10568 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10569 version if bit_Slow_SSE4_2 is set.
10570 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10571 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10572
d400dcac
AZ
105732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10574
10575 [BZ #15867]
10576 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10577 trampoline stack frame information.
10578 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10579 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10580 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10581 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10582 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10583 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10584 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10585 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10586 sa_flags value.
10587 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10588 interrupting a syscall and set with option SA_SIGINFO.
10589
42c8fdd8
JM
105902013-08-20 Joseph Myers <joseph@codesourcery.com>
10591
c980f2f4
JM
10592 [BZ #15531]
10593 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10594 argument is infinite.
10595 * math/s_cprojf.c (__cprojf): Likewise.
10596 * math/s_cprojl.c (__cprojl): Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10598 * math/libm-test.inc (cproj_test_data): Add more tests.
10599
0716c4fc
JM
10600 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10601
42c8fdd8
JM
10602 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10603 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10604 size. Use __ffs to determine corresponding shift.
10605
b31469d0
JM
106062013-08-20 Joseph Myers <joseph@codesourcery.com>
10607 Roland McGrath <roland@hack.frob.com>
10608
10609 * Makefile (INSTALL): Remove trailing blank lines from output of
10610 makeinfo.
10611
4e39af6e
AK
106122013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10613
10614 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10615 Align 32 bit compat elf_greg to 8 bytes.
10616
f315524e
AA
106172013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10618
10619 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10620
1326ba1a
SP
106212013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10622
10623 * string/strcoll_l.c (coll_seq): New structure.
10624 (get_next_seq_cached): New function.
10625 (get_next_seq): New function.
10626 (do_compare): New function.
10627 (STRCOLL): Use GNU style definition. Simplify implementation
10628 by using get_next_seq, get_next_seq_cached and do_compare.
10629
91ce4085
FW
106302013-08-16 Florian Weimer <fweimer@redhat.com>
10631
10632 [BZ #14699]
10633 CVE-2013-4237
10634 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10635 member.
10636 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10637 member.
10638 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10639 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10640 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10641 conditional.
10642 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10643 GETDENTS_64BIT_ALIGNED.
10644 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10645 * manual/filesys.texi (Reading/Closing Directory): Document
10646 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10647 strongly.
10648 * manual/conf.texi (Limits for Files): Add portability note to
10649 NAME_MAX, PATH_MAX.
10650 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10651
ca0a6bc4
AS
106522013-08-13 Andreas Schwab <schwab@suse.de>
10653
10654 [BZ #15749]
10655 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10656 of fabs.
10657 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10658 LDBL_MAX_EXP >= 16384]: Add tests for it.
10659
6c1fd795
DM
106602013-08-12 David S. Miller <davem@davemloft.net>
10661
10662 * version.h (RELEASE): Set to "development".
10663 (VERSION): Set to "2.18.90".
10664 * NEWS: Add 2.19 section.
10665
31ad488d
DM
106662013-08-03 David S. Miller <davem@davemloft.net>
10667
10668 * po/ko.po: Update Korean translation from translation project.
10669
db24e684
DM
106702013-08-01 David S. Miller <davem@davemloft.net>
10671
10672 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10673 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10674 Bilka.
10675
f723285b
DM
106762013-07-30 David S. Miller <davem@davemloft.net>
10677
10678 * po/fr.po: Update French translation from translation project.
10679
3cbc52db
DM
106802013-07-28 David S. Miller <davem@davemloft.net>
10681
30bbc0cc
DM
10682 * po/cs.po: Update Czech translation from translation project.
10683
3cbc52db
DM
10684 * po/sv.po: Update Swedish translation from translation project.
10685
d492e6d0
DM
106862013-07-27 David S. Miller <davem@davemloft.net>
10687
f1a7f492
DM
10688 * po/eo.po: Update Esperanto translation from translation project.
10689
90e62a4a
DM
10690 * po/vi.po: Update Vietnamese translation from translation project.
10691
d492e6d0
DM
10692 * po/de.po: Update German translation from translation project.
10693
d4baa62d
DM
106942013-07-26 David S. Miller <davem@davemloft.net>
10695
641aa7b4
DM
10696 * po/bg.po: Update Bulgarian translation from translation project.
10697
d4baa62d
DM
10698 * po/nl.po: Update Dutch translation from translation project.
10699 * po/pl.po: Update Polish translation from translation project.
10700 * po/ru.po: Update Russian translation from translation project.
10701
61a9dcb9
DM
107022013-07-24 David S. Miller <davem@davemloft.net>
10703
10704 * po/libc.pot: Update.
10705
7b1f8b58
AZ
107062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10707
10708 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10709 variable page size.
10710 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10711 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10712 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10713
a8fc7a03
AK
107142013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10715
10716 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10717
e4608715
CD
107182013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10719 Andreas Schwab <schwab@suse.de>
10720 Roland McGrath <roland@hack.frob.com>
10721 Joseph Myers <joseph@codesourcery.com>
10722 Carlos O'Donell <carlos@redhat.com>
10723
10724 [BZ #15755]
10725 * config.h.in: Define HAVE_PT_CHOWN.
10726 * config.make.in (build-pt-chown): New variable.
10727 * configure.in (--enable-pt_chown): New configure option.
10728 * configure: Regenerate.
10729 * login/Makefile: Include Makeconfig. Build pt_chown only if
10730 build-pt-chown is enabled.
10731 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10732 pt_chown to fix pty ownership.
10733 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10734 CLOSE_ALL_FDS.
10735 * manual/install.texi (Configuring and compiling): Mention
10736 --enable-pt_chown. Add @findex for grantpt.
10737 * INSTALL: Regenerate.
10738
da2d62df
DM
107392013-07-20 David S. Miller <davem@davemloft.net>
10740
10741 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10742 difference between 32-bit and 64-bit.
10743
d7e06450
CD
107442013-07-15 Carlos O'Donell <carlos@redhat.com>
10745
10746 [BZ #15711]
10747 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10748 Avoid system header dependency with -ffreestanding.
10749 ($(objpfx)bits/syscall%d): Likewise.
10750
f959cfd7
DM
107512013-07-13 David S. Miller <davem@davemloft.net>
10752
10753 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10754 underflows from atanl/atan2l due to bug 15319.
10755 (casinh_test_data): Likewise.
10756
c61f8513
DM
107572013-07-07 David S. Miller <davem@davemloft.net>
10758
10759 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10760
72c90ed0
JA
107612013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10762
10763 * sysdeps/i386/fpu/libm-test-ulps: Update.
10764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10765
52dfbe13
SP
107662013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10767
10768 * configure.in (--enable-lock-elision): Fix message text.
10769 * INSTALL: Regenerate.
10770 * configure: Regenerate.
10771
3f169543
AZ
107722013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10773
10774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10775
521c6785
AJ
107762013-07-03 Andreas Jaeger <aj@suse.de>
10777
10778 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10779 define.
10780 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10781 (ptrace_peeksiginfo_args): Add.
10782 (__ptrace_peeksiginfo_flags): Add.
10783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10786
d2cc15cb
AM
107872013-07-03 Allan McRae <allan@archlinux.org>
10788
10789 * sysdeps/i386/fpu/libm-test-ulps: Update.
10790
3aaeeca7
DM
107912013-07-02 David S. Miller <davem@davemloft.net>
10792
10793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10794
5314ed1a
MT
107952013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10796
10797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10798
67338156
JM
107992013-07-02 Joseph Myers <joseph@codesourcery.com>
10800
10801 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10803
1717da59
AK
108042013-07-02 Andi Kleen <ak@linux.intel.com>
10805
10806 * config.h.in (ENABLE_LOCK_ELISION): Add.
10807 * configure.in (--enable-lock-elision): Add option.
10808 * manual/install.texi: Document --enable lock elision.
10809 * configure: Regenerate
10810 * INSTALL: Regenerate.
10811
1c81621c
L
108122013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10815 SSE4.2 strcasecmp for libc.a.
10816 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10817
77f01ab5
JM
108182013-07-02 Joseph Myers <joseph@codesourcery.com>
10819
10820 [BZ #13304]
10821 * soft-fp/op-common.h (_FP_FMA): New macro.
10822 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10823 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10824 (_FP_MUL_MEAT_1_imm): ... here.
10825 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10826 (_FP_MUL_MEAT_1_wide): ... here.
10827 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10828 (_FP_MUL_MEAT_1_hard): ... here.
10829 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10830 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10831 (_FP_MUL_MEAT_2_wide): ... here.
10832 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10833 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10834 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10835 (_FP_MUL_MEAT_2_gmp): ... here.
10836 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10837 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10838 (_FP_MUL_MEAT_4_wide): ... here.
10839 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10840 (_FP_MUL_MEAT_4_gmp): ... here.
10841 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10842 (_FP_WFRACBITS_DW_S): Likewise.
10843 (_FP_WFRACXBITS_DW_S): Likewise.
10844 (_FP_HIGHBIT_DW_S): Likewise.
10845 (FP_FMA_S): Likewise.
10846 (_FP_FRAC_HIGH_DW_S): Likewise.
10847 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10848 (_FP_WFRACBITS_DW_D): Likewise.
10849 (_FP_WFRACXBITS_DW_D): Likewise.
10850 (_FP_HIGHBIT_DW_D): Likewise.
10851 (FP_FMA_D): Likewise.
10852 (_FP_FRAC_HIGH_DW_D): Likewise.
10853 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10854 (_FP_WFRACBITS_DW_E): Likewise.
10855 (_FP_WFRACXBITS_DW_E): Likewise.
10856 (_FP_HIGHBIT_DW_E): Likewise.
10857 (FP_FMA_E): Likewise.
10858 (_FP_FRAC_HIGH_DW_E): Likewise.
10859 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10860 (_FP_WFRACBITS_DW_Q): Likewise.
10861 (_FP_WFRACXBITS_DW_Q): Likewise.
10862 (_FP_HIGHBIT_DW_Q): Likewise.
10863 (FP_FMA_Q): Likewise.
10864 (_FP_FRAC_HIGH_DW_Q): Likewise.
10865 * soft-fp/fmasf4.c: New file.
10866 * soft-fp/fmadf4.c: Likewise.
10867 * soft-fp/fmatf4.c: Likewise.
10868
6308fd9a
LD
108692013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10870
10871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10872 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10873 Silvermont.
10874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10875 macro.
10876 (index_Slow_SSE4_2): Likewise.
10877 (index_Prefer_PMINUB_for_stringop): Likewise.
10878 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10879 bit_Slow_SSE4_2 is set.
10880 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10881 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10882
89cd9569
RA
108832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10884
10885 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10886 rtld_global._dl_hwcap2.
10887 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10888 POWER8.
10889 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10890 POWER8 feature descriptions defined in _dl_hwcap2.
10891 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10892 string handling for POWER8 feature bits.
10893 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10894 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10895 _dl_powerpc_cap_flags.
10896 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10897 * sysdeps/powerpc/rtld-global-offsets.sym
10898 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10899 _dl_hwcap2 in the rtld_global_ro structure.
10900
1ae8bfe0
RA
109012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10902
10903 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10904 hardware capabilities in support of AT_HWCAP2.
10905 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10906 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10907 GLRO(dl_hwcap2).
10908 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10909 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10910 explicitly the unknown a_type display mechanism is used.
10911 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10912 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10913 struct member.
10914 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10915 to macro prototype for AT_HWCAP2 support.
10916 * sysdeps/i386/dl-procinfo.h: Likewise.
10917 * sysdeps/s390/dl-procinfo.h: Likewise.
10918 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10919 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10920 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10921 return -1 for unknown a_type display fallback.
10922 * sysdeps/sparc/dl-procinfo.h: Likewise.
10923 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10924 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10925
8fbec010
JM
109262013-06-28 Joseph Myers <joseph@codesourcery.com>
10927
10928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10929 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10930
0432680e
PY
109312013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10932
10933 [BZ #12492]
10934 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10935 mprotect making __stack_prot writable.
10936
ce61a2ad
NF
109372013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10938 Joseph Myers <joseph@codesourcery.com>
10939
10940 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10941 as being properly aligned.
10942
f91f1c0f
MR
109432013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10944
3d0f5d0c
MR
10945 * dlfcn/modstatic5.c: New file.
10946 * dlfcn/tststatic5.c: New file.
10947 * dlfcn/Makefile (tests): Add tststatic5.
10948 (tests-static): Likewise.
10949 (modules-names): Add modstatic5.
10950 (tststatic5-ENV): New variable.
10951 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10952
f91f1c0f
MR
10953 [BZ #15022]
10954 * elf/dl-support.c (_dl_main_map): New variable.
10955 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10956 (_dl_nns, _dl_load_adds): Set to 1.
10957 (_dl_initial_searchlist): Refer to _dl_main_map.
10958 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10959 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10960 call to _dl_get_origin.
10961 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10962 around call_map.
10963 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10964 * dlfcn/modstatic3.c: New file.
10965 * dlfcn/tststatic3.c: New file.
10966 * dlfcn/tststatic4.c: New file.
10967 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10968 (tests-static): Likewise.
10969 (modules-names): Add modstatic3.
10970 (tststatic3-ENV, tststatic4-ENV): New variables.
10971 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10972 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10973
cbe7d24b
JM
109742013-06-26 Joseph Myers <joseph@codesourcery.com>
10975
10976 * configure.in (CC): Require GCC version 4.4 or later.
10977 * configure: Regenerated.
10978 * manual/install.texi (Tools for Compilation): Update GCC version
10979 requirement.
10980 * INSTALL: Regenerated.
10981
11b8a0e1
LD
109822013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10983
10984 [BZ #15674]
bb5bb87c
L
10985 * string/test-memcmp.c (check2): New.
10986 (main): Call check2.
10987
11b8a0e1
LD
10988 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10989
b0037103
MR
109902013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10991
10992 [BZ #15022]
10993 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10994 over to...
10995 (dl_open_worker) [!SHARED]: ... here.
10996
c18c701d
RA
109972013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10998
10999 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11000
1d17fa5f
RH
110012013-06-25 Richard Henderson <rth@redhat.com>
11002
11003 * locale/programs/locarchive.c: Include <libc-internal.h>
11004
8fcb833a
JM
110052013-06-25 Joseph Myers <joseph@codesourcery.com>
11006
11007 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11008 trailing whitespace removed.
11009
17db6e8d
MF
110102013-06-24 Mike Frysinger <vapier@gentoo.org>
11011
11012 [BZ #10283]
17db6e8d
MF
11013 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11014 * locale/programs/locarchive.c: Include libc-mmap.h.
11015 (prepare_address_space): Take two new outputs (the mmap base and len).
11016 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11017 values.
11018 (create_archive): Declare new mmap base and len values for
11019 prepare_address_space, and store the result in ah.
11020 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11021 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11022 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11023 Declare new mmap base and len values for
11024 prepare_address_space, and store the result in new_ah.
11025 (open_archive): Declare new mmap base and len values for
11026 prepare_address_space, and store the result in ah.
11027 (close_archive): If ah->mmap_base is not NULL, use that and
11028 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11029 * sysdeps/generic/libc-mmap.h: New file.
11030
d605071e
MF
110312013-06-24 Mike Frysinger <vapier@gentoo.org>
11032
11033 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11034 (ALIGN_UP): Likewise.
11035 (PTR_ALIGN_DOWN): Likewise.
11036 (PTR_ALIGN_UP): Likewise.
11037
2f063a6e
RA
110382013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11039
11040 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11041 entry mapped to PPC_PLATFORM_POWER8.
11042 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11043 POWER8.
11044 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11045 (_dl_string_platform): Add case for exporting platform position for
11046 POWER8.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11048 search path to sysdeps/powerpc/powerpc32/power8 directory.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11050 search path to sysdeps/powerpc/powerpc64/power8 directory.
11051 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11052 power7 directories.
11053 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11054 power7 directories.
11055
a31ee4b3
SP
110562013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11057
a74ca98f
SP
11058 * INSTALL: Regenerate.
11059
a31ee4b3
SP
11060 * nscd/connections.c (nscd_init): Fix comment.
11061
695c378f
JM
110622013-06-22 Joseph Myers <joseph@codesourcery.com>
11063
d8412221
JM
11064 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11065
695c378f
JM
11066 [BZ #15667]
11067 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11068 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11069
d1d54715
MR
110702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11071
11072 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11073 DL_DST_REQ_STATIC.
11074 (DL_DST_REQ_STATIC): Remove macro.
11075
8fdda7af
JM
110762013-06-21 Joseph Myers <joseph@codesourcery.com>
11077
11078 [BZ #7006]
11079 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11080 with a shift of 0 bits.
11081
f3bc5e5a
MR
110822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11083
11084 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11085 $(tststatic-ENV).
11086
be09e8c9
KK
110872013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11088
11089 [BZ #15655]
11090 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11091
85c2e611
AZ
110922013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11093
11094 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11095 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11096 accepts -fno-tree-loop-distribute-patterns.
11097 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11098 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11099 recursive call.
11100 * string/memset.c (memset): Likewise.
11101 * string/test-memmove.c (simple_memmove): Disable loop transformation
11102 to library calls.
11103 * string/test-memset.c (simple_memset): Likewise.
11104 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11105 * benchtests/bench-memset.c (simple_memset): Likewise.
11106 * configure: Regenerated.
11107
c91e0825
JM
111082013-06-20 Joseph Myers <joseph@codesourcery.com>
11109
b8c792af
JM
11110 * math/test-misc.c (main): Ignore fesetround failure when failures
11111 of subsequent rounding tests would be ignored.
11112
c91e0825
JM
11113 [BZ #15654]
11114 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11115 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11116 * math/fegetenv.c (__fegetenv): Return 0.
11117 * math/fegetexcept.c (fegetexcept): Return 0.
11118 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11119 FE_TONEAREST.
11120 * math/feholdexcpt.c (feholdexcept): Return 0.
11121 * math/fesetenv.c (__fesetenv): Return 0.
11122 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11123 argument FE_TONEAREST.
11124 * math/feupdateenv.c (__feupdateenv): Return 0.
11125 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11126
bfcacbde
RM
111272013-06-18 Roland McGrath <roland@hack.frob.com>
11128
11129 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11130 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11131 ($(objpfx)rtld-%.os rules): Use them.
11132
e55a9b25
AZ
111332013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11134
11135 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11136 fields.
11137
346d65b3
RM
111382013-06-17 Roland McGrath <roland@hack.frob.com>
11139
12086fb4
RM
11140 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11141 length of target pattern, then descending length of dependency pattern.
11142 * configure.in (AWK): Require gawk 3.1.2 or newer.
11143 * manual/install.texi (Tools for Compilation): Say that we do.
11144 * configure: Regenerated.
11145
346d65b3
RM
11146 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11147 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11148 * scripts/sysd-rules.awk: ... this new script.
11149 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11150 than a glob-style pattern.
11151
1a846317
JM
111522013-06-17 Joseph Myers <joseph@codesourcery.com>
11153
11154 * math/test-misc.c (main): Do not treat incorrectly rounded
11155 conversions as failure unless ROUNDING_TESTS passes.
11156
8fc75e6f
JM
111572013-06-15 Joseph Myers <joseph@codesourcery.com>
11158
3711a167
JM
11159 [BZ #15631]
11160 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11161 restore exception state around main square root computation, then
11162 check for inexactness explicitly.
11163
8fc75e6f
JM
11164 * math/libm-test.inc (fma_test_data): Add another test.
11165
61dd6208
SP
111662013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11167
adf23d2c
SP
11168 * manual/threads.texi (Non-POSIX Extensions): New document
11169 node. Document pthread_getattr_default_np and
11170 pthread_setattr_default_np.
11171
61dd6208
SP
11172 * Versions.def (libpthread): Add GLIBC_2.18.
11173 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11175 Likewise.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11177 Likewise.
11178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11179 Likewise.
11180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11181 Likewise.
11182 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11183 Likewise.
11184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11185 Likewise.
11186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11187 Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11189 Likewise.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11191 Likewise.
11192
d086fc7b
LD
111932013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11194
11195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11196 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11197
747ef469
SP
111982013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11199 H.J. Lu <hjl.tools@gmail.com>
11200
11201 [BZ #15627]
11202 * sysdeps/x86_64/rtld-memset.c: Remove file.
11203 * sysdeps/x86_64/rtld-memset.S: New file.
11204
1b2feed2
JM
112052013-06-14 Joseph Myers <joseph@codesourcery.com>
11206
11207 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11208 (test_in_one_mode): Take arguments for whether the rounding mode
11209 is supported for each floating-point type.
11210 (do_test): Pass new arguments to test_in_one_mode using
11211 ROUNDING_TESTS.
11212
a58ad3f8
RM
112132013-06-13 Roland McGrath <roland@hack.frob.com>
11214
11215 * posix/tst-waitid.c (do_test): Distinguish different instances of
11216 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11217 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11218 before entering the kernel for waitpid.
11219
c204ab28
SP
112202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11221
11222 * NEWS: Fix note on clock function precision. Text by Roland
11223 McGrath.
11224
f4a29fba
RM
112252013-06-13 Roland McGrath <roland@hack.frob.com>
11226
11227 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11228 it into place only when and if the sanity check passes.
11229
1f24b9ad
JM
112302013-06-13 Joseph Myers <joseph@codesourcery.com>
11231
11232 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11233 output for whether conversion result is exact. Take argument
11234 indicating whether type is IBM long double.
11235 (round_for_all): Change need_exact field to ibm_ld.
11236 * stdlib/tst-strtod-round.c (struct exactness): New type.
11237 (struct test): Change bool ld_ok field to struct exactness exact.
11238 (TEST): Update all definitions for change to field.
11239 (tests): Regenerate array contents.
11240 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11241 field value. Check for IBM long double here.
11242 (do_test): Update calls to test_in_one_mode.
11243
58206c68
SP
112442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11245
11246 [BZ #12515]
11247 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11248 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11249
2d6f4c5b 112502013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11251
11252 [BZ #15605]
11253 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11254 generated by the compiler on loop optimizations.
11255 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11256 general definitions.
11257
94f2c076
JM
112582013-06-12 Joseph Myers <joseph@codesourcery.com>
11259
11260 * math/bug-nextafter.c: Include <math-tests.h>.
11261 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11262 the relevant type.
11263 * math/bug-nexttoward.c: Include <math-tests.h>.
11264 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11265 the relevant type.
11266 * math/test-misc.c: Include <math-tests.h>.
11267 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11268 the relevant type.
11269
e0e50a0a
AJ
112702013-06-12 Andreas Jaeger <aj@suse.de>
11271
11272 * po/ia.po: Update Interlingua translation from translation
11273 project.
11274
25061094
SP
112752013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11276
11277 * include/fenv.h: Include stdbool.h.
11278 (struct rm_ctx): New structure.
11279 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11280 Define macro.
11281 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11282 (SET_RESTORE_ROUNDF): Likewise.
11283 (SET_RESTORE_ROUNDL): Likewise.
11284 (SET_RESTORE_ROUND_NOEX): Likewise.
11285 (SET_RESTORE_ROUND_NOEXF): Likewise.
11286 (SET_RESTORE_ROUND_NOEXL): Likewise.
11287 (SET_RESTORE_ROUND_53BIT): Likewise.
11288 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11289 (libc_feresetround_noexf_ctx): Likewise.
11290 (libc_feresetround_noexl_ctx): Likewise.
11291 (libc_feholdsetround_53bit_ctx): Likewise.
11292 (libc_feresetround_53bit_ctx): Likewise.
11293 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11294 (libc_feholdexcept_setround_sse_ctx): New function.
11295 (libc_fesetenv_sse_ctx): Likewise.
11296 (libc_feupdateenv_sse_ctx): Likewise.
11297 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11298 (libc_feholdexcept_setround_387_ctx): Likewise.
11299 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11300 (libc_feholdsetround_387_prec_ctx): Likewise.
11301 (libc_feholdsetround_387_ctx): Likewise.
11302 (libc_feholdsetround_387_53bit_ctx): Likewise.
11303 (libc_feholdsetround_sse_ctx): Likewise.
11304 (libc_feresetround_sse_ctx): Likewise.
11305 (libc_feresetround_387_ctx): Likewise.
11306 (libc_feupdateenv_387_ctx): Likewise.
11307 (libc_feholdexcept_setroundf_ctx): Define macro.
11308 (libc_fesetenvf_ctx): Likewise.
11309 (libc_feupdateenvf_ctx): Likewise.
11310 (libc_feholdsetroundf_ctx): Likewise.
11311 (libc_feresetroundf_ctx): Likewise.
11312 (libc_feholdexcept_setround_ctx): Likewise.
11313 (libc_fesetenv_ctx): Likewise.
11314 (libc_feupdateenv_ctx): Likewise.
11315 (libc_feholdsetround_ctx): Likewise.
11316 (libc_feresetround_ctx): Likewise.
11317 (libc_feholdexcept_setroundl_ctx): Likewise.
11318 (libc_feupdateenvl_ctx): Likewise.
11319 (libc_feholdsetroundl_ctx): Likewise.
11320 (libc_feresetroundl_ctx): Likewise.
11321 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11322 (libc_feresetround_53bit_ctx): Likewise.
11323
59b30555
SP
113242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11325
11326 * locale/iso-639.def: Convert to UTF-8.
11327
f1d73d30
JM
113282013-06-11 Joseph Myers <joseph@codesourcery.com>
11329
11330 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11331 (EXCEPTION_TESTS_double): Likewise.
11332 (EXCEPTION_TESTS_long_double): Likewise.
11333 (EXCEPTION_TESTS): Likewise.
11334 * math/libm-test.inc (test_exceptions): Only test exceptions if
11335 EXCEPTION_TESTS (FLOAT).
11336
94aca5e7
SP
113372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11338
11339 * benchtests/Makefile (string-bench): Add strcpy_chk and
11340 stpcpy_chk.
11341 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11342 * benchtests/bench-stpcpy_chk.c: New file.
11343 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11344 * benchtests/bench-strcpy_chk.c: New file.
11345 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11346 code.
11347 (do_test): Likewise.
11348
fac0c5f2
RA
113492013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11350
11351 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11352 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11353 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11354 with tabs where appropriate.
11355 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11356 dl-procinfo.h.
11357 [PPC_PLATFORM_PPC440]: Likewise.
11358 [PPC_PLATFORM_PPC464]: Likewise.
11359 [PPC_PLATFORM_PPC476]: Likewise.
11360 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11361 ppc464, and ppc476 platform strings merging from ports/
11362 dl-procinfo.h.
11363
f22bc486
AS
113642013-06-11 Andreas Schwab <schwab@suse.de>
11365
11366 [BZ #14991]
11367 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11368 (from_ucs4_idx): Regenerate.
11369 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11370 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11371 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11372 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11373 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11374 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11375 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11376 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11377 from FROM_LOOP and TO_LOOP specific macros.
11378 (BODY): Handle combining characters.
11379 * iconvdata/BIG5HKSCS.irreversible: Update.
11380 * iconvdata/BIG5HKSCS.precomposed: New file.
11381 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11382 characters.
11383 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11384
c1f75dc3
SP
113852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11386
4eacded2
SP
11387 * include/sys/time.h: Fix indentation and add copyright header.
11388
fec799f8
SP
11389 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11390 (do_test): Likewise.
11391 * string/test-memchr.c (do_one_test): Likewise.
11392 (do_test): Likewise.
11393 * string/test-memcmp.c (do_one_test): Likewise.
11394 (do_test): Likewise.
11395 * string/test-memcpy.c (do_one_test): Likewise.
11396 (do_test): Likewise.
11397 * string/test-memmem.c (do_one_test): Likewise.
11398 (do_test): Likewise.
11399 (do_random_tests): Likewise.
11400 * string/test-memmove.c (do_one_test): Likewise.
11401 (do_test): Likewise.
11402 * string/test-memset.c (do_one_test): Likewise.
11403 (do_test): Likewise.
11404 * string/test-rawmemchr.c (do_one_test): Likewise.
11405 (do_test): Likewise.
11406 * string/test-strcasecmp.c (do_one_test): Likewise.
11407 (do_test): Likewise.
11408 * string/test-strcasestr.c (do_one_test): Likewise.
11409 (do_test): Likewise.
11410 * string/test-strcat.c (do_one_test): Likewise.
11411 (do_test): Likewise.
11412 * string/test-strchr.c (do_one_test): Likewise.
11413 (do_test): Likewise.
11414 * string/test-strcmp.c (do_one_test): Likewise.
11415 (do_test): Likewise.
11416 * string/test-strcpy.c (do_one_test): Likewise.
11417 (do_test): Likewise.
11418 * string/test-string.h: Likewise.
11419 (test_init): Likewise.
11420 * string/test-strlen.c (do_one_test): Likewise.
11421 (do_test): Likewise.
11422 * string/test-strncasecmp.c (do_one_test): Likewise.
11423 (do_test): Likewise.
11424 * string/test-strncat.c (do_one_test): Likewise.
11425 (do_test): Likewise.
11426 * string/test-strncmp.c (do_one_test): Likewise.
11427 (do_test_limit): Likewise.
11428 (do_test): Likewise.
11429 * string/test-strncpy.c (do_one_test): Likewise.
11430 (do_test): Likewise.
11431 * string/test-strnlen.c (do_one_test): Likewise.
11432 (do_test): Likewise.
11433 * string/test-strpbrk.c (do_one_test): Likewise.
11434 (do_test): Likewise.
11435 * string/test-strrchr.c (do_one_test): Likewise.
11436 (do_test): Likewise.
11437 * string/test-strspn.c (do_one_test): Likewise.
11438 (do_test): Likewise.
11439 * string/test-strstr.c (do_one_test): Likewise.
11440 (do_test): Likewise.
11441
97020474
SP
11442 * benchtests/Makefile (string-bench): Add string benchmarks.
11443 * benchtests/bench-bcopy-ifunc.c: New file.
11444 * benchtests/bench-bcopy.c: New file.
11445 * benchtests/bench-bzero-ifunc.c: New file.
11446 * benchtests/bench-bzero.c: New file.
11447 * benchtests/bench-memccpy-ifunc.c: New file.
11448 * benchtests/bench-memccpy.c: New file.
11449 * benchtests/bench-memchr-ifunc.c: New file.
11450 * benchtests/bench-memchr.c: New file.
11451 * benchtests/bench-memcmp-ifunc.c: New file.
11452 * benchtests/bench-memcmp.c: New file.
11453 * benchtests/bench-memmem-ifunc.c: New file.
11454 * benchtests/bench-memmem.c: New file.
11455 * benchtests/bench-memmove-ifunc.c: New file.
11456 * benchtests/bench-memmove.c: New file.
11457 * benchtests/bench-mempcpy-ifunc.c: New file.
11458 * benchtests/bench-mempcpy.c: New file.
11459 * benchtests/bench-memset-ifunc.c: New file.
11460 * benchtests/bench-memset.c: New file.
11461 * benchtests/bench-rawmemchr-ifunc.c: New file.
11462 * benchtests/bench-rawmemchr.c: New file.
11463 * benchtests/bench-stpcpy-ifunc.c: New file.
11464 * benchtests/bench-stpcpy.c: New file.
11465 * benchtests/bench-stpncpy-ifunc.c: New file.
11466 * benchtests/bench-stpncpy.c: New file.
11467 * benchtests/bench-strcasecmp-ifunc.c: New file.
11468 * benchtests/bench-strcasecmp.c: New file.
11469 * benchtests/bench-strcasestr-ifunc.c: New file.
11470 * benchtests/bench-strcasestr.c: New file.
11471 * benchtests/bench-strcat-ifunc.c: New file.
11472 * benchtests/bench-strcat.c: New file.
11473 * benchtests/bench-strchr-ifunc.c: New file.
11474 * benchtests/bench-strchr.c: New file.
11475 * benchtests/bench-strchrnul-ifunc.c: New file.
11476 * benchtests/bench-strchrnul.c: New file.
11477 * benchtests/bench-strcmp-ifunc.c: New file.
11478 * benchtests/bench-strcmp.c: New file.
11479 * benchtests/bench-strcpy-ifunc.c: New file.
11480 * benchtests/bench-strcpy.c: New file.
11481 * benchtests/bench-strcspn-ifunc.c: New file.
11482 * benchtests/bench-strcspn.c: New file.
11483 * benchtests/bench-strlen-ifunc.c: New file.
11484 * benchtests/bench-strlen.c: New file.
11485 * benchtests/bench-strncasecmp-ifunc.c: New file.
11486 * benchtests/bench-strncasecmp.c: New file.
11487 * benchtests/bench-strncat-ifunc.c: New file.
11488 * benchtests/bench-strncat.c: New file.
11489 * benchtests/bench-strncmp-ifunc.c: New file.
11490 * benchtests/bench-strncmp.c: New file.
11491 * benchtests/bench-strncpy-ifunc.c: New file.
11492 * benchtests/bench-strncpy.c: New file.
11493 * benchtests/bench-strnlen-ifunc.c: New file.
11494 * benchtests/bench-strnlen.c: New file.
11495 * benchtests/bench-strpbrk-ifunc.c: New file.
11496 * benchtests/bench-strpbrk.c: New file.
11497 * benchtests/bench-strrchr-ifunc.c: New file.
11498 * benchtests/bench-strrchr.c: New file.
11499 * benchtests/bench-strspn-ifunc.c: New file.
11500 * benchtests/bench-strspn.c: New file.
11501 * benchtests/bench-strstr-ifunc.c: New file.
11502 * benchtests/bench-strstr.c: New file.
11503
c1f75dc3
SP
11504 * benchtests/Makefile: Disable parallel execution of targets.
11505 (string-bench): Add memcpy.
11506 (benchset): New variable to store a list of benchmark sets.
11507 (bench-func): Renamed from bench.
11508 (bench-set): New target.
11509 (bench): Depend on bench-func and bench-set.
11510 * benchtests/README: Add section on benchmark sets.
11511 * benchtests/bench-memcpy-ifunc.c: New file.
11512 * benchtests/bench-memcpy.c: New file.
11513 * benchtests/bench-string.h: New file.
11514
50fd745b
AS
115152013-06-11 Andreas Schwab <schwab@suse.de>
11516
11517 [BZ #15577]
11518 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11519 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11520 values in the triple.
11521 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11522 terminator in the group key.
11523
3ee7e9fe
AJ
115242013-06-11 Andreas Jaeger <aj@suse.de>
11525
11526 * po/zh_TW.po: Update Chinese (traditional) translation from
11527 translation project.
11528
89fb6835
SP
115292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11530
11531 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11532 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11533 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11535 (clock_getcpuclockid): Likewise.
11536 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11537 Add weak_alias and libc_hidden_def.
11538 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11539 * rt/clock_gettime.c (clock_gettime): Rename to
11540 __clock_gettime. Add weak_alias and libc_hidden_def.
11541 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11542 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11543 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11544 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11545 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11546 Likewise.
11547 * rt/clock_settime.c (clock_settime): Rename to
11548 __clock_settime. Add weak_alias and libc_hidden_def.
11549 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11550
0efa6f8b
JM
115512013-06-10 Joseph Myers <joseph@codesourcery.com>
11552
b8c61b4b
JM
11553 * mach/err_boot.sub: Remove trailing whitespace.
11554 * mach/err_ipc.sub: Likewise.
11555 * mach/err_mach.sub: Likewise.
11556
0efa6f8b
JM
11557 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11558 (ROUNDING_TESTS_double): Likewise.
11559 (ROUNDING_TESTS_long_double): Likewise.
11560 (ROUNDING_TESTS): Likewise.
11561 * math/libm-test.inc: Include <math-tests.h>.
11562 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11563 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11564 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11565 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11566
50b818bf
SP
115672013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11568
11569 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11570 of assigning.
11571
60d2f8f3
JM
115722013-06-08 Joseph Myers <joseph@codesourcery.com>
11573
4902d2c3
JM
11574 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11575 otherwise empty TRANS lines.
11576 * sysdeps/gnu/errlist.c: Regenerated.
11577
60d2f8f3
JM
11578 * catgets/gencat.c (error_print): Use (void) in function
11579 definition.
11580 * crypt/crypt_util.c (__init_des): Likewise.
11581 * crypt/speeds.c (Stop): Likewise.
11582 (main): Likewise.
11583 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11584 * inet/ruserpass.c (token): Likewise.
11585 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11586 * intl/localealias.c (extend_alias_table): Likewise.
11587 * intl/plural-exp.c (init_germanic_plural): Likewise.
11588 * libio/fcloseall.c (__fcloseall): Likewise.
11589 * libio/genops.c (_IO_flush_all): Likewise.
11590 (_IO_flush_all_linebuffered): Likewise.
11591 (_IO_cleanup): Likewise.
11592 (_IO_iter_begin): Likewise.
11593 (_IO_iter_end): Likewise.
11594 (_IO_list_lock): Likewise.
11595 (_IO_list_unlock): Likewise.
11596 (_IO_list_resetlock): Likewise.
11597 * libio/getchar.c (getchar): Likewise.
11598 * libio/getchar_u.c (getchar_unlocked): Likewise.
11599 * libio/getwchar.c (getwchar): Likewise.
11600 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11601 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11602 * login/getpt.c (__getpt): Likewise.
11603 * login/tst-utmp.c (main): Likewise.
11604 * malloc/hooks.c (__malloc_check_init): Likewise.
11605 * malloc/malloc.c (__malloc_stats): Likewise.
11606 * malloc/mtrace.c (tr_break): Likewise.
11607 (mtrace): Likewise.
11608 (muntrace): Likewise.
11609 * misc/fstab.c (endfsent): Likewise.
11610 * misc/getclktck.c (__getclktck): Likewise.
11611 * misc/getdtsz.c (__getdtablesize): Likewise.
11612 * misc/gethostid.c (gethostid): Likewise.
11613 * misc/getpagesize.c (__getpagesize): Likewise.
11614 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11615 (__get_nprocs): Likewise.
11616 (__get_phys_pages): Likewise.
11617 (__get_avphys_pages): Likewise.
11618 * misc/getttyent.c (getttyent): Likewise.
11619 (setttyent): Likewise.
11620 (endttyent): Likewise.
11621 * misc/getusershell.c (getusershell): Likewise.
11622 (endusershell): Likewise.
11623 (setusershell): Likewise.
11624 (initshells): Likewise.
11625 * misc/hsearch.c (__hdestroy): Likewise.
11626 * misc/sync.c (sync): Likewise.
11627 * misc/syslog.c (closelog_internal): Likewise.
11628 (closelog): Likewise.
11629 * misc/ttyslot.c (ttyslot): Likewise.
11630 * misc/vhangup.c (vhangup): Likewise.
11631 * posix/fork.c (__fork): Likewise.
11632 * posix/getegid.c (__getegid): Likewise.
11633 * posix/geteuid.c (__geteuid): Likewise.
11634 * posix/getgid.c (__getgid): Likewise.
11635 * posix/getpid.c (__getpid): Likewise.
11636 * posix/getppid.c (__getppid): Likewise.
11637 * posix/getuid.c (__getuid): Likewise.
11638 * posix/pause.c (pause): Likewise.
11639 * posix/setpgrp.c (setpgrp): Likewise.
11640 * posix/setsid.c (__setsid): Likewise.
11641 * posix/test-vfork.c (noop): Likewise.
11642 * resolv/gethnamaddr.c (_endhtent): Likewise.
11643 (_gethtent): Likewise.
11644 (ht_endhostent): Likewise.
11645 (gethostent): Likewise.
11646 (dns_service): Likewise.
11647 * stdlib/drand48.c (drand48): Likewise.
11648 * stdlib/lrand48.c (lrand48): Likewise.
11649 * stdlib/mrand48.c (mrand48): Likewise.
11650 * stdlib/rand.c (rand): Likewise.
11651 * stdlib/random.c (__random): Likewise.
11652 * stdlib/setenv.c (clearenv): Likewise.
11653 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11654 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11655 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11656 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11657 (__get_nprocs): Likewise.
11658 (__get_phys_pages): Likewise.
11659 (__get_avphys_pages): Likewise.
11660 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11661 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11662 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11663 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11664 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11665 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11666 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11667 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11668 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11669 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11670 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11671 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11672 * sysdeps/posix/clock.c (clock): Likewise.
11673 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11674 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11675 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11676 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11677 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11679 (__get_nprocs_conf): Likewise.
11680 (__get_phys_pages): Likewise.
11681 (__get_avphys_pages): Likewise.
11682 * time/clock.c (clock): Likewise.
11683 * time/tzset.c (__tzname_max): Likewise.
11684
2e09a79a
JM
116852013-06-07 Joseph Myers <joseph@codesourcery.com>
11686
11687 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11688 (__bswap_32): Do not use "register".
11689 * crypt/crypt.c (_ufc_doit_r): Likewise.
11690 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11691 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11692 * gmon/gmon.c (__monstartup): Likewise.
11693 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11694 * hurd/hurdmalloc.c (more_memory): Likewise.
11695 (malloc): Likewise.
11696 (free): Likewise.
11697 (realloc): Likewise.
11698 (malloc_fork_prepare): Likewise.
11699 (malloc_fork_parent): Likewise.
11700 (malloc_fork_child): Likewise.
11701 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11702 (_svcauth_des): Likewise.
11703 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11704 * inet/inet_net.c (inet_network): Likewise.
11705 * inet/inet_netof.c (inet_netof): Likewise.
11706 * inet/rcmd.c (__validuser2_sa): Likewise.
11707 * io/fts.c (fts_open): Likewise.
11708 (fts_load): Likewise.
11709 (fts_close): Likewise.
11710 (fts_read): Likewise.
11711 (fts_children): Likewise.
11712 (fts_build): Likewise.
11713 (fts_stat): Likewise.
11714 (fts_sort): Likewise.
11715 (fts_alloc): Likewise.
11716 (fts_lfree): Likewise.
11717 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11718 (_IO_file_xsgetn): Likewise.
11719 (_IO_file_xsgetn_mmap): Likewise.
11720 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11721 (_IO_cookie_write): Likewise.
11722 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11723 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11724 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11725 * malloc/obstack.c (_obstack_begin): Likewise.
11726 (_obstack_begin_1): Likewise.
11727 (_obstack_newchunk): Likewise.
11728 (_obstack_allocated_p): Likewise.
11729 (obstack_free): Likewise.
11730 (_obstack_memory_used): Likewise.
11731 * misc/getttyent.c (getttynam): Likewise.
11732 (getttyent): Likewise.
11733 (skip): Likewise.
11734 (value): Likewise.
11735 * misc/getusershell.c (initshells): Likewise.
11736 * misc/syslog.c (__vsyslog_chk): Likewise.
11737 * misc/ttyslot.c (ttyslot): Likewise.
11738 * nis/nis_hash.c (__nis_hash): Likewise.
11739 * posix/fnmatch_loop.c (FCT): Likewise.
11740 * posix/getconf.c (print_all): Likewise.
11741 (main): Likewise.
11742 * posix/getopt.c (exchange): Likewise.
11743 * posix/glob.c (globfree): Likewise.
11744 (prefix_array): Likewise.
11745 (__glob_pattern_type): Likewise.
11746 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11747 (NS_GET32): Likewise.
11748 (NS_PUT16): Likewise.
11749 (NS_PUT32): Likewise.
11750 * resolv/gethnamaddr.c (getanswer): Likewise.
11751 (gethostbyname2): Likewise.
11752 (gethostbyaddr): Likewise.
11753 (_gethtent): Likewise.
11754 (_gethtbyname2): Likewise.
11755 (_gethtbyaddr): Likewise.
11756 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11757 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11758 * resolv/res_init.c (__res_vinit): Likewise.
11759 (net_mask): Likewise.
11760 * resolv/res_mkquery.c (outchar): Likewise.
11761 (PRINT): Likewise.
11762 * stdio-common/printf_fp.c (outchar): Likewise.
11763 (PRINT): Likewise.
11764 * stdio-common/printf_fphex.c (outchar): Likewise.
11765 (PRINT): Likewise.
11766 * stdio-common/printf_size.c (outchar): Likewise.
11767 (PRINT): Likewise.
11768 * stdio-common/test_rdwr.c (main): Likewise.
11769 * stdio-common/tfformat.c (matches): Likewise.
11770 * stdio-common/vfprintf.c (outchar): Likewise.
11771 (printf_unknown): Likewise.
11772 (buffered_vfprintf): Likewise.
11773 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11774 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11775 (ReadFile): Likewise.
11776 * stdlib/qsort.c (SWAP): Likewise.
11777 (_quicksort): Likewise.
11778 * stdlib/setenv.c (__add_to_environ): Likewise.
11779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11780 * stdlib/strtol_l.c (__strtol_l): Likewise.
11781 * stdlib/tst-strtod.c (main): Likewise.
11782 * stdlib/tst-strtol.c (main): Likewise.
11783 * stdlib/tst-strtoll.c (main): Likewise.
11784 * string/bits/string2.h (__strcmp_cc): Likewise.
11785 (__strcmp_cg): Likewise.
11786 (__strcspn_c1): Likewise.
11787 (__strcspn_c2): Likewise.
11788 (__strcspn_c3): Likewise.
11789 (__strspn_c1): Likewise.
11790 (__strspn_c2): Likewise.
11791 (__strspn_c3): Likewise.
11792 (__strsep_1c): Likewise.
11793 (__strsep_2c): Likewise.
11794 (__strsep_3c): Likewise.
11795 * string/memccpy.c (__memccpy): Likewise.
11796 * string/stpcpy.c (__stpcpy): Likewise.
11797 * string/strcmp.c (strcmp): Likewise.
11798 * string/strrchr.c (strrchr): Likewise.
11799 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11800 Likewise.
11801 * sysdeps/mach/hurd/getcwd.c
11802 (_hurd_canonicalize_directory_name_internal): Likewise.
11803 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11804 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11805 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11806 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11807 Likewise, in both definitions.
11808 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11809 definitions.
11810 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11811 64] (__bswap_64): Likewise.
11812 * time/test_time.c (main): Likewise.
11813 * time/tzfile.c (__tzfile_read): Likewise.
11814 (__tzfile_compute): Likewise.
11815 * time/tzset.c (__tzset_parse_tz): Likewise.
11816 (tzset_internal): Likewise.
11817 (compute_change): Likewise.
11818 * wcsmbs/wcscat.c (__wcscat): Likewise.
11819 * wcsmbs/wcschr.c (wcschr): Likewise.
11820 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11821 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11822 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11823 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11824 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11825 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11826 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11827 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11828 * wcsmbs/wmemset.c (wmemset): Likewise.
11829
9e54314b
JM
118302013-06-06 Joseph Myers <joseph@codesourcery.com>
11831
11832 * scripts/config.guess: Update to version 2013-05-16.
11833 * scripts/config.sub: Update to version 2013-04-24.
11834 * scripts/install-sh: Update to version 2011-11-20.07.
11835 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11836 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11837
350635a5
OB
118382013-06-06 Ondřej Bílka <neleai@seznam.cz>
11839
11840 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11841 * elf/sln.c: Likewise.
11842 * hurd/hurd/ioctl.h: Likewise.
11843 * hurd/hurdmalloc.c: Likewise.
11844 * hurd/xattr.c: Likewise.
11845 * include/shlib-compat.h: Likewise.
11846 * inet/ruserpass.c: Likewise.
11847 * libio/iofgets_u.c: Likewise.
11848 * libio/iofgetws_u.c: Likewise.
11849 * locale/programs/ld-identification.c: Likewise.
11850 * locale/programs/ld-time.c: Likewise.
11851 * mach/msg-destroy.c: Likewise.
11852 * nss/nss_files/files-netgrp.c: Likewise.
11853 * resolv/res_data.c: Likewise.
11854 * soft-fp/op-1.h: Likewise.
11855 * soft-fp/op-2.h: Likewise.
11856 * soft-fp/op-4.h: Likewise.
11857 * soft-fp/op-common.h: Likewise.
11858 * stdio-common/printf_fphex.c: Likewise.
11859 * stdlib/strtod_l.c: Likewise.
11860 * sunrpc/rpc/clnt.h: Likewise.
11861 * sysdeps/generic/framestate.c: Likewise.
11862 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11863 * sysdeps/i386/bsd-setjmp.S: Likewise.
11864 * sysdeps/i386/__longjmp.S: Likewise.
11865 * sysdeps/i386/setjmp.S: Likewise.
11866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11867 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11879 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11880 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11882 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11883 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11884 * sysdeps/ieee754/support.c: Likewise.
11885 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11886 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11887 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11888 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11889 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11890 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11891 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11892 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11893 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11894 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11895 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11896 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11897 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11898 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11899 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11900 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11901 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11903
44a988af
OB
119042013-06-05 Ondřej Bílka <neleai@seznam.cz>
11905
25506f09 11906 * posix/transbug.c: Remove executable mode.
44a988af 11907
9c84384c
JM
119082013-06-05 Joseph Myers <joseph@codesourcery.com>
11909
11910 * crypt/speeds.c: Remove trailing whitespace.
11911 * dlfcn/default.c: Likewise.
11912 * elf/ifuncdep2.c: Likewise.
11913 * elf/ifuncmain1.c: Likewise.
11914 * elf/ifuncmain1vis.c: Likewise.
11915 * elf/testobj.h: Likewise.
11916 * elf/tst-stackguard1.c: Likewise.
11917 * gmon/sys/gmon.h: Likewise.
11918 * hurd/hurdmsg.c: Likewise.
11919 * hurd/new-fd.c: Likewise.
11920 * hurd/ports-get.c: Likewise.
11921 * iconvdata/ibm1008_420.c: Likewise.
11922 * inet/tst-getni1.c: Likewise.
11923 * inet/tst-getni2.c: Likewise.
11924 * libio/ioungetc.c: Likewise.
11925 * libio/wfiledoalloc.c: Likewise.
11926 * manual/libm-err-tab.pl: Likewise.
11927 * math/w_dremf.c: Likewise.
11928 * misc/ftruncate.c: Likewise.
11929 * posix/bug-glob2.c: Likewise.
11930 * posix/tst-pcre.c: Likewise.
11931 * posix/wait4.c: Likewise.
11932 * resolv/README: Likewise.
11933 * resolv/res_debug.h: Likewise.
11934 * resolv/tst-inet_ntop.c: Likewise.
11935 * setjmp/bug269-setjmp.c: Likewise.
11936 * soft-fp/extended.h: Likewise.
11937 * soft-fp/op-1.h: Likewise.
11938 * soft-fp/op-2.h: Likewise.
11939 * soft-fp/op-4.h: Likewise.
11940 * soft-fp/op-8.h: Likewise.
11941 * soft-fp/testit.c: Likewise.
11942 * stdio-common/bug16.c: Likewise.
11943 * stdlib/random.c: Likewise.
11944 * sunrpc/rpcsvc/rquota.x: Likewise.
11945 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11946 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11948 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11949 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11951 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11952 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11953 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11954 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11955 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11972 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11974 * sysdeps/ieee754/s_lib_version.c: Likewise.
11975 * sysdeps/mach/hurd/check_fds.c: Likewise.
11976 * sysdeps/mach/hurd/getsockname.c: Likewise.
11977 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11978 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11979 * sysdeps/powerpc/bits/link.h: Likewise.
11980 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11981 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11982 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11983 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11984 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11985 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11986 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11987 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11988 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11989 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11993 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11995 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11999 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12001 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12002 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12003 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12004 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12005 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12006 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12007 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12008 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12009 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12010 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12011 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12012 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12013 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12014 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12017 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12018 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12019 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12020 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12021 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12022 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12023 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12024 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12025 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12026 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12027 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12028 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12029 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12032 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12033 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12034 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12035 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12036 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12037 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12039 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12040 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12041 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12042 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12043 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12044 * sysdeps/powerpc/sysdep.h: Likewise.
12045 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12046 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12047 * sysdeps/sh/dl-trampoline.S: Likewise.
12048 * sysdeps/sh/memset.S: Likewise.
12049 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12050 * sysdeps/sh/strlen.S: Likewise.
12051 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12052 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12053 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12054 * sysdeps/sparc/sparc32/rem.S: Likewise.
12055 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12056 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12057 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12058 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12059 * sysdeps/sparc/sparc32/urem.S: Likewise.
12060 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12061 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12062 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12063 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12064 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12065 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12066 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12067 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12068 * sysdeps/unix/bsd/times.c: Likewise.
12069 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12070 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12075 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12076 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12077 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12078 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12079 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12080 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12081 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12082 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12083 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12084 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12085 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12086 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12087 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12088 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12089 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12090 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12091 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12092 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12093 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12094 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12097 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12098 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12099 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12100 * sysdeps/x86_64/strcspn.S: Likewise.
12101
869378a5
RA
121022013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12103
12104 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12105 generated file. Regenerate properly from gen-translit.pl.
12106 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12107 locale/C-translit.h.
12108
840e2943
AS
121092013-06-05 Andreas Schwab <schwab@suse.de>
12110
12111 [BZ #15100]
12112 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12113 week as 6 instead of -1.
12114 * time/tst-strptime.c (day_tests): Add test case.
12115
4c60cb0c
SP
121162013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12117
12118 * sysdeps/generic/math_private.h
12119 (libc_feholdexcept_setround_53bit): Replace with
12120 libc_feholdsetround_53bit.
12121 (libc_feupdateenv_53bit): Replace with
12122 libc_feresetround_53bit.
12123 (SET_RESTORE_ROUND_53BIT): Adjust.
12124
d180203e
SP
121252013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12126
96df079a
SP
12127 * string/test-strchrnul.c: Add copyright header.
12128
d180203e
SP
12129 * posix/tst-getaddrinfo4.c: Increase test timeout.
12130
8b0ccb2d
CD
121312013-06-03 Carlos O'Donell <carlos@redhat.com>
12132
12133 [BZ #15536]
12134 * math/libm-test.inc (MAX_EXP): Remove
12135 (MIN_EXP): Define.
12136 (ulp): Use MIN_EXP - MANT_DIG.
12137 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12138
3b3c4d40
CD
121392013-05-31 Carlos O'Donell <carlos@redhat.com>
12140
12141 * po/be.po: Revert last change.
12142 * po/zh_CN.po: Likewise.
12143 * po/header.pot: Likewise.
12144
fab7ce3f
JM
121452013-05-31 Joseph Myers <joseph@codesourcery.com>
12146
12147 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12148 link-libc-deps to empty as target-specific variable.
12149 * Makerules (link-libc-args): New variable.
12150 (libc-for-link): Likewise.
12151 (link-libc-deps): Likewise.
12152 (lib%.so): Depend on $(link-libc-deps). Link with
12153 $(link-libc-args).
12154 (build-module): Link with $(link-libc-args).
12155 (build-module-asneeded): Likewise.
12156 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12157 list of objects.
12158 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12159 target-specific variable.
12160 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12161 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12162 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12163 libc.
12164 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12165 libc and ld.so.
12166 ($(objpfx)libpcprofile.so): Likewise.
12167 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12168 libc_nonshared.a.
12169 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12170 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12171 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12172 $(link-libc-deps).
12173 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12174 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12175 * login/Makefile ($(objpfx)libutil.so): Likewise.
12176 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12177 * math/Makefile ($(objpfx)libm.so): Likewise.
12178 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12179 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12180 variable instead of depending directly on libc.
12181 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12182 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12183 $(link-libc-deps).
12184 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12185 libc.
12186 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12187 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12188 ($(objpfx)libanl.so): Likewise.
12189 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12190 ld.so.
12191 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12192 $(link-libc-deps).
12193 * sysdeps/i386/fpu/Makefile: Remove file.
12194 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12195 ($(objpfx)libm.so): Remove dependency on ld.so.
12196
eca5920c
PF
121972013-05-30 Patsy Franklin <pfrankli@redhat.com>
12198
12199 [BZ # 15553]
12200 * nis/yp_xdr.c (XDRMAXNAME): Define.
12201 (XDRMAXRECORD): Define.
12202 (xdr_domainname): Use XDRMAXNAME.
12203 (xdr_mapname): Likewise.
12204 (xdr_peername): Likewise.
12205 (xdr_keydat): Use XDRMAXRECORD.
12206 (xdr_valdat): Likewise.
12207
122082013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12209
12210 [BZ #14256]
12211 * manual/errno.texi (ESTALE): Update to account for more than
12212 just NFS file systems.
12213 * sysdeps/gnu/errlist.c: Regenerated.
12214
b9375348
SP
122152013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12216
12217 [BZ #15465]
12218 * elf/Makefile (tests): Add tst-null-argv.
12219 (modules-names): Add tst-null-argv-lib.
12220 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12221 (tst-null-argv-ENV): Set environment for tst-null-argv.
12222 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12223 (RTLD_PROGNAME): New macro.
12224 * elf/tst-null-argv.c: New test case.
12225 * elf/tst-null-argv-lib.c: Library for test case.
12226 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12227 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12228 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12229 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12230 * elf/dl-init.c (call_init): Likewise.
12231 (_dl_init): Likewise.
12232 * elf/dl-load.c (print_search_path): Likewise.
12233 (_dl_map_object): Likewise.
12234 * elf/dl-lookup.c (do_lookup_x): Likewise.
12235 (add_dependency): Likewise.
12236 (_dl_lookup_symbol_x): Likewise.
12237 (_dl_debug_bindings): Likewise.
12238 * elf/dl-open.c (_dl_show_scope): Likewise.
12239 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12240 * elf/dl-version.c (match_symbol): Likewise.
12241 (_dl_check_map_versions): Likewise.
12242 * elf/rtld.c (dl_main): Likewise.
12243 (print_unresolved): Use RTLD_PROGNAME.
12244 (print_missing_version): Likewise.
12245 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12246 (elf_machine_rela): Likewise.
12247 * sysdeps/powerpc/powerpc32/dl-machine.c
12248 (__process_machine_rela): Likewise.
12249 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12250 Likewise.
12251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12252 Likewise.
12253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12254 Likewise.
12255 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12257 Likewise.
12258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12259 Likewise.
12260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12261
8a9f20c8
CD
122622013-05-28 Carlos O'Donell <carlos@redhat.com>
12263
12264 * po/be.po: Add descriptive title.
12265 * po/zh_CN.po: Likewise.
12266 * po/header.pot: Likewise.
12267
0e60d68e
MF
122682013-05-28 Mike Frysinger <vapier@gentoo.org>
12269
12270 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12271 error message.
12272 (enlarge_archive): Likewise.
12273
56b672e9
BN
122742013-05-28 Ben North <ben@redfrontdoor.org>
12275
12276 * manual/arith.texi (frexp): It is the magnitude of the return
12277 value which lies in [0.5, 1), not the return value itself.
12278
5e056687
AZ
122792013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12280
12281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12282
2b66ef5d
TS
122832013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12284
528c2405
TS
12285 * stdio-common/bug26.c (main): Correct fscanf template.
12286
07b4c13d
TS
12287 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12288 declare _dl_skip_args.
12289
ec9dd97c
TS
12290 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12291 Don't declare.
12292
2b66ef5d
TS
12293 * manual/platform.texi: Add missing @end deftypefun.
12294
4f8dfe27
JM
122952013-05-24 Joseph Myers <joseph@codesourcery.com>
12296
0323d086
JM
12297 [BZ #15529]
12298 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12299 bit of mantissa of 2^16382.
12300 * math/libm-test.inc (hypot_test_data): Add more tests.
12301
dd4259b9
JM
12302 * math/libm-test.inc: Add drem and pow10 to list of tested
12303 functions.
12304 (pow10_test): New function.
12305 (drem_test): Likewise.
12306 (drem_test_tonearest): Likewise.
12307 (drem_test_towardzero): Likewise.
12308 (drem_test_downward): Likewise.
12309 (drem_test_upward): Likewise.
12310 (main): Call the new functions.
12311
4f8dfe27
JM
12312 * math/libm-test.inc (finite_test_data): Remove.
12313 (finite_test): Run tests from isfinite_test_data.
12314 (gamma_test_data): Remove.
12315 (gamma_test): Run tests from lgamma_test_data.
12316 * sysdeps/i386/fpu/libm-test-ulps: Update.
12317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12318
d116b7c4
AZ
123192013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12320
12321 * manual/platform.texi: Add PowerPC PPR function set documentation.
12322 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12323 implementation.
12324
e96e3767
CD
123252013-05-24 Carlos O'Donell <carlos@redhat.com>
12326
12327 * math/libm-test.inc (MAX_EXP): Define.
12328 (ULPDIFF): Define.
12329 (ulp): New function.
12330 (check_float_internal): Use ULPDIFF.
12331 (cpow_test): Disable failing test.
12332 (check_ulp): Test ulp() implemetnation.
12333 (main): Call check_ulp before starting tests.
12334
b679a606
JM
123352013-05-24 Joseph Myers <joseph@codesourcery.com>
12336
e8bdba36
JM
12337 * math/gen-libm-test.pl (generate_testfile): Do not handle
12338 START_DATA and END_DATA.
12339 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12340 END_DATA.
12341 (acos_tonearest_test_data): Likewise.
12342 (acos_towardzero_test_data): Likewise.
12343 (acos_downward_test_data): Likewise.
12344 (acos_upward_test_data): Likewise.
12345 (acosh_test_data): Likewise.
12346 (asin_test_data): Likewise.
12347 (asin_tonearest_test_data): Likewise.
12348 (asin_towardzero_test_data): Likewise.
12349 (asin_downward_test_data): Likewise.
12350 (asin_upward_test_data): Likewise.
12351 (asinh_test_data): Likewise.
12352 (atan_test_data): Likewise.
12353 (atanh_test_data): Likewise.
12354 (atan2_test_data): Likewise.
12355 (cabs_test_data): Likewise.
12356 (cacos_test_data): Likewise.
12357 (cacosh_test_data): Likewise.
12358 (carg_test_data): Likewise.
12359 (casin_test_data): Likewise.
12360 (casinh_test_data): Likewise.
12361 (catan_test_data): Likewise.
12362 (catanh_test_data): Likewise.
12363 (cbrt_test_data): Likewise.
12364 (ccos_test_data): Likewise.
12365 (ccosh_test_data): Likewise.
12366 (ceil_test_data): Likewise.
12367 (cexp_test_data): Likewise.
12368 (cimag_test_data): Likewise.
12369 (clog_test_data): Likewise.
12370 (clog10_test_data): Likewise.
12371 (conj_test_data): Likewise.
12372 (copysign_test_data): Likewise.
12373 (cos_test_data): Likewise.
12374 (cos_tonearest_test_data): Likewise.
12375 (cos_towardzero_test_data): Likewise.
12376 (cos_downward_test_data): Likewise.
12377 (cos_upward_test_data): Likewise.
12378 (cosh_test_data): Likewise.
12379 (cosh_tonearest_test_data): Likewise.
12380 (cosh_towardzero_test_data): Likewise.
12381 (cosh_downward_test_data): Likewise.
12382 (cosh_upward_test_data): Likewise.
12383 (cpow_test_data): Likewise.
12384 (cproj_test_data): Likewise.
12385 (creal_test_data): Likewise.
12386 (csin_test_data): Likewise.
12387 (csinh_test_data): Likewise.
12388 (csqrt_test_data): Likewise.
12389 (ctan_test_data): Likewise.
12390 (ctan_tonearest_test_data): Likewise.
12391 (ctan_towardzero_test_data): Likewise.
12392 (ctan_downward_test_data): Likewise.
12393 (ctan_upward_test_data): Likewise.
12394 (ctanh_test_data): Likewise.
12395 (ctanh_tonearest_test_data): Likewise.
12396 (ctanh_towardzero_test_data): Likewise.
12397 (ctanh_downward_test_data): Likewise.
12398 (ctanh_upward_test_data): Likewise.
12399 (erf_test_data): Likewise.
12400 (erfc_test_data): Likewise.
12401 (exp_test_data): Likewise.
12402 (exp_tonearest_test_data): Likewise.
12403 (exp_towardzero_test_data): Likewise.
12404 (exp_downward_test_data): Likewise.
12405 (exp_upward_test_data): Likewise.
12406 (exp10_test_data): Likewise.
12407 (exp2_test_data): Likewise.
12408 (expm1_test_data): Likewise.
12409 (fabs_test_data): Likewise.
12410 (fdim_test_data): Likewise.
12411 (finite_test_data): Likewise.
12412 (floor_test_data): Likewise.
12413 (fma_test_data): Likewise.
12414 (fma_towardzero_test_data): Likewise.
12415 (fma_downward_test_data): Likewise.
12416 (fma_upward_test_data): Likewise.
12417 (fmax_test_data): Likewise.
12418 (fmin_test_data): Likewise.
12419 (fmod_test_data): Likewise.
12420 (fpclassify_test_data): Likewise.
12421 (frexp_test_data): Likewise.
12422 (gamma_test_data): Likewise.
12423 (hypot_test_data): Likewise.
12424 (ilogb_test_data): Likewise.
12425 (isfinite_test_data): Likewise.
12426 (isgreater_test_data): Likewise.
12427 (isgreaterequal_test_data): Likewise.
12428 (isinf_test_data): Likewise.
12429 (isless_test_data): Likewise.
12430 (islessequal_test_data): Likewise.
12431 (islessgreater_test_data): Likewise.
12432 (isnan_test_data): Likewise.
12433 (isnormal_test_data): Likewise.
12434 (issignaling_test_data): Likewise.
12435 (isunordered_test_data): Likewise.
12436 (j0_test_data): Likewise.
12437 (j1_test_data): Likewise.
12438 (jn_test_data): Likewise.
12439 (ldexp_test_data): Likewise.
12440 (lgamma_test_data): Likewise.
12441 (lrint_test_data): Likewise.
12442 (lrint_tonearest_test_data): Likewise.
12443 (lrint_towardzero_test_data): Likewise.
12444 (lrint_downward_test_data): Likewise.
12445 (lrint_upward_test_data): Likewise.
12446 (llrint_test_data): Likewise.
12447 (llrint_tonearest_test_data): Likewise.
12448 (llrint_towardzero_test_data): Likewise.
12449 (llrint_downward_test_data): Likewise.
12450 (llrint_upward_test_data): Likewise.
12451 (log_test_data): Likewise.
12452 (log10_test_data): Likewise.
12453 (log1p_test_data): Likewise.
12454 (log2_test_data): Likewise.
12455 (logb_test_data): Likewise.
12456 (logb_downward_test_data): Likewise.
12457 (lround_test_data): Likewise.
12458 (llround_test_data): Likewise.
12459 (modf_test_data): Likewise.
12460 (nearbyint_test_data): Likewise.
12461 (nextafter_test_data): Likewise.
12462 (nexttoward_test_data): Likewise.
12463 (pow_test_data): Likewise.
12464 (pow_tonearest_test_data): Likewise.
12465 (pow_towardzero_test_data): Likewise.
12466 (pow_downward_test_data): Likewise.
12467 (pow_upward_test_data): Likewise.
12468 (remainder_test_data): Likewise.
12469 (remainder_tonearest_test_data): Likewise.
12470 (remainder_towardzero_test_data): Likewise.
12471 (remainder_downward_test_data): Likewise.
12472 (remainder_upward_test_data): Likewise.
12473 (remquo_test_data): Likewise.
12474 (rint_test_data): Likewise.
12475 (rint_tonearest_test_data): Likewise.
12476 (rint_towardzero_test_data): Likewise.
12477 (rint_downward_test_data): Likewise.
12478 (rint_upward_test_data): Likewise.
12479 (round_test_data): Likewise.
12480 (scalb_test_data): Likewise.
12481 (scalbn_test_data): Likewise.
12482 (scalbln_test_data): Likewise.
12483 (signbit_test_data): Likewise.
12484 (sin_test_data): Likewise.
12485 (sin_tonearest_test_data): Likewise.
12486 (sin_towardzero_test_data): Likewise.
12487 (sin_downward_test_data): Likewise.
12488 (sin_upward_test_data): Likewise.
12489 (sincos_test_data): Likewise.
12490 (sinh_test_data): Likewise.
12491 (sinh_tonearest_test_data): Likewise.
12492 (sinh_towardzero_test_data): Likewise.
12493 (sinh_downward_test_data): Likewise.
12494 (sinh_upward_test_data): Likewise.
12495 (sqrt_test_data): Likewise.
12496 (tan_test_data): Likewise.
12497 (tan_tonearest_test_data): Likewise.
12498 (tan_towardzero_test_data): Likewise.
12499 (tan_downward_test_data): Likewise.
12500 (tan_upward_test_data): Likewise.
12501 (tanh_test_data): Likewise.
12502 (tgamma_test_data): Likewise.
12503 (trunc_test_data): Likewise.
12504 (y0_test_data): Likewise.
12505 (y1_test_data): Likewise.
12506 (yn_test_data): Likewise.
12507 (significand_test_data): Likewise.
12508
b679a606
JM
12509 * math/gen-libm-test.pl (@functions): Remove variable.
12510 (generate_testfile): Don't handle START and END lines.
12511 * math/libm-test.inc (START): New macro.
12512 (END): Likewise.
12513 (END_COMPLEX): Likewise.
12514 (acos_test): Use END macro without arguments.
12515 (acos_test_tonearest): Likewise.
12516 (acos_test_towardzero): Likewise.
12517 (acos_test_downward): Likewise.
12518 (acos_test_upward): Likewise.
12519 (acosh_test): Likewise.
12520 (asin_test): Likewise.
12521 (asin_test_tonearest): Likewise.
12522 (asin_test_towardzero): Likewise.
12523 (asin_test_downward): Likewise.
12524 (asin_test_upward): Likewise.
12525 (asinh_test): Likewise.
12526 (atan_test): Likewise.
12527 (atanh_test): Likewise.
12528 (atan2_test): Likewise.
12529 (cabs_test): Likewise.
12530 (cacos_test): Use END_COMPLEX macro without arguments.
12531 (cacosh_test): Likewise.
12532 (carg_test): Use END macro without arguments.
12533 (casin_test): Use END_COMPLEX macro without arguments.
12534 (casinh_test): Likewise.
12535 (catan_test): Likewise.
12536 (catanh_test): Likewise.
12537 (cbrt_test): Use END macro without arguments.
12538 (ccos_test): Use END_COMPLEX macro without arguments.
12539 (ccosh_test): Likewise.
12540 (ceil_test): Use END macro without arguments.
12541 (cexp_test): Use END_COMPLEX macro without arguments.
12542 (cimag_test): Use END macro without arguments.
12543 (clog_test): Use END_COMPLEX macro without arguments.
12544 (clog10_test): Likewise.
12545 (conj_test): Likewise.
12546 (copysign_test): Use END macro without arguments.
12547 (cos_test): Likewise.
12548 (cos_test_tonearest): Likewise.
12549 (cos_test_towardzero): Likewise.
12550 (cos_test_downward): Likewise.
12551 (cos_test_upward): Likewise.
12552 (cosh_test): Likewise.
12553 (cosh_test_tonearest): Likewise.
12554 (cosh_test_towardzero): Likewise.
12555 (cosh_test_downward): Likewise.
12556 (cosh_test_upward): Likewise.
12557 (cpow_test): Use END_COMPLEX macro without arguments.
12558 (cproj_test): Likewise.
12559 (creal_test): Use END macro without arguments.
12560 (csin_test): Use END_COMPLEX macro without arguments.
12561 (csinh_test): Likewise.
12562 (csqrt_test): Likewise.
12563 (ctan_test): Likewise.
12564 (ctan_test_tonearest): Likewise.
12565 (ctan_test_towardzero): Likewise.
12566 (ctan_test_downward): Likewise.
12567 (ctan_test_upward): Likewise.
12568 (ctanh_test): Likewise.
12569 (ctanh_test_tonearest): Likewise.
12570 (ctanh_test_towardzero): Likewise.
12571 (ctanh_test_downward): Likewise.
12572 (ctanh_test_upward): Likewise.
12573 (erf_test): Use END macro without arguments.
12574 (erfc_test): Likewise.
12575 (exp_test): Likewise.
12576 (exp_test_tonearest): Likewise.
12577 (exp_test_towardzero): Likewise.
12578 (exp_test_downward): Likewise.
12579 (exp_test_upward): Likewise.
12580 (exp10_test): Likewise.
12581 (exp2_test): Likewise.
12582 (expm1_test): Likewise.
12583 (fabs_test): Likewise.
12584 (fdim_test): Likewise.
12585 (finite_test): Likewise.
12586 (floor_test): Likewise.
12587 (fma_test): Likewise.
12588 (fma_test_towardzero): Likewise.
12589 (fma_test_downward): Likewise.
12590 (fma_test_upward): Likewise.
12591 (fmax_test): Likewise.
12592 (fmin_test): Likewise.
12593 (fmod_test): Likewise.
12594 (fpclassify_test): Likewise.
12595 (frexp_test): Likewise.
12596 (gamma_test): Likewise.
12597 (hypot_test): Likewise.
12598 (ilogb_test): Likewise.
12599 (isfinite_test): Likewise.
12600 (isgreater_test): Likewise.
12601 (isgreaterequal_test): Likewise.
12602 (isinf_test): Likewise.
12603 (isless_test): Likewise.
12604 (islessequal_test): Likewise.
12605 (islessgreater_test): Likewise.
12606 (isnan_test): Likewise.
12607 (isnormal_test): Likewise.
12608 (issignaling_test): Likewise.
12609 (isunordered_test): Likewise.
12610 (j0_test): Likewise.
12611 (j1_test): Likewise.
12612 (jn_test): Likewise.
12613 (ldexp_test): Likewise.
12614 (lgamma_test): Likewise.
12615 (lrint_test): Likewise.
12616 (lrint_test_tonearest): Likewise.
12617 (lrint_test_towardzero): Likewise.
12618 (lrint_test_downward): Likewise.
12619 (lrint_test_upward): Likewise.
12620 (llrint_test): Likewise.
12621 (llrint_test_tonearest): Likewise.
12622 (llrint_test_towardzero): Likewise.
12623 (llrint_test_downward): Likewise.
12624 (llrint_test_upward): Likewise.
12625 (log_test): Likewise.
12626 (log10_test): Likewise.
12627 (log1p_test): Likewise.
12628 (log2_test): Likewise.
12629 (logb_test): Likewise.
12630 (logb_test_downward): Likewise.
12631 (lround_test): Likewise.
12632 (llround_test): Likewise.
12633 (modf_test): Likewise.
12634 (nearbyint_test): Likewise.
12635 (nextafter_test): Likewise.
12636 (nexttoward_test): Likewise.
12637 (pow_test): Likewise.
12638 (pow_test_tonearest): Likewise.
12639 (pow_test_towardzero): Likewise.
12640 (pow_test_downward): Likewise.
12641 (pow_test_upward): Likewise.
12642 (remainder_test): Likewise.
12643 (remainder_test_tonearest): Likewise.
12644 (remainder_test_towardzero): Likewise.
12645 (remainder_test_downward): Likewise.
12646 (remainder_test_upward): Likewise.
12647 (remquo_test): Likewise.
12648 (rint_test): Likewise.
12649 (rint_test_tonearest): Likewise.
12650 (rint_test_towardzero): Likewise.
12651 (rint_test_downward): Likewise.
12652 (rint_test_upward): Likewise.
12653 (round_test): Likewise.
12654 (scalb_test): Likewise.
12655 (scalbn_test): Likewise.
12656 (scalbln_test): Likewise.
12657 (signbit_test): Likewise.
12658 (sin_test): Likewise.
12659 (sin_test_tonearest): Likewise.
12660 (sin_test_towardzero): Likewise.
12661 (sin_test_downward): Likewise.
12662 (sin_test_upward): Likewise.
12663 (sincos_test): Likewise.
12664 (sinh_test): Likewise.
12665 (sinh_test_tonearest): Likewise.
12666 (sinh_test_towardzero): Likewise.
12667 (sinh_test_downward): Likewise.
12668 (sinh_test_upward): Likewise.
12669 (sqrt_test): Likewise.
12670 (tan_test): Likewise.
12671 (tan_test_tonearest): Likewise.
12672 (tan_test_towardzero): Likewise.
12673 (tan_test_downward): Likewise.
12674 (tan_test_upward): Likewise.
12675 (tanh_test): Likewise.
12676 (tgamma_test): Likewise.
12677 (trunc_test): Likewise.
12678 (y0_test): Likewise.
12679 (y1_test): Likewise.
12680 (yn_test): Likewise.
12681 (significand_test): Likewise.
12682
bae143d2
OB
126832013-05-24 Ondřej Bílka <neleai@seznam.cz>
12684
12685 [BZ #15381]
12686 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12687
9323d39b
EM
126882013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12689
d4ea44a0 12690 [BZ #14894]
9323d39b
EM
12691 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12692 __ppc_mdoio and __ppc_mdoom.
12693 * manual/platform.texi: Document new functions __ppc_yield,
12694 __ppc_mdoio and __ppc_mdoom.
12695
13e23af7
CD
126962013-05-22 Carlos O'Donell <carlos@redhat.com>
12697
12698 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12699 (main): Mention "tls" pseudo-hwcap is legacy.
12700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12701
351fe550
JM
127022013-05-22 Joseph Myers <joseph@codesourcery.com>
12703
12704 * math/gen-libm-test.pl (parse_args): Output only string of
12705 arguments as text for test name, not full call or descriptions of
12706 tests for extra outputs.
12707 (generate_testfile): Do not pass function name to parse_args.
12708 Generate this_func variable from START.
12709 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12710 field to arg_str.
12711 (struct test_ff_f_data): Likewise.
12712 (test_ff_f_data_nexttoward): Likewise.
12713 (struct test_fi_f_data): Likewise.
12714 (struct test_fl_f_data): Likewise.
12715 (struct test_if_f_data): Likewise.
12716 (struct test_fff_f_data): Likewise.
12717 (struct test_c_f_data): Likewise.
12718 (struct test_f_f1_data): Likewise. Remove field extra_name.
12719 (struct test_fF_f1_data): Likewise.
12720 (struct test_ffI_f1_data): Likewise.
12721 (struct test_c_c_data): Rename test_name field to arg_str.
12722 (struct test_cc_c_data): Likewise.
12723 (struct test_f_i_data): Likewise.
12724 (struct test_ff_i_data): Likewise.
12725 (struct test_f_l_data): Likewise.
12726 (struct test_f_L_data): Likewise.
12727 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12728 and extra2_name.
12729 (COMMON_TEST_SETUP): New macro.
12730 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12731 (COMMON_TEST_CLEANUP): Likewise.
12732 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12733 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12734 macros.
12735 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12736 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12737 macros.
12738 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12739 (RUN_TEST_fff_f): Take argument string. Call new setup and
12740 cleanup macros.
12741 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12742 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12743 macros.
12744 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12745 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12746 macros.
12747 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12748 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12749 cleanup macros.
12750 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12751 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12752 cleanup macros.
12753 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12754 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12755 cleanup macros.
12756 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12757 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12758 macros.
12759 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12760 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12761 macros.
12762 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12763 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12764 macros.
12765 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12766 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12767 cleanup macros.
12768 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12769 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12770 cleanup macros.
12771 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12772 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12773 macros.
12774 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12775 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12776 cleanup macros.
12777 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12778 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12779 macros.
12780 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12781 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12782 macros.
12783 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12784 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12785 cleanup macros.
12786 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12787
85118d4d
EBM
127882013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12789
12790 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12791 to _sifields.sigfault.
12792 (si_addr_lsb): Define new macro.
12793 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12794 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12795 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12796
7a44c18f
CD
127972013-05-03 Carlos O'Donell <carlos at redhat.com>
12798
12799 [BZ #15441]
12800 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12801 returns -1.
12802 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12803 null return -1.
12804 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12805 loading the domain.
12806
b50a7181
JM
128072013-05-22 Joseph Myers <joseph@codesourcery.com>
12808
12809 * math/gen-libm-test.pl (parse_args): Do not include expected
12810 result in test name.
12811 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12812 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12813 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12814 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12817
051063c8
SP
128182013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12819
3ce9e010
SP
12820 * benchtests/Makefile: Sort function entries.
12821
051063c8
SP
12822 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12823 tanh, asinh, acosh, atanh.
12824 * benchtests/acos-inputs: New file.
12825 * benchtests/acosh-inputs: New file.
12826 * benchtests/asin-inputs: New file.
12827 * benchtests/asinh-inputs: New file.
12828 * benchtests/atanh-inputs: New file.
12829 * benchtests/cosh-inputs: New file.
12830 * benchtests/log-inputs: New file.
12831 * benchtests/sinh-inputs: New file.
12832 * benchtests/tanh-inputs: New file.
12833
47c22455
DL
128342013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12835
12836 [BZ #15339]
12837 * posix/tst-getaddrinfo4.c: New test.
12838 * posix/Makefile (tests): Add it.
12839
3d04f5db
SP
128402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12841
12842 [BZ #15339]
12843 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12844 when no services were used.
12845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12846 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12847
d5dd6189
AS
128482013-05-21 Andreas Schwab <schwab@suse.de>
12849
12850 [BZ #15014]
12851 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12852 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12853 successful.
12854 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12855 redundant variable declarations and reallocation of buffer when
12856 parsing as IPv6 address. Always set NSS status when called from
12857 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12858 buffer too small. Correct computation of needed size.
12859 * nss/Makefile (tests): Add test-digits-dots.
12860 * nss/test-digits-dots.c: New test.
12861
fef94eab
SP
128622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12863
12864 * benchtests/Makefile: Remove instructions for adding
12865 benchmark tests.
12866 * benchtests/README: New file to explain how to execute and
12867 enhance the benchmark tests.
12868
e39adf43
AS
128692013-05-21 Andreas Schwab <schwab@suse.de>
12870
12871 [BZ #15493]
12872 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12873 * setjmp/tst-sigsetjmp.c: New test.
12874
b2b671b6
OB
128752013-05-20 Ondřej Bílka <neleai@seznam.cz>
12876
12877 * sysdeps/x86_64/memset.S (memset): New implementation.
12878 (__bzero): Likewise.
12879 (__memset_tail): New function.
12880
2d48b41c
OB
128812013-05-20 Ondřej Bílka <neleai@seznam.cz>
12882
12883 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12884 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12885 __memcpy_sse2_unaligned ifunc selection.
12886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12887 Add memcpy-sse2-unaligned.S.
12888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12889 Add: __memcpy_sse2_unaligned.
12890
f16cc3eb
JM
128912013-05-19 Joseph Myers <joseph@codesourcery.com>
12892
3e694268
JM
12893 [BZ #15490]
12894 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12895 math_force_eval before restoring floating-point envrionment.
12896 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12898 Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12900 <math_private.h>.
12901 (__nearbyintl): Use math_force_eval before restoring
12902 floating-point environment.
12903 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12904
db62a907
JM
12905 * math/gen-libm-test.pl (special_functions): Remove.
12906 (parse_args): Don't handle TEST_extra. Handle functions with no
12907 return value.
12908 * math/libm-test.inc (struct test_sincos_data): Replace with
12909 struct test_fFF_11_data.
12910 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12911 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12912 (sincos_test_data): Change element type to struct
12913 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12914 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12915 RUN_TEST_LOOP_sincos.
12916 * math/README.libm-test: Don't mention special handling of
12917 individual functions.
12918 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12920 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12921 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12922 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924
f16cc3eb
JM
12925 * math/gen-libm-test.pl (get_variable): Remove function.
12926 (parse_args): Don't show pointer parameters to call in test
12927 names. Use "extra output N" in test names for extra outputs
12928 rather than naming variables.
12929
3779b5b6
JM
129302013-05-18 Joseph Myers <joseph@codesourcery.com>
12931
2ee094ff
JM
12932 [BZ #15488]
12933 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12934 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12935 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12936 double tests.
12937 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12938 disable.
12939 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12940 check_long_double.
12941
3779b5b6
JM
12942 * math/gen-libm-test.pl (@tests): Remove variable.
12943 ($count): Likewise.
12944 (new_test): Remove function.
12945 (show_exceptions): New function.
12946 (special_functions): Use show_exceptions instead of new_test.
12947 (parse_args): Likewise.
12948 (generate_testfile): Pass only function name in generated call to
12949 print_max_error or print_complex_max_error.
12950 (get_ulps): Do not handle complex tests specially.
12951 (output_test): Rename to ...
12952 (get_all_ulps_for_test): ... this. Return a string rather than
12953 printing to a file. Require ulps to be present.
12954 (output_ulps): Generate arrays rather than #defines.
12955 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12956 (struct ulp_data): New type.
12957 (BUILD_COMPLEX_ULP): Remove macro.
12958 (compare_ulp_data): New function.
12959 (find_ulps): Likewise.
12960 (find_test_ulps): Likewise.
12961 (find_function_ulps): Likewise.
12962 (find_complex_function_ulps): Likewise.
12963 (print_max_error): Determine allowed ulps using
12964 find_function_ulps.
12965 (print_complex_max_error): Determine allowed ulps using
12966 find_complex_function_ulps.
12967 (check_float_internal): Determine max ulps using find_test_ulps.
12968 (check_float): Do not take max_ulp parameter. Update call to
12969 check_float_internal.
12970 (check_complex): Likewise.
12971 (check_int): Do not take max_ulp parameter.
12972 (check_long): Likewise.
12973 (check_bool): Likewise.
12974 (check_longlong): Likewise.
12975 (struct test_f_f_data): Remove max_ulp field.
12976 (struct test_ff_f_data): Likewise.
12977 (struct test_ff_f_data_nexttoward): Likewise.
12978 (struct test_fi_f_data): Likewise.
12979 (struct test_fl_f_data): Likewise.
12980 (struct test_if_f_data): Likewise.
12981 (struct test_fff_f_data): Likewise.
12982 (struct test_c_f_data): Likewise.
12983 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12984 (struct test_fF_f1_data): Likewise.
12985 (struct test_ffI_f1_data): Likewise.
12986 (struct test_c_c_data): Remove max_ulp field.
12987 (struct test_cc_c_data): Likewise.
12988 (struct test_f_i_data): Likewise.
12989 (struct test_ff_i_data): Likewise.
12990 (struct test_f_l_data): Likewise.
12991 (struct test_f_L_data): Likewise.
12992 (struct test_sincos_data): Likewise.
12993 (RUN_TEST_f_f): Do not handle ulps.
12994 (RUN_TEST_LOOP_f_f): Likewise.
12995 (RUN_TEST_2_f): Likewise.
12996 (RUN_TEST_LOOP_2_f): Likewise.
12997 (RUN_TEST_fff_f): Likewise.
12998 (RUN_TEST_LOOP_fff_f): Likewise.
12999 (RUN_TEST_c_f): Likewise.
13000 (RUN_TEST_LOOP_c_f): Likewise.
13001 (RUN_TEST_f_f1): Likewise.
13002 (RUN_TEST_LOOP_f_f1): Likewise.
13003 (RUN_TEST_fF_f1): Likewise.
13004 (RUN_TEST_LOOP_fF_f1): Likewise.
13005 (RUN_TEST_fI_f1): Likewise.
13006 (RUN_TEST_LOOP_fI_f1): Likewise.
13007 (RUN_TEST_ffI_f1): Likewise.
13008 (RUN_TEST_LOOP_ffI_f1): Likewise.
13009 (RUN_TEST_c_c): Likewise.
13010 (RUN_TEST_LOOP_c_c): Likewise.
13011 (RUN_TEST_cc_c): Likewise.
13012 (RUN_TEST_LOOP_cc_c): Likewise.
13013 (RUN_TEST_f_i): Likewise.
13014 (RUN_TEST_LOOP_f_i): Likewise.
13015 (RUN_TEST_f_i_tg): Likewise.
13016 (RUN_TEST_LOOP_f_i_tg): Likewise.
13017 (RUN_TEST_ff_i_tg): Likewise.
13018 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13019 (RUN_TEST_f_b): Likewise.
13020 (RUN_TEST_LOOP_f_b): Likewise.
13021 (RUN_TEST_f_b_tg): Likewise.
13022 (RUN_TEST_LOOP_f_b_tg): Likewise.
13023 (RUN_TEST_f_l): Likewise.
13024 (RUN_TEST_LOOP_f_l): Likewise.
13025 (RUN_TEST_f_L): Likewise.
13026 (RUN_TEST_LOOP_f_L): Likewise.
13027 (RUN_TEST_sincos): Likewise.
13028 (RUN_TEST_LOOP_sincos): Likewise.
13029
8269107f
JM
130302013-05-17 Joseph Myers <joseph@codesourcery.com>
13031
bb38759d
JM
13032 [BZ #15480]
13033 [BZ #15485]
13034 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13035 main case of finite arguments, set rounding mode to FE_TONEAREST
13036 and discard exceptions.
13037 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13038 exceptions.
13039 (remainder_tonearest_test_data): New variable.
13040 (remainder_test_tonearest): New function.
13041 (remainder_towardzero_test_data): New variable.
13042 (remainder_test_towardzero): New function.
13043 (remainder_downward_test_data): New variable.
13044 (remainder_test_downward): New function.
13045 (remainder_upward_test_data): New variable.
13046 (remainder_test_upward): New function.
13047 (main): Call the new test functions.
13048
a00bdcf0
JM
13049 * math/libm-test.inc (struct test_f_f1_data): Remove field
13050 extra_init.
13051 (struct test_fF_f1_data): Likewise.
13052 (struct test_ffI_f1_data): Likewise.
13053 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13054 based on value of EXTRA_EXPECTED.
13055 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13056 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13057 EXTRA_VAR based on value of EXTRA_EXPECTED.
13058 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13059 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13060 EXTRA_VAR based on value of EXTRA_EXPECTED.
13061 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13062 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13063 EXTRA_VAR based on value of EXTRA_EXPECTED.
13064 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13065 * math/gen-libm-test.pl (parse_args): Don't output initializers
13066 for extra output values.
13067
de407f79
JM
13068 * math/libm-test.inc (check_int): Expect result to be exactly
13069 equal to expected value and do not handle ulps.
13070 (check_long): Likewise.
13071 (check_longlong): Likewise.
13072
8269107f
JM
13073 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13074 exceptions.
13075 (cimag_test_data): Likewise.
13076 (conj_test_data): Likewise.
13077 (copysign_test_data): Likewise.
13078 (cproj_test_data): Likewise.
13079 (creal_test_data): Likewise.
13080 (fabs_test_data): Likewise.
13081 (fdim_test_data): Likewise.
13082 (finite_test_data): Likewise.
13083 (floor_test_data): Likewise.
13084 (fmax_test_data): Likewise.
13085 (fmin_test_data): Likewise.
13086 (fmod_test_data): Likewise.
13087 (fpclassify_test_data): Likewise.
13088 (frexp_test_data): Likewise.
13089 (ilogb_test_data): Likewise.
13090 (isfinite_test_data): Likewise.
13091 (isgreater_test_data): Likewise.
13092 (isgreaterequal_test_data): Likewise.
13093 (isinf_test_data): Likewise.
13094 (isless_test_data): Likewise.
13095 (islessequal_test_data): Likewise.
13096 (islessgreater_test_data): Likewise.
13097 (isnan_test_data): Likewise.
13098 (isnormal_test_data): Likewise.
13099 (issignaling_test_data): Likewise.
13100 (isunordered_test_data): Likewise.
13101 (ldexp_test_data): Likewise.
13102 (lrint_test_data): Likewise.
13103 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13104 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13105 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13106 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13107 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13108 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13109 test input.
13110 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13111 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13112 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13113 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13114 that test input.
13115 (lrint_downward_test_data): Test for "inexact" exceptions.
13116 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13117 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13118 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13119 test input.
13120 (lrint_upward_test_data): Test for "inexact" exceptions.
13121 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13122 test input.
13123 (llrint_test_data): Test for "inexact" exceptions.
13124 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13125 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13126 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13127 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13128 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13129 (llrint_downward_test_data): Test for "inexact" exceptions.
13130 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13131 (llrint_upward_test_data): Test for "inexact" exceptions.
13132 (logb_test_data): Likewise.
13133 (logb_downward_test_data): Likewise.
13134 (nextafter_test_data): Likewise.
13135 (nexttoward_test_data): Likewise.
13136 (remainder_test_data): Likewise.
13137 (remquo_test_data): Likewise.
13138 (scalbn_test_data): Likewise.
13139 (scalbln_test_data): Likewise.
13140 (signbit_test_data): Likewise.
13141 (sqrt_test_data): Likewise.
13142 (significand_test_data): Likewise.
13143
48a18de1
SP
131442013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13145
13146 [BZ #15424]
13147 * benchtests/bench-modf.c (struct args): Mark arg0 as
13148 volatile.
13149 * scripts/bench.pl: Mark members of struct args as volatile.
13150
13d3b41a
AZ
131512013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13152
68191c1d 13153 [BZ # 15497]
13d3b41a
AZ
13154 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13155 negative infinity on POWER6 or lower.
13156 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13157
2848b105
MR
131582013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13159
13160 [BZ #15442]
13161 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13162 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13163 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13164 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13165 (_FP_SETQNAN): New macro.
13166 (_FP_SETQNAN_SEMIRAW): Likewise.
13167 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13168 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13169 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13170 (FP_EXTEND): Use _FP_FRAC_SNANP.
13171 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13172 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13173 into account.
13174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13175 New macro.
13176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13177 Likewise.
13178
323e5cb7
JM
131792013-05-16 Joseph Myers <joseph@codesourcery.com>
13180
c58b274f
JM
13181 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13182 with DIVIDE_BY_ZERO_EXCEPTION.
13183 (gamma_test_data): Likewise.
13184 (lgamma_test_data): Likewise.
13185 (log_test_data): Likewise.
13186 (log10_test_data): Likewise.
13187 (log2_test_data): Likewise.
13188 (tgamma_test_data): Likewise.
13189
0ab34904
JM
13190 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13191 (acos_test_tonearest): Likewise.
13192 (acos_test_towardzero): Likewise.
13193 (acos_test_downward): Likewise.
13194 (acos_test_upward): Likewise.
13195 (acosh_test): Likewise.
13196 (asin_test): Likewise.
13197 (asin_test_tonearest): Likewise.
13198 (asin_test_towardzero): Likewise.
13199 (asin_test_downward): Likewise.
13200 (asin_test_upward): Likewise.
13201 (asinh_test): Likewise.
13202 (atan_test): Likewise.
13203 (atanh_test): Likewise.
13204 (atan2_test): Likewise.
13205 (cabs_test): Likewise.
13206 (cacos_test): Likewise.
13207 (cacosh_test): Likewise.
13208 (casin_test): Likewise.
13209 (casinh_test): Likewise.
13210 (catan_test): Likewise.
13211 (catanh_test): Likewise.
13212 (cbrt_test): Likewise.
13213 (ccos_test): Likewise.
13214 (ccosh_test): Likewise.
13215 (cexp_test): Likewise.
13216 (clog_test): Likewise.
13217 (clog10_test): Likewise.
13218 (cos_test): Likewise.
13219 (cos_test_tonearest): Likewise.
13220 (cos_test_towardzero): Likewise.
13221 (cos_test_downward): Likewise.
13222 (cos_test_upward): Likewise.
13223 (cosh_test): Likewise.
13224 (cosh_test_tonearest): Likewise.
13225 (cosh_test_towardzero): Likewise.
13226 (cosh_test_downward): Likewise.
13227 (cosh_test_upward): Likewise.
13228 (cpow_test): Likewise.
13229 (csin_test): Likewise.
13230 (csinh_test): Likewise.
13231 (csqrt_test): Likewise.
13232 (ctan_test): Likewise.
13233 (ctan_test_tonearest): Likewise.
13234 (ctan_test_towardzero): Likewise.
13235 (ctan_test_downward): Likewise.
13236 (ctan_test_upward): Likewise.
13237 (ctanh_test): Likewise.
13238 (ctanh_test_tonearest): Likewise.
13239 (ctanh_test_towardzero): Likewise.
13240 (ctanh_test_downward): Likewise.
13241 (ctanh_test_upward): Likewise.
13242 (erf_test): Likewise.
13243 (erfc_test): Likewise.
13244 (exp_test): Likewise.
13245 (exp_test_tonearest): Likewise.
13246 (exp_test_towardzero): Likewise.
13247 (exp_test_downward): Likewise.
13248 (exp_test_upward): Likewise.
13249 (exp10_test): Likewise.
13250 (exp2_test): Likewise.
13251 (expm1_test): Likewise.
13252 (fmod_test): Likewise.
13253 (gamma_test): Likewise.
13254 (hypot_test): Likewise.
13255 (j0_test): Likewise.
13256 (j1_test): Likewise.
13257 (jn_test): Likewise.
13258 (lgamma_test): Likewise.
13259 (log_test): Likewise.
13260 (log10_test): Likewise.
13261 (log1p_test): Likewise.
13262 (log2_test): Likewise.
13263 (logb_test_downward): Likewise.
13264 (pow_test): Likewise.
13265 (pow_test_tonearest): Likewise.
13266 (pow_test_towardzero): Likewise.
13267 (pow_test_downward): Likewise.
13268 (pow_test_upward): Likewise.
13269 (remainder_test): Likewise.
13270 (remquo_test): Likewise.
13271 (sin_test): Likewise.
13272 (sin_test_tonearest): Likewise.
13273 (sin_test_towardzero): Likewise.
13274 (sin_test_downward): Likewise.
13275 (sin_test_upward): Likewise.
13276 (sincos_test): Likewise.
13277 (sinh_test): Likewise.
13278 (sinh_test_tonearest): Likewise.
13279 (sinh_test_towardzero): Likewise.
13280 (sinh_test_downward): Likewise.
13281 (sinh_test_upward): Likewise.
13282 (sqrt_test): Likewise.
13283 (tan_test): Likewise.
13284 (tan_test_tonearest): Likewise.
13285 (tan_test_towardzero): Likewise.
13286 (tan_test_downward): Likewise.
13287 (tan_test_upward): Likewise.
13288 (tanh_test): Likewise.
13289 (tgamma_test): Likewise.
13290 (y0_test): Likewise.
13291 (y1_test): Likewise.
13292 (yn_test): Likewise.
13293
323e5cb7
JM
13294 * math/gen-libm-test.pl (adjust_arg): Remove function.
13295 (special_function): Remove argument $in_func. Only handle
13296 generating output for tables of tests, not inside functions.
13297 (parse_args): Likewise.
13298 (generate_testfile): Remove variable $in_func. Update call to
13299 parse_args.
13300 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13301 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13302 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13303 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13304 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13305 (MAX_VALUE_INIT): Rename macro to max_value.
13306 (MIN_VALUE_INIT): Rename macro to min_value.
13307 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13308 (plus_zero): Remove variable.
13309 (minus_zero): Likewise.
13310 (plus_infty): Likewise.
13311 (minus_infty): Likewise.
13312 (qnan_value): Likewise.
13313 (max_value): Likewise.
13314 (min_value): Likewise.
13315 (min_subnorm_value): Likewise.
13316
e054f494
RA
133172013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13318
13319 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13320 uint64_t or uint32_t usage.
13321 * crypt/sha256-block.c: Likewise.
13322 * crypt/sha256-crypt.c: Likewise.
13323 * crypt/sha256.c: Likewise.
13324 * crypt/sha512-block.c: Likewise.
13325 * crypt/sha512-crypt.c: Likewise.
13326 * crypt/sha512.c: Likewise.
13327 * debug/backtrace-tst.c: Likewise.
13328 * debug/pcprofiledump.c: Likewise.
13329 * elf/cache.c: Likewise.
13330 * elf/dl-cache.c: Likewise.
13331 * elf/dl-misc.c: Likewise.
13332 * elf/dl-profile.c: Likewise.
13333 * elf/dl-support.c: Likewise.
13334 * elf/ldconfig.c: Likewise.
13335 * elf/sprof.c: Likewise.
13336 * iconv/dummy-repertoire.c: Likewise.
13337 * iconv/iconv_charmap.c: Likewise.
13338 * iconv/skeleton.c: Likewise.
13339 * iconvdata/8bit-generic.c: Likewise.
13340 * iconvdata/cp737.h: Likewise.
13341 * iconvdata/cp775.h: Likewise.
13342 * iconvdata/ibm1008.h: Likewise.
13343 * iconvdata/ibm1025.h: Likewise.
13344 * iconvdata/ibm1046.h: Likewise.
13345 * iconvdata/ibm1097.h: Likewise.
13346 * iconvdata/ibm1112.h: Likewise.
13347 * iconvdata/ibm1122.h: Likewise.
13348 * iconvdata/ibm1123.h: Likewise.
13349 * iconvdata/ibm1124.h: Likewise.
13350 * iconvdata/ibm1129.h: Likewise.
13351 * iconvdata/ibm1130.h: Likewise.
13352 * iconvdata/ibm1132.h: Likewise.
13353 * iconvdata/ibm1133.h: Likewise.
13354 * iconvdata/ibm1137.h: Likewise.
13355 * iconvdata/ibm1140.h: Likewise.
13356 * iconvdata/ibm1141.h: Likewise.
13357 * iconvdata/ibm1142.h: Likewise.
13358 * iconvdata/ibm1143.h: Likewise.
13359 * iconvdata/ibm1144.h: Likewise.
13360 * iconvdata/ibm1145.h: Likewise.
13361 * iconvdata/ibm1146.h: Likewise.
13362 * iconvdata/ibm1147.h: Likewise.
13363 * iconvdata/ibm1148.h: Likewise.
13364 * iconvdata/ibm1149.h: Likewise.
13365 * iconvdata/ibm1153.h: Likewise.
13366 * iconvdata/ibm1154.h: Likewise.
13367 * iconvdata/ibm1155.h: Likewise.
13368 * iconvdata/ibm1156.h: Likewise.
13369 * iconvdata/ibm1157.h: Likewise.
13370 * iconvdata/ibm1158.h: Likewise.
13371 * iconvdata/ibm1160.h: Likewise.
13372 * iconvdata/ibm1161.h: Likewise.
13373 * iconvdata/ibm1162.h: Likewise.
13374 * iconvdata/ibm1163.h: Likewise.
13375 * iconvdata/ibm1164.h: Likewise.
13376 * iconvdata/ibm1166.h: Likewise.
13377 * iconvdata/ibm1167.h: Likewise.
13378 * iconvdata/ibm12712.h: Likewise.
13379 * iconvdata/ibm1390.h: Likewise.
13380 * iconvdata/ibm1399.h: Likewise.
13381 * iconvdata/ibm16804.h: Likewise.
13382 * iconvdata/ibm4517.h: Likewise.
13383 * iconvdata/ibm4899.h: Likewise.
13384 * iconvdata/ibm4909.h: Likewise.
13385 * iconvdata/ibm4971.h: Likewise.
13386 * iconvdata/ibm5347.h: Likewise.
13387 * iconvdata/ibm803.h: Likewise.
13388 * iconvdata/ibm856.h: Likewise.
13389 * iconvdata/ibm901.h: Likewise.
13390 * iconvdata/ibm902.h: Likewise.
13391 * iconvdata/ibm9030.h: Likewise.
13392 * iconvdata/ibm9066.h: Likewise.
13393 * iconvdata/ibm921.h: Likewise.
13394 * iconvdata/ibm922.h: Likewise.
13395 * iconvdata/ibm9448.h: Likewise.
13396 * iconvdata/isiri-3342.h: Likewise.
13397 * iconvdata/jis0201.h: Likewise.
13398 * include/link.h: Likewise.
13399 * include/netdb.h: Likewise.
13400 * inet/check_native.c: Likewise.
13401 * inet/check_pf.c: Likewise.
13402 * inet/getipv4sourcefilter.c: Likewise.
13403 * inet/getnameinfo.c: Likewise.
13404 * inet/getsourcefilter.c: Likewise.
13405 * inet/htonl.c: Likewise.
13406 * inet/setipv4sourcefilter.c: Likewise.
13407 * inet/setsourcefilter.c: Likewise.
13408 * inet/test-inet6_opt.c: Likewise.
13409 * inet/tst-network.c: Likewise.
13410 * locale/C-collate.c: Likewise.
13411 * locale/C-ctype.c: Likewise.
13412 * locale/C-time.c: Likewise.
13413 * locale/C-translit.h: Likewise.
13414 * locale/loadarchive.c: Likewise.
13415 * locale/programs/3level.h: Likewise.
13416 * locale/programs/charmap.c: Likewise.
13417 * locale/programs/charmap.h: Likewise.
13418 * locale/programs/ld-address.c: Likewise.
13419 * locale/programs/ld-collate.c: Likewise.
13420 * locale/programs/ld-ctype.c: Likewise.
13421 * locale/programs/ld-identification.c: Likewise.
13422 * locale/programs/ld-measurement.c: Likewise.
13423 * locale/programs/ld-messages.c: Likewise.
13424 * locale/programs/ld-monetary.c: Likewise.
13425 * locale/programs/ld-name.c: Likewise.
13426 * locale/programs/ld-numeric.c: Likewise.
13427 * locale/programs/ld-paper.c: Likewise.
13428 * locale/programs/ld-telephone.c: Likewise.
13429 * locale/programs/ld-time.c: Likewise.
13430 * locale/programs/linereader.c: Likewise.
13431 * locale/programs/locale.c: Likewise.
13432 * locale/programs/locarchive.c: Likewise.
13433 * locale/programs/locfile.h: Likewise.
13434 * locale/programs/repertoire.c: Likewise.
13435 * locale/programs/simple-hash.c: Likewise.
13436 * locale/programs/simple-hash.h: Likewise.
13437 * malloc/memusage.c: Likewise.
13438 * malloc/memusagestat.c: Likewise.
13439 * nis/nis_defaults.c: Likewise.
13440 * nis/nis_hash.c: Likewise.
13441 * nis/nis_print.c: Likewise.
13442 * nis/nis_xdr.c: Likewise.
13443 * nscd/connections.c: Likewise.
13444 * nscd/hstcache.c: Likewise.
13445 * nscd/nscd_gethst_r.c: Likewise.
13446 * nscd/nscd_getserv_r.c: Likewise.
13447 * nscd/nscd_helper.c: Likewise.
13448 * nscd/servicescache.c: Likewise.
13449 * nss/makedb.c: Likewise.
13450 * nss/nss_db/db-XXX.c: Likewise.
13451 * nss/nss_db/db-initgroups.c: Likewise.
13452 * nss/nss_db/db-netgrp.c: Likewise.
13453 * nss/nss_files/files-network.c: Likewise.
13454 * nss/nss_files/files-parse.c: Likewise.
13455 * posix/bug-regex5.c: Likewise.
13456 * posix/fnmatch_loop.c: Likewise.
13457 * posix/regcomp.c: Likewise.
13458 * posix/regexec.c: Likewise.
13459 * posix/tst-rfc3484-2.c: Likewise.
13460 * posix/tst-rfc3484-3.c: Likewise.
13461 * posix/tst-rfc3484.c: Likewise.
13462 * resolv/nss_dns/dns-canon.c: Likewise.
13463 * resolv/nss_dns/dns-network.c: Likewise.
13464 * resolv/res_init.c: Likewise.
13465 * resolv/res_mkquery.c: Likewise.
13466 * resolv/tst-aton.c: Likewise.
13467 * stdlib/cxa_atexit.c: Likewise.
13468 * stdlib/cxa_finalize.c: Likewise.
13469 * stdlib/gen-fpioconst.c: Likewise.
13470 * stdlib/strtol_l.c: Likewise.
13471 * string/tst-endian.c: Likewise.
13472 * sunrpc/auth_des.c: Likewise.
13473 * sunrpc/clnt_udp.c: Likewise.
13474 * sunrpc/rtime.c: Likewise.
13475 * sunrpc/svcauth_des.c: Likewise.
13476 * sunrpc/xdr.c: Likewise.
13477 * sunrpc/xdr_intXX_t.c: Likewise.
13478 * sunrpc/xdr_rec.c: Likewise.
13479 * sysdeps/generic/ldconfig.h: Likewise.
13480 * sysdeps/generic/ldsodefs.h: Likewise.
13481 * sysdeps/generic/memusage.h: Likewise.
13482 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13485 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13492 * sysdeps/posix/getaddrinfo.c: Likewise.
13493 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13494 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13495 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13496 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13497 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13498 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13499 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13500 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13501 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13502 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13503 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13504 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13505 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13506 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13507 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13508 * sysdeps/x86_64/dl-tls.h: Likewise.
13509 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13510 * time/alt_digit.c: Likewise.
13511 * time/era.c: Likewise.
13512 * wcsmbs/tst-c16c32-1.c: Likewise.
13513
8c75f674
JM
135142013-05-16 Joseph Myers <joseph@codesourcery.com>
13515
13516 * math/libm-test.inc (struct test_sincos_data): New type.
13517 (RUN_TEST_LOOP_sincos): New macro.
13518 (sincos_test_data): New variable.
13519 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13520
e6e49e59
RH
135212013-05-16 Richard Henderson <rth@redhat.com>
13522
13523 * math/atest-exp2.c (LIMB64): New macro.
13524 (CONSTSZ): New macro.
13525 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13526 (hexdig): Move ...
13527 (print_mpn_fp): ... to function scope.
13528 (read_mpn_hex): Remove.
13529 (get_log2): Remove.
13530 (exp2_mpn): Use mp_log2.
13531 (main): Use mp_exp1.
13532
15c7c18d
JM
135332013-05-16 Joseph Myers <joseph@codesourcery.com>
13534
105a07df
JM
13535 * math/libm-test.inc: Remove comment about not testing "inexact"
13536 exceptions.
13537 (INEXACT_EXCEPTION): New macro.
13538 (NO_INEXACT_EXCEPTION): Likewise.
13539 (INVALID_EXCEPTION_OK): Update value.
13540 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13541 (OVERFLOW_EXCEPTION_OK): Likewise.
13542 (UNDERFLOW_EXCEPTION_OK): Likewise.
13543 (IGNORE_ZERO_INF_SIGN): Likewise.
13544 (ERRNO_UNCHANGED): Likewise.
13545 (ERRNO_EDOM): Likewise.
13546 (ERRNO_ERANGE): Likewise.
13547 (test_exceptions): Handle testing "inexact" exceptions.
13548 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13549 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13550 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13551 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13552 INEXACT_EXCEPTION.
13553 (rint_towardzero_test_data): Likewise.
13554 (rint_downward_test_data): Likewise.
13555 (rint_upward_test_data): Likewise.
13556
e9eee333
JM
13557 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13558 with OVERFLOW_EXCEPTION.
13559 (exp10_test_data): Likewise.
13560 (exp2_test_data): Likewise.
13561 (expm1_test_data): Likewise.
13562 (lgamma_test_data): Likewise.
13563 (pow_test_data): Likewise.
13564 (tgamma_test_data): Likewise.
13565 (yn_test_data): Remove duplicate test of overflow.
13566
1c38ff73
JM
13567 * math/libm-test.inc (struct test_cc_c_data): New type.
13568 (RUN_TEST_LOOP_cc_c): New macro.
13569 (cpow_test_data): New variable.
13570 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13571
15c7c18d
JM
13572 * math/libm-test.inc (struct test_f_L_data): New type.
13573 (RUN_TEST_LOOP_f_L): New macro.
13574 (llrint_test_data): New variable.
13575 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13576 (llrint_tonearest_test_data): New variable.
13577 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13578 (llrint_towardzero_test_data): New variable.
13579 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13580 (llrint_downward_test_data): New variable.
13581 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13582 (llrint_upward_test_data): New variable.
13583 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13584 (llround_test_data): New variable.
13585 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13586
f137ff13
PC
135872013-05-13 Peter Collingbourne <pcc@google.com>
13588
13589 * math/atest-exp2.c (get_log2): Remove const attribute.
13590
3608cb24
JM
135912013-05-15 Joseph Myers <joseph@codesourcery.com>
13592
13593 * math/libm-test.inc (struct test_f_l_data): New type.
13594 (RUN_TEST_LOOP_f_l): New macro.
13595 (lrint_test_data): New variable.
13596 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13597 (lrint_tonearest_test_data): New variable.
13598 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13599 (lrint_towardzero_test_data): New variable.
13600 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13601 (lrint_downward_test_data): New variable.
13602 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13603 (lrint_upward_test_data): New variable.
13604 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13605 (lround_test_data): New variable.
13606 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13607
39b1f617
PC
136082013-05-15 Peter Collingbourne <pcc@google.com>
13609
1deff3dc
PC
13610 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13611 (EXTRACT_WORDS64) Use where appropriate.
13612 (INSERT_WORDS64) Likewise.
13613
791f3ba0
PC
13614 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13615 constraints with x constraints.
13616 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13617
39b1f617
PC
13618 * malloc/obstack.c (_obstack_compat): Add initializer.
13619
12fba011
EM
136202013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13621
13622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13623 si_trapno and add si_addr_lsb to _sifields.sigfault.
13624 (si_trapno): Remove macro.
13625 (si_addr_lsb): Define new macro.
13626 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13627
d369f531
JM
136282013-05-15 Joseph Myers <joseph@codesourcery.com>
13629
b861c6c4
JM
13630 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13631 instead of TEST_f_l.
13632 (llrint_test_tonearest): Likewise.
13633 (llrint_test_towardzero): Likewise.
13634 (llrint_test_downward): Likewise.
13635 (llrint_test_upward): Likewise.
13636 (llround_test): Likewise.
13637
7abeee12
JM
13638 * math/libm-test.inc (struct test_f_i_data): Add comment.
13639 (RUN_TEST_LOOP_f_b): New macro.
13640 (RUN_TEST_LOOP_f_b_tg): Likewise.
13641 (finite_test_data): New variable.
13642 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13643 (isfinite_test_data): New variable.
13644 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13645 (isinf_test_data): New variable.
13646 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13647 (isnan_test_data): New variable.
13648 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13649 (isnormal_test_data): New variable.
13650 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13651 (issignaling_test_data): New variable.
13652 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13653 (signbit_test_data): New variable.
13654 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13655
cbe8c4d3
JM
13656 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13657 with INVALID_EXCEPTION.
13658 (acosh_test_data): Likewise.
13659 (asin_test_data): Likewise.
13660 (atanh_test_data): Likewise.
13661 (fmod_test_data): Likewise.
13662 (log_test_data): Likewise.
13663 (log10_test_data): Likewise.
13664 (log2_test_data): Likewise.
13665 (pow_test_data): Likewise.
13666 (sqrt_test_data): Likewise.
13667 (y0_test_data): Likewise.
13668 (y1_test_data): Likewise.
13669 (yn_test_data): Likewise.
13670
5575c0e5
JM
13671 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13672 function contents.
13673
d369f531
JM
13674 * math/libm-test.inc (struct test_ff_i_data): New type.
13675 (RUN_TEST_LOOP_ff_i_tg): New macro.
13676 (isgreater_test_data): New variable.
13677 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13678 (isgreaterequal_test_data): New variable.
13679 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13680 (isless_test_data): New variable.
13681 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13682 (islessequal_test_data): New variable.
13683 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13684 (islessgreater_test_data): New variable.
13685 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13686 (isunordered_test_data): New variable.
13687 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13688
781fd748
DM
136892013-05-14 David S. Miller <davem@davemloft.net>
13690
13691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13692
87aa21df
JM
136932013-05-14 Joseph Myers <joseph@codesourcery.com>
13694
5e908270
JM
13695 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13696
f71172e5
JM
13697 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13698 extra_test to int.
13699 (struct test_f_i_data): Change type of max_ulp to int.
13700
8cfa635a
JM
13701 * math/libm-test.inc (test_ffI_f1_data): New type.
13702 (RUN_TEST_LOOP_ffI_f1): New macro.
13703 (remquo_test_data): New variable.
13704 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13705
2bcb36b2
JM
13706 * setjmp/tst-setjmp-fp.c: New file.
13707 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13708 (link-libm): New variable.
13709 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13710
acbd839a
JM
13711 * math/libm-test.inc (struct test_f_i_data): New type.
13712 (RUN_TEST_LOOP_f_i): New macro.
13713 (RUN_TEST_LOOP_f_i_tg): Likewise.
13714 (fpclassify_test_data): New variable.
13715 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13716 (ilogb_test_data): New variable.
13717 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13718
e414d745
JM
13719 * math/libm-test.inc (scalbln_test): Correct function name in END
13720 call.
13721
d9c2a0fd
JM
13722 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13723 (RUN_TEST_LOOP_fI_f1): New macro.
13724 (frexp_test_data): New variable.
13725 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13726
9dc9095d
JM
13727 * math/libm-test.inc (struct test_fF_f1_data): New type.
13728 (RUN_TEST_LOOP_fF_f1): New macro.
13729 (modf_test_data): New variable.
13730 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13731
87aa21df
JM
13732 * math/libm-test.inc (struct test_f_f1_data): New type.
13733 (RUN_TEST_LOOP_f_f1): New macro.
13734 (gamma_test_data): New variable.
13735 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13736 (lgamma_test_data): New variable.
13737 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13738
141af660
CD
137392013-05-13 Carlos O'Donell <carlos@redhat.com>
13740
13741 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13742 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13743 (main): Comment "tls" pseudo-hwcap.
13744
6d33265c
JM
137452013-05-13 Joseph Myers <joseph@codesourcery.com>
13746
68fc074c
JM
13747 * math/libm-test.inc (struct test_fl_f_data): New type.
13748 (RUN_TEST_LOOP_fl_f): New variable.
13749 (scalbln_test_data): New variable.
13750 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13751
243216e1
JM
13752 * math/libm-test.inc (struct test_fi_f_data): New type.
13753 (RUN_TEST_LOOP_fi_f): New macro.
13754 (ldexp_test_data): New variable.
13755 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13756 (scalbn_test_data): New variable.
13757 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13758
6a1992e2
JM
13759 * math/libm-test.inc (struct test_c_f_data): New type.
13760 (RUN_TEST_LOOP_c_f): New macro.
13761 (cabs_test_data): New variable.
13762 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13763 (carg_test_data): New variable.
13764 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13765 (cimag_test_data): New variable.
13766 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13767 (creal_test_data): New variable.
13768 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13769
0e400df5
JM
13770 * math/libm-test.inc (struct test_if_f_data): New type.
13771 (RUN_TEST_LOOP_if_f): New macro.
13772 (jn_test_data): New variable.
13773 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13774 (yn_test_data): New variable.
13775 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13776
6d33265c
JM
13777 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13778
f98ece5f
AZ
137792013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13780
13781 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13782 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13783
0f7d347b
SP
137842013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13785
43fe811b
SP
13786 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13787 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13788 (bench-deps): Add bench-timing.h.
13789 * benchtests-bench-skeleton.c: Include bench-timing.h.
13790 (main): Use TIMING_* macros instead of clock_gettime.
13791 * benchtests/bench-timing.h: New file.
13792
0f7d347b
SP
13793 [BZ #14582]
13794 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13795 Renamed from _LIB_VERSION.
13796 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13797
601a3a5f
JM
137982013-05-12 Joseph Myers <joseph@codesourcery.com>
13799
4f184d30
JM
13800 * math/libm-test.inc (struct test_fff_f_data): New type.
13801 (RUN_TEST_LOOP_fff_f): New macro.
13802 (fma_test_data): New variable.
13803 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13804 (fma_towardzero_test_data): New variable.
13805 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13806 (fma_downward_test_data): New variable.
13807 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13808 (fma_upward_test_data): New variable.
13809 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13810
08198877
JM
13811 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13812 (struct test_c_c_data): New type.
13813 (RUN_TEST_LOOP_c_c): New macro.
13814 (cacos_test_data): New variable.
13815 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13816 (cacosh_test_data): New variable.
13817 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13818 (casin_test_data): New variable.
13819 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13820 (casinh_test_data): New variable.
13821 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13822 (catan_test_data): New variable.
13823 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13824 (catanh_test_data): New variable.
13825 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13826 (ccos_test_data): New variable.
13827 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13828 (ccosh_test_data): New variable.
13829 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13830 (cexp_test_data): New variable.
13831 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13832 (clog_test_data): New variable.
13833 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13834 (clog10_test_data): New variable.
13835 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13836 (conj_test_data): New variable.
13837 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13838 (cproj_test_data): New variable.
13839 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13840 (csin_test_data): New variable.
13841 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13842 (csinh_test_data): New variable.
13843 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13844 (csqrt_test_data): New variable.
13845 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13846 (ctan_test_data): New variable.
13847 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13848 (ctan_tonearest_test_data): New variable.
13849 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13850 (ctan_towardzero_test_data): New variable.
13851 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13852 (ctan_downward_test_data): New variable.
13853 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13854 (ctan_upward_test_data): New variable.
13855 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13856 (ctanh_test_data): New variable.
13857 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13858 (ctanh_tonearest_test_data): New variable.
13859 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13860 (ctanh_towardzero_test_data): New variable.
13861 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13862 (ctanh_downward_test_data): New variable.
13863 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13864 (ctanh_upward_test_data): New variable.
13865 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13866 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13867 of BUILD_COMPLEX.
13868
601a3a5f
JM
13869 * math/libm-test.inc (struct test_ff_f_data): New type.
13870 (struct test_ff_f_data_nexttoward): Likewise.
13871 (RUN_TEST_LOOP_2_f): New macro.
13872 (RUN_TEST_LOOP_ff_f): Likewise.
13873 (atan2_test_data): New variable.
13874 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13875 (copysign_test_data): New variable.
13876 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13877 (fdim_test_data): New variable.
13878 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13879 (fmax_test_data): New variable.
13880 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13881 (fmin_test_data): New variable.
13882 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13883 (fmod_test_data): New variable.
13884 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13885 (hypot_test_data): New variable.
13886 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13887 (nextafter_test_data): New variable.
13888 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13889 (nexttoward_test_data): New variable.
13890 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13891 (pow_test_data): New variable.
13892 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13893 (pow_tonearest_test_data): New variable.
13894 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13895 (pow_towardzero_test_data): New variable.
13896 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13897 (pow_downward_test_data): New variable.
13898 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13899 (pow_upward_test_data): New variable.
13900 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13901 (remainder_test_data): New variable.
13902 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13903 (scalb_test_data): New variable.
13904 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906
74c57478
JM
139072013-05-11 Joseph Myers <joseph@codesourcery.com>
13908
8329e4da
JM
13909 * math/libm-test.inc (fma_test): Use max_value instead of local
13910 variable fltmax.
13911 (nextafter_test): Likewise.
13912
74c57478
JM
13913 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13914 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13915 (acos_downward_test_data): New variable.
13916 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13917 (acos_upward_test_data): New variable.
13918 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13919 (acosh_test_data): New variable.
13920 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13921 (asin_test_data): New variable.
13922 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13923 (asin_tonearest_test_data): New variable.
13924 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13925 (asin_towardzero_test_data): New variable.
13926 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13927 (asin_downward_test_data): New variable.
13928 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13929 (asin_upward_test_data): New variable.
13930 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13931 (asinh_test_data): New variable.
13932 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13933 (atan_test_data): New variable.
13934 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13935 (atanh_test_data): New variable.
13936 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13937 (cbrt_test_data): New variable.
13938 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13939 (ceil_test_data): New variable.
13940 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13941 (cos_test_data): New variable.
13942 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13943 (cos_tonearest_test_data): New variable.
13944 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13945 (cos_towardzero_test_data): New variable.
13946 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13947 (cos_downward_test_data): New variable.
13948 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13949 (cos_upward_test_data): New variable.
13950 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13951 (cosh_test_data): New variable.
13952 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13953 (cosh_tonearest_test_data): New variable.
13954 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13955 (cosh_towardzero_test_data): New variable.
13956 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13957 (cosh_downward_test_data): New variable.
13958 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13959 (cosh_upward_test_data): New variable.
13960 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13961 (erf_test_data): New variable.
13962 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13963 (erfc_test_data): New variable.
13964 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13965 (exp_test_data): New variable.
13966 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13967 (exp_tonearest_test_data): New variable.
13968 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13969 (exp_towardzero_test_data): New variable.
13970 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13971 (exp_downward_test_data): New variable.
13972 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13973 (exp_upward_test_data): New variable.
13974 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13975 (exp10_test_data): New variable.
13976 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13977 (exp2_test_data): New variable.
13978 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13979 (expm1_test_data): New variable.
13980 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13981 (fabs_test_data): New variable.
13982 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13983 (floor_test_data): New variable.
13984 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13985 (j0_test_data): New variable.
13986 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13987 (j1_test_data): New variable.
13988 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13989 (log_test_data): New variable.
13990 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13991 (log10_test_data): New variable.
13992 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13993 (log1p_test_data): New variable.
13994 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13995 (log2_test_data): New variable.
13996 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13997 (logb_test_data): New variable.
13998 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13999 (logb_downward_test_data): New variable.
14000 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14001 (nearbyint_test_data): New variable.
14002 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14003 (rint_test_data): New variable.
14004 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14005 (rint_tonearest_test_data): New variable.
14006 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14007 (rint_towardzero_test_data): New variable.
14008 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14009 (rint_downward_test_data): New variable.
14010 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14011 (rint_upward_test_data): New variable.
14012 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14013 (round_test_data): New variable.
14014 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14015 (sin_test_data): New variable.
14016 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14017 (sin_tonearest_test_data): New variable.
14018 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14019 (sin_towardzero_test_data): New variable.
14020 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14021 (sin_downward_test_data): New variable.
14022 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14023 (sin_upward_test_data): New variable.
14024 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14025 (sinh_test_data): New variable.
14026 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14027 (sinh_tonearest_test_data): New variable.
14028 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14029 (sinh_towardzero_test_data): New variable.
14030 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14031 (sinh_downward_test_data): New variable.
14032 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14033 (sinh_upward_test_data): New variable.
14034 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14035 (sqrt_test_data): New variable.
14036 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14037 (tan_test_data): New variable.
14038 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14039 (tan_tonearest_test_data): New variable.
14040 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14041 (tan_towardzero_test_data): New variable.
14042 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14043 (tan_downward_test_data): New variable.
14044 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14045 (tan_upward_test_data): New variable.
14046 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14047 (tanh_test_data): New variable.
14048 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14049 (tgamma_test_data): New variable.
14050 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14051 (trunc_test_data): New variable.
14052 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14053 (y0_test_data): New variable.
14054 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14055 (y1_test_data): New variable.
14056 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14057 (significand_test_data): New variable.
14058 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14059
7187d844
CG
140602013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14061
14062 [BZ #12387]
14063 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14064
f63fae73
PT
140652013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14066
14067 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14068
8a67a4b3
AJ
140692013-05-10 Andreas Jaeger <aj@suse.de>
14070
14071 [BZ #15448]
14072 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14073 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14074
51df539d
JM
140752013-05-10 Joseph Myers <joseph@codesourcery.com>
14076
14077 * math/gen-libm-test.pl (adjust_arg): New function.
14078 (special_functions): Handle generating output in both functions
14079 and arrays.
14080 (parse_args): Likewise.
14081 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14082 $in_func argument to parse_args.
14083 * math/libm-test.inc (struct test_f_f_data): New type.
14084 (IF_ROUND_INIT_): New macro.
14085 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14086 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14087 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14088 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14089 (ROUND_RESTORE_): Likewise.
14090 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14091 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14092 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14093 (ROUND_RESTORE_FE_UPWARD): Likewise.
14094 (RUN_TEST_LOOP_f_f): New macro.
14095 (acos_test_data): New variable.
14096 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14097 (acos_tonearest_test_data): New variable.
14098 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14099
5c637fe5
SP
141002013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14101
14102 * benchtests/bench-skeleton.c (startup): Fix coding style.
14103
ab2b9461
JM
141042013-05-10 Joseph Myers <joseph@codesourcery.com>
14105
14106 [BZ #6809]
14107 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14108 negative infinity argument.
14109 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14110 negative infinity argument.
14111 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14112 negative infinity argument.
14113 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14114 domain errors.
14115
4c0fe6fe
FW
141162013-05-10 Florian Weimer <fweimer@redhat.com>
14117
14118 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14119 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14120 * iconv/iconv_prog.c (main): Likewise.
14121 * locale/programs/charmap-dir.c (charmap_readdir)
14122 (fopen_uncompressed): Likewise.
14123 * locale/programs/locfile.c (siblings_uncached)
14124 (write_locale_data): Use lstat64 instead of lstat.
14125 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14126 stat.
14127
a3375d29
AJ
141282013-05-10 Andreas Jaeger <aj@suse.de>
14129
14130 [BZ #15395]
14131 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14132 localization.
14133 Include <locale.h>.
14134
36129722
CD
141352013-05-09 Carlos O'Donell <carlos@redhat.com>
14136
14137 * elf/dl-close.c (_dl_close_worker): Add comments.
14138
faa7f811
JM
141392013-05-09 Joseph Myers <joseph@codesourcery.com>
14140
ed41ffef
JM
14141 [BZ #15359]
14142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14143 high part of pi/2.
14144 (__ieee754_rem_pio2l): Update comments.
14145
d0213cd0
JM
14146 [BZ #15429]
14147 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14148 high part of pi/2.
14149 (__ieee754_rem_pio2l): Update comments.
14150
0d3e777a
JM
14151 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14152 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14153
24f56066
JM
14154 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14155 M_PI_4l.
14156
faa7f811
JM
14157 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14158 (M_PI_34_LOG10El): Likewise.
14159 (M_PI2_LOG10El): Likewise.
14160 (M_PI4_LOG10El): Likewise.
14161 (M_PI_LOG10El): Likewise.
14162
e9a5e0fd
AZ
141632013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14164
14165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14166
d8cd06db
JM
141672013-05-08 Joseph Myers <joseph@codesourcery.com>
14168
a0d9f9d7
JM
14169 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14170 (MINUS_ZERO_INIT): Likewise.
14171 (PLUS_INFTY_INIT): Likewise.
14172 (MINUS_INFTY_INIT): Likewise.
14173 (QNAN_VALUE_INIT): Likewise.
14174 (MAX_VALUE_INIT): Likewise.
14175 (MIN_VALUE_INIT): Likewise.
14176 (MIN_SUBNORM_VALUE_INIT): Likewise.
14177 (plus_zero): Initialize with PLUS_ZERO_INIT.
14178 (minus_zero): Initialize with MINUS_ZERO_INIT.
14179 (plus_infty): Initialize with PLUS_INFTY_INIT.
14180 (minus_infty): Initialize with MINUS_INFTY_INIT.
14181 (qnan_value): Initialize with QNAN_VALUE_INIT.
14182 (max_value): Initialize with MAX_VALUE_INIT.
14183 (min_value): Initialize with MIN_VALUE_INIT.
14184 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14185
ae08db3b
JM
14186 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14187 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14188 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14189 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14190
f44bf14a
JM
14191 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14192 (RUN_TEST_2_f): Likewise.
14193 (RUN_TEST_ff_f): Likewise.
14194 (RUN_TEST_fi_f): Likewise.
14195 (RUN_TEST_fl_f): Likewise.
14196 (RUN_TEST_fff_f): Likewise.
14197 (RUN_TEST_c_f): Likewise.
14198 (RUN_TEST_f_f1): Likewise.
14199 (RUN_TEST_fF_f1): Likewise.
14200 (RUN_TEST_fI_f1): Likewise.
14201 (RUN_TEST_ffI_f1): Likewise.
14202 (RUN_TEST_c_c): Likewise.
14203 (RUN_TEST_cc_c): Likewise.
14204 (RUN_TEST_f_i): Likewise.
14205 (RUN_TEST_f_i_tg): Likewise.
14206 (RUN_TEST_ff_i_tg): Likewise.
14207 (RUN_TEST_f_b): Likewise.
14208 (RUN_TEST_f_b_tg): Likewise.
14209 (RUN_TEST_f_l): Likewise.
14210 (RUN_TEST_f_L): Likewise.
14211 (RUN_TEST_sincos): Likewise.
14212 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14213 whether to show exceptions. Do not include ");\n" in return
14214 value.
14215 (special_functions): Output call to RUN_TEST_sincos instead of
14216 check_float calls. Update calls to new_test.
14217 (parse_args): Output call to single RUN_TEST_* macro instead of
14218 check_* calls and other assignments. Update calls to new_test.
14219
d8cd06db
JM
14220 [BZ #2546]
14221 [BZ #2560]
14222 [BZ #5159]
14223 [BZ #15426]
14224 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14225 input to result for tgamma overflow.
14226 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14227 (gamma_coeff): New variable.
14228 (NCOEFF): New macro.
14229 (gamma_positive): New function.
14230 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14231 underflow here. Use gamma_positive instead of exp (lgamma) for
14232 other arguments.
14233 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14234 (gamma_coeff): New variable.
14235 (NCOEFF): New macro.
14236 (gammaf_positive): New function.
14237 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14238 underflow here. Use gamma_positive instead of exp (lgamma) for
14239 other arguments.
14240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14241 (gamma_coeff): New variable.
14242 (NCOEFF): New macro.
14243 (gammal_positive): New function.
14244 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14245 underflow here. Use gamma_positive instead of exp (lgamma) for
14246 other arguments.
14247 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14248 (gamma_coeff): New variable.
14249 (NCOEFF): New macro.
14250 (gammal_positive): New function.
14251 (__ieee754_gammal_r): Handle positive infinity, overflow and
14252 underflow here. Handle NaN the same as positive infinity. Remove
14253 check x < 0xffffffff for negative integers. Use gamma_positive
14254 instead of exp (lgamma) for other arguments.
14255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14256 (gamma_coeff): New variable.
14257 (NCOEFF): New macro.
14258 (gammal_positive): New function.
14259 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14260 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14263 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14264 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14265 * sysdeps/generic/math_private.h (__gamma_productf): New
14266 prototype.
14267 (__gamma_product): Likewise.
14268 (__gamma_productl): Likewise.
14269 * math/Makefile (libm-calls): Add gamma_product.
14270 * math/libm-test.inc (tgamma_test): Add more tests.
14271 * sysdeps/i386/fpu/libm-test-ulps: Update.
14272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14273
bb7cf681
OB
142742013-05-08 Ondřej Bílka <neleai@seznam.cz>
14275
14276 * benchtests/bench-skeleton.c (main): Preheat CPU.
14277
ba853947
AJ
142782013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14279
14280 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14281
8347c74c
RM
142822013-05-07 Roland McGrath <roland@hack.frob.com>
14283
14284 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14285 and _dl_skip_args_internal.
14286
e8dd4791
CD
142872013-05-07 Carlos O'Donell <carlos@redhat.com>
14288
14289 * manual/message.texi (Message Translation): Talk about users.
14290 Message to key mapping impacts design.
14291
c7405830
RM
142922013-05-06 Roland McGrath <roland@hack.frob.com>
14293
a9173057
RM
14294 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14295
976e2f03
RM
14296 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14297
9723ffc5
RM
14298 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14299 * sysdeps/wordsize-64/glob64.c: ... here.
14300
962e6658
RM
14301 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14302 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14303 New macros.
14304
ee586a6d
RM
14305 * debug/getlogin_r_chk.c: Moved to ...
14306 * login/getlogin_r_chk.c: ... here.
14307 * debug/Makefile (routines): Move getlogin_r_chk to ...
14308 * login/Makefile (routines): ... here.
14309 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14310 * login/Versions (libc: GLIBC_2.4): ... here.
14311
355f9165
RM
14312 * io/poll.c (__poll): Renamed from poll.
14313 Add libc_hidden_def.
14314 (poll): Define as weak alias.
14315
bd9ffde6
RM
14316 * debug/ptsname_r_chk.c: Moved to ...
14317 * login/ptsname_r_chk.c: ... here.
14318 * debug/Makefile (routines): Move ptsname_r_chk to ...
14319 * login/Makefile (routines): ... here.
14320 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14321 * login/Versions (libc: GLIBC_2.4): ... here.
14322
8fb16a04
RM
14323 * posix/getlogin.c: Moved to ...
14324 * login/getlogin.c: ... here.
14325 * posix/getlogin_r.c: Moved to ...
14326 * login/getlogin_r.c: ... here.
14327 * posix/getlogin_r.c: Moved to ...
14328 * login/getlogin_r.c: ... here.
14329 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14330 * login/Makefile (routines): ... here.
14331 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14332 * login/Versions (libc: GLIBC_2.0): ... here.
14333
b99b892f
RM
14334 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14335 (setrlimit): Define as weak alias.
14336
c7405830
RM
14337 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14338 Call __ names for open, ftruncate, and close.
14339 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14340 (truncate): Define as weak alias.
14341
5bf96de5
JM
143422013-05-06 Joseph Myers <joseph@codesourcery.com>
14343
9ea3513c
JM
14344 * math/gen-libm-test.pl (parse_args): Initialize x before each
14345 test of frexp, modf and remquo.
14346
5bf96de5
JM
14347 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14348 test signgam value.
14349
16e616a7
AZ
143502013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14351
14352 [BZ #15418]
14353 [BZ #15419]
14354 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14355 internal tests.
14356 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14357
d5e82754
RM
143582013-05-06 Roland McGrath <roland@hack.frob.com>
14359
14360 * elf/dl-writev.h: New file.
14361 * elf/dl-misc.c: Include it.
14362 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14363 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14364
a7548d41
JM
143652013-05-04 Joseph Myers <joseph@codesourcery.com>
14366
b7dab1e4
JM
14367 * math/libm-test.inc (noXFails): Remove variable.
14368 (noXPasses): Likewise.
14369 (BUILD_COMPLEX_INT): Remove macro.
14370 (print_screen): Remove xfail argument.
14371 (print_screen_max_error): Likewise.
14372 (update_stats): Likewise.
14373 (print_max_error): Likewise. Update calls to other affected
14374 functions.
14375 (print_complex_max_error): Likewise.
14376 (test_single_exception): Update calls to print_screen.
14377 (test_single_errno): Likewise.
14378 (check_float_internal): Remove xfail argument. Update calls to
14379 other affected functions.
14380 (check_float): Likewise.
14381 (check_complex): Likewise.
14382 (check_int): Likewise.
14383 (check_long): Likewise.
14384 (check_bool): Likewise.
14385 (check_longlong): Likewise.
14386 (main): Don't print noXFails and noXPasses.
14387 * math/gen-libm-test.pl (top level): Don't mention expected
14388 failure handling in comment.
14389 (new_test): Don't handle expected failures.
14390 (parse_args): Don't mention expected failure handling in comment.
14391 (generate_testfile): Don't handle expected failures.
14392 (parse_ulps): Likewise.
14393 (print_ulps_file): Likewise.
14394 (get_failure): Remove function.
14395 (output_test): Don't handle expected failures.
14396 * make/README.libm-test: Don't mention expected failure handling.
14397
a7548d41
JM
14398 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14399 (minus_zero): Likewise.
14400 (plus_infty): Likewise.
14401 (minus_infty): Likewise.
14402 (qnan_value): Likewise.
14403 (max_value): Likewise.
14404 (min_value): Likewise.
14405 (min_subnorm_value): Likewise.
14406 (initialize): Do not initialize those variables dynamically.
14407
60bfd54c
RM
144082013-05-03 Roland McGrath <roland@hack.frob.com>
14409
cc0e6ed8
RM
14410 * io/open.c (__open_2): Moved to ...
14411 * io/open_2.c: ... this new file.
14412 * io/open64.c (__open64_2): Moved to ...
14413 * io/open64_2.c: ... this new file.
14414 * io/openat.c (__openat_2): Moved to ...
14415 * io/openat_2.c: ... this new file.
14416 * io/openat64.c (__openat64_2): Moved to ...
14417 * io/openat64_2.c: ... this new file.
14418 * io/Makefile (routines): Add them.
14419 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14420 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14421 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14422 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14423 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14424 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14425 (__openat64): Add hidden_ver.
14426 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14427 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14428
60bfd54c
RM
14429 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14430 Separately conditionalize setting of GLRO(dl_sysinfo) so
14431 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14432 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14433
83e7640f
AZ
144342013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14435
14436 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14438 definition.
14439 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14440 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14441 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14442 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14443 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14444
d5dc2af3
JM
144452013-05-03 Joseph Myers <joseph@codesourcery.com>
14446
c31a5b1e
JM
14447 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14448 test signgam value.
14449
d5dc2af3
JM
14450 * math/libm-test.inc (hypot_test): Do not use
14451 IGNORE_ZERO_INF_SIGN.
14452
164fd39d
AJ
144532013-05-03 Andreas Jaeger <aj@suse.de>
14454
14455 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14456 Linux 3.9.
14457 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14458 (PF_MAX): Adjust for VSOCK change.
14459
8237f48c
AZ
144602013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461
14462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14463
9df02941
CD
144642013-05-02 Carlos O'Donell <carlos@redhat.com>
14465
14466 [BZ #15264]
14467 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14468 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14469 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14470
d422395e
DM
144712013-05-02 David S. Miller <davem@davemloft.net>
14472
14473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14474
a07c5731
OB
144752013-05-01 Ondřej Bílka <neleai@seznam.cz>
14476
14477 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14478
1324e37f
RM
144792013-05-01 Roland McGrath <roland@hack.frob.com>
14480
14481 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14482
0695940b
RS
144832013-05-01 Richard Smith <richard@metafoo.co.uk>
14484
bb5f27ad 14485 [BZ #14952]
0695940b
RS
14486 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14487 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14488 Use __attribute__ ((__gnu_inline__)).
14489 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14490 Don't use __attribute__ ((__gnu_inline__)).
14491
10de07f5
JM
144922013-05-01 Joseph Myers <joseph@codesourcery.com>
14493
14494 [BZ #15423]
14495 * math/s_catan.c (__catan): Handle small real or imaginary part of
14496 input specially to avoid spurious underflow.
14497 * math/s_catanf.c (__catanf): Likewise.
14498 * math/s_catanh.c (__catanh): Likewise.
14499 * math/s_catanhf.c (__catanhf): Likewise.
14500 * math/s_catanhl.c (__catanhl): Likewise.
14501 * math/s_catanl.c (__catanl): Likewise.
14502 * math/libm-test.inc (catan_test): Add more tests.
14503 (catanh_test): Likewise.
14504 * sysdeps/i386/fpu/libm-test-ulps: Update.
14505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14506
cb4d5414
AZ
145072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14508
14509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14510
caf84319
JM
145112013-04-30 Joseph Myers <joseph@codesourcery.com>
14512
14513 [BZ #15416]
14514 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14515 accurately for denominator in atan2.
14516 * math/s_catanf.c (__catanf): Likewise.
14517 * math/s_catanh.c (__catanh): Likewise.
14518 * math/s_catanhf.c (__catanhf): Likewise.
14519 * math/s_catanhl.c (__catanhl): Likewise.
14520 * math/s_catanl.c (__catanl): Likewise.
14521 * math/libm-test.inc (catan_test): Add more tests.
14522 (catanh_test): Likewise.
14523 * sysdeps/i386/fpu/libm-test-ulps: Update.
14524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14525
d569c6ee
SP
145262013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14527
6dbe713d
SP
14528 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14529
f0ee064b
SP
14530 * benchtests/Makefile (bench): Remove slow benchmarks.
14531 * benchtests/atan-inputs: Add slow benchmark inputs.
14532 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14533 (BENCH_FUNC): Accept variant offset.
14534 (VARIANT): Define.
14535 * benchtests/bench-skeleton.c (main): Run benchmark for each
14536 variant.
14537 * benchtests/cos-inputs: Add slow benchmark inputs.
14538 * benchtests/exp-inputs: Likewise.
14539 * benchtests/pow-inputs: Likewise.
14540 * benchtests/sin-inputs: Likewise.
14541 * benchtests/slowatan-inputs: Remove.
14542 * benchtests/slowatan.c: Remove.
14543 * benchtests/slowcos-inputs: Remove.
14544 * benchtests/slowcos.c: Remove.
14545 * benchtests/slowexp-inputs: Remove.
14546 * benchtests/slowexp.c: Remove.
14547 * benchtests/slowpow-inputs: Remove.
14548 * benchtests/slowpow.c: Remove.
14549 * benchtests/slowsin-inputs: Remove.
14550 * benchtests/slowsin.c: Remove.
14551 * benchtests/slowtan-inputs: Remove.
14552 * benchtests/slowtan.c: Remove.
14553 * benchtests/tan-inputs: Add slow benchmark inputs.
14554 * scripts/bench.pl: Parse comments and directives.
14555
d569c6ee
SP
14556 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14557 in CPPFLAGS.
14558 ($(objpfx)bench-%.c): Remove *-ITER.
14559 * benchtests/bench-modf.c: Remove definition of ITER.
14560 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14561 (main): Loop for DURATION seconds instead of fixed number of
14562 iterations.
14563 * scripts/bench.pl: Don't expect iterations in parameters.
14564
a6a242fe
RM
145652013-04-29 Roland McGrath <roland@hack.frob.com>
14566
14567 * io/fchdir.c (__fchdir): Renamed from fchdir.
14568 (fchdir): Define as weak alias.
14569
f2da7793
JM
145702013-04-29 Joseph Myers <joseph@codesourcery.com>
14571
14572 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14573 (ERRNO_EDOM): Likewise.
14574 (ERRNO_ERANGE): Likewise.
14575 (noErrnoTests): New variable.
14576 (init_max_error): Set errno to 0.
14577 (test_single_errno): New function.
14578 (test_errno): Likewise.
14579 (check_float_internal): Call test_errno. Set errno to 0.
14580 (check_complex): Refer to errno tests in comment.
14581 (check_int): Call test_errno. Set errno to 0.
14582 (check_long): Likewise.
14583 (check_bool): Likewise.
14584 (check_longlong): Likewise.
14585 (cos_test): Use ERRNO_* flags for errno tests instead of
14586 check_int.
14587 (expm1_test): Likewise.
14588 (fmod_test): Likewise.
14589 (ilogb_test): Likewise.
14590 (lgamma_test): Likewise.
14591 (pow_test): Likewise.
14592 (remainder_test): Likewise.
14593 (sin_test): Likewise.
14594 (tan_test): Likewise.
14595 (yn_test): Likewise.
14596 (initialize): Set errno to 0.
14597 (main): Print number of errno tests.
14598 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14599
b1a36ceb
AJ
146002013-04-29 Andreas Jaeger <aj@suse.de>
14601
c3ed8088
AJ
14602 [BZ #15084]
14603 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14604 and RES_USEVC.
14605
f1a24198
AJ
14606 [BZ #15085]
14607 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14608 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14609 unimplemented.
14610
9ce3b2cb
AJ
14611 [BZ #15380]
14612 * stdlib/random.c (__initstate): Return NULL if
14613 __initstate fails.
14614
f1a24198 14615 [BZ #15086]
b1a36ceb
AJ
14616 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14617 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14618 RES_SNGLKUPREOP.
14619
7e7b6f36
AZ
146202013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14621
14622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14623
4d14f449
JM
146242013-04-29 Joseph Myers <joseph@codesourcery.com>
14625
14626 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14627 of individual tests.
14628 (casin_test): Likewise.
14629 (casinh_test): Likewise.
14630
5b4217d7
JM
146312013-04-27 Joseph Myers <joseph@codesourcery.com>
14632
14633 [BZ #15409]
14634 * math/s_catan.c (__catan): Handle arguments with large real or
14635 imaginary part separately without squaring.
14636 * math/s_catanf.c (__catanf): Likewise.
14637 * math/s_catanh.c (__catanh): Likewise.
14638 * math/s_catanhf.c (__catanhf): Likewise.
14639 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14640 and redefine.
14641 (__catanhl): Handle arguments with large real or imaginary part
14642 separately without squaring.
14643 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14644 and redefine.
14645 (__catanl): Handle arguments with large real or imaginary part
14646 separately without squaring.
14647 * math/libm-test.inc (catan_test): Add more tests.
14648 (catanh_test): Likewise.
14649 * sysdeps/i386/fpu/libm-test-ulps: Update.
14650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14651
4220c3ef
AJ
146522013-04-27 Andreas Jaeger <aj@suse.de>
14653
14654 [BZ #15007]
14655 * stdlib/stdlib.h: Update guards for qecvt.
14656 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14657 <stdlib.h>.
14658
4721b2d1
AM
146592013-04-27 Allan McRae <allan@archlinux.org>
14660
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662
f0302940
JM
146632013-04-26 Joseph Myers <joseph@codesourcery.com>
14664
9457fd95
JM
14665 [BZ #15406]
14666 * math/s_catan.c: Include <float.h>.
14667 (__catan): Ensure underflow exception occurs for underflowed
14668 result.
14669 * math/s_catanf.c: Include <float.h>.
14670 (__catanf): Ensure underflow exception occurs for underflowed
14671 result.
14672 * math/s_catanh.c: Include <float.h>.
14673 (__catanh): Ensure underflow exception occurs for underflowed
14674 result.
14675 * math/s_catanhf.c: Include <float.h>.
14676 (__catanhf): Ensure underflow exception occurs for underflowed
14677 result.
14678 * math/s_catanhl.c: Include <float.h>.
14679 (__catanhl): Ensure underflow exception occurs for underflowed
14680 result.
14681 * math/s_catanl.c: Include <float.h>.
14682 (__catanl): Ensure underflow exception occurs for underflowed
14683 result.
14684 * math/libm-test.inc (catan_test): Add more tests.
14685 (catanh_test): Likewise.
14686
f0302940
JM
14687 [BZ #15405]
14688 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14689 underflowed result.
14690 * math/s_ccoshf.c (__ccoshf): Likewise.
14691 * math/s_ccoshl.c (__ccoshl): Likewise.
14692 * math/s_csin.c (__csin): Likewise.
14693 * math/s_csinf.c (__csinf): Likewise.
14694 * math/s_csinh.c (__csinh): Likewise.
14695 * math/s_csinhf.c (__csinhf): Likewise.
14696 * math/s_csinhl.c (__csinhl): Likewise.
14697 * math/s_csinl.c (__csinl): Likewise.
14698 * math/libm-test.inc (ccos_test): Add more tests.
14699 (ccosh_test): Likewise.
14700 (csin_test): Likewise.
14701 (csinh_test): Likewise.
14702
aa630f59
AZ
147032013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14704
14705 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14706 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14707 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14708 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14709 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14710 powerpc/power5+/fpu folders.
14711 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14712
14713
1b835983
MT
147142013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14715
14716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14717
73709b26
JM
147182013-04-25 Joseph Myers <joseph@codesourcery.com>
14719
14720 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14721 additions to variable.
14722 [$(config-machine) = x86_64] (modules-names): Likewise.
14723 ($(objpfx)tst-audit3): Remove dependency.
14724 ($(objpfx)tst-audit3.out): Likewise.
14725 ($(objpfx)tst-audit4): Likewise.
14726 ($(objpfx)tst-audit4.out): Likewise.
14727 ($(objpfx)tst-audit5): Likewise.
14728 ($(objpfx)tst-audit5.out): Likewise.
14729 ($(objpfx)tst-audit6): Likewise.
14730 ($(objpfx)tst-audit6.out): Likewise.
14731 ($(objpfx)tst-audit7): Likewise.
14732 ($(objpfx)tst-audit7.out): Likewise.
14733 (tst-audit3-ENV): Remove variable.
14734 (tst-audit4-ENV): Likewise.
14735 (tst-audit5-ENV): Likewise.
14736 (tst-audit6-ENV): Likewise.
14737 (tst-audit7-ENV): Likewise.
14738 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14739 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14740 addition to variable.
14741 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14742 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14743 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14746 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14747 tst-audit3, tst-audit4 and tst-audit5.
14748 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14749 tst-audit6 and tst-audit7.
14750 [$(subdir) = elf] (modules-names): Add audit modules for those
14751 tests.
14752 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14753 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14754 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14755 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14756 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14757 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14758 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14759 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14760 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14761 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14762 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14763 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14764 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14765 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14766 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14767 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14768 Likewise.
14769 [$(subdir) = elf && $(config-cflags-avx) = yes]
14770 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14771 [$(subdir) = elf && $(config-cflags-avx) = yes]
14772 (CFLAGS-tst-auditmod4a.c): Likewise.
14773 [$(subdir) = elf && $(config-cflags-avx) = yes]
14774 (CFLAGS-tst-auditmod4b.c): Likewise.
14775 [$(subdir) = elf && $(config-cflags-avx) = yes]
14776 (CFLAGS-tst-auditmod6b.c): Likewise.
14777 [$(subdir) = elf && $(config-cflags-avx) = yes]
14778 (CFLAGS-tst-auditmod6c.c): Likewise.
14779 [$(subdir) = elf && $(config-cflags-avx) = yes]
14780 (CFLAGS-tst-auditmod7b.c): Likewise.
14781 * elf/tst-audit3.c: Move to ...
14782 * sysdeps/x86_64/tst-audit3.c: ... here.
14783 * elf/tst-audit4.c: Move to ...
14784 * sysdeps/x86_64/tst-audit4.c: ... here.
14785 * elf/tst-audit5.c: Move to ...
14786 * sysdeps/x86_64/tst-audit5.c: ... here.
14787 * elf/tst-audit6.c: Move to ...
14788 * sysdeps/x86_64/tst-audit6.c: ... here.
14789 * elf/tst-audit7.c: Move to ...
14790 * sysdeps/x86_64/tst-audit7.c: ... here.
14791 * elf/tst-auditmod3a.c: Move to ...
14792 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14793 * elf/tst-auditmod3b.c: Move to ...
14794 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14795 * elf/tst-auditmod4a.c: Move to ...
14796 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14797 * elf/tst-auditmod4b.c: Move to ...
14798 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14799 * elf/tst-auditmod5a.c: Move to ...
14800 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14801 * elf/tst-auditmod5b.c: Move to ...
14802 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14803 * elf/tst-auditmod6a.c: Move to ...
14804 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14805 * elf/tst-auditmod6b.c: Move to ...
14806 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14807 * elf/tst-auditmod6c.c: Move to ...
14808 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14809 * elf/tst-auditmod7a.c: Move to ...
14810 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14811 * elf/tst-auditmod7b.c: Move to ...
14812 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14813
1ef74943
PP
148142013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14815
14816 [BZ #15366]
14817 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14818 define unconditionally.
14819 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14820 define unconditionally.
14821 (INT8_C, INT16_C, etc.): Likewise.
14822
93fd48c5
MR
148232013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14824
ae9552cf
MR
14825 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14826 __ehdr_start with hidden visibility.
14827
93fd48c5
MR
14828 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14829
418601aa
CD
148302013-04-24 Carlos O'Donell <carlos@redhat.com>
14831
14832 * math/libm-test.inc (cos_test): Use accurate hex constants.
14833 (sincost_test): Likewise.
14834
2f38fbfe
JM
148352013-04-24 Joseph Myers <joseph@codesourcery.com>
14836
5e221800
JM
14837 * math/libm-test.inc (catan_test): Add more tests.
14838 (catanh_test): Likewise.
14839
77f143fd
JM
14840 * math/s_catanf.c (__catanf): Use suffixed floating-point
14841 constants.
14842 * math/s_catanhf.c (__catanhf): Likewise.
14843 * math/s_catanhl.c (__catanhl): Likewise.
14844 * math/s_catanl.c (__catanl): Likewise.
14845
2f38fbfe
JM
14846 [BZ #15394]
14847 * math/s_catan.c (__catan): Calculate imaginary part of result
14848 with log1p not log unless computing log of number close to 0.
14849 * math/s_catanf.c (__catanf): Likewise.
14850 * math/s_catanl.c (__catanl): Likewise.
14851 * math/s_catanh.c (__catanh): Calculate real part of result with
14852 log1p not log unless computing log of number close to 0.
14853 * math/s_catanhf.c (__catanhf): Likewise.
14854 * math/s_catanhl.c (__catanhl): Likewise.
14855 * math/libm-test.inc (catan_test): Add more tests.
14856 (catanh_test): Likewise.
14857 * sysdeps/i386/fpu/libm-test-ulps: Update.
14858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14859
45d69176
SP
148602013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14861
14862 * benchtests/Makefile: Mention files in which fast and slow
14863 paths of math functions are implemented.
14864
87f51853
RM
148652013-04-23 Roland McGrath <roland@hack.frob.com>
14866
14867 * sysdeps/posix/timespec_get.c: New file.
14868
3c026539
AZ
148692013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14870
14871 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14872 POWER.
14873 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14874 for POWER.
14875 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14876 powerpc/power5/fpu folders.
14877 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14878 * benchtests/Makefile: Add modf testcase.
14879 * benchtests/bench-modf.c: New file: Benchmark test for mo
14880
ff491d14
SP
148812013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14882
14883 [BZ #14888]
14884 * time/Makefile (tests): Add tst-strptime-whitespace.
14885 * time/strptime_l.c (get_number): Use ISSPACE.
14886 (__strptime_internal): Likewise.
14887 * time/tst-strptime-whitespace.c: New test case.
14888
7ed3f4e8
AS
148892013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14890
14891 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14892 member.
14893 (_nss_files_init): Set it here.
14894
5c95f7b6
HC
148952013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14896
14897 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14898 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14899 unsigned.
14900
d34c9158
JBG
149012013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14902
14903 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14904
2169712d
SP
149052013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14906
14907 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14908 size just once.
14909
29c5de99
DM
149102013-04-21 David S. Miller <davem@davemloft.net>
14911
14912 * po/ru.po: Update Russion translation from translation project.
14913
ccdad15d
AC
149142013-04-17 Adam Conrad <adconrad@0c3.net>
14915
14916 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14917 and setfsgid.
14918
0f122b8d
CD
149192013-04-17 Carlos O'Donell <carlos@redhat.com>
14920
5c5b07da 14921 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14922 * configure: Regenerate.
5c5b07da 14923 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14924 Add example to error message.
14925 * sysdeps/i386/configure: Regenerate.
14926
037714dd
SP
149272013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14928
14929 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14930 slowtan.
14931 * benchtests/cos-inputs: New file.
14932 * benchtests/slowcos-inputs: New file.
14933 * benchtests/slowcos.c: New file.
14934 * benchtests/slowtan-inputs: New file.
14935 * benchtests/slowtan.c: New file.
14936 * benchtests/tan-inputs: New file.
14937
e913141d
RM
149382013-04-16 Roland McGrath <roland@hack.frob.com>
14939
14940 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14941 considered kosher.
14942
a2964074
SP
149432013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14944
4856bcd2
SP
14945 * benchtests/Makefile: Include cppflags-iterator.mk to add
14946 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14947
a2964074
SP
14948 * Makefile.in (bench-clean): New target.
14949 * benchtests/Makefile (bench-clean): Likewise.
14950
9fbf9aca
DH
149512013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14952
14953 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14954
207d1e2a
TS
149552013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14956
14957 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14958
306dfba9
AS
149592013-04-15 Andreas Schwab <schwab@suse.de>
14960
14961 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14963 * nscd/pwdcache.c (cache_addpw): Likewise.
14964 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14965 more than recsize.
14966
206a6699
SP
149672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14968
14969 * benchtests/Makefile (bench): Write all output to
14970 bench-out.tmp together.
14971
0582f6b3
AS
149722013-04-15 Andreas Schwab <schwab@suse.de>
14973
14974 * nscd/nscd.c (main): Don't fork again after closing files.
14975
acb4325f
SP
149762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14977
5cb26d0a
SP
14978 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14979
acb4325f
SP
14980 * benchtests/Rules (bench-deps): Collect dependencies into a
14981 single variable. Add Makefile to dependencies.
14982 ($(objpfx)bench-%.c): Depend on bench-deps.
14983
47792506
RM
149842013-04-12 Roland McGrath <roland@hack.frob.com>
14985 Xavier Roche <roche+kml2@exalead.com>
14986
14987 [BZ #15361]
14988 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14989 just that it's a file descriptor.
14990 * manual/llio.texi (Synchronizing AIO Operations): Update description
14991 for EBADF error from aio_fsync.
14992
8fc1bee5
SP
149932013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14994
14995 * Rules (bench): Move target definition...
14996 * benchtests/Makefile: ... here.
14997
aba5e333
CD
149982013-04-11 Carlos O'Donell <carlos@redhat.com>
14999
15000 * math/libm-test.inc (cos_test): Fix PI/2 test.
15001 (sincos_test): Likewise.
15002 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15003 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15004
273cdee8
AS
150052013-04-11 Andreas Schwab <schwab@suse.de>
15006
6ecec3b6
AS
15007 [BZ #13988]
15008 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15009 accept exponent character only when digits were seen.
15010 * stdio-common/Makefile (tests): Add bug26.
15011 * stdio-common/bug26.c: New file.
15012
273cdee8
AS
15013 [BZ #14293]
15014 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15015 non-freeable.
15016
8da491f5
SP
150172013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15018
01dc6df9
SP
15019 * Makeconfig (rtld-prefix): Define built linker prefix.
15020 * Rules (run-bench): Use it.
15021 * math/Makefile (run-regen-ulps): Likewise.
15022
8da491f5
SP
15023 * Rules (bench): Remove eval.
15024
abe7f530
SP
150252013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15026 Roland McGrath <roland@hack.frob.com>
15027 Ondrej Bilka <neleai@seznam.cz>
15028
15029 [BZ #15346]
15030 * time/getdate.c: Include ctype.h and alloca.h.
15031 (__getdate_r): Trim leading and trailing spaces of input.
15032 * time/tst-getdate.c (tests): Add tests with leading and
15033 trailing spaces.
15034
61c23e62
RM
150352013-04-08 Roland McGrath <roland@hack.frob.com>
15036
15037 [BZ #14280]
15038 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15039 when computing value.
15040
7208a313
CD
150412013-04-06 Carlos O'Donell <carlos@redhat.com>
15042
085b2d41
CD
15043 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15044 Use testrun.sh to run libm tests.
15045
7208a313
CD
15046 [BZ #15309]
15047 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15048
872c0acd
MM
150492013-04-06 Marko Myllynen <myllynen@redhat.com>
15050
15051 [BZ #15264]
15052 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15053
26510bdd
CD
150542013-04-06 Carlos O'Donell <carlos@redhat.com>
15055
15056 * Makefile.in (regen-ulps): New target.
15057 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15058 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15059 [ifneq (no,$(PERL)] (regen-ulps): New target.
15060 [ifeq (no,$(PERL)] (regen-ulps): New target.
15061 * math/libm-test.inc (ulps_file_name): Define.
15062 (output_dir): New variable.
15063 (options): Add "output-dir" option.
15064 (parse_opt): Handle 'o' case.
15065 (main): If output_dir is non-NULL use it as a prefix
15066 otherwise use "".
15067 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15068
a01f19c8
CD
150692013-04-06 Carlos O'Donell <carlos@redhat.com>
15070
15071 [BZ #10060, #10062]
15072 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15073 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15074 fail configure if __sync_val_compare_and_swap is not inlined.
15075 * sysdeps/i386/configure: Regenerate.
15076 * configure.in: Build for i686 when configured for i386.
15077 * configure: Regenerate.
15078 * README: Remove i386 reference.
15079
b7a329a5
CD
150802013-04-06 Carlos O'Donell <carlos@redhat.com>
15081
15082 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15084
bf0f50df
TS
150852013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15086
ee091edf
TS
15087 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15088 (lmsnanval): New variables.
15089 (F): Add conversion tests.
15090 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15091 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15092
a8b792d6
TS
15093 * stdio-common/tstdiomisc.c (F): Properly collect individual
15094 tests' results.
15095
a1cbf437
TS
15096 [BZ #14686, #15336]
15097 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15098 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15099 Instead, use input NaN values or generate a qNaN by arithmetic
15100 operation. Also fix bugs to comply with the standard.
15101 * math/libm-test.inc (remainder_test): Add more tests.
15102
8b43a0c9
TS
15103 [BZ #15335, #15342]
15104 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15105 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15106 input NaN values or generate a qNaN by arithmetic operation.
15107
d91da4ce
TS
15108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15109 unreachable code.
15110
bf0f50df
TS
15111 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15112 definitions.
15113
05e166c8
JM
151142013-04-03 Joseph Myers <joseph@codesourcery.com>
15115
15116 [BZ #14478]
15117 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15118 underflowed result.
15119 * math/s_cexpf.c (__cexpf): Likewise.
15120 * math/s_cexpl.c (__cexpl): Likewise.
15121 * math/libm-test.inc (cexp_test): Add more tests.
15122
1cef1b19
AS
151232013-04-03 Andreas Schwab <schwab@suse.de>
15124
15125 [BZ #15330]
15126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15127 order arrays from heap if bigger than alloca cutoff.
15128
74d87055
TS
151292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15130
15131 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15132 (SNAN_TESTS_double): Refer to GCC PR56831.
15133 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15134 GCC PR56828.
15135
d755bba4
SP
151362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15137
90d5d5bb
SP
15138 * Rules (bench): Move bench.out after the run is complete.
15139
73e0cd5d
SP
15140 * Rules (bench): Echo currently running benchmark.
15141
64aabd4b
SP
15142 * benchtests/Makefile (bench): Add atan and slowatan.
15143 * benchtests/atan-inputs: New file.
15144 * benchtests/slowatan-inputs: New file.
15145 * benchtests/slowatan.c: New file.
15146
c871eccd
SP
15147 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15148 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15149 its value.
15150
d755bba4
SP
15151 [BZ #15305]
15152 * sysdeps/unix/sysv/linux/kernel-features.h
15153 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15154 __ASSUME_XFS_RESTRICTED_CHOWN.
15155 * sysdeps/unix/sysv/linux/pathconf.c
15156 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15157 Save and restore errno.
15158
52ce4860
JM
151592013-04-02 Joseph Myers <joseph@codesourcery.com>
15160
15161 [BZ #15327]
15162 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15163 arguments using __kernel_casinh.
15164 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15165 arguments using __kernel_casinhf.
15166 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15167 arguments using __kernel_casinhl.
15168 * math/libm-test.inc (cacosh_test): Add more tests.
15169 * sysdeps/i386/fpu/libm-test-ulps: Update.
15170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15171
81f311c2
SP
151722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15173
e7906a47
SP
15174 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15176
92e3664b
SP
15177 * bench/Makefile (bench): Add sin and slowsin.
15178 * benchtests/sin-inputs: New file.
15179 * benchtests/slowsin-inputs: New file.
15180 * benchtests/slowsin.c: New file.
15181
81f311c2
SP
15182 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15183 (bench): Add slowexp and slowpow.
15184 (exp-ITER): Increase iterations.
15185 (pow-ITER): Likewise.
15186 * benchtests/exp-inputs: Change input.
15187 * benchtests/pow-inputs: Likewise.
15188 * benchtests/slowexp-inputs: New file.
15189 * benchtests/slowexp.c: New file.
15190 * benchtests/slowpow-inputs: New file.
15191 * benchtests/slowpow.c: New file.
15192
ab0f1aa9
AZ
151932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15194
15195 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15196 instructions.
15197 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15198 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15199 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15200 * benchtests/Makefile: Add rint benchtest.
15201 * benchtests/rint-inputs: Input for rint benchtest.
15202
57267616
TS
152032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15204
15205 * Versions.def (libm): Add GLIBC_2.18.
15206 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15207 hidden libm prototypes.
15208 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15209 * math/Makefile (libm-calls): Add s_issignaling.
15210 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15211 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15212 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15213 declaration.
15214 * math/math.h [__USE_GNU] (issignaling): New macro.
15215 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15216 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15218 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15221 * manual/arith.texi (issignaling): New section.
15222 * manual/libm-err-tab.pl (@all_functions): Update comment.
15223 * math/gen-libm-test.pl (parse_args): Apply special handling for
15224 issignaling.
15225 * math/libm-test.inc (print_float, issignaling_test): New
15226 functions.
15227 (check_float_internal): Add issignaling checks.
15228 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15229 default definition.
15230 * sysdeps/powerpc/math-tests.h: New file.
15231 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15232 tests.
15233 * math/test-snan.c (TEST_FUNC): Likewise.
15234
6142896d
DM
152352013-03-30 David S. Miller <davem@davemloft.net>
15236
15237 * po/de.po: Update from translation team.
15238
ccc8cadf
JM
152392013-03-30 Joseph Myers <joseph@codesourcery.com>
15240
15241 [BZ #10357]
15242 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15243 imaginary part less than 1.0 and real part less than 0.5
15244 specially.
15245 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15246 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15247 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15248 (cacos_test): Add more tests.
15249 (casin_test): Likewise.
15250 (casinh_test): Likewise.
15251 * sysdeps/i386/fpu/libm-test-ulps: Update.
15252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15253
0f6a8d4b
SP
152542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15255
0d1029de
SP
15256 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15257 ONE with its value.
15258
c2d94018
SP
15259 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15260 (__pow_mp): Replace ONE and MONE with their values.
15261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15262 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15263 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15264 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15265 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15266 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15267
27ec37f1
SP
15268 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15269
a64d7e0e
SP
15270 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15271 (__pow_mp): Replace ZERO and MZERO with their values.
15272 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15274 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15277 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15278 (__sqr): Likewise.
15279
d26dd3eb
SP
15280 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15281
0f6a8d4b
SP
15282 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15283
e57b0c61
RM
152842013-03-28 Roland McGrath <roland@hack.frob.com>
15285
15286 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15287 Declare with __attribute__ ((weak)).
15288 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15289 Call __call_tls_dtors only if it's not NULL.
15290
356b3480
RM
152912013-03-28 Roland McGrath <roland@hack.frob.com>
15292
288f7d79
RM
15293 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15294 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15295 magic __ehdr_start linker symbol if it's defined.
15296 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15297 them up here if it was already done.
15298
dc0a0263
RM
15299 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15300 (_dl_aux_init): Use const in cast when setting it.
15301 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15302 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15303 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15304
3d3436ae
RM
15305 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15306 Declare them here.
15307 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15308 * csu/libc-tls.c: Nor here.
15309 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15310
356b3480
RM
15311 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15312 (__libc_message): Never call vsyslog.
15313
b0f1246a
AM
153142013-03-28 Alan Modra <amodra@gmail.com>
15315
15316 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15317 Define as empty.
15318 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15319 Likewise.
15320
fbbe2b9a
AZ
153212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15322
15323 [BZ #15214]
15324 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15325 underflow.
15326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15327
1728ab37
SP
153282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15329
7a86be6e
SP
15330 [BZ #15304]
15331 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15332 Don't add gid passed as argument.
15333
1728ab37
SP
15334 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15335
3a7182a1
JM
153362013-03-27 Joseph Myers <joseph@codesourcery.com>
15337
15338 [BZ #15307]
15339 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15340 imaginary part between 1.0 and 1.5 and real part less than 0.5
15341 specially.
15342 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15343 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15344 * math/libm-test.inc (cacos_test): Add more tests.
15345 (casin_test): Likewise.
15346 (casinh_test): Likewise.
15347 * sysdeps/i386/fpu/libm-test-ulps: Update.
15348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15349
6f2e90e7
SP
153502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15351
5739f705
SP
15352 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15353 constants.
15354 (norm): Likewise.
15355 (denorm): Likewise.
15356 (__dbl_mp): Likewise.
15357 (add_magnitudes): Likewise.
15358 (sub_magnitudes): Likewise.
15359 (__add): Likewise.
15360 (__sub): Likewise.
15361 (__mul): Likewise.
15362 (__sqr): Likewise.
15363 (__inv): Likewise.
15364 (__dvd): Likewise.
15365
e375e83d
SP
15366 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15367 commented code.
15368 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15369 (__dubcos): Likewise.
15370 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15371 (__ieee754_acos): Likewise.
15372 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15373 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15374 (__exp1): Likewise.
15375 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15377 (log1): Likewise.
15378 (my_log2): Likewise.
15379 (checkint): Likewise.
15380 * sysdeps/ieee754/dbl-64/e_remainder.c
15381 (__ieee754_remainder): Likewise.
15382 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15383 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15384 (bsloww): Likewise.
15385 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15386
6f2e90e7
SP
15387 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15388 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15389 MANTISSA_STORE_T to store computations on mantissa. Use
15390 macros for rounding and division.
15391 (denorm): Likewise.
15392 (__dbl_mp): Likewise.
15393 (add_magnitudes): Likewise.
15394 (sub_magnitudes): Likewise.
15395 (__mul): Likewise.
15396 (__sqr): Likewise.
15397 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15398 powers of two in terms of TWOPOW macro.
15399 (mp_no): Make type of mantissa as MANTISSA_T.
15400 [!RADIXI]: Define RADIXI.
15401 [!TWO52]: Define TWO52.
15402 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15403
fce14d4e
AZ
154042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15405
15406 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15407 llroundl symbol when building for PPC32.
15408
9ad027fb
MW
154092013-03-24 Mark H Weaver <mhw@netris.org>
15410
15411 * manual/arith.texi (Normalization Functions): Fix prototypes for
15412 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15413
e42a38dd
AZ
154142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15415
15416 [BZ #13889]
15417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15418 high value to check if expl overflow.
15419 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15420 to check for underflow and overflow.
15421 * math/libm-test.inc: Add exp test.
15422
2e0fb521
DL
154232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15424
15425 [BZ #11120]
15426 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15427 with NOT_IN_libc.
15428
b5784d95
AZ
154292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15430
15431 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15432 symbol.
15433
5aa4a1a1
TS
154342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15435
bdef0be7
TS
15436 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15437 wrap blocks consisting of several statements.
15438
5aa4a1a1
TS
15439 * sysdeps/generic/math-tests.h: New file.
15440 * sysdeps/i386/fpu/math-tests.h: Likewise.
15441 * math/test-snan.c: Include it.
15442 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15443
98c48fe5
JM
154442013-03-21 Joseph Myers <joseph@codesourcery.com>
15445
15446 [BZ #15285]
15447 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15448 (__ieee754_j0l): Do not improve calculations using cos of twice
15449 input for inputs above LDBL_MAX / 2.0L.
15450 (__ieee754_y0l): Likewise.
15451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15452 (__ieee754_j1l): Do not improve calculations using cos of twice
15453 input for inputs above LDBL_MAX / 2.0L.
15454 (__ieee754_y1l): Likewise.
15455 * math/libm-test.inc (j0_test): Add another test.
15456 (j1_test): Likewise.
15457 (y0_test): Likewise.
15458 (y1_test): Likewise.
15459 * sysdeps/i386/fpu/libm-test-ulps: Update.
15460
3775a8bc
SP
154612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15462
15463 * Rules ($(objpfx)bench-%.c): Include code from a C source
15464 file.
15465
0a1b2ae6
JM
154662013-03-21 Joseph Myers <joseph@codesourcery.com>
15467
15468 [BZ #15287]
15469 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15470 imaginary part 1.0 and real part less than 0.5 specially.
15471 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15472 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15473 * math/libm-test.inc (cacos_test): Add more tests.
15474 (casin_test): Likewise.
15475 (casinh_test): Likewise.
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15478
b33d4ce4
SP
154792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15480
15481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15482 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15483
bef0b507
JM
154842013-03-20 Joseph Myers <joseph@codesourcery.com>
15485
15486 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15487 * config.make.in (config-cflags-sse4): Remove variable.
15488 (config-cflags-avx): Likewise.
15489 (config-cflags-sse2avx): Likewise.
15490 (config-cflags-novzeroupper): Likewise.
15491 (config-asflags-i686): Likewise.
15492 (have-mfma4): Likewise.
15493 (have-as-vis3): Likewise.
15494 (MIG): Likewise.
15495 * configure.in (MIG): Do not AC_SUBST.
15496 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15497 (libc_cv_cc_sse4): Do not AC_SUBST.
15498 (libc_cv_cc_avx): Likewise.
15499 (libc_cv_cc_sse2avx): Likewise.
15500 (libc_cv_cc_novzeroupper): Likewise.
15501 (libc_cv_cc_fma4): Likewise.
15502 (libc_cv_as_i686): Likewise.
15503 (libc_cv_sparc_as_vis3): Likewise.
15504 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15505 LIBC_CONFIG_VAR.
15506 (config-asflags-i686): Likewise.
15507 (config-cflags-avx): Likewise.
15508 (config-cflags-sse2avx): Likewise.
15509 (have-mfma4): Likewise.
15510 (config-cflags-novzeroupper): Likewise.
15511 * sysdeps/mach/configure.in (MIG): Likewise.
15512 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15513 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15514 LIBC_CONFIG_VAR.
15515 (config-cflags-avx): Likewise.
15516 (config-cflags-sse2avx): Likewise.
15517 (have-mfma4): Likewise.
15518 (config-cflags-novzeroupper): Likewise.
15519 * configure: Regenerated.
15520 * sysdeps/i386/configure: Likewise.
15521 * sysdeps/mach/configure: Likewise.
15522 * sysdeps/sparc/configure: Likewise.
15523 * sysdeps/x86_64/configure: Likewise.
15524
912cc4b3
RM
155252013-03-20 Roland McGrath <roland@hack.frob.com>
15526
15527 [BZ #14812]
15528 * locale/programs/localedef.c (options): Put N_ translation marker
15529 on argument names, not just descriptions.
15530
04eed2b0
MS
155312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15532
15533 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15534
a065ceff
OB
155352013-03-20 Ondřej Bílka <neleai@seznam.cz>
15536
9bb2a810 15537 [BZ #14176]
a065ceff
OB
15538 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15539
a600e5ce
RM
155402013-03-19 Roland McGrath <roland@hack.frob.com>
15541
15542 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15543 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15544 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15545 [!BEFORE_ABORT] (before_abort): New function.
15546 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15547 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15548 (writev_for_fatal): New function.
15549 (WRITEV_FOR_FATAL): New macro; call that.
15550 (backtrace_and_maps): New function.
15551 (BEFORE_ABORT): New macro; call that.
15552 (struct str_list): Type removed.
15553 (__libc_message, __libc_fatal): Functions removed.
15554 Include <sysdeps/posix/libc_fatal.c> instead.
15555
6b18bea6
JM
155562013-03-19 Joseph Myers <joseph@codesourcery.com>
15557
15558 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15559 constants.
15560 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15561 double constants.
15562
aaa8cb4b
AS
155632013-03-19 Andreas Schwab <schwab@suse.de>
15564
44673770
AS
15565 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15566 * sysdeps/gnu/configure: Regenerate.
15567
aaa8cb4b
AS
15568 * configure.in: Substitute libc_cv_rtlddir.
15569 * configure: Regenerate.
15570 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15571 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15572 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15573 * elf/Makefile (install-others, CFLAGS-interp.c)
15574 (ldso_install, common-ldd-rewrite): Likewise.
15575 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15576 $(inst_slibdir)/$(rtld-installed-name).
15577 * scripts/rellns-sh: Add -p option.
15578 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15579 for source.
15580
d3cfc668
SP
155812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15582
15583 * manual/nptl.texi: Renamed to ...
15584 * manual/threads.texi: ... this.
15585 * manual/Makefile (chapters): Update.
15586
0e2b9cdd
RM
155872013-03-18 Roland McGrath <roland@hack.frob.com>
15588
15589 [BZ #14812]
15590 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15591 on argument names, not just descriptions.
0e2b9cdd
RM
15592 * malloc/memusagestat.c (options): Likewise.
15593 * nss/getent.c (options): Likewise.
63270c24
RM
15594
155952013-03-18 Benno Schulenberg <bensberg@justemail.net>
15596
15597 [BZ #14812]
15598 * iconv/iconv_prog.c (options): Put N_ translation marker
15599 on argument names, not just descriptions.
15600 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15601
b2e1393c
OB
156022013-03-18 Ondrej Bilka <neleai@seznam.cz>
15603
15604 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15605 implementation which is faster on all x86_64 architectures.
15606 Tested on AMD, Intel Nehalem, SNB, IVB.
15607 * sysdeps/x86_64/strnlen.S: Likewise.
15608
15609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15610 Remove all multiarch strlen and strnlen versions.
15611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15612 Remove strlen and strnlen related parts.
15613
15614 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15615 Inline strlen part.
15616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15617
15618 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15619 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15620 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15621 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15622 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15623 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15624
ec4ff04d
CD
156252013-03-17 Carlos O'Donell <carlos@redhat.com>
15626
15627 * manual/memory.texi (Malloc Tunable Parameters):
15628 Sort parameters alphabetically. Add comments for missing entries.
15629
cd18e90a
DM
156302013-03-17 David S. Miller <davem@davemloft.net>
15631
15632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15633
2a185d32
JM
156342013-03-16 Joseph Myers <joseph@codesourcery.com>
15635
d2f9799e
JM
15636 [BZ #15283]
15637 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15638 for arguments at most half maximum finite value.
15639 * math/libm-test.inc (j0_test): Add more tests.
15640 (j1_test): Likewise.
15641 (y0_test): Likewise.
15642 (y1_test): Likewise.
15643 * sysdeps/i386/fpu/libm-test-ulps: Update.
15644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15645
2a185d32
JM
15646 [BZ #14155]
15647 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15648 1 / x and functions P and Q for arguments above 0x1p256L.
15649 (__ieee754_y0l): Likewise.
15650 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15651 (__ieee754_y1l): Likewise.
15652 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15653 (j1_test): Likewise.
15654 (y0_test): Likewise.
15655 (y1_test): Likewise.
15656
6cbec759
TS
156572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15658
15659 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15660 variable.
15661
bc16e260
RM
156622013-03-15 Roland McGrath <roland@hack.frob.com>
15663
aefc9b8c
RM
15664 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15665 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15666 zero since it's initialized to EXEC_PAGESIZE.
15667
bc16e260
RM
15668 * sysdeps/unix/sysv/linux/ldsodefs.h
15669 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15670 * sysdeps/generic/ldsodefs.h: ... here.
15671
a57da955
TS
156722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15673
af00a34d
TS
15674 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15675
495ded2c
TS
15676 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15677 math/test-snan.c.
15678 * math/test-snan.c: Renamed from
15679 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15680 * math/Makefile (tests): Add test-snan.
15681 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15682 test-powerpc-snan.
15683
777b0332
TS
15684 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15685 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15686 functions.
15687 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15688 __builtin_nan family of functions.
15689 * math/libm-test.inc (initialize): Initialize qnan_value with
15690 __builtin_nan family of functions.
15691 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15692 Remove variables.
15693 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15694 Remove functions.
15695 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15696 storage class. Initialize qNaN_var and sNaN_var with
15697 __builtin_nan and __builtin_nans families of functions,
15698 respectively.
15699
64d063b8
TS
15700 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15701 (sqrt_test): Remove duplicate test with qNaN input.
15702 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15703 (round_test, signbit_test, significand_test): Note missing +/-Inf
15704 as well as qNaN tests.
15705
67e971f1
TS
15706 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15707 qNaN_var. Fix a few strings, too.
15708 * math/libm-test.inc (nan_value): Rename to qnan_value.
15709 * math/gen-libm-test.pl (%beautify): Adjust to that.
15710 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15711 * math/test-misc.c (main): Likewise.
15712 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15713 to __qnan_bytes, and __qnan_union, respectively.
15714 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15715 Likewise.
15716 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15717 and lqnanval, respectively.
15718 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15719 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15720 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15721 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15722
64487e12
TS
15723 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15724 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15725 doubles.
15726
e015e27b
TS
15727 * math/test-misc.c (main): Fix copy'n'pastos.
15728 * misc/tst-efgcvt.c (special): Likewise.
15729
a57da955
TS
15730 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15731 Remove declarations.
15732
1e380345
SP
157332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15734
15735 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15736 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15737 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15738 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15739
ef26eece
AZ
157402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15741
15742 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15743 macro to return vdso values correctly in IFUNC implementations.
15744 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15745 Optimization by using IFUNC.
15746
8cfdb7e0
SP
157472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15748 Richard Henderson <rth@redhat.com>
15749 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15750
15751 * Makefile.in (bench): New target.
15752 * NEWS: Mention the benchmark framework.
15753 * Rules (bench): Likewise.
15754 (binaries-bench): Generate binaries for functions to
15755 benchmark.
15756 * benchtests/Makefile: New makefile for benchmark tests.
15757 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15758 programs.
15759 * benchtests/exp-inputs: New input file for EXP function.
15760 * benchtests/pow-inputs: New input file for POW function.
15761 * scripts/bench.pl: New script to generate source files for
15762 benchmark programs.
15763
bcda9880
SP
157642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15765
d22ca8cd
SP
15766 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15767 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15768 computations on mantissa. Use macros for rounding and
15769 division.
15770 (denorm): Likewise.
15771 (__dbl_mp): Likewise.
15772 (add_magnitudes): Likewise.
15773 (sub_magnitudes): Likewise.
15774 (__mul): Likewise.
15775 (__sqr): Likewise.
15776 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15777 powers of two in terms of TWOPOW macro.
15778 (mp_no): Make type of mantissa as MANTISSA_T.
15779 [!RADIXI]: Define RADIXI.
15780 [!TWO52]: Define TWO52.
15781 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15782
bcda9880
SP
15783 * manual/nptl.texi (cindex): Modify threads to pthreads.
15784
06d5adfb
JM
157852013-03-15 Joseph Myers <joseph@codesourcery.com>
15786
15787 * sysdeps/x86_64/preconfigure: Regenerated.
15788
41c7328e
JM
157892013-03-14 Joseph Myers <joseph@codesourcery.com>
15790
15791 [BZ #14155]
15792 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15793 0x1p28 and above.
15794 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15795 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15796 0x1p28 and above.
15797 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15798 * math/libm-test.inc (j0_test): Do not allow one spurious
15799 underflow exception.
15800 (y1_test): Likewise.
15801
e25cfa60
SP
158022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15803
0409959c
SP
15804 * manual/Makefile (chapters): Add nptl.
15805 * manual/debug.texi (Debugging Support): Add link to Threads
15806 chapter.
15807 * manual/nptl.texi: New file.
15808
e25cfa60
SP
15809 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15810
58a1335e
PB
158112013-03-14 Petr Baudis <pasky@ucw.cz>
15812
15813 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15814 for non-NULL pointer before the memory validity test. Pointed
15815 out by Holger Brunck <holger.brunck@keymile.com>.
15816
9dc7c64f
AS
158172013-03-13 Andreas Schwab <schwab@suse.de>
15818
15819 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15820 instead of .os.
15821
54206aa6
JM
158222013-03-13 Joseph Myers <joseph@codesourcery.com>
15823
15824 * timezone/zic.c: Update from tzcode 2013b.
15825
e98cdb38
CD
158262013-03-12 Carlos O'Donell <carlos@redhat.com>
15827
15828 * manual/install.texi (Configuring and compiling):
15829 Mention i686 and i586.
15830 * INSTALL: Regenerate.
15831
9967e003
RM
158322013-03-12 Roland McGrath <roland@hack.frob.com>
15833
15834 * sysdeps/init_array/elf-init.c: New file.
15835 * csu/elf-init.c
15836 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15837 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15838
15839 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15840 __gmon_start__ as global, but as static with a .preinit_array pointer.
15841 * sysdeps/init_array/gmon-start.c: New file. Use that.
15842 * sysdeps/init_array/crti.S: New file, empty except for comments.
15843 * sysdeps/init_array/crtn.S: Likewise.
15844
e6b5a293 158452013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15846
15847 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15848 definining bcopy.
80f844c9
OB
15849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15850 Remove Prefer_SSE_for_memop.
15851 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15852 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15853 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15855 memset-x86-64.
80f844c9 15856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15857 Remove bzero, memset ifunc support.
80f844c9
OB
15858 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15860 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15861 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15862
fb6b0fcb
AS
158632013-03-11 Andreas Schwab <schwab@suse.de>
15864
15865 [BZ #15234]
15866 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15867 by SHLIB_COMPAT.
15868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15869 (GLIBC_2.16): Remove pthread_atfork.
15870
3e6bd4b1
PP
158712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15872
15873 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15874 (ptestcases.h): Likewise.
15875
222d7f00
RM
158762013-03-08 Roland McGrath <roland@hack.frob.com>
15877
15878 * Makeconfig ($(common-objpfx)config.status): Depend on
15879 sysdeps/*/preconfigure{,.in} too.
15880
1ba4f030
JM
158812013-03-08 Joseph Myers <joseph@codesourcery.com>
15882
a222d91a
JM
15883 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15884 (__free_hook): Use void * instead of __malloc_ptr_t.
15885 (__malloc_hook): Likewise.
15886 (__realloc_hook): Likewise.
15887 (__memalign_hook): Likewise.
15888 (__after_morecore_hook): Likewise.
15889 * malloc/arena.c (save_malloc_hook): Likewise.
15890 (save_free_hook): Likewise.
15891 * malloc/hooks.c (malloc_hook_ini): Likewise.
15892 (realloc_hook_ini): Likewise.
15893 (memalign_hook_ini): Likewise.
15894 * malloc/malloc.c (malloc_hook_ini): Likewise.
15895 (realloc_hook_ini): Likewise.
15896 (memalign_hook_ini): Likewise.
15897 (__free_hook): Likewise.
15898 (__malloc_hook): Likewise.
15899 (__realloc_hook): Likewise.
15900 (__memalign_hook): Likewise.
15901 (__libc_malloc): Likewise.
15902 (__libc_free): Likewise.
15903 (__libc_realloc): Likewise.
15904 (__libc_memalign): Likewise.
15905 (__libc_valloc): Likewise.
15906 (__libc_pvalloc): Likewise.
15907 (__libc_calloc): Likewise.
15908 (__posix_memalign): Likewise.
15909 * malloc/morecore.c (__sbrk): Likewise.
15910 (__default_morecore): Likewise.
15911
5cc45e10
JM
15912 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15913
dd54b864
JM
15914 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15915 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15916 __malloc_ptrdiff_t.
15917
1ba4f030
JM
15918 * malloc/malloc.h (__malloc_size_t): Remove macro.
15919 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15920 __malloc_size_t.
15921 (old_memalign_hook): Likewise.
15922 (old_realloc_hook): Likewise.
15923 (struct hdr): Likewise.
15924 (flood): Likewise.
15925 (mallochook): Likewise.
15926 (memalignhook): Likewise.
15927 (reallochook): Likewise.
15928 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15929 (tr_old_realloc_hook): Likewise.
15930 (tr_old_memalign_hook): Likewise.
15931 (tr_mallochook): Likewise.
15932 (tr_reallochook): Likewise.
15933 (tr_memalignhook): Likewise.
15934
edf66e57
AZ
159352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15936
15937 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15938 default_ldbl_pack and using as default implementation.
15939 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15940 implementation.
15941 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15942 redundant definition.
15943 (ldbl_insert_mantissa): Likewise.
15944 (ldbl_canonicalize): Likewise.
15945 (ldbl_nearbyint): Likewise.
15946 (ldbl_pack): Rename to ldbl_pack_ppc.
15947 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15948 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15949 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15950
6d9145d8
SP
159512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15952
15953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15954 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15955 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15956 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15959 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15960 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15961
4dd4e157
AJ
159622013-03-07 Andreas Jaeger <aj@suse.de>
15963
15964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15965 bits/mman-linux.h.
15966
adbb8027
SP
159672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15968
ce544b5b
SP
15969 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15970 Include mpa.h and declare __MPEXP.
15971 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15972 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15973 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15974 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15975 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15976 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15977 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15978
4cc149fd
SP
15979 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15980 (__slowpow): Use long double EXPL and LOGL functions to
15981 compute POW.
15982 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15983 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15985 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15986 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15987 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15988
e6ebd4a7
SP
15989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15990 intermediate variable to calculate exponent.
15991 (__sqr): Likewise.
15992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15993 Likewise.
15994 (__sqr): Likewise.
15995
82a9811d
SP
15996 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15997 [!NO__SQR]: Define __sqr.
15998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15999 and NO__SQR. Remove all code except __mul and __sqr. Include
16000 sysdeps/ieee754/dbl-64/mpa.c.
16001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16002
adbb8027
SP
16003 [BZ #12723]
16004 * posix/Makefile (tests): Add tst-pathconf.
16005 * posix/tst-pathconf.c: New test case.
16006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16007 _PC_PIPE_BUF.
16008 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16009
39120df9
PF
160102013-03-06 Patsy Franklin <pfrankli@redhat.com>
16011
16012 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16013
67525cb8
AJ
160142013-03-06 Andreas Jaeger <aj@suse.de>
16015
664a9ce4
AJ
16016 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16017 definition via __MAP_ANONYMOUS.
16018
8e39047d
AJ
16019 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16020 it's not part of Linux headers.
16021
67525cb8
AJ
16022 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16023 (MAP_HUGE_MASK): Define.
16024
16025 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16026 Define.
16027 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16028 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16029 Define.
16030 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16031 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16032 Define.
16033 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16034 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16035 Define.
16036 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16037
16038 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16039 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16040 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16041 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16042 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16043 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16044
16045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16046 Handle f2fs.
16047
16048 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16049 Handle f2fs and efivarfs.
16050
16051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16052 f2fs.
16053
16054 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16055 (EFIVARFS_MAGIC): Add.
16056 (F2FS_LINK_MAX): Add.
16057
e1b42695
PP
160582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16059
16060 * stdio-common/vfprintf.c: Replace __builtin_expect with
16061 __glibc_unlikely.
16062
2d67d91a
JM
160632013-03-06 Joseph Myers <joseph@codesourcery.com>
16064
16065 [BZ #13550]
16066 * sysdeps/generic/bp-sym.h: Remove file.
16067 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16068 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16069 <bp-sym.h> and <bp-asm.h>.
16070 (__longjmp): Don't use BP_SYM.
16071 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16072 and <bp-asm.h>.
16073 (memcpy): Don't use BP_SYM.
16074 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16075 <bp-sym.h> and <bp-asm.h>.
16076 (memcpy): Don't use BP_SYM.
16077 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16078 <bp-asm.h>.
16079 (memcpy): Don't use BP_SYM.
16080 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16081 <bp-asm.h>.
16082 (memset): Don't use BP_SYM.
16083 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16084 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16085 (__bzero): Don't use BP_SYM.
16086 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16087 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16088 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16089 <bp-sym.h> and <bp-asm.h>.
16090 (memcmp): Don't use BP_SYM. Remove comment about bounded
16091 pointers.
16092 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16093 <bp-sym.h> and <bp-asm.h>.
16094 (memcpy): Don't use BP_SYM.
16095 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16096 <bp-sym.h> and <bp-asm.h>.
16097 (memset): Don't use BP_SYM.
16098 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16099 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16100 (__bzero): Don't use BP_SYM.
16101 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16102 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16103 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16104 <bp-sym.h> and <bp-asm.h>.
16105 (strncmp): Don't use BP_SYM. Remove comment about bounded
16106 pointers.
16107 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16108 <bp-sym.h> and <bp-asm.h>.
16109 (memcpy): Don't use BP_SYM.
16110 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16111 <bp-sym.h> and <bp-asm.h>.
16112 (memset): Don't use BP_SYM.
16113 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16114 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16115 (__bzero): Don't use BP_SYM.
16116 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16117 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16118 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16119 <bp-sym.h> and <bp-asm.h>.
16120 (__memchr): Don't use BP_SYM.
16121 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16122 <bp-sym.h> and <bp-asm.h>.
16123 (memcmp): Don't use BP_SYM. Remove comment about bounded
16124 pointers.
16125 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16126 <bp-sym.h> and <bp-asm.h>.
16127 (memcpy): Don't use BP_SYM.
16128 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16129 <bp-sym.h> and <bp-asm.h>.
16130 (__mempcpy): Don't use BP_SYM.
16131 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16132 <bp-sym.h> and <bp-asm.h>.
16133 (__memrchr): Don't use BP_SYM.
16134 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16135 <bp-sym.h> and <bp-asm.h>.
16136 (memset): Don't use BP_SYM.
16137 (__bzero): Likewise.
16138 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16139 <bp-sym.h> and <bp-asm.h>.
16140 (__rawmemchr): Don't use BP_SYM.
16141 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16142 <bp-sym.h> and <bp-asm.h>.
16143 (__STRCMP): Don't use BP_SYM.
16144 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16145 <bp-sym.h> and <bp-asm.h>.
16146 (strchr): Don't use BP_SYM.
16147 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16148 <bp-sym.h> and <bp-asm.h>.
16149 (__strchrnul): Don't use BP_SYM.
16150 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16151 <bp-sym.h> and <bp-asm.h>.
16152 (strlen): Don't use BP_SYM.
16153 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16154 <bp-sym.h> and <bp-asm.h>.
16155 (strncmp): Don't use BP_SYM. Remove comment about bounded
16156 pointers.
16157 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16158 <bp-sym.h> and <bp-asm.h>.
16159 (__strnlen): Don't use BP_SYM.
16160 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16161 <bp-sym.h> and <bp-asm.h>.
16162 (__GI__setjmp): Don't use BP_SYM.
16163 (_setjmp): Likewise.
16164 (__sigsetjmp): Likewise.
16165 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16166 (L(start_addresses)): Don't use BP_SYM.
16167 (_start): Likewise.
16168 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16169 <bp-asm.h>.
16170 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16171 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16172 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16173 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16174 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16175 <bp-asm.h>.
16176 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16177 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16178 about bounded pointers.
16179 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16180 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16181 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16182 <bp-asm.h>.
16183 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16184 about bounded pointers. Remove GKM FIXME comments.
16185 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16186 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16187 <bp-asm.h>.
16188 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16189 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16190 Remove GKM FIXME comments.
16191 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16192 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16193 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16194 <bp-asm.h>.
16195 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16196 about bounded pointers. Remove GKM FIXME comment.
16197 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16198 and <bp-asm.h>.
16199 (strncmp): Don't use BP_SYM. Remove comment about bounded
16200 pointers.
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16202 <bp-sym.h> and <bp-asm.h>.
16203 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16205 <bp-sym.h> and <bp-asm.h>.
16206 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16207 comment.
16208
cdcf361f
PP
162092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16210
16211 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16212 call free(NULL).
16213
3c4a2b15
DM
162142013-03-05 David S. Miller <davem@davemloft.net>
16215
16216 * po/es.po: Update from translation team.
16217
cdcf361f 162182013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16219
16220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16221 <bits/mman-linux.h>.
16222 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16223 is fine.
16224 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16225 <bits/mman-linux.h> to end of file.
16226 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16227 is fine.
16228 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16229 <bits/mman-linux.h> to end of file.
16230 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16231 is fine.
16232 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16233 <bits/mman-linux.h> to end of file.
16234
16235 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16236 (MCL_CURRENT, MCL_FUTURE): Define here.
16237
5f67c04f
AK
162382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16239
8a4473cc 16240 [BZ #15232]
5f67c04f
AK
16241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16242 attribute_hidden.
16243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16244
c3e94a95
AK
162452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16246
16247 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16248 fourth parameter needed for rt_sigprocmask syscall.
16249 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16250 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16251 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16252 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16253 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16254 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16255
cfb6382a
JM
162562013-03-04 Joseph Myers <joseph@codesourcery.com>
16257
16258 [BZ #13550]
16259 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16260 comment about bounded pointers.
16261 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16262 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16263
539d8e01
AJ
162642013-03-04 Andreas Jaeger <aj@suse.de>
16265
16266 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16267 common definitions.
16268
16269 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16270 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16271 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16272 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16273 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16274 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16275
2e167a70 162762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16277
16278 [BZ #15055]
16279 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16280 __ieee754_sqrl instead of __sqrl.
16281
68508633
JM
162822013-03-01 Joseph Myers <joseph@codesourcery.com>
16283
16284 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16285 * sysdeps/powerpc/fpu_control.h: ... here.
16286 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16287 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16288 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16289 * sysdeps/powerpc/bits/mathinline.h: ... here.
16290
7775448e
RM
162912013-03-01 Roland McGrath <roland@hack.frob.com>
16292
16293 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16294 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16295 to just [NEED_DL_SYSINFO_DSO].
16296 * elf/dl-support.c: Likewise.
16297 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16298 * elf/rtld.c (dl_main): Likewise.
16299 * elf/setup-vdso.h (setup_vdso): Likewise.
16300 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16301 * sysdeps/unix/sysv/linux/dl-sysdep.c
16302 (_dl_discover_osversion): Likewise.
16303
4e9b5995
CD
163042013-03-01 Carlos O'Donell <carlos@redhat.com>
16305
16306 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16307 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16308
e23872c8
SP
163092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16310
e5c74c63
SP
16311 * NEWS: Mention libm performance improvements and non-x86 PI
16312 futex support.
16313
e23872c8
SP
16314 * csu/libc-start.c (__pthread_initialize_minimal): Change
16315 function arguments.
16316 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16317
b5510883
JM
163182013-02-28 Joseph Myers <joseph@codesourcery.com>
16319
16320 [BZ #13550]
16321 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16322 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16323 <bp-sym.h> and <bp-asm.h>.
16324 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16325 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16326 and <bp-asm.h>.
16327 (memcpy): Don't use BP_SYM.
16328 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16329 <bp-asm.h>.
16330 (__mpn_add_n): Don't use BP_SYM.
16331 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16332 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16333 and <bp-asm.h>.
16334 (__mpn_addmul_1): Don't use BP_SYM.
16335 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16336 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16337 <bp-sym.h>.
16338 (_setjmp): Don't use BP_SYM.
16339 (__novmx_setjmp): Likewise.
16340 (__GI__setjmp): Likewise.
16341 (__vmx_setjmp): Likewise.
16342 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16343 <bp-sym.h>.
16344 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16345 (__bzero): Don't use BP_SYM.
16346 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16347 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16348 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16349 <bp-sym.h> and <bp-asm.h>.
16350 (memcpy): Don't use BP_SYM.
16351 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16352 <bp-sym.h> and <bp-asm.h>.
16353 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16354 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16355 <bp-sym.h> and <bp-asm.h>.
16356 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16357 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16358 <bp-asm.h>.
16359 (__mpn_lshift): Don't use BP_SYM.
16360 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16361 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16362 <bp-asm.h>.
16363 (memset): Don't use BP_SYM.
16364 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16365 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16366 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16367 <bp-asm.h>.
16368 (__mpn_mul_1): Don't use BP_SYM.
16369 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16371 <bp-sym.h> and <bp-asm.h>.
16372 (memcmp): Don't use BP_SYM.
16373 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16374 <bp-sym.h> and <bp-asm.h>.
16375 (memcpy): Don't use BP_SYM.
16376 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16377 <bp-sym.h> and <bp-asm.h>.
16378 (memset): Don't use BP_SYM.
16379 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16380 <bp-sym.h> and <bp-asm.h>.
16381 (strncmp): Don't use BP_SYM.
16382 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16383 <bp-sym.h> and <bp-asm.h>.
16384 (memcpy): Don't use BP_SYM.
16385 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16386 <bp-sym.h> and <bp-asm.h>.
16387 (memset): Don't use BP_SYM.
16388 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16389 <bp-sym.h> and <bp-asm.h>.
16390 (__memchr): Don't use BP_SYM.
16391 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16392 <bp-sym.h> and <bp-asm.h>.
16393 (memcmp): Don't use BP_SYM.
16394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16395 <bp-sym.h> and <bp-asm.h>.
16396 (memcpy): Don't use BP_SYM.
16397 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16398 <bp-sym.h> and <bp-asm.h>.
16399 (__mempcpy): Don't use BP_SYM.
16400 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16401 <bp-sym.h> and <bp-asm.h>.
16402 (__memrchr): Don't use BP_SYM.
16403 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16404 <bp-sym.h> and <bp-asm.h>.
16405 (memset): Don't use BP_SYM.
16406 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16407 <bp-sym.h> and <bp-asm.h>.
16408 (__rawmemchr): Don't use BP_SYM.
16409 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16410 <bp-sym.h> and <bp-asm.h>.
16411 (__STRCMP): Don't use BP_SYM.
16412 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16413 <bp-sym.h> and <bp-asm.h>.
16414 (strchr): Don't use BP_SYM.
16415 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16416 <bp-sym.h> and <bp-asm.h>.
16417 (__strchrnul): Don't use BP_SYM.
16418 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16419 <bp-sym.h> and <bp-asm.h>.
16420 (strlen): Don't use BP_SYM.
16421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16422 <bp-sym.h> and <bp-asm.h>.
16423 (strncmp): Don't use BP_SYM.
16424 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16425 <bp-sym.h> and <bp-asm.h>.
16426 (__strnlen): Don't use BP_SYM.
16427 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16428 <bp-asm.h>.
16429 (__mpn_rshift): Don't use BP_SYM.
16430 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16431 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16432 <bp-sym.h> and <bp-asm.h>.
16433 (__sigsetjmp): Don't use BP_SYM.
16434 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16435 (L(start_addresses)): Don't use BP_SYM.
16436 (_start): Likewise.
16437 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16438 <bp-asm.h>.
16439 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16440 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16441 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16442 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16443 <bp-asm.h>.
16444 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16445 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16446 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16447 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16448 <bp-asm.h>.
16449 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16450 comments.
16451 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16452 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16453 <bp-asm.h>.
16454 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16455 FIXME comments.
16456 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16457 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16458 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16459 <bp-asm.h>.
16460 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16461 comment.
16462 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16463 and <bp-asm.h>.
16464 (strncmp): Don't use BP_SYM,
16465 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16466 <bp-asm.h>.
16467 (__mpn_sub_n): Don't use BP_SYM.
16468 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16469 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16470 and <bp-asm.h>.
16471 (__mpn_submul_1): Don't use BP_SYM.
16472 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16474 <bp-sym.h> and <bp-asm.h>.
16475 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16477 <bp-sym.h> and <bp-asm.h>.
16478 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16479 comment.
16480
8d19fe64
SP
164812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16482
16483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16484 Use ZK to minimize writes to Z.
16485 (sub_magnitudes): Simplify code a bit.
16486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16487 Use ZK to minimize writes to Z.
16488 (sub_magnitudes): Simplify code a bit.
16489
85bd816a
RM
164902013-02-27 Roland McGrath <roland@hack.frob.com>
16491
16492 * csu/gmon-start.c: Add special exception to license text.
16493
b5977bf2
RH
164942013-02-27 Richard Henderson <rth@redhat.com>
16495
16496 * scripts/config.guess: Update from config.git.
16497 * scripts/config.sub: Likewise.
16498
11d6e2f2
SP
164992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16500
09c14ed2
SP
16501 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16502
a688864e
SP
16503 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16504
6295157a
SP
16505 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16506
b8de2202
SP
16507 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16508
11d6e2f2
SP
16509 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16510
7e80ddb8
RM
165112013-02-26 Roland McGrath <roland@hack.frob.com>
16512
16513 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16514 [$(build-shared = yes].
7e80ddb8 16515
7da6d9ed
SP
165162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16517
45f05884
SP
16518 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16519 (__mul): Reduce iterations for calculating mantissa.
16520
2236d359
SP
16521 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16522 MPTWO.
16523 (__mpranred): Likewise.
16524
7da6d9ed
SP
16525 [BZ #15160]
16526 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16527 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16528
b7688c42
PE
165292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16530
16531 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16532 Define __attribute__.
16533
53a5c423
SP
165342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16535
16536 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16537 unused.
16538 * posix/regex_internal.h (__attribute): Remove.
16539 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16540 (re_string_context_at): Likewise.
16541 (bitset_not): Use __attribute__ and mark function as possibly
16542 unused.
16543 (bitset_merge): Likewise.
16544 (bitset_mask): Likewise.
16545 (re_string_char_size_at): Likewise.
16546 (re_string_wchar_at): Likewise.
16547 (re_string_elem_size_at): Likewise.
16548
60f5a8b5
SP
165492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16550
2a983a2e
SP
16551 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16552 code.
16553 (cc32): Likewise.
16554
e69804d1
SP
16555 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16556 (__acr): Likewise.
16557 (__cpy): Likewise.
16558 (norm): Likewise.
16559 (denorm): Likewise.
16560 (__dbl_mp): Likewise.
16561 (add_magnitudes): Likewise.
16562 (sub_magnitudes): Likewise.
16563 (__mul): Likewise.
16564 (__inv): Likewise.
16565
2f22a1e8
SP
16566 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16567 style.
16568
8930ddc7
SP
16569 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16570 style.
16571
dc60cb11
SP
16572 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16573 code.
16574
60f5a8b5
SP
16575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16576 up changes with default code.
16577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16578 Likewise.
16579
b4d1fd33
AM
165802013-02-24 Allan McRae <allan@archlinux.org>
16581
faf6f8bc
AM
16582 * manual/socket.texi (The Internet Namespace): Order menu items
16583 to match that in the file.
16584
b4d1fd33
AM
16585 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16586 node listing of the info page menu.
16587
2366713d
JM
165882013-02-21 Joseph Myers <joseph@codesourcery.com>
16589
16590 [BZ #13550]
16591 * sysdeps/i386/bp-asm.h: Remove file.
16592 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16593 (PARMS): Do not use macros from bp-asm.h.
16594 (S1): Likewise.
16595 (S2): Likewise.
16596 (SIZE): Likewise.
16597 (__mpn_add_n): Do not use BP_SYM
16598 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16599 "bp-asm.h".
16600 (PARMS): Do not use macros from bp-asm.h.
16601 (S1): Likewise.
16602 (SIZE): Likewise.
16603 (__mpn_addmul_1): Do not use BP_SYM
16604 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16605 "bp-asm.h".
16606 (PARMS): Do not use macros from bp-asm.h.
16607 (SIGMSK): Likewise.
16608 (_setjmp): Likewise. Do not use BP_SYM.
16609 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16610 "bp-asm.h".
16611 (PARMS): Do not use macros from bp-asm.h.
16612 (SIGMSK): Likewise.
16613 (setjmp): Likewise. Do not use BP_SYM.
16614 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16615 "bp-asm.h".
16616 (PARMS): Do not use macros from bp-asm.h.
16617 (__frexp): Do not use BP_SYM.
16618 (frexp): Likewise.
16619 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16620 "bp-asm.h".
16621 (PARMS): Do not use macros from bp-asm.h.
16622 (__frexpf): Do not use BP_SYM.
16623 (frexpf): Likewise.
16624 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16625 "bp-asm.h".
16626 (PARMS): Do not use macros from bp-asm.h.
16627 (__frexpl): Do not use BP_SYM.
16628 (frexpl): Likewise.
16629 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16630 "bp-asm.h".
16631 (PARMS): Do not use macros from bp-asm.h.
16632 (__remquo): Do not use BP_SYM.
16633 (remquo): Likewise.
16634 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16635 "bp-asm.h".
16636 (PARMS): Do not use macros from bp-asm.h.
16637 (__remquof): Do not use BP_SYM.
16638 (remquof): Likewise.
16639 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16640 "bp-asm.h".
16641 (PARMS): Do not use macros from bp-asm.h.
16642 (__remquol): Do not use BP_SYM.
16643 (remquol): Likewise.
16644 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16645 "bp-asm.h".
16646 (PARMS): Do not use macros from bp-asm.h.
16647 (DEST): Likewise.
16648 (SRC): Likewise.
16649 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16650 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 (PARMS): Do not use macros from bp-asm.h.
16653 (strlen): Do not use BP_SYM.
16654 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16655 "bp-asm.h".
16656 (PARMS): Do not use macros from bp-asm.h.
16657 (S1): Likewise.
16658 (S2): Likewise.
16659 (SIZE): Likewise.
16660 (__mpn_add_n): Do not use BP_SYM.
16661 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16662 "bp-asm.h".
16663 (PARMS): Do not use macros from bp-asm.h.
16664 (S1): Likewise.
16665 (SIZE): Likewise.
16666 (__mpn_addmul_1): Do not use BP_SYM.
16667 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16668 weak_alias.
16669 (bzero): Likewise.
16670 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16671 "bp-asm.h".
16672 (PARMS): Do not use macros from bp-asm.h.
16673 (S): Likewise.
16674 (SIZE): Likewise.
16675 (__mpn_lshift): Do not use BP_SYM.
16676 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16677 "bp-asm.h".
16678 (PARMS): Do not use macros from bp-asm.h.
16679 (DEST): Likewise.
16680 (SRC): Likewise.
16681 (LEN): Likewise.
16682 (memcpy): Likewise. Do not use BP_SYM.
16683 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16684 libc_hidden_def and weak_alias.
16685 (mempcpy): Do not use BP_SYM in weak_alias.
16686 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16687 "bp-asm.h".
16688 (PARMS): Do not use macros from bp-asm.h.
16689 (DEST): Likewise.
16690 (LEN): Likewise.
16691 [!BZERO_P] (CHR): Likewise.
16692 (memset): Likewise. Do not use BP_SYM.
16693 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16694 "bp-asm.h".
16695 (PARMS): Do not use macros from bp-asm.h.
16696 (S1): Likewise.
16697 (SIZE): Likewise.
16698 (__mpn_mul_1): Do not use BP_SYM.
16699 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16700 "bp-asm.h".
16701 (PARMS): Do not use macros from bp-asm.h.
16702 (S): Likewise.
16703 (SIZE): Likewise.
16704 (__mpn_rshift): Do not use BP_SYM.
16705 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16706 "bp-asm.h".
16707 (PARMS): Do not use macros from bp-asm.h.
16708 (STR): Likewise.
16709 (CHR): Likewise.
16710 (strchr): Likewise. Do not use BP_SYM.
16711 (index): Do not use BP_SYM in weak_alias.
16712 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16713 "bp-asm.h".
16714 (PARMS): Do not use macros from bp-asm.h.
16715 (DEST): Likewise.
16716 (SRC): Likewise.
16717 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16718 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16719 "bp-asm.h".
16720 (PARMS): Do not use macros from bp-asm.h.
16721 (strlen): Do not use BP_SYM.
16722 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16723 "bp-asm.h".
16724 (PARMS): Do not use macros from bp-asm.h.
16725 (S1): Likewise.
16726 (S2): Likewise.
16727 (SIZE): Likewise.
16728 (__mpn_sub_n): Do not use BP_SYM.
16729 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16730 "bp-asm.h".
16731 (PARMS): Do not use macros from bp-asm.h.
16732 (S1): Likewise.
16733 (SIZE): Likewise.
16734 (__mpn_submul_1): Do not use BP_SYM.
16735 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16736 "bp-asm.h".
16737 (PARMS): Do not use macros from bp-asm.h.
16738 (S1): Likewise.
16739 (S2): Likewise.
16740 (SIZE): Likewise.
16741 (__mpn_add_n): Do not use BP_SYM.
16742 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16743 weak_alias.
16744 (bzero): Likewise.
16745 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16746 "bp-asm.h".
16747 (PARMS): Do not use macros from bp-asm.h.
16748 (BLK2): Likewise.
16749 (LEN): Likewise.
16750 (memcmp): Do not use BP_SYM.
16751 (bcmp): Do not use BP_SYM in weak_alias.
16752 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16753 "bp-asm.h".
16754 (PARMS): Do not use macros from bp-asm.h.
16755 (DEST): Likewise.
16756 (SRC): Likewise.
16757 (LEN): Likewise.
16758 (memcpy): Likewise. Do not use BP_SYM.
16759 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16760 "bp-asm.h".
16761 (PARMS): Do not use macros from bp-asm.h.
16762 (DEST): Likewise.
16763 (SRC): Likewise.
16764 (LEN): Likewise.
16765 (memmove): Likewise. Do not use BP_SYM.
16766 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16767 "bp-asm.h".
16768 (PARMS): Do not use macros from bp-asm.h.
16769 (DEST): Likewise.
16770 (SRC): Likewise.
16771 (LEN): Likewise.
16772 (__mempcpy): Likewise. Do not use BP_SYM.
16773 (mempcpy): Do not use BP_SYM in weak_alias.
16774 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16775 "bp-asm.h".
16776 (PARMS): Do not use macros from bp-asm.h.
16777 (DEST): Likewise.
16778 (LEN): Likewise.
16779 [!BZERO_P] (CHR): Likewise.
16780 (memset): Likewise. Do not use BP_SYM.
16781 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16782 "bp-asm.h".
16783 (PARMS): Do not use macros from bp-asm.h.
16784 (STR2): Likewise.
16785 (strcmp): Do not use BP_SYM.
16786 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16787 "bp-asm.h".
16788 (PARMS): Do not use macros from bp-asm.h.
16789 (STR): Likewise.
16790 (DELIM): Likewise.
16791 [USE_AS_STRTOK_R] (SAVE): Likewise.
16792 (FUNCTION): Likewise. Do not use BP_SYM.
16793 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16794 aliases.
16795 (strtok_r): Likewise.
16796 (__GI___strtok_r): Likewise.
16797 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16798 (PARMS): Do not use macros from bp-asm.h.
16799 (S): Likewise.
16800 (SIZE): Likewise.
16801 (__mpn_lshift): Do not use BP_SYM.
16802 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16803 (PARMS): Do not use macros from bp-asm.h.
16804 (STR): Likewise.
16805 (CHR): Likewise.
16806 (__memchr): Do not use BP_SYM.
16807 (memchr): Do not use BP_SYM in weak_alias.
16808 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16809 (PARMS): Do not use macros from bp-asm.h.
16810 (BLK2): Likewise.
16811 (LEN): Likewise.
16812 (memcmp): Do not use BP_SYM.
16813 (bcmp): Do not use BP_SYM in weak_alias.
16814 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16815 (PARMS): Do not use macros from bp-asm.h.
16816 (S1): Likewise.
16817 (SIZE): Likewise.
16818 (__mpn_mul_1): Do not use BP_SYM.
16819 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16820 "bp-asm.h".
16821 (PARMS): Do not use macros from bp-asm.h.
16822 (STR): Likewise.
16823 (CHR): Likewise.
16824 (__rawmemchr): Do not use BP_SYM.
16825 (rawmemchr): Do not use BP_SYM in weak_alias.
16826 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16827 (PARMS): Do not use macros from bp-asm.h.
16828 (S): Likewise.
16829 (SIZE): Likewise.
16830 (__mpn_rshift): Do not use BP_SYM.
16831 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16832 (PARMS): Do not use macros from bp-asm.h.
16833 (SIGMSK): Likewise.
16834 (__sigsetjmp): Likewise. Do not use BP_SYM.
16835 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16836 (_start): Do not use BP_SYM.
16837 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16838 (PARMS): Do not use macros from bp-asm.h.
16839 (DEST): Likewise.
16840 (SRC): Likewise.
16841 (__stpcpy): Likewise. Do not use BP_SYM.
16842 (stpcpy): Do not use BP_SYM in weak_alias.
16843 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16844 "bp-asm.h".
16845 (PARMS): Do not use macros from bp-asm.h.
16846 (DEST): Likewise.
16847 (SRC): Likewise.
16848 (LEN): Likewise.
16849 (__stpncpy): Likewise. Do not use BP_SYM.
16850 (stpncpy): Do not use BP_SYM in weak_alias.
16851 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16852 (PARMS): Do not use macros from bp-asm.h.
16853 (STR): Likewise.
16854 (CHR): Likewise.
16855 (strchr): Likewise. Do not use BP_SYM.
16856 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16857 "bp-asm.h".
16858 (PARMS): Do not use macros from bp-asm.h.
16859 (STR): Likewise.
16860 (CHR): Likewise.
16861 (__strchrnul): Likewise. Do not use BP_SYM.
16862 (strchrnul): Do not use BP_SYM in weak_alias.
16863 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16864 "bp-asm.h".
16865 (PARMS): Do not use macros from bp-asm.h.
16866 (STOP): Likewise.
16867 (strcspn): Do not use BP_SYM.
16868 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16869 "bp-asm.h".
16870 (PARMS): Do not use macros from bp-asm.h.
16871 (STR): Likewise.
16872 (STOP): Likewise.
16873 (strpbrk): Likewise. Do not use BP_SYM.
16874 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16875 "bp-asm.h".
16876 (PARMS): Do not use macros from bp-asm.h.
16877 (STR): Likewise.
16878 (CHR): Likewise.
16879 (strrchr): Likewise. Do not use BP_SYM.
16880 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16881 (PARMS): Do not use macros from bp-asm.h.
16882 (SKIP): Likewise.
16883 (strspn): Do not use BP_SYM.
16884 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16885 (PARMS): Do not use macros from bp-asm.h.
16886 (STR): Likewise.
16887 (DELIM): Likewise.
16888 (SAVE): Likewise.
16889 (FUNCTION): Likewise. Do not use BP_SYM.
16890 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16891 aliases.
16892 (strtok_r): Likewise.
16893 (__GI___strtok_r): Likewise.
16894 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16895 (PARMS): Do not use macros from bp-asm.h.
16896 (S1): Likewise.
16897 (S2): Likewise.
16898 (SIZE): Likewise.
16899 (__mpn_sub_n): Do not use BP_SYM.
16900 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16901 "bp-asm.h".
16902 (PARMS): Do not use macros from bp-asm.h.
16903 (S1): Likewise.
16904 (SIZE): Likewise.
16905 (__mpn_submul_1): Do not use BP_SYM.
16906 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16907 <bp-sym.h>.
16908 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16909 and <bp-asm.h>.
16910 (PARMS): Do not use macros from bp-asm.h.
16911 (FLAGS): Likewise.
16912 (PTID): Likewise.
16913 (TLS): Likewise.
16914 (CTID): Likewise.
16915 (__clone): Do not use BP_SYM.
16916 (clone): Do not use BP_SYM in weak_alias.
16917 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16918 and <bp-asm.h>.
16919 (PARMS): Do not use macros from bp-asm.h.
16920 (LEN): Likewise.
16921 (__mmap64): Do not use BP_SYM.
16922 (mmap64): Do not use BP_SYM in weak_alias.
16923 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16924 <bp-sym.h> and <bp-asm.h>.
16925 (PARMS): Do not use macros from bp-asm.h.
16926 (__posix_fadvise64_l64): Do not use BP_SYM.
16927 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16928 (PARMS): Do not use macros from bp-asm.h.
16929 (NSOPS): Likewise.
16930 (semtimedop): Do not use BP_SYM.
16931 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16932 and <bp-asm.h>.
16933
582a3cff
AM
169342013-02-21 Allan McRae <allan@archlinux.org>
16935
16936 * manual/message.texi (Charset conversion in gettext):
16937 Move @end statement to beginning of line.
16938
bab8a695
SP
169392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16940
80945231
SP
16941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16942 static.
16943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16944 Likewise.
16945
bab8a695
SP
16946 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16947 (denorm): Likewise.
16948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16950
e21d7aa7
AK
169512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16952
16953 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16954 tail-call to the resolved function if pltexit isn't needed.
16955
4c7a4263
SP
169562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16957
16958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16959 or Y being zero as being unlikely.
16960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16961 Likewise.
16962
41f49342
CD
169632013-02-20 Carlos O'Donell <carlos@redhat.com>
16964
16965 * manual/nss.texi (System Databases and Name Service Switch):
16966 Remove frobnicate @pxref.
16967
50022a93
TS
169682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16969
16970 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16971 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16972
08cbd996
PM
169732013-02-20 Petr Machata <pmachata@redhat.com>
16974
16975 * elf/elf.h (R_ARM_TARGET1): New macro.
16976 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16977 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16978 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16979 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16980 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16981 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16982 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16983 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16984 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16985 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16986 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16987 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16988 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16989 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16990 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16991 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16992 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16993 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16994 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16995 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16996 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16997 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16998 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16999 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17000 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17001 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17002 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17003 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17004 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17005 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17006 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17007 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17008 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17009 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17010 (R_ARM_THM_GOT_BREL12): Likewise.
17011 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17012 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17013 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17014 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17015 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17016 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17017 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17018 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17019 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17020
c7b275d6
TS
170212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17022
17023 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17024 __attribute_used__ to __attribute__ ((unused)).
17025
20cd7fb3
SP
170262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17027
17028 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17029 powerpc mpa.c.
17030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17031 comment formatting.
17032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17033
92945b52
JM
170342013-02-19 Joseph Myers <joseph@codesourcery.com>
17035
17036 [BZ #13550]
17037 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17038 Remove macro.
17039 (ENTER): Remove both macro definitions.
17040 (LEAVE): Likewise.
17041 (CHECK_BOUNDS_LOW): Likewise.
17042 (CHECK_BOUNDS_HIGH): Likewise.
17043 (CHECK_BOUNDS_BOTH): Likewise.
17044 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17045 (RETURN_BOUNDED_POINTER): Likewise.
17046 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17047 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17048 (POP_ERRNO_LOCATION_RETURN): Likewise.
17049 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17050 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17051 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17052 macros.
17053 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17054 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17055 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17056 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17057 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17058 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17059 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17060 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17061 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17062 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17063 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17064 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17065 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17066 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17067 removed macros.
17068 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17069 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17070 macros.
17071 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17072 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17073 * sysdeps/i386/i586/memset.S (memset): Likewise.
17074 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17075 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17076 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17077 macros.
17078 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17079 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17080 Change uses of L(2) to L(out).
17081 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17082 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17083 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17084 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17085 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17086 removed macros.
17087 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17088 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17089 macros.
17090 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17091 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17092 (RETURN): Do not use macro LEAVE.
17093 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17094 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17095 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17096 * sysdeps/i386/i686/memset.S (memset): Likewise.
17097 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17098 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17099 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17100 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17101 Likewise.
17102 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17103 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17104 L(1_2) and L(1_3) into L(1).
17105 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17106 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17107 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17108 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17109 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17110 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17111 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17112 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17113 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17114 macros.
17115 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17116 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17117 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17118 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17119 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17120 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17121 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17122 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17123 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17124 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17125 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17126 * sysdeps/i386/strspn.S (strspn): Likewise.
17127 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17128 conditional code.
17129 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17130 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17131 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17132 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17133 L(1_3) into L(1_1).
17134 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17135 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17136 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17137 macros.
17138 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17139
2389741a
JJ
171402013-02-19 Jakub Jelinek <jakub@redhat.com>
17141
17142 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17143 macro.
17144
2016b3cd
SP
171452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17146
e4f22324
SP
17147 * math/atest-exp.c (exp_mpn): Remove ROUND.
17148 * math/atest-exp2.c (exp_mpn): Likewise.
17149 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17150
2016b3cd
SP
17151 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17152 * stdlib/tst-tls-atexit-lib.c: Likewise.
17153 * stdlib/tst-tls-atexit.c: Likewise.
17154
4be9b544
MF
171552013-02-18 Mike Frysinger <vapier@gentoo.org>
17156
17157 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17158 and __attribute_alloc_size__.
17159
2f62b9ee
MF
171602013-02-18 Mike Frysinger <vapier@gentoo.org>
17161
17162 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17163 __attribute_alloc_size__.
17164 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17165 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17166
6ff444c4
MF
171672013-02-18 Mike Frysinger <vapier@gentoo.org>
17168
17169 * include/programs/xmalloc.h: New file.
17170 * catgets/gencat.c: Include it.
17171 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17172 * elf/pldd.c: Likewise.
17173 * iconv/iconv_charmap.c: Likewise.
17174 * iconv/iconvconfig.c: Likewise.
17175 * iconv/strtab.c: Likewise.
17176 * locale/programs/locale.c: Likewise.
17177 * locale/programs/localedef.h: Likewise.
17178 * locale/programs/simple-hash.c: Likewise.
17179 * nscd/nscd.h: Likewise.
17180 * nss/makedb.c: Likewise.
17181 * sysdeps/generic/ldconfig.h: Likewise.
17182
be179c8a
SP
171832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17184
ba384f6e
SP
17185 * Versions.def: Add GLIBC_2.18.
17186 * include/link.h (struct link_map): New member l_tls_dtor_count.
17187 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17188 (__call_tls_dtors): Likewise.
17189 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17190 __cxa_thread_atexit_impl.
17191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17192 Likewise.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17194 Likewise.
17195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17196 Likewise.
17197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17198 Likewise.
17199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17201 Likewise.
17202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17203 Likewise.
17204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17206 Likewise.
17207 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17208 (tests): Add test case tst-tls-atexit.
17209 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17210 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17211 (GLIBC_PRIVATE): Add __call_tls_dtors.
17212 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17213 for libstdc++.
17214 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17215 * stdlib/tst-tls-atexit.c: New test case.
17216 * stdlib/tst-tls-atexit-lib.c: New test case.
17217
ffaa74cf 17218 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17219
be179c8a
SP
17220 * elf/Versions (ld): Add _dl_find_dso_for_object.
17221 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17222 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17223 (dl_open_worker): Use _dl_find_dso_for_object.
17224 * elf/dl-sym.c (do_sym): Likewise.
17225 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17226
f78b5caa
AK
172272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17228
17229 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17230 Syntactic changes only.
17231 (_dl_runtime_profile): Do a tail-call to the resolved function.
17232
29691210
JM
172332013-02-17 Joseph Myers <joseph@codesourcery.com>
17234
17235 [BZ #13550]
17236 * sysdeps/x86_64/bp-asm.h: Remove file.
17237 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17238 <bp-sym.h> and <bp-asm.h>.
17239 (__clone): Do not use BP_SYM.
17240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17241 <bp-sym.h> and <bp-asm.h>.
17242 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17243 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17244 "bp-asm.h".
17245 (_setjmp): Do not use BP_SYM.
17246 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17247 "bp-asm.h".
17248 (setjmp): Do not use BP_SYM.
17249 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17250 libc_hidden_def.
17251 (mempcpy): Do not use BP_SYM in weak_alias.
17252 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17253 "bp-asm.h".
17254 (strchr): Do not use BP_SYM.
17255 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17256 "bp-asm.h".
17257 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17258 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17259 (_start): Do not use BP_SYM.
17260 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17261 "bp-asm.h".
17262 (strcat): Do not use BP_SYM.
17263 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17264 "bp-asm.h".
17265 (STRCMP): Do not use BP_SYM.
17266 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17267 "bp-asm.h".
17268 (STRCPY): Do not use BP_SYM.
17269 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17270 "bp-asm.h".
17271 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17272 "bp-asm.h".
17273 (FUNCTION): Do not use BP_SYM.
17274 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17275 weak_alias.
17276 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17277
f238fd19
AJ
172782013-02-17 Andreas Jaeger <aj@suse.de>
17279
17280 * time/Versions: Sort entries.
17281 * string/Versions: Likewise.
17282 * resolv/Versions: Likewise.
17283 * posix/Versions: Likewise.
17284 * iconv/Versions: Likewise.
17285 * elf/Versions: Likewise.
17286 * wcsmbs/Versions: Likewise.
17287
bd07f23c 172882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17289
22af19f9
SP
17290 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17291 loop termination condition.
17292
4709fe76
SP
17293 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17294 variable to calculate EZ.
17295 (__sqr): Likewise.
2d0e0f29
SP
17296
17297 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17298 the lower precision input.
17299
daaa7713
JM
173002013-02-15 Joseph Myers <joseph@codesourcery.com>
17301
17302 [BZ #13550]
17303 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17304 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17305 (run-via-rtld-prefix): Do not handle %-bp tests.
17306 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17307 (all-object-suffixes): Remove .ob.
17308 (bppfx): Remove variable.
17309 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17310 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17311 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17312 [$(build-bounded) = yes] (libtype.ob): Likewise.
17313 * Makerules (elide-routines.ob): Remove variable.
17314 (do-tests-clean): Do not handle *-bp.out.
17315 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17316 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17317 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17318 (tests): Do not include $(tests-bp.out).
17319 (xtests): Do not include $(xtests-bp.out).
17320 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17321 [$(build-bounded) = yes] ($(addprefix
17322 $(objpfx),$(binaries-bounded))): Remove rule.
17323 ($(objpfx)%-bp.out): Remove rule.
17324 * config.make.in (build-bounded): Remove variable.
17325 * crypt/Makefile [$(build-bounded) = yes]
17326 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17327 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17328 append to variable.
17329 [$(build-bounded) = yes] (install-lib): Likewise.
17330 [$(build-bounded) = yes] (generated): Likewise.
17331 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17332 Remove rule.
17333 * intl/Makefile [$(build-bounded) = yes]
17334 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17335 * math/Makefile [$(build-bounded) = yes]
17336 ($(tests:%=$(objpfx)%-bp): Likewise.
17337 * misc/Makefile [$(build-bounded) = yes]
17338 ($(objpfx)tst-tsearch-bp): Likewise.
17339 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17340 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17341 Remove dependency.
17342 * string/Makefile (o-objects.ob): Remove variable.
17343 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17344 (CFLAGS-.ob): Remove variable.
17345 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17346 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17347 both definitions of variable.
17348 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17349 (ASFLAGS-.ob): Remove variable.
17350
e97ed6dd
JM
173512013-02-14 Joseph Myers <joseph@codesourcery.com>
17352
2bdd4ca6
JM
17353 [BZ #13550]
17354 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17355 Remove __BOUNDED_POINTERS__ from condition.
17356 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17357 * string/bits/string2.h [!__NO_STRING_INLINES &&
17358 !__BOUNDED_POINTERS__]: Likewise.
17359 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17360 Likewise.
17361 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17362 Remove conditional code.
17363 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17364 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17365 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17366 condition.
17367
e97ed6dd
JM
17368 [BZ #13550]
17369 * csu/libc-start.c: Do not include <bp-sym.h>.
17370 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17371 * elf/dl-open.c: Do not include <bp-sym.h>.
17372 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17373 * math/fegetenv.c: Do not include <bp-sym.h>.
17374 (fegetenv): Do not use BP_SYM in versioned symbols.
17375 * nptl/sysdeps/pthread/bits/libc-lockP.h
17376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17377 <bp-sym.h>.
17378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17379 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17381 (__pthread_mutex_destroy): Likewise.
17382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17383 (__pthread_mutex_lock): Likewise.
17384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17385 (__pthread_mutex_trylock): Likewise.
17386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17387 (__pthread_mutex_unlock): Likewise.
17388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17389 (__pthread_mutexattr_init): Likewise.
17390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17391 (__pthread_mutexattr_destroy): Likewise.
17392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17393 (__pthread_mutexattr_settype): Likewise.
17394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17395 (__pthread_rwlock_init): Likewise.
17396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17397 (__pthread_rwlock_destroy): Likewise.
17398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17399 (__pthread_rwlock_rdlock): Likewise.
17400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17401 (__pthread_rwlock_tryrdlock): Likewise.
17402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17403 (__pthread_rwlock_wrlock): Likewise.
17404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17405 (__pthread_rwlock_trywrlock): Likewise.
17406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17407 (__pthread_rwlock_unlock): Likewise.
17408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17409 (__pthread_key_create): Likewise.
17410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17411 (__pthread_setspecific): Likewise.
17412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17413 (__pthread_getspecific): Likewise.
17414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17415 Likewise.
17416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17417 (_pthread_cleanup_push_defer): Likewise.
17418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17419 (_pthread_cleanup_pop_restore): Likewise.
17420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17421 (pthread_setcancelstate): Likewise.
17422 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17423 <bp-sym.h>.
17424 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17425 (memchr): Do not use BP_SYM in weak_alias.
17426 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17427 (fegetenv): Do not use BP_SYM in versioned symbols.
17428 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17429 (fesetenv): Do not use BP_SYM in versioned symbols.
17430 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17431 (feupdateenv): Do not use BP_SYM in versioned symbols.
17432 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17433 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17434 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17435 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17436 (open64): Do not use BP_SYM in weak_alias.
17437 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17438 (fegetenv): Do not use BP_SYM in versioned symbols.
17439 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17440 (fesetenv): Do not use BP_SYM in versioned symbols.
17441 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17442 (feupdateenv): Do not use BP_SYM in versioned symbols.
17443 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17444 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17445 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17446 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17447 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17448 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17449 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17450 <bp-sym.h>.
17451 (__libc_start_main): Do not use BP_SYM.
17452
d6752ccd
SP
174532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17454
cb57ce60
SP
17455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17456 redundant return line.
17457 (norm): Likewise.
17458 (denorm): Likewise.
17459 (dbl_mp): Likewise.
17460 (sub_magnitudes): Likewise.
17461 (__add): Likewise.
17462 (__sub): Likewise.
17463 (__mul): Likewise.
17464 (__inv): Likewise.
17465 (__dvd): Likewise.
17466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17467 (norm): Likewise.
17468 (denorm): Likewise.
17469 (dbl_mp): Likewise.
17470 (sub_magnitudes): Likewise.
17471 (__add): Likewise.
17472 (__sub): Likewise.
17473 (__mul): Likewise.
17474 (__inv): Likewise.
17475 (__dvd): Likewise.
17476
f414520d
SP
17477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17478 instead of __mul.
17479 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17480 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17481 (cc32): Likewise.
17482
d6752ccd
SP
17483 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17484 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17486 of __mul for squares.
17487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17488 function
17489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17490 Likewise.
17491 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17493
70d9946a
JM
174942013-02-13 Joseph Myers <joseph@codesourcery.com>
17495
17496 [BZ #13550]
17497 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17498 code.
17499 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17500 prototype or function definition. Rename ubp_* variables and
17501 parameters. Remove argv definitions conditional on
17502 [__BOUNDED_POINTERS__].
17503 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17504 * elf/dl-runtime.c (_dl_fixup): Likewise.
17505 * include/set-hooks.h (RUN_HOOK): Likewise.
17506 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17507 definition.
17508 * string/strcpy.c (strcpy): Do not use __unbounded.
17509 * sysdeps/generic/frame.h (struct layout): Likewise.
17510 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17511 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17512 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17513 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17514 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17515 (__backtrace): Likewise.
17516 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17517 use __ptrvalue.
17518 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17519 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17520 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17521 Likewise.
17522 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17523 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17524 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17525 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17526 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17527 Do not use __unbounded.
17528 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17529 Rename __unboundedrlimits parameter to rlimits in prototype.
17530 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17531 Do not use __unbounded.
17532 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17533 not use __ptrvalue.
17534 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17535 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17536 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17537 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17538 __ptrvalue or __unbounded.
17539 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17540 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17541 use __unbounded.
17542 (__new_msgctl): Do not use __ptrvalue.
17543 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17544 __unbounded.
17545 (__libc_msgrcv): Do not use __ptrvalue.
17546 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17547 startup_info): Do not use __unbounded.
17548 (__libc_start_main): Likewise. Rename ubp_* variables and
17549 parameters. Remove argv definitions conditional on
17550 [__BOUNDED_POINTERS__].
17551 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17552 __ptrvalue.
17553 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17554 use __unbounded.
17555 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17556 or __ptrvalue.
17557 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17558 use __unbounded.
17559 (__new_shmctl): Do not use __ptrvalue.
17560 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17561 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17562 Likewise.
17563 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17564 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17565 (__libc_sigaction): Likewise.
17566 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17567 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17568 Likewise.
17569 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17570
cc7834d6
OB
175712013-02-13 Ondřej Bílka <neleai@seznam.cz>
17572
ffb1ec7b 17573 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17574
17575 * string/mempcpy.c: Implement by calling memcpy.
17576
bdf02814
SP
175772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17578
c2af38aa
SP
17579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17580
4e92d59e
SP
17581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17582 evaluation.
17583
909279a5
SP
17584 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17585 values in the mantissa.
17586
bdf02814
SP
17587 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17588 minimize writes to Z.
17589 (sub_magnitudes): Simplify code a bit.
17590
cd525923
RM
175912013-02-12 Roland McGrath <roland@hack.frob.com>
17592
17593 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17594 from the message. The linker prefixes all warnings with that already.
17595
7e2f0d2d
AS
175962013-02-12 Andreas Schwab <schwab@suse.de>
17597
a445af0b
AS
17598 [BZ #15078]
17599 * posix/regexec.c (extend_buffers): Add parameter min_len.
17600 (check_matching): Pass minimum needed length.
17601 (clean_state_log_if_needed): Likewise.
17602 (get_subexp): Likewise.
17603 * posix/Makefile (tests): Add bug-regex34.
17604 (bug-regex34-ENV): Define.
17605 * posix/bug-regex34.c: New file.
17606
7e2f0d2d
AS
17607 [BZ #11561]
17608 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17609 elements compare against the byte sequence of it, not its name.
17610 * posix/Makefile (tests): Add bug-regex35.
17611 (bug-regex35-ENV): Define.
17612 * posix/bug-regex35.c: New file.
17613
a175b684
TV
176142013-02-11 Tom de Vries <tom@codesourcery.com>
17615
17616 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17617 comment.
17618 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17619 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17620 (CHECK_EOL): Add undef.
17621
310998fe 176222013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17623
17624 * bits/stdlib-bsearch.h: New file.
17625 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17626 * stdlib/stdlib.h: Likewise.
41eda41d 17627
8ded91fb
RM
176282013-02-11 Roland McGrath <roland@hack.frob.com>
17629
17630 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17631 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17632 declaration.
17633 * manual/search.texi (Array Search Function): Add missing const in
17634 lfind prototype.
17635 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17636 declaration to use rlim_t.
17637 (Basic Scheduling Functions): Remove erroneous const from
17638 sched_getparam prototype. Remove erroneous * from
17639 sched_get_priority_max and sched_get_priority_min prototypes.
17640 (Resource Usage): Fix summary @comment on vtimes to refer to
17641 sys/vtimes.h rather than vtimes.h.
17642 Add missing *s in vtimes prototype.
17643 (Limits on Resources): Fix ulimit prototype to return long int.
17644 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17645 prototypes to use long int rather than double.
17646 (BSD Random): Fix initstate and setstate to use char *, not void *.
17647 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17648 prototype to make second argument 'struct aiocb64 *const[]'.
17649 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17650 (Status of AIO Operations): Remove erroneous const in aio_return and
17651 aio_return64 prototypes.
17652 (Synchronizing I/O): Fix sync prototype to return void.
17653 * manual/startup.texi (Suboptions): Remove an erroneous const in
17654 getsubopt prototype.
17655 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17656 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17657 use size_t rather than int.
17658 (Scanning All Users): Likewise for getpwent_r.
17659 (Setting Groups): Add missing const to setgroups prototype.
17660 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17661 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17662 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17663 'const void *' rather than 'const char *'.
17664 (Host Address Functions): Likewise for inet_ntop.
17665 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17666 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17667 ssize_t for return value.
17668 (Sending Data): Likewise for send, sendto, sendmsg.
17669 (Socket Option Functions): Add a missing const in setsockopt prototype.
17670 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17671 use wchar_t for the argument.
17672 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17673 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17674 take no arguments.
17675 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17676 double/float/long double for second argument.
17677 Fix return types of significand, significandf, significandl.
17678 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17679 argument in fchmod prototype.
17680 (File Owner): Use uid_t and gid_t in fchown prototype.
17681 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17682 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17683 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17684 use 'const struct dirent **' as argument types to CMP function pointer
17685 argument.
17686 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17687 (File Times): Fix summary magic @comment for struct utimbuf and utime
17688 to refer to utime.h, not time.h.
17689 * manual/string.texi (Argz Functions): Add missing const in
17690 argz_extract and argz_next prototypes.
17691 (Finding Tokens in a String): Likewise for basename.
17692 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17693 (Copying and Concatenation): Fix typo in wmemmove prototype.
17694 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17695 (Signal Stack): Remove erroneous const in sigstack prototype.
17696 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17697 prototype.
17698 (Simple Calendar Time): Likewise for stime.
17699 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17700 prototype.
17701 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17702 say sys/sysctl.h instead.
17703 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17704 and vsyslog prototypes.
17705
fe77fe6d
TV
177062013-02-11 Tom de Vries <tom@codesourcery.com>
17707
17708 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17709 Remove.
17710
3a09b620
RM
177112013-02-11 Roland McGrath <roland@hack.frob.com>
17712
17713 * misc/sys/mman.h: Fix typo in mremap comment.
17714
550a0b89
RM
177152013-02-08 Roland McGrath <roland@hack.frob.com>
17716
17717 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17718 the '\0' terminator.
17719
a2da1673
JM
177202013-02-08 Joseph Myers <joseph@codesourcery.com>
17721
17722 [BZ #13550]
17723 * debug/segfault.c: Don't include <bp-checks.h>.
17724 * sysdeps/generic/bp-checks.h: Remove file.
17725 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17726 (__GETDENTS): Don't use CHECK_N.
17727 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17728 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17729 (__getgroups): Don't use CHECK_N.
17730 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17731 (setgroups): Don't use CHECK_N.
17732 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17733 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17734 (__libc_msgrcv): Don't use CHECK_N.
17735 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17736 (__libc_msgsnd): Don't use CHECK_N.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17738 <bp-checks.h>.
17739 (__libc_pread): Don't use CHECK_N.
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17741 include <bp-checks.h>.
17742 (__libc_pread64): Don't use CHECK_N.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17744 include <bp-checks.h>.
17745 (__libc_pwrite): Don't use CHECK_N.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17747 include <bp-checks.h>.
17748 (__libc_pwrite64): Don't use CHECK_N.
17749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17750 <bp-checks.h>.
17751 (__libc_pread): Don't use CHECK_N.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17753 include <bp-checks.h>.
17754 (__libc_pread64): Don't use CHECK_N.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17756 include <bp-checks.h>.
17757 (__libc_pwrite): Don't use CHECK_N.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17759 include <bp-checks.h>.
17760 (__libc_pwrite64): Don't use CHECK_N.
17761 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17762 (do_pread): Don't use CHECK_N.
17763 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17764 (do_pread64): Don't use CHECK_N.
17765 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17766 (do_pwrite): Don't use CHECK_N.
17767 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17768 (do_pwrite64): Don't use CHECK_N.
17769 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17770 (__libc_readv): Don't use CHECK_N.
17771 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17772 (semop): Don't use CHECK_N.
17773 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17774 <bp-checks.h>.
17775 (semtimedop): Don't use CHECK_N.
17776 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17777 (__libc_pread): Don't use CHECK_N.
17778 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17779 <bp-checks.h>.
17780 (__libc_pread64): Don't use CHECK_N.
17781 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17782 <bp-checks.h>.
17783 (__libc_pwrite): Don't use CHECK_N.
17784 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17785 <bp-checks.h>.
17786 (__libc_pwrite64): Don't use CHECK_N.
17787 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17788 <bp-checks.h>.
17789 (__libc_msgrcv): Don't use CHECK_N.
17790 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17791 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17792 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17793 (__libc_writev): Don't use CHECK_N.
17794
b84660a8
RM
177952013-02-08 Roland McGrath <roland@hack.frob.com>
17796
7f3e75f8
RM
17797 * string/strcpy.c: Removed unused variable.
17798
b84660a8
RM
17799 * Makeconfig (+sysdep-includes): Define with := rather than =.
17800 Use an existing include/ subdir of each sysdeps dir before it.
17801
471514d3
CD
178022013-02-08 Carlos O'Donell <carlos@redhat.com>
17803
17804 * nscd/connection.c (register_traced_file): Comment function.
17805 [HAVE_INOTIFY] (union __inev): Define.
17806 [HAVE_INOTIFY] (inotify_check_files): New function.
17807 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17808 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17809 clear_db_cache.
17810 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17811
b2d3c3be
CD
178122013-02-08 Carlos O'Donell <carlos@redhat.com>
17813
17814 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17815 loaded if not already and that a failure is permanent.
17816
b39949d2
CD
178172013-02-08 Carlos O'Donell <carlos@redhat.com>
17818
ddacd1db 17819 [BZ #15006]
b39949d2
CD
17820 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17821 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17822
b2c9eff4
JM
178232013-02-08 Joseph Myers <joseph@codesourcery.com>
17824
f3aae3f3
JM
17825 [BZ #13550]
17826 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17827 (CHECK_1_NULL_OK): Likewise.
17828 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17829 (__fxstat): Do not use CHECK_1.
17830 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17831 <bp-checks.h>.
17832 (___fxstat64): Do not use CHECK_1.
17833 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17834 <bp-checks.h>.
17835 (__fxstatat): Do not use CHECK_1.
17836 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17837 <bp-checks.h>.
17838 (__fxstatat64): Do not use CHECK_1.
17839 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17840 <bp-checks.h>.
17841 (__fxstat): Do not use CHECK_1.
17842 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17843 <bp-checks.h>.
17844 (__fxstatat): Do not use CHECK_1.
17845 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17846 <bp-checks.h>.
17847 (__getresgid): Do not use CHECK_1.
17848 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17849 <bp-checks.h>.
17850 (__getresuid): Do not use CHECK_1.
17851 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17852 <bp-checks.h>.
17853 (__lxstat): Do not use CHECK_1.
17854 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17855 <bp-checks.h>.
17856 (__old_msgctl): Do not use CHECK_1.
17857 (__new_msgctl): Likewise.
17858 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17859 <bp-checks.h>.
17860 (__new_setrlimit): Do not use CHECK_1.
17861 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17862 <bp-checks.h>.
17863 (__old_shmctl): Do not use CHECK_1.
17864 (__new_shmctl): Likewise.
17865 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17866 <bp-checks.h>.
17867 (__xstat): Do not use CHECK_1.
17868 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17869 (__lxstat): Do not use CHECK_1.
17870 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17871 <bp-checks.h>.
17872 (___lxstat64): Do not use CHECK_1.
17873 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17874 (__old_msgctl): Do not use CHECK_1.
17875 (__new_msgctl): Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17877 <bp-checks.h>.
17878 (__gettimeofday): Do not use CHECK_1.
17879 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17880 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17881 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17882 <bp-checks.h>.
17883 (__gettimeofday): Do not use CHECK_1.
17884 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17885 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17886 (__new_shmctl): Do not use CHECK_1.
17887 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17888 <bp-checks.h>.
17889 (do_sigtimedwait): Do not use CHECK_1.
17890 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17891 <bp-checks.h>.
17892 (do_sigwaitinfo): Do not use CHECK_1.
17893 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17894 <bp-checks.h>.
17895 (msgctl): Do not use CHECK_1.
17896 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17897 <bp-checks.h>.
17898 (shmctl): Do not use CHECK_1.
17899 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17900 (ustat): Do not use CHECK_1.
17901 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17902 <bp-checks.h>.
17903 (__fxstat): Do not use CHECK_1.
17904 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17905 <bp-checks.h>.
17906 (__fxstatat): Do not use CHECK_1.
17907 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17908 <bp-checks.h>.
17909 (__lxstat): Do not use CHECK_1.
17910 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17911 <bp-checks.h>.
17912 (__xstat): Do not use CHECK_1.
17913 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17914 (__xstat): Do not use CHECK_1.
17915 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17916 (___xstat64): Do not use CHECK_1.
17917
b2c9eff4
JM
17918 [BZ #13550]
17919 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17920 definitions.
17921 (CHECK_BOUNDS_HIGH): Likewise.
17922 * string/strcpy.c: Do not include <bp-checks.h>.
17923 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17924
f1d70dad
RM
179252013-02-07 Roland McGrath <roland@hack.frob.com>
17926
17927 * nscd/nscd-client.h (__nscd_drop_map_ref):
17928 Add __attribute__ ((unused)).
17929 * nis/nss-nisplus.h (niserr2nss): Likewise.
17930
17931 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17932 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17933
17934 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17935 Remove inline keyword.
17936 * include/rounding-mode.h (round_away): Likewise.
17937 * libio/wfileops.c (adjust_wide_data): Likewise.
17938 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17939 (__m128i_strloadu_tolower): Likewise.
17940 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17941 (__m128i_strloadu_tolower): Likewise.
17942 * time/mktime.c (ydhms_diff): Likewise.
17943 * locale/elem-hash.h (elem_hash): Likewise.
17944 * locale/setlocale.c (setdata): Likewise.
17945 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17946 (re_string_wchar_at): Likewise.
17947 (bitset_not, bitset_merge, bitset_mask): Likewise.
17948 [!(__GNUC__ > 3)] (inline): Remove macro.
17949 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17950 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17951 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17952 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17953 * string/memcmp.c (memcmp_bytes): Likewise.
17954 * locale/programs/locarchive.c (compute_hashval): Likewise.
17955 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17956 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17957 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17958 * nss/getent.c (print_rpc, print_protocols): Likewise.
17959 (print_passwd, print_group, print_aliases): Likewise.
17960 * nis/nss-nisplus.h (niserr2nss): Likewise.
17961 * nscd/connections.c (restart_p): Likewise.
17962 Change return type to bool.
17963
eab55bfb
RM
179642013-02-05 Roland McGrath <roland@hack.frob.com>
17965
7bd642f5
RM
17966 * Makeconfig (all-Depend-files): Add existing
17967 $(sorted-subdirs:=/Depend) files.
17968 (all-subdirs): Remove nss.
17969 * sysdeps/unix/inet/Subdirs: Add it here instead.
17970 * hesiod/Depend: New file.
17971
573c29b2
RM
17972 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17973 instead of calling alloca.
17974
b2e25af0
RM
17975 * io/lseek.c (__lseek): Rename to __libc_lseek.
17976 Define __lseek as an alias.
17977
eab55bfb
RM
17978 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17979
9a0d1941
CD
179802013-02-04 Carlos O'Donell <carlos@redhat.com>
17981
17982 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17983 else clause and remove check for non-standard endianness.
17984
b83bbec4
DM
179852013-02-04 David S. Miller <davem@davemloft.net>
17986
17987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17988
6277fdab
JM
179892013-02-04 Joseph Myers <joseph@codesourcery.com>
17990
17991 [BZ #13550]
17992 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17993 (__ubp_memchr): Remove prototype.
17994 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17995 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17996 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17997 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17998 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17999 Remove alias.
18000 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18001 (__ubp_memchr): Likewise.
18002 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18003 (__ubp_memchr): Likewise.
18004 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18005 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18006 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18007 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18008 CHECK_STRING.
18009 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18010 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18011 (__getcwd): Do not use CHECK_STRING.
18012 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18013 <bp-checks.h>.
18014 (__real_chown): Do not use CHECK_STRING.
18015 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18016 <bp-checks.h>.
18017 (fchownat): Do not use CHECK_STRING.
18018 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18019 CHECK_STRING.
18020 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18021 <bp-checks.h>.
18022 (__lchown): Do not use CHECK_STRING.
18023 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18024 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18025 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18026 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18028 include <bp-checks.h>.
18029 (truncate64): Do not use CHECK_STRING.
18030 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18031 <bp-checks.h>.
18032 (__real_chown): Do not use CHECK_STRING.
18033 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18034 <bp-checks.h>.
18035 (__lchown): Do not use CHECK_STRING.
18036 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18037 <bp-checks.h>.
18038 (__chown): Do not use CHECK_STRING.
18039 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18040 <bp-checks.h>.
18041 (truncate64): Do not use CHECK_STRING.
18042 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18043 Likewise.
18044 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18045 (__xmknod): Do not use CHECK_STRING.
18046 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18047 <bp-checks.h>.
18048 (__xmknodat): Do not use CHECK_STRING.
18049 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18050 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18051
903ae060
AS
180522013-02-04 Andreas Schwab <schwab@suse.de>
18053
18054 [BZ #14142]
18055 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18056 * include/netdb.h: Likewise for h_errno.
18057 * elf/tst-stackguard1.c: Include <tls.h>.
18058
542f9466
JK
180592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18060
18061 * elf/link.h (struct link_map): Extend the l_addr comment.
18062 * include/link.h (struct link_map): Likewise.
18063
e782a927
JM
180642013-02-01 Joseph Myers <joseph@codesourcery.com>
18065
18066 [BZ #13550]
18067 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18068 (BOUNDED_1): Remove macro.
18069 * debug/backtrace.c: Don't include <bp-checks.h>.
18070 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18071 (__backtrace): Likewise.
18072 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18073 <bp-checks.h>.
18074 (__backtrace): Don't use BOUNDED_1.
18075 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18076 <bp-checks.h>.
18077 (__backtrace): Don't use BOUNDED_1.
18078 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18079 (__backtrace): Don't use BOUNDED_1.
18080 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18081 (shmat): Don't use BOUNDED_N.
18082
8cf28c5e
JM
180832013-01-31 Joseph Myers <joseph@codesourcery.com>
18084
3a7ac8a0
JM
18085 [BZ #13550]
18086 * sysdeps/generic/bp-start.h: Remove file.
18087 * csu/libc-start.c: Don't include <bp-start.h>.
18088 (LIBC_START_MAIN): Set up __environ directly instead of using
18089 INIT_ARGV_and_ENVIRON.
18090 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18091 <bp-start.h>.
18092
f3499f95
JM
18093 [BZ #13550]
18094 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18095 definitions.
18096 (CHECK_FCNTL): Likewise.
18097 (CHECK_N_PAGES): Likewise.
18098
32a45bea
JM
18099 [BZ #13550]
18100 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18101 definitions.
18102 (CHECK_SIGSET_NULL_OK): Likewise.
18103 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18104 <bp-checks.h>.
18105 (sigpending): Don't use CHECK_SIGSET.
18106 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18107 <bp-checks.h>.
18108 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18109 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18110 <bp-checks.h>.
18111 (do_sigsuspend): Don't use CHECK_SIGSET.
18112 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18113 use CHECK_SIGSET.
18114 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18115 (do_sigwait): Don't use CHECK_SIGSET.
18116 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18117 use CHECK_SIGSET.
18118 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18119 include <bp-checks.h>.
18120 (sigpending): Don't use CHECK_SIGSET.
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18122 include <bp-checks.h>.
18123 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18124 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18125 <bp-checks.h>.
18126 (sigpending): Don't use CHECK_SIGSET.
18127 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18128 <bp-checks.h>.
18129 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18130
2e8a5c8c
JM
18131 [BZ #13550]
18132 * sysdeps/generic/bp-semctl.h: Remove file.
18133 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18134 <bp-checks.h> and <bp-semctl.h>.
18135 (__old_semctl): Don't use CHECK_SEMCTL.
18136 (__new_semctl): Likewise.
18137 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18138 and <bp-semctl.h>.
18139 (__old_semctl): Don't use CHECK_SEMCTL.
18140 (__new_semctl): Likewise.
18141 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18142 <bp-checks.h> and <bp-semctl.h>.
18143 (__old_semctl): Don't use CHECK_SEMCTL.
18144 (__new_semctl): Likewise.
18145 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18146 <bp-checks.h> and <bp-semctl.h>.
18147 (semctl): Don't use CHECK_SEMCTL.
18148
c2d54929
JM
18149 [BZ #13550]
18150 * Makerules (elide-bp-thunks): Remove variable.
18151 (elide-routines.oS): Don't use $(elide-bp-thunks).
18152 (elide-routines.os): Likewise.
18153 (elide-routines.o): Likewise.
18154 (elide-routines.op): Likewise.
18155 (elide-routines.og): Likewise.
18156 (objects): Don't use $(bp-thunks).
18157 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18158 include.
18159 (common-generated): Do not add s-proto-bp.d.
18160 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18161 (int): Likewise.
18162 (typ): Likewise.
18163 Do not generate makefile rules for bounded-pointer thunks.
18164 * sysdeps/generic/bp-thunks.h: Remove file.
18165 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18166 * sysdeps/unix/s-proto-bp.S: Likewise.
18167
8cf28c5e
JM
18168 [BZ #15062]
18169 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18170 parts of result separately when argument is not close to line from
18171 -i to i and one part of argument is small.
18172 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18173 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18174 * math/libm-test.inc (cacos_test): Add more tests.
18175 (casin_test): Likewise.
18176 (casinh_test): Likewise.
18177 * sysdeps/i386/fpu/libm-test-ulps: Update.
18178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18179
c4e33b8d
DM
181802013-01-31 David S. Miller <davem@davemloft.net>
18181
18182 * po/de.po: Update from translation team.
18183
3b60b421
MK
181842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18185
18186 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18187
bb931195
TS
181882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18189
b5a5da23
TS
18190 * configure.in (_AC_PROG_CC_C89): New definition.
18191 * configure: Regenerate.
18192
bb931195
TS
18193 * configure.in (AC_PROG_CPP): New definition.
18194 * configure: Regenerate.
18195
8c53a12c
JM
181962013-01-23 Joseph Myers <joseph@codesourcery.com>
18197
18198 * debug/tst-backtrace.h: New file.
18199 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18200 (ret): Remove variable.
18201 (x): Likewise.
18202 (FAIL): Remove macro.
18203 (NO_INLINE): Likewise.
18204 (fn1): Use match function instead of strstr.
18205 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18206 (ret): Remove variable.
18207 (x): Likewise.
18208 (FAIL): Remove macro.
18209 (NO_INLINE): Likewise.
18210 (fn): Use match function instead of strstr.
18211 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18212 (ret): Remove variable.
18213 (x): Likewise.
18214 (FAIL): Remove macro.
18215 (NO_INLINE): Likewise.
18216 (handle_signal): Use match function instead of strstr.
18217 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18218 (ret): Remove variable.
18219 (x): Likewise.
18220 (FAIL): Remove macro.
18221 (NO_INLINE): Likewise.
18222 (handle_signal): Use match function instead of strstr.
18223
4858fa2a
RM
182242013-01-23 Roland McGrath <roland@hack.frob.com>
18225
18226 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18227
bae8e7f5
DM
182282013-01-23 David S. Miller <davem@davemloft.net>
18229
18230 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18231 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18232 argument of CAS if possible.
18233 * sysdeps/sparc/sparc64/bits/atomic.h
18234 (__arch_compare_and_exchange_val_32_acq): Likewise.
18235 (__arch_compare_and_exchange_val_64_acq): Likewise.
18236
9cbbc4ae
PT
182372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18238
18239 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18240 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18241 Include <limits.h>.
67b3f58c 18242 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18243
5655a0b5
AC
182442013-01-23 Adam Conrad <adconrad@0c3.net>
18245
18246 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18247 (LDFLAGS-tst-array5): Likewise.
18248
052aff95
JM
182492013-01-23 Joseph Myers <joseph@codesourcery.com>
18250
18251 [BZ #15036]
18252 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18253 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18254 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18255 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18256
7c1e01aa
DM
182572013-01-21 David S. Miller <davem@davemloft.net>
18258
18259 * sysdeps/sparc/backtrace.c: New file.
18260 * sysdeps/sparc/sparc32/backtrace.h: New file.
18261 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18262 * sysdeps/sparc/sparc64/backtrace.h: New file.
18263 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18264 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18265 -funwind-tables.
18266
ab087e0a
AS
182672013-01-21 Andreas Schwab <schwab@suse.de>
18268
18269 [BZ #15020]
18270 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18271 closed its stdout.
18272
ed689c2f
AS
182732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18274
18275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18276 "mpa2.h".
18277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18278
31d470ac
JM
182792013-01-18 Joseph Myers <joseph@codesourcery.com>
18280 Mark Mitchell <mark@codesourcery.com>
18281 Tom de Vries <tom@codesourcery.com>
18282 Paul Pluzhnikov <ppluzhnikov@google.com>
18283
18284 * debug/tst-backtrace2.c: New file.
18285 * debug/tst-backtrace3.c: Likewise.
18286 * debug/tst-backtrace4.c: Likewise.
18287 * debug/tst-backtrace5.c: Likewise.
18288 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18289 (CFLAGS-tst-backtrace3.c): Likewise.
18290 (CFLAGS-tst-backtrace4.c): Likewise.
18291 (CFLAGS-tst-backtrace5.c): Likewise.
18292 (LDFLAGS-tst-backtrace2): Likewise.
18293 (LDFLAGS-tst-backtrace3): Likewise.
18294 (LDFLAGS-tst-backtrace4): Likewise.
18295 (LDFLAGS-tst-backtrace5): Likewise.
18296 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18297 tst-backtrace4 and tst-backtrace5.
18298
90567f30 182992013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18300 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18301
18302 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18303 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18304 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18305 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18307 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18308 "+r" and remove output regs list as redundant. Add explicit inline
18309 asm to specify register of return val to work around compiler codegen
18310 bug. Remove (int) cast on return value. Add return type parameter to
18311 use in macro so that this macro does not truncate return value for
18312 64-bit values.
18313 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18314 pass to INTERNAL_VSYSCALL_NCS.
18315 (INLINE_VSYSCALL): Add 'long int' as return type to
18316 INTERNAL_VSYSCALL_NCS macro invocation.
18317 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18318 INTERNAL_VSYSCALL_NCS macro invocation.
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18320
d3b9ea61
SP
183212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18322
0b57daeb
SP
18323 [BZ #14496]
18324 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18325 Fix application of SIMD FP exception mask.
18326
caa99d06
SP
18327 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18328 mp_no from a power of two.
18329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18330 __mpexp_twomm1. Use __pow_mp.
18331
d3b9ea61
SP
18332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18333 multiplication.
18334
1dbaee3c
DM
183352013-01-17 David S. Miller <davem@davemloft.net>
18336
18337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18338
728d7b43
JM
183392013-01-17 Joseph Myers <joseph@codesourcery.com>
18340
18341 [BZ #15023]
18342 * include/complex.h: Condition contents on [!_COMPLEX_H].
18343 (__kernel_casinhf): New prototype.
18344 (__kernel_casinh): Likewise.
18345 (__kernel_casinhl): Likewise.
18346 * math/Makefile (libm_calls): Add k_casinh.
18347 * math/k_casinh.c: New file.
18348 * math/k_casinhf.c: Likewise.
18349 * math/k_casinhl.c: Likewise.
18350 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18351 finite nonzero arguments.
18352 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18353 finite nonzero arguments.
18354 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18355 finite nonzero arguments.
18356 * math/s_casinh.c: Do not include <float.h>.
18357 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18358 * math/s_casinhf.c: Do not include <float.h>.
18359 (__casinhf): Move code for finite nonzero arguments to
18360 k_casinhf.c.
18361 * math/s_casinhl.c: Do not include <float.h>.
18362 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18363 redefine.
18364 (__casinhl): Move code for finite nonzero arguments to
18365 k_casinhl.c.
18366 * math/libm-test.inc (cacos_test): Add more tests.
18367 * sysdeps/i386/fpu/libm-test-ulps: Update.
18368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18369
2a26ef3a
PT
183702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18371
18372 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18373 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18374 [!HAVE_MREMAP]: Remove [defined linux] case.
18375 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18376
a897655d
SP
183772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18378
18379 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18380
881ebe89 183812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18382
18383 * elf/elf.h (R_386_SIZE32): New relocation.
18384 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18385 R_386_SIZE32.
18386 (elf_machine_rela): Likewise.
18387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18388 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18389
59981e9b
JM
183902013-01-17 Joseph Myers <joseph@codesourcery.com>
18391
18392 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18393 (FP_FAST_FMA): Do not define.
18394 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18395 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18396 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18397 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18398 !_SOFT_FLOAT]: Likewise.
18399 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18400 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18401 value.
18402 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18403 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18404 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18406 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18407 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18408 file.
18409
cfa8054f
AS
184102013-01-16 Andreas Schwab <schwab@suse.de>
18411
18412 [BZ #14327]
18413 * include/stdlib.h (__mktemp): Add declaration.
18414 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18415 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18416
dd930cc5
SP
184172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18418
881ebe89
SP
18419 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18420 definitions.
18421 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18422 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18423 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18424 definitions here.
18425 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18426 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18427 definitions.
18428 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18429 and ONE.
18430 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18431 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18432 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18433 definitions.
18434 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18435 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18436 definitions.
18437 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18438
dd930cc5
SP
18439 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18440
c19a9f89
DM
184412013-01-15 David S. Miller <davem@davemloft.net>
18442
1aa61767
DM
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18444 trunc{,f} to libm-sysdep_routes.
18445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18447 file.
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18450 file.
18451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18452 file.
18453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18455 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18456 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18457 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18458 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18459 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18460 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18461
c42d5e98
DM
18462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18463 nearbyint{,f} to libm-sysdep_routes.
18464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18466 New file.
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18468 file.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18470 New file.
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18472 file.
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18476 file.
18477 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18479 file.
18480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18481 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18482 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18483
c19a9f89
DM
18484 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18485 libc_feholdexcept and libc_fesetenv.
18486
357679d2
MF
184872013-01-15 Mike Frysinger <vapier@gentoo.org>
18488
18489 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18490
65a82e3d
DM
184912013-01-14 David S. Miller <davem@davemloft.net>
18492
8b954ab9
DM
18493 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18494 (SPARC_ASM_VIS2_IFUNC): Likewise.
18495 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18497 use of 'siam' instruction.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18499 Likewise.
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18501 Likewise.
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18503 Likewise.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18509 file.
18510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18511 file.
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18513 file.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18515 file.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18521 new VIS2 routines.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18525 Likewise.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18531 routines to libm-sysdep_routines.
18532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18533
65a82e3d
DM
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18535 fdim/fdimf to libm-sysdep_routines.
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18537 file.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18540 file.
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18544 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18545 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18546 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18547 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18548
e34ab705
SP
185492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18550
2a91b573
SP
18551 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18552 to optimize copies.
18553
1066a534
SP
18554 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18557
e34ab705
SP
18558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18559 local variable MPTWO.
18560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18561 Likewise.
18562
aba5e596
MF
185632013-01-13 Mike Frysinger <vapier@gentoo.org>
18564
18565 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18566 GLOB_NOESCAPE.
18567
e557e9e5
MF
185682013-01-13 Mike Frysinger <vapier@gentoo.org>
18569
18570 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18571
0428cec9
MF
185722013-01-13 Mike Frysinger <vapier@gentoo.org>
18573
18574 * manual/pattern.texi (glob_t): Document gl_flags.
18575 (glob64_t): Likewise.
18576
8794a964
DM
185772013-01-11 David S. Miller <davem@davemloft.net>
18578
66438c3f
RM
18579 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18580 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18581 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18582 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18583 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18584 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18585 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18586 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18587 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18588 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18589 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18590 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18591 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18592
4ae4244d
DM
18593 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18594 sparc V9 rather than using V8 code.
18595 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18596 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18597
8794a964
DM
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18599 Move to...
18600 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18601 Here.
18602
6270516e
RM
186032013-01-11 Roland McGrath <roland@hack.frob.com>
18604
18605 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18606 not in the main loop.
18607 * configure: Regenerated.
18608
6a57d931
JM
186092013-01-11 Joseph Myers <joseph@codesourcery.com>
18610
18611 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18612 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18613 to just #else.
18614 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18615 [!__GLIBC_HAVE_LONG_LONG] case.
18616 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18617 condition to just #else.
18618 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18619 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18620 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18621 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18622 unconditional.
18623 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18624 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18625 #elif condition to just #else.
18626 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18627 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18628 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18629 #elif condition to just #else.
18630
0e8529e9
SE
186312013-01-11 Steve Ellcey <sellcey@mips.com>
18632
18633 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18634 (EF_MIPS_ARCH_64): Fix value.
18635 (EF_MIPS_ARCH_32R2): New.
18636 (EF_MIPS_ARCH_64R2): New.
18637
740b3dbe
L
186382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18639
18640 * Makeconfig (+link-pie-before-libc): New.
18641 (+link-pie-after-libc): Likewise.
18642 (+link-pie-tests): Likewise.
18643 (+link-pie): Rewritten.
18644 (link-before-libc): Remove $(config-LDFLAGS).
18645 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18646 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18647 (config-LDFLAGS): Renamed to ...
18648 (rtld-LDFLAGS): This.
18649 (rtld-tests-LDFLAGS): New macro.
18650 (link-libc-rpath-link): Likewise.
18651 (link-libc-tests-rpath-link): Likewise.
18652 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18653 (link-libc): Prepand $(link-libc-rpath-link).
18654 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18655 (test-program-prefix): New macro.
18656 (test-via-rtld-prefix): Likewise.
18657 (test-program-cmd): Likewise.
18658 (host-test-program-cmd): Likewise.
18659 * Makefile ($(common-objpfx)testrun.sh): Replace
18660 $(run-program-prefix) with $(test-program-prefix).
18661 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18662 $(rtld-LDFLAGS).
18663 ($(common-objpfx)shlib.lds): Likewise.
18664 (build-module-helper): Likewise.
18665 ($(common-objpfx)format.lds): Likewise.
18666 * Rules (binaries-pie-tests): New.
18667 (binaries-pie-notests): Likewise.
18668 (binaries-pie): Rewritten.
18669 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18670 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18671 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18672 (make-test-out): Replace $(host-built-program-cmd) with
18673 $(host-test-program-cmd).
18674 * config.make.in (build-hardcoded-path-in-tests): New variable.
18675 * configure.in (--enable-hardcoded-path-in-tests): New configure
18676 option.
18677 (hardcoded_path_in_tests): New AC_SUBST.
18678 * configure: Regenerated.
18679 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18680 $(built-program-cmd) with $(test-program-cmd).
18681 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18682 (test_program_cmd): This.
18683 * elf/Makefile ($(objpfx)order.out): Run test with
18684 $(test-program-prefix).
18685 ($(objpfx)order2.out): Likewise.
18686 ($(objpfx)tst-initorder.out): Likewise.
18687 ($(objpfx)tst-initorder2.out): Likewise.
18688 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18689 $(test-program-cmd).
18690 ($(objpfx)tst-array1-static.out): Likewise.
18691 ($(objpfx)tst-array2.out): Likewise.
18692 ($(objpfx)tst-array3.out): Likewise.
18693 ($(objpfx)tst-array4.out): Likewise.
18694 ($(objpfx)tst-array5.out): Likewise.
18695 ($(objpfx)tst-array5-static.out): Likewise.
18696 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18697 $(test-program-cmd).
18698 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18699 $(run-program-prefix) with $(test-program-prefix).
18700 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18701 (test_program_prefix): This.
18702 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18703 $(run-program-prefix) with $(test-program-prefix).
18704 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18705 (test_program_prefix): This.
18706 * iconvdata/tst-tables.sh: Likewise.
18707 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18708 $(run-program-prefix) with $(test-program-prefix).
18709 ($(objpfx)tst-translit.out): Likewise.
18710 ($(objpfx)tst-gettext2.out): Likewise.
18711 ($(objpfx)tst-gettext4.out): Likewise.
18712 ($(objpfx)tst-gettext6.out): Likewise.
18713 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18714 (test_program_prefix): This.
18715 * intl/tst-gettext2.sh: Likewise.
18716 * intl/tst-gettext4.sh Likewise.
18717 * intl/tst-gettext6.sh: Likewise.
18718 * intl/tst-translit.sh: Likewise.
18719 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18720 with $(test-program-cmd).
18721 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18722 $(run-program-prefix) with $(test-program-prefix).
18723 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18724 (test_program_prefix): This.
18725 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18726 $(run-program-prefix) with $(test-program-prefix).
18727 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18728 (test_program_prefix): This.
18729 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18730 * posix/Makefile ($(objpfx)globtest.out): Replace
18731 $(run-via-rtld-prefix) and $(test-wrapper) with
18732 $(test-program-prefix) and $(test-via-rtld-prefix).
18733 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18734 $(test-program-prefix).
18735 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18736 $(host-test-program-cmd).
18737 (tst-spawn-ARGS): Likewise.
18738 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18739 $(test-program-prefix).
18740 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18741 (test_via_rtld_prefix): This.
18742 (test_wrapper): Renamed to ...
18743 (test_program_prefix): This.
18744 (run_program_prefix): Replaced by test_program_prefix.
18745 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18746 (test_program_prefix): This.
18747 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18748 with $(host-test-program-cmd).
18749 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18750 $(run-program-prefix) with $(test-program-prefix).
18751 ($(objpfx)tst-printf.out): Likewise.
18752 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18753 $(test-program-cmd).
18754 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18755 (test_program_prefix): This.
18756 * stdio-common/tst-unbputc.sh: Likewise.
18757 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18758 $(run-program-prefix) with $(test-program-prefix).
18759 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18760 (test_program_prefix): This.
18761 * string/Makefile ($(objpfx)tst-svc.out): Replace
18762 $(built-program-cmd) with $(test-program-cmd).
18763
c6fe55cf
AJ
187642013-01-11 Andreas Jaeger <aj@suse.de>
18765
18766 [BZ #15003]
18767 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18768 value. Sync with Linux 3.7.
18769
9e6919c8
DM
187702013-01-10 David S. Miller <davem@davemloft.net>
18771
18772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18775
1c9f1a02
RM
187762013-01-10 Roland McGrath <roland@hack.frob.com>
18777
18778 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18779 never set.
18780 * configure: Regenerated.
18781
b9de2dde
DM
187822013-01-10 David S. Miller <davem@davemloft.net>
18783
18784 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18785 sparc V9 rather than using V8 code.
18786 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18787 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18788
e7f68ef4
RM
187892013-01-10 Roland McGrath <roland@hack.frob.com>
18790
18791 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18792 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18793 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18794 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18795 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18796 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18797 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18798 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18799 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18800 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18801 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18802 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18803 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18804 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18805 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18806 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18807 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18808 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18809 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18810 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18811 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18812 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18813 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18814 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18815 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18816 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18817 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18818
5a47cc9c
DM
188192013-01-10 David S. Miller <davem@davemloft.net>
18820
18821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18822
4cf8f209
L
188232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 * posix/Makefile (tests-static): New variable.
18826 (tests): Add $(tests-static).
18827 (tst-exec-static-ARGS): New variable.
18828 (tst-spawn-static-ARGS): Likewise.
18829 * posix/tst-exec-static.c: New file.
18830 * posix/tst-spawn-static.c: Likewise.
18831 * posix/tst-exec.c: Support run directly.
18832 * posix/tst-spawn.c: Likewise.
18833
fed0faa1
JM
188342013-01-10 Joseph Myers <joseph@codesourcery.com>
18835
828beb13
JM
18836 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18837 long.
18838 * math/bits/mathcalls.h (llrint): Likewise.
18839 (llround): Likewise.
18840 * stdlib/stdlib.h (struct drand48_data): Likewise.
18841 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18842 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18843 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18844 Likewise.
18845 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18846 Likewise.
18847 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18848 (elf_greg_t): Likewise.
18849 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18850 (__jmp_buf): Likewise.
18851 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18852 definitions.
18853 (llrint): Likewise, for all definitions.
18854 (llrintl): Likewise.
18855
fed0faa1
JM
18856 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18857 Remove [__GNUC__] condition.
18858 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18859 condition to just [__USE_ISOC99].
18860 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18861
1a20cb20
L
188622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 [BZ #14200]
18865 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18866 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18867 defined.
18868 (_POSIX_V6_ILP32_OFF32): Likewise.
18869 (_XBS5_ILP32_OFF32): Likewise.
18870 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18871 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18872
751b85f7
SP
188732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18874
7490eb81
SP
18875 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18876
751b85f7
SP
18877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18878 doubles __mpexp_twomm1. Adjust usage.
18879 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18880 Remove.
18881
988197f0
AS
188822013-01-10 Andreas Schwab <schwab@suse.de>
18883
18884 [BZ #14964]
18885 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18886 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18887
e83d7298
DM
188882013-01-09 David S. Miller <davem@davemloft.net>
18889
034ed64b 18890 [BZ #15003]
e83d7298
DM
18891 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18892 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18893 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18894 TCP_FASTOPEN): Define.
18895 (tcp_repair_opt): New structure.
18896 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18897 enum values.
18898 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18899 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18900 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18901 (tcp_cookie_transactions): New structure.
18902
d5e0b9bd
AB
189032013-01-09 Anton Blanchard <anton@samba.org>
18904
18905 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18906 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18907 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18908 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18909
0c07e3ea
JM
189102013-01-09 Joseph Myers <joseph@codesourcery.com>
18911
18912 * include/features.h (__USE_ANSI): Remove.
18913
232f7002
RM
189142013-01-09 Roland McGrath <roland@hack.frob.com>
18915
ad98e30c
RM
18916 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18917
232f7002
RM
18918 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18919
950c99ca
SP
189202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18921
b5792741
SP
18922 * sysdeps/s390/fpu/libm-test-ulps: Update.
18923
47cf2278
SP
18924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18925
950c99ca
SP
18926 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18927 (__acr): Likewise.
18928 (__cpy): Likewise.
18929 (norm): Likewise.
18930 (denorm): Likewise.
18931 (__mp_dbl): Likewise.
18932 (__dbl_mp): Likewise.
18933 (add_magnitudes): Likewise.
18934 (sub_magnitudes): Likewise.
18935 (__add): Likewise.
18936 (__sub): Likewise.
18937 (__mul): Likewise.
18938 (__inv): Likewise.
18939 (__dvd): Likewise.
18940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18941 (__acr): Likewise.
18942 (__cpy): Likewise.
18943 (norm): Likewise.
18944 (denorm): Likewise.
18945 (__mp_dbl): Likewise.
18946 (__dbl_mp): Likewise.
18947 (add_magnitudes): Likewise.
18948 (sub_magnitudes): Likewise.
18949 (__add): Likewise.
18950 (__sub): Likewise.
18951 (__mul): Likewise.
18952 (__inv): Likewise.
18953 (__dvd): Likewise.
18954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18955 (__acr): Likewise.
18956 (__cpy): Likewise.
18957 (norm): Likewise.
18958 (denorm): Likewise.
18959 (__mp_dbl): Likewise.
18960 (__dbl_mp): Likewise.
18961 (add_magnitudes): Likewise.
18962 (sub_magnitudes): Likewise.
18963 (__add): Likewise.
18964 (__sub): Likewise.
18965 (__mul): Likewise.
18966 (__inv): Likewise.
18967 (__dvd): Likewise.
18968
eede9df9
JM
189692013-01-08 Joseph Myers <joseph@codesourcery.com>
18970
18971 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18972 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18973 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18974 2 && __USE_EXTERN_INLINES]: Likewise.
18975
c40ea3d9
AJ
189762013-01-08 Andreas Jaeger <aj@suse.de>
18977
18978 [BZ# 14985]
18979 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18980 Remove.
18981 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18982 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18983
2ccdea26
AB
189842013-01-07 Anton Blanchard <anton@samba.org>
18985
18986 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18987 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18988 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18989 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18990 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18991 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18992 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18993 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18995 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18997 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19000 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19001 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19002 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19003 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19004 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19005 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19006 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19007 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19009 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19010 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19011 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19012 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19013 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19014 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19015 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19016 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19018 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19020 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19021 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19022 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19023 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19024 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19026 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19028 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19029
a9708fed
JM
190302013-01-07 Joseph Myers <joseph@codesourcery.com>
19031
375607b9
JM
19032 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19033 (__MALLOC_PMT): Likewise.
19034 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19035 [__GNUC__], only on [_LIBC].
19036 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19037 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19038 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19039 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19040 forward declaration.
19041 (realloc_hook_ini): Likewise.
19042 (memalign_hook_ini): Likewise.
19043 (__libc_memalign): Do not use __MALLOC_PMT in variable
19044 declaration.
19045 (__libc_valloc): Likewise.
19046 (__libc_pvalloc): Likewise.
19047 (__libc_calloc): Likewise.
19048 (__posix_memalign): Likewise.
19049
a9708fed
JM
19050 [BZ #14996]
19051 * math/s_casinh.c: Include <float.h>.
19052 (__casinh): Do not do computation with squaring and square root
19053 for large arguments.
19054 * math/s_casinhf.c: Include <float.h>.
19055 (__casinhf): Do not do computation with squaring and square root
19056 for large arguments.
19057 * math/s_casinhl.c: Include <float.h>.
19058 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19059 (__casinhl): Do not do computation with squaring and square root
19060 for large arguments.
19061 * math/libm-test.inc (casin_test): Add more tests.
19062 (casinh_test): Likewise.
19063 * sysdeps/i386/fpu/libm-test-ulps: Update.
19064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065
afec409a
L
190662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19067
19068 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19069 (__x86_64_raw_data_cache_size): Likewise.
19070 (__x86_64_data_cache_size_half): Likewise.
19071 (__x86_64_raw_data_cache_size_half): Likewise.
19072 (__x86_64_shared_cache_size): Likewise.
19073 (__x86_64_raw_shared_cache_size): Likewise.
19074 (__x86_64_shared_cache_size_half): Likewise.
19075 (__x86_64_raw_shared_cache_size_half): Likewise.
19076 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19077 to ...
19078 (__x86_data_cache_size): This.
19079 (__x86_64_raw_data_cache_size): Renamed to ...
19080 (__x86_raw_data_cache_size): This.
19081 (__x86_64_data_cache_size_half): Renamed to ...
19082 (__x86_data_cache_size_half): This.
19083 (__x86_64_raw_data_cache_size_half): Renamed to ...
19084 (__x86_raw_data_cache_size_half): This.
19085 (__x86_64_shared_cache_size): Renamed to ...
19086 (__x86_shared_cache_size): This.
19087 (__x86_64_raw_shared_cache_size): Renamed to ...
19088 (__x86_raw_shared_cache_size): This.
19089 (__x86_64_shared_cache_size_half): Renamed to ...
19090 (__x86_shared_cache_size_half): This.
19091 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19092 (__x86_raw_shared_cache_size_half): This.
19093 * sysdeps/x86_64/memcpy.S: Updated.
19094 * sysdeps/x86_64/memset.S: Likewise.
19095 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19096 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19097 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19098
0b3986d0
DM
190992013-01-04 David S. Miller <davem@davemloft.net>
19100
19101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19102
e47686e9
AS
191032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19104
d643bac1
AS
19105 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19106 1 to avoid redefinition warning.
19107 (__USE_GNU): Don't define.
19108 (init_signaling_nan): Protoize.
19109
e47686e9
AS
19110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19111
b18decba
SP
191122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19113
fffb407f
SP
19114 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19116 (__cpymn): Likewise.
19117 (norm): Remove commented code.
19118 (denorm): Likewise.
19119 (__mp_dbl): Likewise.
19120 (__inv): Likewise.
19121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19122 (__cpymn): Likewise.
19123 (norm): Remove commented code.
19124 (denorm): Likewise.
19125 (__mp_dbl): Likewise.
19126 (__inv): Likewise.
19127
b18decba
SP
19128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19129 mp_no value for 1.0 and 2.0.
19130 (norm): Use RADIXI instead of radixi.d.
19131 (denorm): Likewise.
19132 (__mul): Use 0.0 instead of zero.d.
19133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19134 mp_no value for 1.0 and 2.0.
19135 (norm): Use RADIXI instead of radixi.d.
19136 (denorm): Likewise.
19137 (__mul): Use 0.0 instead of zero.d.
19138
cdc1c96f
JM
191392013-01-04 Joseph Myers <joseph@codesourcery.com>
19140
19141 [BZ #14994]
19142 * math/s_casinh.c (__casinh): Reduce finite argument to first
19143 quadrant then set signs of results at the end.
19144 * math/s_casinhf.c (__casinhf): Likewise.
19145 * math/s_casinhl.c (__casinhl): Likewise.
19146 * math/libm-test.inc (casin_test): Add more tests.
19147 (casinh_test): Likewise.
19148 * sysdeps/i386/fpu/libm-test-ulps: Update.
19149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19150
302913e1
SP
191512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19152
6420d207
SP
19153 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19154
a9e48ab4
SP
19155 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19156
b7837264
SP
19157 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19158 declarations.
19159 (denorm): Likewise.
19160 (__mp_dbl): Likewise.
19161 (__inv): Likewise.
19162
f8af25d2
SP
19163 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19164 and adjust the header comment.
19165
302913e1
SP
19166 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19167 variable name from declaration.
19168
5d7dd1ca
L
191692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19170
19171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19172 Initialize COMMON_CPUID_INDEX_7 element.
19173 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19174 (CPUID_RTM): Likewise.
19175 (HAS_RTM): Likewise.
19176 (COMMON_CPUID_INDEX_7): New enum.
19177
2f5f40f4
AS
191782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19179
19180 [BZ #14981]
19181 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19182 size is zero, record memory as freed.
19183
4056f4a0
AJ
191842013-01-03 Andreas Jaeger <aj@suse.de>
19185
19186 * po/ia.po: Add new Interlingua translation.
19187
ab15736f 191882012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19189
19190 * locale/programs/localedef.c: Fix description of '--posix' flag.
19191
568035b7
JM
191922013-01-02 Joseph Myers <joseph@codesourcery.com>
19193
e6898b8d
JM
19194 * NEWS: Update dates in second copyright notice.
19195 * README: Update copyright dates in example.
19196 * manual/libc.texinfo: Update copyright dates.
19197 * scripts/test-installation.pl: Update copyright date in --version
19198 output.
19199
0e2f9562
JM
19200 * hurd/ctty-input.c: Fix copyright notice formatting.
19201 * hurd/ctty-output.c: Likewise.
19202 * hurd/dtable.c: Likewise.
19203 * hurd/hurd-raise.c: Likewise.
19204 * hurd/hurdprio.c: Likewise.
19205 * hurd/msgportdemux.c: Likewise.
19206 * misc/sys/file.h: Likewise.
19207 * misc/sys/ioctl.h: Likewise.
19208 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19209 * sysdeps/mach/hurd/chdir.c: Likewise.
19210 * sysdeps/mach/hurd/fchdir.c: Likewise.
19211 * sysdeps/mach/hurd/rename.c: Likewise.
19212 * sysdeps/mach/hurd/rmdir.c: Likewise.
19213 * sysdeps/mach/hurd/seekdir.c: Likewise.
19214 * sysdeps/mach/hurd/setsid.c: Likewise.
19215 * sysdeps/posix/wait3.c: Likewise.
19216
568035b7
JM
19217 * All files with FSF copyright notices: Update copyright dates
19218 using scripts/update-copyrights.
19219 * intl/plural.c: Regenerated.
19220 * locale/programs/charmap-kw.h: Likewise.
19221 * locale/programs/locfile-kw.h: Likewise.
19222
da08f647
SP
192232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19224
0f5477af
SP
19225 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19226 four values.
19227
44e0d4c2
SP
19228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19229 calculation loop and add branch prediction.
19230
4d55b4e5
SP
19231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19232 check access beyond bounds of m1np.
19233
da08f647
SP
19234 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19235 MPTWO.
19236 (__inv): Remove local variable MPTWO to use the global
19237 constant.
19238 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19240 variable MPTWO.
19241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19242 MP3HALFS static const.
19243
8e051029
DM
192442013-01-01 David S. Miller <davem@davemloft.net>
19245
19246 * po/ca.po: Update from translation team.
19247
f4cf5f2d
JM
192482013-01-01 Joseph Myers <joseph@codesourcery.com>
19249
19250 * scripts/update-copyrights: New file.
19251 * Makeconfig: Reformat copyright notice.
19252 * ctype/ctype.h: Likewise.
19253 * debug/swprintf_chk.c: Likewise.
19254 * elf/dl-cache.c: Likewise.
19255 * elf/dl-debug.c: Likewise.
19256 * elf/dl-object.c: Likewise.
19257 * grp/initgroups.c: Likewise.
19258 * hurd/Makefile: Likewise.
19259 * hurd/hurd/signal.h: Likewise.
19260 * hurd/hurdfault.c: Likewise.
19261 * hurd/hurdioctl.c: Likewise.
19262 * hurd/hurdlookup.c: Likewise.
19263 * hurd/intr-msg.c: Likewise.
19264 * iconv/gconv_open.c: Likewise.
19265 * libio/swprintf.c: Likewise.
19266 * locale/lc-ctype.c: Likewise.
19267 * locale/nl_langinfo.c: Likewise.
19268 * mach/Machrules: Likewise.
19269 * mach/Makefile: Likewise.
19270 * malloc/obstack.h: Likewise.
19271 * manual/Makefile: Likewise.
19272 * manual/tsort.awk: Likewise.
19273 * misc/bits/stab.def: Likewise.
19274 * nis/nis_print_group_entry.c: Likewise.
19275 * nis/nis_table.c: Likewise.
19276 * nis/nss_compat/compat-pwd.c: Likewise.
19277 * nis/nss_compat/compat-spwd.c: Likewise.
19278 * po/Makefile: Likewise.
19279 * posix/fnmatch.c: Likewise.
19280 * posix/regex.h: Likewise.
19281 * resolv/Makefile: Likewise.
19282 * resolv/nss_dns/dns-network.c: Likewise.
19283 * resolv/res_hconf.c: Likewise.
19284 * scripts/gen-sorted.awk: Likewise.
19285 * soft-fp/soft-fp.h: Likewise.
19286 * stdio-common/printf.h: Likewise.
19287 * stdlib/monetary.h: Likewise.
19288 * stdlib/random.c: Likewise.
19289 * stdlib/random_r.c: Likewise.
19290 * sysdeps/generic/Makefile: Likewise.
19291 * sysdeps/gnu/Makefile: Likewise.
19292 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19310 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19312 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19314 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19320 * sysdeps/mach/hurd/errnos.awk: Likewise.
19321 * sysdeps/mach/hurd/fork.c: Likewise.
19322 * sysdeps/mach/hurd/getcwd.c: Likewise.
19323 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19324 * sysdeps/mach/hurd/mmap.c: Likewise.
19325 * sysdeps/mach/hurd/utimes.c: Likewise.
19326 * sysdeps/mach/hurd/xmknod.c: Likewise.
19327 * sysdeps/posix/profil.c: Likewise.
19328 * sysdeps/posix/readdir_r.c: Likewise.
19329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19330 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19331 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19332 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19334 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19335 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19336 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19338 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19339 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19340 * sysdeps/pthread/lio_listio.c: Likewise.
19341 * sysdeps/sparc/dl-procinfo.h: Likewise.
19342 * sysdeps/unix/i386/sysdep.S: Likewise.
19343 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19344 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19345 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19346 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19348 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19349 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19350 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19351 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19352 * sysdeps/wordsize-32/divdi3.c: Likewise.
19353 * time/sys/time.h: Likewise.
19354 * wcsmbs/Makefile: Likewise.
19355
0549fbba
DM
193562013-01-01 David S. Miller <davem@davemloft.net>
19357
a141f1a7
DM
19358 * po/fr.po: Update from translation team.
19359
0549fbba
DM
19360 * catgets/gencat.c: Update copyright year.
19361 * csu/version.c: Likewise.
19362 * debug/catchsegv.sh: Likewise.
19363 * debug/pcprofiledump.c: Likewise.
19364 * debug/xtrace.sh: Likewise.
19365 * elf/ldconfig.c: Likewise.
19366 * elf/ldd.bash.in: Likewise.
19367 * elf/pldd.c: Likewise.
19368 * elf/sotruss.ksh: Likewise.
19369 * elf/sprof.c: Likewise.
19370 * iconv/iconv_prog.c: Likewise.
19371 * iconv/iconvconfig.c: Likewise.
19372 * locale/programs/locale.c: Likewise.
19373 * locale/programs/localedef.c: Likewise.
19374 * login/programs/pt_chown.c: Likewise.
19375 * malloc/memusage.sh: Likewise.
19376 * malloc/memusagestat.c: Likewise.
19377 * malloc/mtrace.pl: Likewise.
19378 * nscd/nscd.c: Likewise.
19379 * nss/getent.c: Likewise.
19380 * nss/makedb.c: Likewise.
19381 * posix/getconf.c: Likewise.
19382
18ea052c
SP
193832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19384
19385 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19386 numbers.
19387
9c89fca6
MF
193882012-12-30 Mike Frysinger <vapier@gentoo.org>
19389
19390 * math/bits/mathcalls.h (modf): Use __nonnull.
19391
085ec079
SP
193922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19393
19394 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19395 (split): Use macro CN instead of the bare value.
19396 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19397 could be used.
19398 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19399 instead of the bare value.
19400 (power1): Likewise.
19401
6d9f97e1
SP
194022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19403
d63f73be
SP
19404 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19405 __ATAN_TWOM.
19406 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19407
6d9f97e1
SP
19408 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19409 their values.
19410 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19412 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19413 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19414
4c4febf5
AJ
194152012-12-28 Andreas Jaeger <aj@suse.de>
19416
af5843ef
AJ
19417 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19418 values are from Linux 3.7.
19419
4c4febf5
AJ
19420 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19421 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19422
99136f82
SP
194232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19424
2f216c3c 19425 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19426 TRUE case.
19427
99136f82
SP
19428 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19429 (norm): Likewise.
19430 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19431 variables with preprocessor constants.
19432 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19433 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19434 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19435
7fffbdff
BH
194362012-12-27 Bruno Haible <bruno@clisp.org>
19437
19438 [BZ #14317]
19439 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19440 only if needed.
19441
b76eb5f0
SP
194422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19443
31a7fe5c
SP
19444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19445 and use variable directly.
19446 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19447
b76eb5f0
SP
19448 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19449 MPONE.
19450 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19452 variable MPONE.
19453 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19455 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19456 include directive. Remove local variable MPONE.
19457 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19458 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19460
2c8bfe7d
DM
194612012-12-25 David S. Miller <davem@davemloft.net>
19462
19463 * version.h (RELEASE): Set to "development".
19464 (VERSION): Set to "2.17.90".
19465 * NEWS: Add 2.18 section.
19466
147d03b0
DM
194672012-12-21 David S. Miller <davem@davemloft.net>
19468
19469 * po/hr.po: Update from translation team.
19470
a8ebb2b9
AK
194712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19472
19473 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19474
95b4f1b6
SE
194752012-12-19 Steve Ellcey <sellcey@mips.com>
19476
b2d94007 19477 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19478
cedb2a90
MS
194792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19480
19481 * manual/contrib.texi (Contributors): Spelling correction.
19482
bbf527d6
DM
194832012-12-15 David S. Miller <davem@davemloft.net>
19484
19485 * po/ru.po: Update from translation team.
19486
bc38c906
DM
194872012-12-13 David S. Miller <davem@davemloft.net>
19488
85429b1a
DM
19489 * NEWS: Mention IFUNC testsuite enhancements.
19490
d283e353
DM
19491 * po/pl.po: Update from translation team.
19492 * po/bg.po: Likewise.
19493
bc38c906
DM
19494 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19495 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19496
a181b0d7
DM
194972012-12-11 David S. Miller <davem@davemloft.net>
19498
4641d57e
DM
19499 * po/sv.po: Update from translation team.
19500
f7bc6495
DM
19501 * po/vi.po: Update from translation team.
19502
6fc9048f
DM
19503 * po/cs.po: Update from translation team.
19504
a181b0d7
DM
19505 * po/de.po: Update from translation team.
19506 * po/eo.po: Likewise.
19507 * po/nl.po: Likewise.
19508
f70bfe80
SP
195092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19510
3c8b4190
SP
19511 [BZ #14246]
19512 * manual/argp.texi (Argp Helper Functions): Move node to follow
19513 Argp Parsing State.
19514
f70bfe80
SP
19515 [BZ #14872]
19516 * manual/conf.texi (Limits on File System Capacity): Mention if
19517 terminating null is included in the max size.
19518
188f0adf
AJ
195192012-12-10 Andreas Jaeger <aj@suse.de>
19520
19521 * po/cs.po: Update from translation team.
19522
56e7d3ad
SP
195232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19524
19525 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19526 void pointer and cast to uintptr_t.
19527 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19528 path.
19529 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19530 * sysdeps/s390/s390-64/memset.S: Likewise.
19531
76f2d2ea 195322012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19533
19534 [BZ #14833]
19535 * menual/message.texi (Message Translation): Fix typos.
19536 (Helper programs for gettext): Likewise.
19537
67cbf9a2
AS
195382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19539
19540 [BZ #14898]
19541 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19542 Change to -1.
19543
682d0e9a
DM
195442012-12-07 David S. Miller <davem@davemloft.net>
19545
19546 * po/libc.pot: Update.
19547
573cd484
RH
195482012-12-07 Richard Henderson <rth@redhat.com>
19549
7e9da188 19550 [BZ #10114]
573cd484
RH
19551 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19552 normal/normal case to before the switch.
19553 (_FP_DIV): Likewise.
19554
e933a943
MF
195552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19556 Mike Frysinger <vapier@gentoo.org>
19557
19558 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19559 check for __NR_fadvise64_64.
19560
82123268
CM
195612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19562
19563 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19564 0, not just to plain "0" as a statement.
19565 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19566 with cw.
19567
d9814526
JM
195682012-12-06 Joseph Myers <joseph@codesourcery.com>
19569
19570 * NEWS: Use sourceware.org in Bugzilla URL.
19571
7728c574
SP
195722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19573
f16946dd
SP
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19575 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19576
5704bbcb
SP
19577 * stdio-common/tst-put-error.c (do_test): Add newline to the
19578 padded test to ensure flush.
19579
17aa0516
JL
195802012-12-05 Jeff Law <law@redhat.com>
19581
19582 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19583
363313b5
JM
195842012-12-05 Joseph Myers <joseph@codesourcery.com>
19585
effbd42a
JM
19586 * README: Don't refer to ports add-on as distributed separately.
19587 Mention AArch64 in list of systems supported in the ports add-on.
19588
87600365
JM
19589 * LICENSES: Add more non-FSF copyright and license notices.
19590
a0d7066a
JM
19591 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19592 ((unused)).
19593
66ca5a5b
JM
19594 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19595
363313b5
JM
19596 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19597 10000 as width of padded output.
19598
b37984ad
JM
195992012-12-04 Joseph Myers <joseph@codesourcery.com>
19600
9003570a
JM
19601 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19602
b37984ad
JM
19603 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19604 variable LX with __attribute__ ((unused)).
19605 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19606 Likewise.
19607 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19608 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19610 with __attribute__ ((unused)).
19611
c8df52ec
DM
196122012-12-04 David S. Miller <davem@abraco.davemloft.net>
19613
19614 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19615
b3b099af
JM
196162012-12-04 Joseph Myers <joseph@codesourcery.com>
19617
c33aa6e3
JM
19618 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19619 (CFLAGS-nldbl-acos.c): New variable.
19620 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19622 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19623 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19624 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19625 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19626 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19627 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19628 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19629 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19630 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19631 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19632 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19633 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19634 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19635 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19636 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19637 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19638 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19639 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19640 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19641 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19642 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19643 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19644 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19645 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19646 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19647 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19648 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19649 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19650 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19651 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19652 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19653 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19654 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19655 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19656 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19657 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19658 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19659 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19660 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19661 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19662 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19663 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19664 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19665 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19666 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19667 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19668 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19669 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19670 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19671 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19672 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19673 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19674 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19675 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19676 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19677 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19678 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19679 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19680 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19681 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19682 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19683 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19684 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19685 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19686 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19687 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19688 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19689 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19690 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19691 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19692 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19693 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19694 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19695 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19696 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19697 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19698 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19699 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19700 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19701 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19702 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19703 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19704 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19705 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19706 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19707 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19708 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19709 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19710 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19711 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19712 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19713 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19714 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19715 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19716 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19717
20f0018d
JM
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19719 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19720
b3b099af
JM
19721 [BZ #14914]
19722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19723 whole low double instead of just low 47 bits when splitting values
19724 into two parts.
19725
029264d1
AM
197262012-12-03 Allan McRae <allan@archlinux.org>
19727
19728 * manual/stdio.texi (Predefined Printf Handlers): Remove
19729 @hsep and @vsep usage.
19730
c9d6789e
MF
197312012-12-03 Mike Frysinger <vapier@gentoo.org>
19732
19733 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19734 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19735
4b7634a5
JL
197362012-12-03 Jeff Law <law@redhat.com>
19737
19738 * time/sys/time.h (settimeofday): Do not mark TV argument
19739 as __nonnull.
19740
eb6cbd24
MF
197412012-12-01 Mike Frysinger <vapier@gentoo.org>
19742
19743 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19744 when currently writing and seek to current position when not.
19745 * libio/Makefile (tests): Remove bug-fclose1.
19746 * libio/bug-fclose1.c: Delete.
19747
f638872a
JM
197482012-12-01 Joseph Myers <joseph@codesourcery.com>
19749
19750 * manual/arith.texi (feenableexcept): Fix typo.
19751 (fedisableexcept): Likewise.
19752
48085d14
RM
197532012-11-30 Roland McGrath <roland@hack.frob.com>
19754
19755 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19756 second, differently-typed declaration, rather than a cast.
19757
1a538b9f
SP
197582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19759
19760 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19761 * include/rpc/svc.h: ... here.
19762
d07f2ff1 197632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19764
19765 [BZ #13013]
19766 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19767 depending n and resplen2 to catch cases where answer
19768 equals answerp2.
19769
c93ec1f0
CD
197702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19771
19772 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19773 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19774
37db69de
MF
197752012-11-29 Mike Frysinger <vapier@gentoo.org>
19776
19777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19778
e10c4e4f
RM
197792012-11-29 Roland McGrath <roland@hack.frob.com>
19780
19781 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19782
2af1b328
JL
197832012-11-28 Jeff Law <law@redhat.com>
19784
19785 [BZ #13761]
19786 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19787 dataset_temporary. Track alloca usage into alloca_used.
19788 If dataset is large allocate and release it via malloc/free.
19789
111db5b1
FW
197902012-06-04 Florian Weimer <fweimer@redhat.com>
19791
f06cc227 19792 [BZ #14197]
111db5b1
FW
19793 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19794
dd694abd
DM
197952012-11-28 David S. Miller <davem@davemloft.net>
19796
19797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19798
9984dd01
JM
197992012-11-28 Joseph Myers <joseph@codesourcery.com>
19800
19801 [BZ #14803]
19802 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19803 of pi/2 rounded to nearest to 64 bits.
19804 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19805 nearest to 64 bits.
19806 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19807 bits.
19808
14bc93a9
JL
198092012-11-28 Jeff Law <law@redhat.com>
19810 Martin Osvald <mosvald@redhat.com>
19811
19812 [BZ #14889]
19813 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19814 * sunrpc/svc.c: Include time.h.
19815 (__svc_accept_failed): New function.
19816 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19817 any reason other than EINTR, call __svc_accept_failed.
19818 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19819 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19820
e3c6aa3a
AS
198212012-11-28 Andreas Schwab <schwab@suse.de>
19822
19823 * scripts/abilist.awk: Also handle indirect functions in .opd
19824 section.
19825
1bead169
JM
198262012-11-28 Joseph Myers <joseph@codesourcery.com>
19827
19828 [BZ #13881]
19829 * sysdeps/x86/fpu/powl_helper.c: New file.
19830 * sysdeps/x86/fpu/Makefile: Likewise.
19831 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19832 (p3): New object.
19833 (__ieee754_powl): Use __powl_helper for finite arguments except
19834 integer exponents below 8.
19835 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19836 (p3): New object.
19837 (__ieee754_powl): Use __powl_helper for finite arguments except
19838 integer exponents below 8.
19839 * math/libm-test.inc (pow_test): Add more tests and enable some
19840 previously disabled tests.
19841 * sysdeps/i386/fpu/libm-test-ulps: Update.
19842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19843
0817d63d
SP
198442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19845 Carlos O'Donell <carlos_odonell@mentor.com>
19846
19847 * nss/makedb.c (is_prime): Assert that input is odd and greater
19848 than 4. Note that fact in a comment too.
19849 (next_prime): Add 4 to input.
19850
de2fd463
SP
198512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19852
19853 [BZ #11741]
19854 * libio/Makefile (tests): Add test case tst-fwrite-error.
19855 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19856 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19857 * libio/tst-fwrite-error.c: New test case.
19858
c515fb51
L
198592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19860
19861 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19862 before casting to void *.
19863 * include/libc-internal.h (__pointer_type): New macro.
19864 (__integer_if_pointer_type_sub): Likewise.
19865 (__integer_if_pointer_type): Likewise.
19866 (cast_to_integer): Likewise.
19867 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19868 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19869 before casting to atomic64_t.
19870 (atomic_exchange_acq): Likewise.
19871 (__arch_exchange_and_add_body): Likewise.
19872 (__arch_add_body): Likewise.
19873 (atomic_add_negative): Likewise.
19874 (atomic_add_zero): Likewise.
19875
4cf77aa9
JM
198762012-11-26 Joseph Myers <joseph@codesourcery.com>
19877
19878 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19879 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19880 (add_fdes): Likewise.
19881 (linear_search_fdes): Likewise.
19882 (binary_search_unencoded_fdes): Likewise.
19883
d260b3b4
AS
198842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19885
19886 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19887
67060746
AC
198882012-11-24 Adam Conrad <adconrad@0c3.net>
19889
19890 * configure.in: Autodetect C++ header directories.
19891 * configure: Regenerated.
19892
800938a1
MF
198932012-11-23 Mike Frysinger <vapier@gentoo.org>
19894
19895 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19896
4e6e34e6
AS
198972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19898
19899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19900
7c7feb47
JM
199012012-11-22 Joseph Myers <joseph@codesourcery.com>
19902
7184dcdf
JM
19903 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19904 LDBL_MANT_DIG == 106]: Disable some tests.
19905 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19906 Likewise.
19907 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19908 Likewise.
19909
0a42601f
JM
19910 [BZ #14871]
19911 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19912 input for small inputs. Return +/- pi/2 for large inputs.
19913 * math/libm-test.inc (atan_test): Add more tests.
19914
79c9b9fe
JM
19915 * sysdeps/generic/unwind-dw2-fde-glibc.c
19916 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19917 __attribute__ ((unused)).
19918
c60d3bf2
JM
19919 [BZ #14645]
19920 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19921 x * y if x and y are nonzero and z is zero.
19922
ef1e0867
JM
19923 [BZ #14811]
19924 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19925 nonzero exponents with absolute value below 0x1p-117 to +/-
19926 0x1p-117.
19927
1468ded3
JM
19928 [BZ #14869]
19929 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19930 up arguments below 2**-450, not just those below 2**-500.
19931 * math/libm-test.inc (hypot_test): Add another test.
19932
8e27e3cc
JM
19933 [BZ #14868]
19934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19935 Return a+b for ratio over 2**120, not 2**60.
19936 * math/libm-test.inc (hypot_test): Add another test.
19937
c9c0279b
JM
19938 * math/libm-test.inc (clog_test): Use
19939 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19940 (clog10_test): Likewise.
19941
7c7feb47
JM
19942 [BZ #6778]
19943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19944
fff1530e
AS
199452012-11-22 Andreas Schwab <schwab@suse.de>
19946
19947 * sysdeps/i386/fpu/libm-test-ulps: Update.
19948
94558d30
PT
199492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19950
19951 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19952 printf output with newline.
19953
7e1be741
L
199542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19955
6bfea974
L
19956 [BZ #14865]
19957 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19958 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19959 -z nodlopen, -z initfirst and -z execstack support.
19960 * configure: Regenerated.
19961
7e1be741
L
19962 * elf/elf.h (DF_1_NODIRECT): New macro.
19963 (DF_1_IGNMULDEF): Likewise.
19964 (DF_1_NOKSYMS): Likewise.
19965 (DF_1_NOHDR): Likewise.
19966 (DF_1_EDITED): Likewise.
19967 (DF_1_NORELOC): Likewise.
19968 (DF_1_SYMINTPOSE): Likewise.
19969 (DF_1_GLOBAUDIT): Likewise.
19970 (DF_1_SINGLETON): Likewise.
19971 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19972 DT_1_SUPPORTED_MASK bits.
19973 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19974
105ce2ce
CD
199752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19976
19977 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19978
123be9de
TS
199792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19980
d072f3f7
TS
19981 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19982 macro.
19983
123be9de
TS
19984 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19985 (sendmmsg): Move declarations...
19986 * socket/sys/socket.h: ... here.
19987 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19988 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19989 include it from...
19990 * socket/recvmmsg.c: ... this new file.
19991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19992 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19993 definition of __sendmmsg hidden.
19994 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19995 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19996 Move ENOSYS stub into and include it from...
19997 * socket/sendmmsg.c: ... this new file.
19998 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19999 (sysdep_routines): Move recvmmsg and sendmmsg...
20000 * socket/Makefile (routines): ... here.
20001 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20002 (GLIBC_PRIVATE): Add __sendmmsg.
20003 * include/sys/socket.h (__sendmmsg): Add declarations.
20004 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20005 sendmmsg.
20006
cf9a5d18
JM
200072012-11-20 Joseph Myers <joseph@codesourcery.com>
20008
20009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20010 variable I1 with __attribute__ ((unused)).
20011 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20012
ecd4caf9
JM
200132012-11-19 Joseph Myers <joseph@codesourcery.com>
20014
be14d48f
JM
20015 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20016 DUMMY variables with __attribute__ ((unused)).
20017
ecd4caf9
JM
20018 * bits/byteswap.h: Include <bits/types.h>.
20019 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20020
986cab95
PT
200212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20022
20023 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20024 string_t. Do not manually set errno.
20025 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20026 length with __strnlen. Make sure to both set errno and return it on
20027 failure.
20028
6d33cc9d
DM
200292012-11-19 David S. Miller <davem@davemloft.net>
20030
20031 With help from Joseph Myers.
20032 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20033 very large arguments properly.
20034 * math/libm-test.inc (atan_test): New tests.
20035 (atan2_test): New tests.
20036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20038
ee663277
JM
200392012-11-19 Joseph Myers <joseph@codesourcery.com>
20040
877f2d8e
JM
20041 [BZ #14856]
20042 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20043 Define to 3.
20044
116fc08a
JM
20045 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20046 [POSIX] (EADDRNOTAVAIL): Likewise.
20047 [POSIX] (EAFNOSUPPORT): Likewise.
20048 [POSIX] (EALREADY): Likewise.
20049 [POSIX] (ECONNABORTED): Likewise.
20050 [POSIX] (ECONNREFUSED): Likewise.
20051 [POSIX] (ECONNRESET): Likewise.
20052 [POSIX] (EDESTADDRREQ): Likewise.
20053 [POSIX] (EDQUOT): Likewise.
20054 [POSIX] (EHOSTUNREACH): Likewise.
20055 [POSIX] (EIDRM): Likewise.
20056 [POSIX] (EISCONN): Likewise.
20057 [POSIX] (ELOOP): Likewise.
20058 [POSIX] (EMULTIHOP): Likewise.
20059 [POSIX] (ENETDOWN): Likewise.
20060 [POSIX] (ENETUNREACH): Likewise.
20061 [POSIX] (ENOBUFS): Likewise.
20062 [POSIX] (ENODATA): Likewise.
20063 [POSIX] (ENOLINK): Likewise.
20064 [POSIX] (ENOMSG): Likewise.
20065 [POSIX] (ENOPROTOOPT): Likewise.
20066 [POSIX] (ENOSR): Likewise.
20067 [POSIX] (ENOSTR): Likewise.
20068 [POSIX] (ENOTCONN): Likewise.
20069 [POSIX] (ENOTSOCK): Likewise.
20070 [POSIX] (EOPNOTSUPP): Likewise.
20071 [POSIX] (EOVERFLOW): Likewise.
20072 [POSIX] (EPROTO): Likewise.
20073 [POSIX] (EPROTONOSUPPORT): Likewise.
20074 [POSIX] (EPROTOTYPE): Likewise.
20075 [POSIX] (ESTALE): Likewise.
20076 [POSIX] (ETIME): Likewise.
20077 [POSIX] (ETXTBSY): Likewise.
20078 [POSIX] (EWOULDBLOCK): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20080 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20081 [POSIX] (SEEK_CUR): Likewise.
20082 [POSIX] (SEEK_END): Likewise.
20083 [POSIX || UNIX98] (mode_t): Do not require.
20084 [POSIX] (off_t): Likewise.
20085 [POSIX] (pid_t): Likewise.
20086 [POSIX] (sys/stat.h): Do not allow header.
20087 [POSIX] (unistd.h): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20089 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20091 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20092 require.
20093 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20094 sigevent): Specify elements.
20095 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20096 entry.
20097 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20098 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20099
a483863f
JM
20100 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20101 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20102 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20103 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20104 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20105 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20106 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20107 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20109 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20110 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20111 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20112 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20113 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20114 Likewise.
20115 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20116 Likewise.
20117 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20118 Likewise.
20119 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20120 Likewise.
20121 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20122 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20123 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20124 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20125 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20126 Specify lower bound on value.
20127 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20128 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20129 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20130 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20131 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20132 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20133 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20134 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20135 value.
20136 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20137 as optional.
20138 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20139 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20140 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20141 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20142 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20143 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20144 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20145 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20146 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20147 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20148 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20149 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20150 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20151 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20152 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20153 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20154 entry.
20155 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20156 optional.
20157 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20158 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20159 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20160 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20161 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20162 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20163 Likewise.
20164 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20165 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20166 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20167 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20168 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20169 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20170 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20171 as optional.
20172 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20173 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20174 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20175 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20176 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20177 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20178 specify as optional.
20179 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20180 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20181 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20182 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20183 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20184 [XPG3] (NL_LANGMAX): Likewise.
20185 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20186 [POSIX || XPG3] (NL_NMAX): Likewise.
20187 [POSIX || XPG3] (NL_SETMAX): Likewise.
20188 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20189 [XPG3] (NZERO): Likewise.
20190 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20191 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20192 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20193 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20194 (REG_ERANGE): Expect.
20195 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20196 optional-constant.
20197 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20198 Use (void) in prototype.
20199 [POSIX] (*_t): Allow.
20200 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20201 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20202 (WRDE_BADVAL): Expect.
20203
5ba924e3
JM
20204 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20205 expect.
20206 [XPG3 || XPG4] (O_RSYNC): Likewise.
20207 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20208 Likewise.
20209 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20210 [XPG3 || XPG4] (sigqueue): Likewise.
20211 [XPG3 || XPG4] (sigtimedwait): Likewise.
20212 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20213 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20214 [XPG3 || XPG4] (vsnprintf): Likewise.
20215 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20216 Likewise.
20217 [XPG3 || XPG4] (blksize_t): Likewise.
20218 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20219 Likewise.
20220 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20221 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20222 [XPG3 || XPG4] (struct itimerspec): Likewise.
20223 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20224 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20225 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20226 [XPG3 || XPG4] (clockid_t): Likewise.
20227 [XPG3 || XPG4] (timer_t): Likewise.
20228 [XPG3 || XPG4] (clock_getres): Likewise.
20229 [XPG3 || XPG4] (clock_gettime): Likewise.
20230 [XPG3 || XPG4] (clock_settime): Likewise.
20231 [XPG3 || XPG4] (nanosleep): Likewise.
20232 [XPG3 || XPG4] (timer_create): Likewise.
20233 [XPG3 || XPG4] (timer_delete): Likewise.
20234 [XPG3 || XPG4] (timer_gettime): Likewise.
20235 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20236 [XPG3 || XPG4] (timer_settime): Likewise.
20237 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20238 [XPG3 || XPG4] (getlogin_r): Likewise.
20239 [XPG3 || XPG4] (pread): Likewise.
20240 [XPG3 || XPG4] (pthread_atfork): Likewise.
20241 [XPG3 || XPG4] (pwrite): Likewise.
20242
ee663277
JM
20243 [BZ #14835]
20244 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20245 <bits/siginfo.h>.
20246
942caa16
PT
202472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20248
e19af380
PT
20249 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20250 finalizing MALLSTREAM.
20251
942caa16
PT
20252 * sysdeps/mach/hurd/syncfs.c: New file.
20253
cfde9b46
SP
202542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20255
20256 [BZ #14719]
20257 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20258 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20259 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20260 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20261 (_nss_dns_gethostbyname4_r): Likewise.
20262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20263 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20264
f6da27e5
PH
202652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20266
20267 [BZ #13763]
20268 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20269
6665d4a2
SM
202702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20271
1f51ee92
SM
20272 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20273 * elf/cache.c (print_entry): Print ",AArch64" for
20274 FLAG_AARCH64_LIB64
20275
6665d4a2
SM
20276 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20277 * elf/cache.c (print_entry): Print ",hard-float" for
20278 FLAG_ARM_LIBHF.
20279
05b227bd
DM
202802012-11-18 David S. Miller <davem@davemloft.net>
20281
20282 With help from Joseph Myers.
20283 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20284 cutoff to 2**-13.
20285 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20286 cutoff to 2**-25.
20287 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20288 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20289 small.
20290 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20291 * math/libm-test.inc (y0_test): New tests.
20292 (y1_test): New tests.
20293 * sysdeps/i386/fpu/libm-test-ulps: Update.
20294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20296
786b0b67
AS
202972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20298
20299 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20300 64-bit targets.
20301 * configure: Regenerated.
20302
8e18b86d
DM
203032012-11-17 David S. Miller <davem@davemloft.net>
20304
20305 [BZ #14811]
20306 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20307 nonzero exponents with absolute value below 0x1p-128 to +/-
20308 0x1p-128.
20309
531f1ae0
JM
203102012-11-17 Joseph Myers <joseph@codesourcery.com>
20311
12df29e2
JM
20312 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20313
150dc1a0
JM
20314 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20315
531f1ae0
JM
20316 * posix/getconf-speclist.c: New file.
20317 * posix/posix-envs.def: Likewise.
20318 * posix/confstr.c (START_ENV_GROUP): New macro.
20319 (END_ENV_GROUP): Likewise.
20320 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20321 (KNOWN_PRESENT_ENV_STRING): Likewise.
20322 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20323 (UNKNOWN_ENVIRONMENT): Likewise.
20324 (confstr): Include posix-envs.def instead of handling
20325 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20326 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20327 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20328 (END_ENV_GROUP): Likewise.
20329 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20330 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20331 (UNKNOWN_ENVIRONMENT): Likewise.
20332 (__sysconf): Include posix-envs.def instead of handling associated
20333 cases directly here.
20334 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20335 preprocessing getconf-speclist.c rather than running getconf or
20336 generating empty file.
20337
a93f9cbc
PT
203382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20339
20340 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20341
d64d9f87
AL
203422012-11-16 Andrej Lajovic <natrij@gmail.com>
20343
20344 [BZ #14672]
20345 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20346
447885eb
DM
203472012-11-16 David S. Miller <davem@davemloft.net>
20348
20349 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20350 smaller than LDBL_EPSILON/2.0L, just return xm1.
20351
bcbf9830
L
203522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20353
20354 * elf/tst-array1.c (init): Set constructor priority to 1000.
20355 (fini): Set destructor priority to 1000.
20356 * elf/tst-array2dep.c: Likewise.
20357
2b766585
SP
203582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20359
20360 [BZ #11741]
20361 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20362 (_IO_new_file_xsputn): Also return EOF if none of the input
20363 data was written when overflow failed.
20364 * libio/iopadn.c (_IO_padn): Likewise.
20365 * libio/iowpadn.c (_IO_wpadn): Likewise.
20366 * stdio-common/tst-put-error.c: Add copyright notice.
20367 (do_test): Add case for printing padded string.
20368 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20369 _IO_padn returned error.
20370 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20371 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20372 return EOF.
20373
b1848fde
SP
203742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20375
20376 * libio/libioP.h: Add comment note that the references to C++
20377 bits are now obsolete.
20378
2fd89785
MS
203792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20380
20381 * math/libm-test.inc (check_complex): Use asprintf.
20382
e3ea5409
JM
203832012-11-14 Joseph Myers <joseph@codesourcery.com>
20384
20385 * debug/pcprofiledump.c (print_version): Update copyright year.
20386 * malloc/memusagestat.c (print_version): Likewise.
20387
2e64d265
L
203882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20389
20390 [BZ #14831]
20391 * elf/Makefile (tests): Add tst-audit8.
20392 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20393 ($(objpfx)tst-audit8.out): New target.
20394 (tst-audit8-ENV): New variable.
20395 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20396 audit if l_reloc_result is NULL.
20397 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20398 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20399 * elf/tst-audit8.c: New file.
20400
c485e4d2
MS
204012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20402
20403 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20404 * misc/Makefile (CFLAGS-select.c): Define.
20405 * posix/Makefile (CFLAGS-pause.c): Define.
20406
3a0d900a
DM
204072012-11-13 David S. Miller <davem@davemloft.net>
20408
20409 * crypt/Makefile: Move test targets after toplevel Rules
20410 inclusion. Grab any necessary sysdep routines when linking.
20411 * crypt/md5.c (md5_process_block): Remove define, we will always
20412 name it __md5_process_block.
20413 (md5_finish_ctx): Update md5_process_block call.
20414 (md5_stream): Likewise.
20415 (md5_process_bytes): Likewise.
20416 (md5_process_block): Rename to __md5_process_block and move to ...
20417 * crypt/md5-block.c: ... here.
20418 * crypt/sha256.c (sha256_process_block): Move to ...
20419 * crypt/sha256-block.c: ... here.
20420 * crypt/sha512.c (sha512_process_block): Move to ...
20421 * crypt/sha512-block.c: ... here.
20422 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20423 path.
20424 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20425 * sysdeps/sparc/sparc64/multiarch/Makefile
20426 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20427 crypt subdir.
20428 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20429 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20430 multiarch changes.
20431 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20432 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20433 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20434 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20435 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20436 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20437 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20438 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20439 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20440 file.
20441 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20442 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20443 file.
20444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20445
8ca89318
JM
204462012-11-13 Joseph Myers <joseph@codesourcery.com>
20447
e27d476a
JM
20448 * timezone/tzselect.ksh: Update from tzcode git revision
20449 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20450 * timezone/zdump.c: Likewise.
20451 * timezone/zic.c: Likewise.
20452 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20453 in TZVERSION setting, not $(PKGVERSION).
20454 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20455 REPORT_BUGS_TO settings.
20456
8ca89318
JM
20457 [BZ #14838]
20458 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20459 macro.
20460
47594329
MS
204612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20462
20463 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20464 detection to immediately after _FP_ROUND().
20465 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20466 bits are 0.
20467
640ac3f1
DM
204682012-11-11 David S. Miller <davem@davemloft.net>
20469
20470 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20471 inttypes.h
20472 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20473 __close rather than their public counterparts.
20474
3d2577bb
JM
204752012-11-10 Joseph Myers <joseph@codesourcery.com>
20476
20477 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20478 file.
20479 [UNIX98] (sem_timedwait): Do not expect.
20480 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20481 [XPG4 || UNIX98] (sockatmark): Do not expect.
20482 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20483 (clock_getcpuclockid): Do not expect.
20484 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20485 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20486 Do not expect.
20487 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20488 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20489 [UNIX98] (vwscanf): Likewise.
20490 [UNIX98] (vswscanf): Likewise.
20491
fb1ae1ee
JM
204922012-11-09 Joseph Myers <joseph@codesourcery.com>
20493
9ec6f8bd
JM
20494 * timezone/version.h: Remove file.
20495 * timezone/README: Do not refer to version.h.
20496 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20497 $(objpfx)version.h.
20498 ($(objpfx)zdump.o): Likewise.
c3f81911 20499 ($(objpfx)version.h): New target.
9ec6f8bd 20500
0aa8f8a1
JM
20501 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20502 2012i.
20503 * timezone/README: Don't mention modification to tzselect.ksh.
20504 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20505 work on unmodified tzselect.ksh. Substitute version numbers in
20506 tzselect.ksh.
20507
4e87147f
JM
20508 * Makefile (format-me): Remove.
20509 (INSTALL): Adjust indentation. Use commands directly instead of
20510 using $(format-me).
20511
8b748aed
JM
20512 * aclocal.m4 (ACX_PKGVERSION): New macro.
20513 (ACX_BUGURL): Likewise.
20514 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20515 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20516 (REPORT_BUGS_TO): Likewise.
20517 * configure: Regenerated.
20518 * config.h.in (PKGVERSION): New macro.
20519 (REPORT_BUGS_TO): Likewise.
20520 * config.make.in (PKGVERSION): New variable.
20521 (PKGVERSION_TEXI): Likewise.
20522 (REPORT_BUGS_TO): Likewise.
20523 (REPORT_BUGS_TEXI): Likewise.
20524 * Makefile (format-me): Use -I$(common-objpfx)manual.
20525 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20526 ($(common-objpfx)manual/%): New target.
20527 (manual/%): Remove target.
20528 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20529 (print_version): Use PKGVERSION.
20530 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20531 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20532 and REPORT_BUGS_TO.
20533 ($(objpfx)xtrace): Likewise.
20534 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20535 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20536 (print_version): Use PKGVERSION.
20537 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20538 (do_version): Use PKGVERSION.
20539 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20540 REPORT_BUGS_TO.
20541 (common-ldd-rewrite): Likewise.
20542 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20543 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20544 (print_version): Use PKGVERSION.
20545 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20546 * elf/pldd.c (argp_program_bug_address): Remove variable.
20547 (more_help): New function.
20548 (argp): Use more_help.
20549 (print_version): Use PKGVERSION.
20550 * elf/sln.c (main): Use PKGVERSION.
20551 (usage): Use REPORT_BUGS_TO.
20552 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20553 (top level): Use PKGVERSION.
20554 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20555 (print_version): Use PKGVERSION.
20556 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20557 (print_version): Use PKGVERSION.
20558 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20559 (print_version): Use PKGVERSION.
20560 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20561 (print_version): Use PKGVERSION.
20562 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20563 (print_version): Use PKGVERSION.
20564 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20565 (print_version): Use PKGVERSION.
20566 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20567 and BUGURL.
20568 ($(objpfx)memusage): Likewise.
20569 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20570 (do_version): Use PKGVERSION.
20571 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20572 (print_version): Use PKGVERSION.
20573 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20574 ($PKGVERSION): New variable.
20575 ($REPORT_BUGS_TO): Likewise.
20576 (usage): Use $REPORT_BUGS_TO.
20577 (top level): Use $PKGVERSION.
20578 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20579 ($(objpfx)pkgvers.texi): New rule.
20580 ($(objpfx)stamp-pkgvers): Likewise.
20581 * manual/install.texi: Include pkgvers.texi.
20582 (--with-pkgversion): Document new configure option.
20583 (--with-bugurl): Likewise.
20584 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20585 than necessarily for this particular distribution. Use
20586 REPORT_BUGS_TO for where to report bugs.
20587 * INSTALL: Regenerated.
20588 * manual/libc.texinfo: Include pkgvers.texi.
20589 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20590 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20591 (print_version): Use PKGVERSION.
20592 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20593 (print_version): Use PKGVERSION.
20594 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20595 (print_version): Use PKGVERSION.
20596 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20597 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20598 macro.
20599 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20600 (print_version): Use PKGVERSION.
20601 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20602 (print_version): Use PKGVERSION.
20603 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20604 and PKGVERSION.
20605
92e4b6a9
JM
20606 * timezone/checktab.awk: Update from tzcode 2012i.
20607 * timezone/ialloc.c: Likewise.
20608 * timezone/private.h: Likewise.
20609 * timezone/scheck.c: Likewise.
20610 * timezone/tzfile.h: Likewise.
20611 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20612 (TZVERSION): Hardcode tzcode version number.
20613 * timezone/zdump.c: Update from tzcode 2012i.
20614 * timezone/zic.c: Likewise.
20615 * timezone/version.h: New file.
20616 * timezone/README: Describe version.h. Update upstream location.
20617
9bde902c
JM
20618 [BZ #14824]
20619 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20620 (mktemp): Enable declaration.
20621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20625 Likewise.
20626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20627 Likewise.
20628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20629 Likewise.
20630 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20631 Likewise.
20632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20633 Likewise.
20634 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20635 Likewise.
20636
fb1ae1ee
JM
20637 [BZ #14821]
20638 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20639 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20640 for copies of such integer values.
20641 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20642 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20643
2c1adbcb
AJ
206442012-11-09 Andreas Jaeger <aj@suse.de>
20645
20646 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20647 definitions and declarations that are provided by
20648 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20649
d0f8457e
AK
206502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20651
3a235abb 20652 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20653 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20654 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20655 definition.
20656
57241e26
MS
206572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20658
20659 * elf/elf.h: Update comment before AArch64 relocations.
20660
60e8270d
DM
206612012-11-07 David S. Miller <davem@davemloft.net>
20662
20663 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20664 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20665 (__start_context): Declare.
20666 (__makecontext_ret): Delete.
20667 (__makecontext): Hook up __start_context instead of
20668 __makecontext_ret.
20669 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20670 (sysdep_routines): Add __start_context when in stdlib.
20671
0fbb0fbc
JM
206722012-11-07 Joseph Myers <joseph@codesourcery.com>
20673
20674 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20675 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20676 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20677 hardcoded "nm".
20678 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20679 (READELF): New variable. Use it instead of hardcoded "readelf".
20680
eb48db7e
L
206812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20682
20683 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20684 * sysdeps/x86/Makefile: Here.
20685 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20686 * sysdeps/x86/tst-xmmymm.sh: This.
20687
05bcf62a
JM
206882012-11-07 Joseph Myers <joseph@codesourcery.com>
20689
c4b6cf53
JM
20690 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20691 expectations.
20692 [UNIX98] (pthread_barrier_t): Do not expect.
20693 [UNIX98] (pthread_barrierattr_t): Likewise.
20694 [UNIX98] (pthread_spinlock_t): Likewise.
20695 [UNIX98] (pthread_barrier_destroy): Likewise.
20696 [UNIX98] (pthread_barrier_init): Likewise.
20697 [UNIX98] (pthread_barrier_wait): Likewise.
20698 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20699 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20700 [UNIX98] (pthread_barrierattr_init): Likewise.
20701 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20702 [UNIX98] (pthread_getcpuclockid): Likewise.
20703 [UNIX98] (pthread_mutex_timedlock): Likewise.
20704 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20705 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20706 [UNIX98] (pthread_sigmask): Likewise.
20707 [UNIX98] (pthread_spin_destroy): Likewise.
20708 [UNIX98] (pthread_spin_init): Likewise.
20709 [UNIX98] (pthread_spin_lock): Likewise.
20710 [UNIX98] (pthread_spin_trylock): Likewise.
20711 [UNIX98] (pthread_spin_unlock): Likewise.
20712 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20713 Do not expect.
20714 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20715 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20716 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20717 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20718 [XPG3 || XPG4] (pthread_key_t): Likewise.
20719 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20720 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20721 [XPG3 || XPG4] (pthread_once_t): Likewise.
20722 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20723 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20724 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20725 [XPG3 || XPG4] (pthread_t): Likewise.
20726
cbe6e120
JM
20727 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20728 not expect.
20729 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20730
1b126443
JM
20731 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20732 Change function return type to int.
20733
b961a573
JM
20734 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20735 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20736 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20737 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20738 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20739 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20740 [!POSIX] (posix_madvise): Likewise.
20741 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20742 && !UNIX98].
20743 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20744 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20745 (mode_t): Likewise.
20746 (posix_mem_offset): Likewise.
20747 (posix_typed_mem_get_info): Likewise.
20748 (posix_typed_mem_open): Likewise.
20749
9e188909
JM
20750 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20751 Change condition to [XOPEN2K8].
20752
05bcf62a
JM
20753 * conform/conformtest.pl: Preprocess allow-header data with -x c
20754 instead of from stdin.
20755 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20756 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20757 [C99-based standards] (cerfc): Likewise.
20758 [C99-based standards] (cexp2): Likewise.
20759 [C99-based standards] (cexpm1): Likewise.
20760 [C99-based standards] (clog10): Likewise.
20761 [C99-based standards] (clog1p): Likewise.
20762 [C99-based standards] (clog2): Likewise.
20763 [C99-based standards] (clgamma): Likewise.
20764 [C99-based standards] (ctgamma): Likewise.
20765 [C99-based standards] (cerff): Likewise.
20766 [C99-based standards] (cerfcf): Likewise.
20767 [C99-based standards] (cexp2f): Likewise.
20768 [C99-based standards] (cexpm1f): Likewise.
20769 [C99-based standards] (clog10f): Likewise.
20770 [C99-based standards] (clog1pf): Likewise.
20771 [C99-based standards] (clog2f): Likewise.
20772 [C99-based standards] (clgammaf): Likewise.
20773 [C99-based standards] (ctgammaf): Likewise.
20774 [C99-based standards] (cerfl): Likewise.
20775 [C99-based standards] (cerfcl): Likewise.
20776 [C99-based standards] (cexp2l): Likewise.
20777 [C99-based standards] (cexpm1l): Likewise.
20778 [C99-based standards] (clog10l): Likewise.
20779 [C99-based standards] (clog1pl): Likewise.
20780 [C99-based standards] (clog2l): Likewise.
20781 [C99-based standards] (clgammal): Likewise.
20782 [C99-based standards] (ctgammal): Likewise.
20783 * conform/data/inttypes.h-data [C99-based standards]: Include
20784 stdint.h-data. Remove all expectations for stdint.h contents.
20785 [C99-based standards] (PRI*): Do not allow.
20786 [C99-based standards] (SCN*): Likewise.
20787 [C99-based standards] (*_t): Likewise.
20788 [C99-based-standards] (PRId8): Expect macro.
20789 [C99-based-standards] (PRIi8): Likewise.
20790 [C99-based-standards] (PRIo8): Likewise.
20791 [C99-based-standards] (PRIu8): Likewise.
20792 [C99-based-standards] (PRIx8): Likewise.
20793 [C99-based-standards] (PRIX8): Likewise.
20794 [C99-based-standards] (SCNd8): Likewise.
20795 [C99-based-standards] (SCNi8): Likewise.
20796 [C99-based-standards] (SCNo8): Likewise.
20797 [C99-based-standards] (SCNu8): Likewise.
20798 [C99-based-standards] (SCNx8): Likewise.
20799 [C99-based-standards] (PRIdLEAST8): Likewise.
20800 [C99-based-standards] (PRIiLEAST8): Likewise.
20801 [C99-based-standards] (PRIoLEAST8): Likewise.
20802 [C99-based-standards] (PRIuLEAST8): Likewise.
20803 [C99-based-standards] (PRIxLEAST8): Likewise.
20804 [C99-based-standards] (PRIXLEAST8): Likewise.
20805 [C99-based-standards] (SCNdLEAST8): Likewise.
20806 [C99-based-standards] (SCNiLEAST8): Likewise.
20807 [C99-based-standards] (SCNoLEAST8): Likewise.
20808 [C99-based-standards] (SCNuLEAST8): Likewise.
20809 [C99-based-standards] (SCNxLEAST8): Likewise.
20810 [C99-based-standards] (PRIdFAST8): Likewise.
20811 [C99-based-standards] (PRIiFAST8): Likewise.
20812 [C99-based-standards] (PRIoFAST8): Likewise.
20813 [C99-based-standards] (PRIuFAST8): Likewise.
20814 [C99-based-standards] (PRIxFAST8): Likewise.
20815 [C99-based-standards] (PRIXFAST8): Likewise.
20816 [C99-based-standards] (SCNdFAST8): Likewise.
20817 [C99-based-standards] (SCNiFAST8): Likewise.
20818 [C99-based-standards] (SCNoFAST8): Likewise.
20819 [C99-based-standards] (SCNuFAST8): Likewise.
20820 [C99-based-standards] (SCNxFAST8): Likewise.
20821 [C99-based-standards] (PRId16): Likewise.
20822 [C99-based-standards] (PRIi16): Likewise.
20823 [C99-based-standards] (PRIo16): Likewise.
20824 [C99-based-standards] (PRIu16): Likewise.
20825 [C99-based-standards] (PRIx16): Likewise.
20826 [C99-based-standards] (PRIX16): Likewise.
20827 [C99-based-standards] (SCNd16): Likewise.
20828 [C99-based-standards] (SCNi16): Likewise.
20829 [C99-based-standards] (SCNo16): Likewise.
20830 [C99-based-standards] (SCNu16): Likewise.
20831 [C99-based-standards] (SCNx16): Likewise.
20832 [C99-based-standards] (PRIdLEAST16): Likewise.
20833 [C99-based-standards] (PRIiLEAST16): Likewise.
20834 [C99-based-standards] (PRIoLEAST16): Likewise.
20835 [C99-based-standards] (PRIuLEAST16): Likewise.
20836 [C99-based-standards] (PRIxLEAST16): Likewise.
20837 [C99-based-standards] (PRIXLEAST16): Likewise.
20838 [C99-based-standards] (SCNdLEAST16): Likewise.
20839 [C99-based-standards] (SCNiLEAST16): Likewise.
20840 [C99-based-standards] (SCNoLEAST16): Likewise.
20841 [C99-based-standards] (SCNuLEAST16): Likewise.
20842 [C99-based-standards] (SCNxLEAST16): Likewise.
20843 [C99-based-standards] (PRIdFAST16): Likewise.
20844 [C99-based-standards] (PRIiFAST16): Likewise.
20845 [C99-based-standards] (PRIoFAST16): Likewise.
20846 [C99-based-standards] (PRIuFAST16): Likewise.
20847 [C99-based-standards] (PRIxFAST16): Likewise.
20848 [C99-based-standards] (PRIXFAST16): Likewise.
20849 [C99-based-standards] (SCNdFAST16): Likewise.
20850 [C99-based-standards] (SCNiFAST16): Likewise.
20851 [C99-based-standards] (SCNoFAST16): Likewise.
20852 [C99-based-standards] (SCNuFAST16): Likewise.
20853 [C99-based-standards] (SCNxFAST16): Likewise.
20854 [C99-based-standards] (PRId32): Likewise.
20855 [C99-based-standards] (PRIi32): Likewise.
20856 [C99-based-standards] (PRIo32): Likewise.
20857 [C99-based-standards] (PRIu32): Likewise.
20858 [C99-based-standards] (PRIx32): Likewise.
20859 [C99-based-standards] (PRIX32): Likewise.
20860 [C99-based-standards] (SCNd32): Likewise.
20861 [C99-based-standards] (SCNi32): Likewise.
20862 [C99-based-standards] (SCNo32): Likewise.
20863 [C99-based-standards] (SCNu32): Likewise.
20864 [C99-based-standards] (SCNx32): Likewise.
20865 [C99-based-standards] (PRIdLEAST32): Likewise.
20866 [C99-based-standards] (PRIiLEAST32): Likewise.
20867 [C99-based-standards] (PRIoLEAST32): Likewise.
20868 [C99-based-standards] (PRIuLEAST32): Likewise.
20869 [C99-based-standards] (PRIxLEAST32): Likewise.
20870 [C99-based-standards] (PRIXLEAST32): Likewise.
20871 [C99-based-standards] (SCNdLEAST32): Likewise.
20872 [C99-based-standards] (SCNiLEAST32): Likewise.
20873 [C99-based-standards] (SCNoLEAST32): Likewise.
20874 [C99-based-standards] (SCNuLEAST32): Likewise.
20875 [C99-based-standards] (SCNxLEAST32): Likewise.
20876 [C99-based-standards] (PRIdFAST32): Likewise.
20877 [C99-based-standards] (PRIiFAST32): Likewise.
20878 [C99-based-standards] (PRIoFAST32): Likewise.
20879 [C99-based-standards] (PRIuFAST32): Likewise.
20880 [C99-based-standards] (PRIxFAST32): Likewise.
20881 [C99-based-standards] (PRIXFAST32): Likewise.
20882 [C99-based-standards] (SCNdFAST32): Likewise.
20883 [C99-based-standards] (SCNiFAST32): Likewise.
20884 [C99-based-standards] (SCNoFAST32): Likewise.
20885 [C99-based-standards] (SCNuFAST32): Likewise.
20886 [C99-based-standards] (SCNxFAST32): Likewise.
20887 [C99-based-standards] (PRId64): Likewise.
20888 [C99-based-standards] (PRIi64): Likewise.
20889 [C99-based-standards] (PRIo64): Likewise.
20890 [C99-based-standards] (PRIu64): Likewise.
20891 [C99-based-standards] (PRIx64): Likewise.
20892 [C99-based-standards] (PRIX64): Likewise.
20893 [C99-based-standards] (SCNd64): Likewise.
20894 [C99-based-standards] (SCNi64): Likewise.
20895 [C99-based-standards] (SCNo64): Likewise.
20896 [C99-based-standards] (SCNu64): Likewise.
20897 [C99-based-standards] (SCNx64): Likewise.
20898 [C99-based-standards] (PRIdLEAST64): Likewise.
20899 [C99-based-standards] (PRIiLEAST64): Likewise.
20900 [C99-based-standards] (PRIoLEAST64): Likewise.
20901 [C99-based-standards] (PRIuLEAST64): Likewise.
20902 [C99-based-standards] (PRIxLEAST64): Likewise.
20903 [C99-based-standards] (PRIXLEAST64): Likewise.
20904 [C99-based-standards] (SCNdLEAST64): Likewise.
20905 [C99-based-standards] (SCNiLEAST64): Likewise.
20906 [C99-based-standards] (SCNoLEAST64): Likewise.
20907 [C99-based-standards] (SCNuLEAST64): Likewise.
20908 [C99-based-standards] (SCNxLEAST64): Likewise.
20909 [C99-based-standards] (PRIdFAST64): Likewise.
20910 [C99-based-standards] (PRIiFAST64): Likewise.
20911 [C99-based-standards] (PRIoFAST64): Likewise.
20912 [C99-based-standards] (PRIuFAST64): Likewise.
20913 [C99-based-standards] (PRIxFAST64): Likewise.
20914 [C99-based-standards] (PRIXFAST64): Likewise.
20915 [C99-based-standards] (SCNdFAST64): Likewise.
20916 [C99-based-standards] (SCNiFAST64): Likewise.
20917 [C99-based-standards] (SCNoFAST64): Likewise.
20918 [C99-based-standards] (SCNuFAST64): Likewise.
20919 [C99-based-standards] (SCNxFAST64): Likewise.
20920 [C99-based-standards] (PRIdMAX): Likewise.
20921 [C99-based-standards] (PRIiMAX): Likewise.
20922 [C99-based-standards] (PRIoMAX): Likewise.
20923 [C99-based-standards] (PRIuMAX): Likewise.
20924 [C99-based-standards] (PRIxMAX): Likewise.
20925 [C99-based-standards] (PRIXMAX): Likewise.
20926 [C99-based-standards] (SCNdMAX): Likewise.
20927 [C99-based-standards] (SCNiMAX): Likewise.
20928 [C99-based-standards] (SCNoMAX): Likewise.
20929 [C99-based-standards] (SCNuMAX): Likewise.
20930 [C99-based-standards] (SCNxMAX): Likewise.
20931 [C99-based-standards] (PRIdPTR): Likewise.
20932 [C99-based-standards] (PRIiPTR): Likewise.
20933 [C99-based-standards] (PRIoPTR): Likewise.
20934 [C99-based-standards] (PRIuPTR): Likewise.
20935 [C99-based-standards] (PRIxPTR): Likewise.
20936 [C99-based-standards] (PRIXPTR): Likewise.
20937 [C99-based-standards] (SCNdPTR): Likewise.
20938 [C99-based-standards] (SCNiPTR): Likewise.
20939 [C99-based-standards] (SCNoPTR): Likewise.
20940 [C99-based-standards] (SCNuPTR): Likewise.
20941 [C99-based-standards] (SCNxPTR): Likewise.
20942 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20943 allow.
20944 * conform/data/stdint.h-data: Update comments to clarify
20945 requirements.
20946 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20947 type.
20948 [C99-based standards] (INT8_MAX): Likewise.
20949 [C99-based standards] (INT16_MIN): Likewise.
20950 [C99-based standards] (INT16_MAX): Likewise.
20951 [C99-based standards] (INT32_MIN): Likewise.
20952 [C99-based standards] (INT32_MAX): Likewise.
20953 [C99-based standards] (INT64_MIN): Likewise.
20954 [C99-based standards] (INT64_MAX): Likewise.
20955 [C99-based standards] (UINT8_MAX): Likewise.
20956 [C99-based standards] (UINT16_MAX): Likewise.
20957 [C99-based standards] (UINT32_MAX): Likewise.
20958 [C99-based standards] (UINT64_MAX): Likewise.
20959 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20960 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20961 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20962 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20963 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20964 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20965 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20966 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20967 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20968 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20969 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20970 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20971 [C99-based standards] (INT_FAST8_MIN): Likewise.
20972 [C99-based standards] (INT_FAST8_MAX): Likewise.
20973 [C99-based standards] (INT_FAST16_MIN): Likewise.
20974 [C99-based standards] (INT_FAST16_MAX): Likewise.
20975 [C99-based standards] (INT_FAST32_MIN): Likewise.
20976 [C99-based standards] (INT_FAST32_MAX): Likewise.
20977 [C99-based standards] (INT_FAST64_MIN): Likewise.
20978 [C99-based standards] (INT_FAST64_MAX): Likewise.
20979 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20980 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20981 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20982 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20983 [C99-based standards] (INTPTR_MIN): Likewise.
20984 [C99-based standards] (INTPTR_MAX): Likewise.
20985 [C99-based standards] (UINTPTR_MAX): Likewise.
20986 [C99-based standards] (INTMAX_MIN): Likewise.
20987 [C99-based standards] (INTMAX_MAX): Likewise.
20988 [C99-based standards] (UINTMAX_MAX): Likewise.
20989 [C99-based standards] (PTRDIFF_MIN): Likewise.
20990 [C99-based standards] (PTRDIFF_MAX): Likewise.
20991 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20992 [C99-based standards] (SIZE_MAX): Likewise.
20993 [C99-based standards] (WCHAR_MAX): Likewise.
20994 [C99-based standards] (WINT_MAX): Likewise.
20995 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20996 constraint on value.
20997 [C99-based standards] (WCHAR_MIN): Likewise.
20998 [C99-based standards] (WINT_MIN): Likewise.
20999 [C99-based standards] (*_t): Allow.
21000 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21001 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21002 Include math.h-data and complex.h-data. Remove all expectations
21003 of math.h and complex.h contents.
21004 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21005 at end of line.
21006 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21007 (struct tm): Expect tag.
21008 [C99-based-standards] (wcstof): Expect function.
21009 [C99-based-standards] (wcstold): Likewise.
21010 [C99-based-standards] (wcstoll): Likewise.
21011 [C99-based-standards] (wcstoull): Likewise.
21012 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21013 macro-int-constant. Specify type.
21014 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21015 constraint on value.
21016 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21017 Specify type.
21018 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21019 Specify value.
21020 [ISO C standards]: Do not allow headers.
21021 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21022 wcs[abcdefghijklmnopqrstuvwxyz]*.
21023 [ISO C standards] (*_t): Do not allow.
21024 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21025 Expect function.
21026 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21027 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21028 Specify type.
21029 [ISO C standards]: Do not allow headers.
21030 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21031 is[abcdefghijklmnopqrstuvwxyz]*.
21032 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21033 to[abcdefghijklmnopqrstuvwxyz]*.
21034 [ISO C standards] (*_t): Do not allow.
21035 * conform/data/stdalign.h-data: New file.
21036 * conform/data/stdbool.h-data: Likewise.
21037 * conform/data/stdnoreturn.h-data: Likewise.
21038
7514feb8
RM
210392012-11-07 Roland McGrath <roland@hack.frob.com>
21040
21041 [BZ #14815]
21042 * manual/filesys.texi (Directory Entries): Typo fix.
21043 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21044
19b2ecfc
MS
210452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21046
21047 * elf/elf.h (EM_AARCH64): New macro.
21048 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21049 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21050 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21051 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21052 (R_AARCH64_TLSDESC): Likewise.
21053 (NT_ARM_TLS): Likewise.
21054 (NT_ARM_HW_BREAK): Likewise.
21055 (NT_ARM_HW_WATCH): Likewise.
21056
60e235ee
JM
210572012-11-07 Joseph Myers <joseph@codesourcery.com>
21058
21059 [BZ #14811]
21060 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21061 (__ieee754_powl): Saturate nonzero exponents with absolute value
21062 below 0x1p-79 to +/- 0x1p-79.
21063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21064 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21065 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21066 nonzero exponents with absolute value below 0x1p-32 to +/-
21067 0x1p-32.
21068 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21069 (__ieee754_powl): Saturate nonzero exponents with absolute value
21070 below 0x1p-79 to +/- 0x1p-79.
21071 * math/libm-test.inc (pow_test): Add more tests.
21072
0ab234b7
AK
210732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21074
21075 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21076 _dl_s390_cap_flags with kernel. Increase string length.
21077 (_dl_s390_platforms): Add z196 and zEC12.
21078
45832f74
JM
210792012-11-07 Joseph Myers <joseph@codesourcery.com>
21080
21081 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21082 Change XOPEN21K to XOPEN2K.
21083
19218757
MK
210842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21085
21086 * string/memmove.c: Use memcpy when possible.
21087
c5f45721
AJ
210882012-11-06 Andreas Jaeger <aj@suse.de>
21089
21090 * po/eo.po: Update from translation team.
21091
82477c28
JM
210922012-11-06 Joseph Myers <joseph@codesourcery.com>
21093
21094 [BZ #14793]
21095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21096 exponent and small x and y exponents, scale x or y up. Increase
21097 by 2 the exponent used in scaling up.
21098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21100 * math/libm-test.inc (fma_test): Add more tests.
21101 (fma_test_towardzero): Likewise.
21102 (fma_test_downward): Likewise.
21103 (fma_test_upward): Likewise.
21104
99252c8c
JM
211052012-11-05 Joseph Myers <joseph@codesourcery.com>
21106
acfa885f
JM
21107 [BZ #14805]
21108 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21109 fenv_t *.
21110
99252c8c
JM
21111 [BZ #14801]
21112 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21113 namespace for names of struct fields.
21114 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21115 fenv_t fields.
21116 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21117 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21118
d6d98dea
ST
211192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21120
21121 [BZ #3665]
21122 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21123
e10bb107
TS
211242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21125
21126 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21127 PTR_DEMANGLE.
21128
21129 [BZ #5246]
21130 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21131 PTR_DEMANGLE.
21132
a0c2940d
JM
211332012-11-04 Joseph Myers <joseph@codesourcery.com>
21134
21135 [BZ #14797]
21136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21137 definitely overflow as x * y not x * y + z.
21138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21140 * math/libm-test.inc (fma_test): Add more tests.
21141 (fma_test_towardzero): Likewise.
21142 (fma_test_downward): Likewise.
21143 (fma_test_upward): Likewise.
21144
b830319d
TS
211452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21146
21147 [BZ #157]
21148
21149 * include/stub-tag.h: Remove file.
21150 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21151 '#include' of it.
21152 * manual/maint.texi (Porting): Don't reference it.
21153 * Makerules ($(objpfx)stubs): Likewise.
21154 * dirent/closedir.c: Don't include <stub-tag.h>.
21155 * dirent/dirfd.c: Likewise.
21156 * dirent/fdopendir.c: Likewise.
21157 * dirent/getdents.c: Likewise.
21158 * dirent/getdents64.c: Likewise.
21159 * dirent/opendir.c: Likewise.
21160 * dirent/readdir.c: Likewise.
21161 * dirent/readdir64.c: Likewise.
21162 * dirent/readdir64_r.c: Likewise.
21163 * dirent/readdir_r.c: Likewise.
21164 * dirent/rewinddir.c: Likewise.
21165 * dirent/seekdir.c: Likewise.
21166 * dirent/telldir.c: Likewise.
21167 * gmon/profil.c: Likewise.
21168 * grp/setgroups.c: Likewise.
21169 * inet/if_index.c: Likewise.
21170 * io/access.c: Likewise.
21171 * io/chdir.c: Likewise.
21172 * io/chmod.c: Likewise.
21173 * io/chown.c: Likewise.
21174 * io/close.c: Likewise.
21175 * io/dup.c: Likewise.
21176 * io/dup2.c: Likewise.
21177 * io/dup3.c: Likewise.
21178 * io/euidaccess.c: Likewise.
21179 * io/faccessat.c: Likewise.
21180 * io/fchdir.c: Likewise.
21181 * io/fchmod.c: Likewise.
21182 * io/fchmodat.c: Likewise.
21183 * io/fchown.c: Likewise.
21184 * io/fchownat.c: Likewise.
21185 * io/fcntl.c: Likewise.
21186 * io/flock.c: Likewise.
21187 * io/fstatfs.c: Likewise.
21188 * io/fstatfs64.c: Likewise.
21189 * io/fstatvfs.c: Likewise.
21190 * io/fstatvfs64.c: Likewise.
21191 * io/futimens.c: Likewise.
21192 * io/fxstat.c: Likewise.
21193 * io/fxstat64.c: Likewise.
21194 * io/fxstatat.c: Likewise.
21195 * io/fxstatat64.c: Likewise.
21196 * io/getcwd.c: Likewise.
21197 * io/isatty.c: Likewise.
21198 * io/lchmod.c: Likewise.
21199 * io/lchown.c: Likewise.
21200 * io/link.c: Likewise.
21201 * io/linkat.c: Likewise.
21202 * io/lseek.c: Likewise.
21203 * io/lseek64.c: Likewise.
21204 * io/lxstat64.c: Likewise.
21205 * io/mkdir.c: Likewise.
21206 * io/mkdirat.c: Likewise.
21207 * io/mkfifo.c: Likewise.
21208 * io/mkfifoat.c: Likewise.
21209 * io/open.c: Likewise.
21210 * io/open64.c: Likewise.
21211 * io/openat.c: Likewise.
21212 * io/openat64.c: Likewise.
21213 * io/pipe.c: Likewise.
21214 * io/pipe2.c: Likewise.
21215 * io/poll.c: Likewise.
21216 * io/posix_fadvise.c: Likewise.
21217 * io/posix_fadvise64.c: Likewise.
21218 * io/posix_fallocate.c: Likewise.
21219 * io/posix_fallocate64.c: Likewise.
21220 * io/read.c: Likewise.
21221 * io/readlink.c: Likewise.
21222 * io/readlinkat.c: Likewise.
21223 * io/rmdir.c: Likewise.
21224 * io/sendfile.c: Likewise.
21225 * io/sendfile64.c: Likewise.
21226 * io/statfs.c: Likewise.
21227 * io/statfs64.c: Likewise.
21228 * io/statvfs.c: Likewise.
21229 * io/statvfs64.c: Likewise.
21230 * io/symlink.c: Likewise.
21231 * io/symlinkat.c: Likewise.
21232 * io/ttyname.c: Likewise.
21233 * io/ttyname_r.c: Likewise.
21234 * io/umask.c: Likewise.
21235 * io/unlink.c: Likewise.
21236 * io/unlinkat.c: Likewise.
21237 * io/utime.c: Likewise.
21238 * io/utimensat.c: Likewise.
21239 * io/write.c: Likewise.
21240 * io/xmknod.c: Likewise.
21241 * io/xmknodat.c: Likewise.
21242 * io/xstat.c: Likewise.
21243 * io/xstat64.c: Likewise.
21244 * login/getpt.c: Likewise.
21245 * login/grantpt.c: Likewise.
21246 * login/unlockpt.c: Likewise.
21247 * math/e_acoshl.c: Likewise.
21248 * math/e_acosl.c: Likewise.
21249 * math/e_asinl.c: Likewise.
21250 * math/e_atan2l.c: Likewise.
21251 * math/e_atanhl.c: Likewise.
21252 * math/e_coshl.c: Likewise.
21253 * math/e_expl.c: Likewise.
21254 * math/e_fmodl.c: Likewise.
21255 * math/e_gammal_r.c: Likewise.
21256 * math/e_hypotl.c: Likewise.
21257 * math/e_j0l.c: Likewise.
21258 * math/e_j1l.c: Likewise.
21259 * math/e_jnl.c: Likewise.
21260 * math/e_lgammal_r.c: Likewise.
21261 * math/e_log10l.c: Likewise.
21262 * math/e_log2l.c: Likewise.
21263 * math/e_logl.c: Likewise.
21264 * math/e_powl.c: Likewise.
21265 * math/e_rem_pio2l.c: Likewise.
21266 * math/e_sinhl.c: Likewise.
21267 * math/e_sqrtl.c: Likewise.
21268 * math/fclrexcpt.c: Likewise.
21269 * math/fedisblxcpt.c: Likewise.
21270 * math/feenablxcpt.c: Likewise.
21271 * math/fegetenv.c: Likewise.
21272 * math/fegetexcept.c: Likewise.
21273 * math/fegetround.c: Likewise.
21274 * math/feholdexcpt.c: Likewise.
21275 * math/fesetenv.c: Likewise.
21276 * math/fesetround.c: Likewise.
21277 * math/feupdateenv.c: Likewise.
21278 * math/fgetexcptflg.c: Likewise.
21279 * math/fraiseexcpt.c: Likewise.
21280 * math/fsetexcptflg.c: Likewise.
21281 * math/ftestexcept.c: Likewise.
21282 * math/k_cosl.c: Likewise.
21283 * math/k_rem_pio2l.c: Likewise.
21284 * math/k_sinl.c: Likewise.
21285 * math/k_tanl.c: Likewise.
21286 * math/s_asinhl.c: Likewise.
21287 * math/s_atanl.c: Likewise.
21288 * math/s_cbrtl.c: Likewise.
21289 * math/s_erfl.c: Likewise.
21290 * math/s_expm1l.c: Likewise.
21291 * math/s_log1pl.c: Likewise.
21292 * math/s_tanhl.c: Likewise.
21293 * misc/acct.c: Likewise.
21294 * misc/brk.c: Likewise.
21295 * misc/chflags.c: Likewise.
21296 * misc/chroot.c: Likewise.
21297 * misc/fchflags.c: Likewise.
21298 * misc/fgetxattr.c: Likewise.
21299 * misc/flistxattr.c: Likewise.
21300 * misc/fremovexattr.c: Likewise.
21301 * misc/fsetxattr.c: Likewise.
21302 * misc/fsync.c: Likewise.
21303 * misc/ftruncate.c: Likewise.
21304 * misc/futimes.c: Likewise.
21305 * misc/futimesat.c: Likewise.
21306 * misc/getdomain.c: Likewise.
21307 * misc/getdtsz.c: Likewise.
21308 * misc/gethostid.c: Likewise.
21309 * misc/gethostname.c: Likewise.
21310 * misc/getloadavg.c: Likewise.
21311 * misc/getpagesize.c: Likewise.
21312 * misc/getsysstats.c: Likewise.
21313 * misc/getxattr.c: Likewise.
21314 * misc/gtty.c: Likewise.
21315 * misc/ioctl.c: Likewise.
21316 * misc/lgetxattr.c: Likewise.
21317 * misc/listxattr.c: Likewise.
21318 * misc/llistxattr.c: Likewise.
21319 * misc/lremovexattr.c: Likewise.
21320 * misc/lsetxattr.c: Likewise.
21321 * misc/lutimes.c: Likewise.
21322 * misc/madvise.c: Likewise.
21323 * misc/mincore.c: Likewise.
21324 * misc/mlock.c: Likewise.
21325 * misc/mlockall.c: Likewise.
21326 * misc/mmap.c: Likewise.
21327 * misc/mprotect.c: Likewise.
21328 * misc/msync.c: Likewise.
21329 * misc/munlock.c: Likewise.
21330 * misc/munlockall.c: Likewise.
21331 * misc/munmap.c: Likewise.
21332 * misc/preadv.c: Likewise.
21333 * misc/preadv64.c: Likewise.
21334 * misc/ptrace.c: Likewise.
21335 * misc/pwritev.c: Likewise.
21336 * misc/pwritev64.c: Likewise.
21337 * misc/readv.c: Likewise.
21338 * misc/reboot.c: Likewise.
21339 * misc/remap_file_pages.c: Likewise.
21340 * misc/removexattr.c: Likewise.
21341 * misc/revoke.c: Likewise.
21342 * misc/select.c: Likewise.
21343 * misc/setdomain.c: Likewise.
21344 * misc/setegid.c: Likewise.
21345 * misc/seteuid.c: Likewise.
21346 * misc/sethostid.c: Likewise.
21347 * misc/sethostname.c: Likewise.
21348 * misc/setregid.c: Likewise.
21349 * misc/setreuid.c: Likewise.
21350 * misc/setxattr.c: Likewise.
21351 * misc/sstk.c: Likewise.
21352 * misc/stty.c: Likewise.
21353 * misc/swapoff.c: Likewise.
21354 * misc/swapon.c: Likewise.
21355 * misc/sync.c: Likewise.
21356 * misc/syncfs.c: Likewise.
21357 * misc/syscall.c: Likewise.
21358 * misc/truncate.c: Likewise.
21359 * misc/ualarm.c: Likewise.
21360 * misc/usleep.c: Likewise.
21361 * misc/ustat.c: Likewise.
21362 * misc/utimes.c: Likewise.
21363 * misc/vhangup.c: Likewise.
21364 * misc/writev.c: Likewise.
21365 * posix/_exit.c: Likewise.
21366 * posix/alarm.c: Likewise.
21367 * posix/execve.c: Likewise.
21368 * posix/fexecve.c: Likewise.
21369 * posix/fork.c: Likewise.
21370 * posix/fpathconf.c: Likewise.
21371 * posix/getaddrinfo.c: Likewise.
21372 * posix/getegid.c: Likewise.
21373 * posix/geteuid.c: Likewise.
21374 * posix/getgid.c: Likewise.
21375 * posix/getgroups.c: Likewise.
21376 * posix/getlogin.c: Likewise.
21377 * posix/getlogin_r.c: Likewise.
21378 * posix/getpgid.c: Likewise.
21379 * posix/getpid.c: Likewise.
21380 * posix/getppid.c: Likewise.
21381 * posix/getresgid.c: Likewise.
21382 * posix/getresuid.c: Likewise.
21383 * posix/getsid.c: Likewise.
21384 * posix/getuid.c: Likewise.
21385 * posix/glob64.c: Likewise.
21386 * posix/nanosleep.c: Likewise.
21387 * posix/pathconf.c: Likewise.
21388 * posix/pause.c: Likewise.
21389 * posix/posix_madvise.c: Likewise.
21390 * posix/pread.c: Likewise.
21391 * posix/pread64.c: Likewise.
21392 * posix/pwrite.c: Likewise.
21393 * posix/pwrite64.c: Likewise.
21394 * posix/sched_getaffinity.c: Likewise.
21395 * posix/sched_getp.c: Likewise.
21396 * posix/sched_gets.c: Likewise.
21397 * posix/sched_primax.c: Likewise.
21398 * posix/sched_primin.c: Likewise.
21399 * posix/sched_rr_gi.c: Likewise.
21400 * posix/sched_setaffinity.c: Likewise.
21401 * posix/sched_setp.c: Likewise.
21402 * posix/sched_sets.c: Likewise.
21403 * posix/sched_yield.c: Likewise.
21404 * posix/setgid.c: Likewise.
21405 * posix/setlogin.c: Likewise.
21406 * posix/setpgid.c: Likewise.
21407 * posix/setresgid.c: Likewise.
21408 * posix/setresuid.c: Likewise.
21409 * posix/setsid.c: Likewise.
21410 * posix/setuid.c: Likewise.
21411 * posix/sleep.c: Likewise.
21412 * posix/spawni.c: Likewise.
21413 * posix/sysconf.c: Likewise.
21414 * posix/times.c: Likewise.
21415 * posix/wait.c: Likewise.
21416 * posix/wait3.c: Likewise.
21417 * posix/wait4.c: Likewise.
21418 * posix/waitpid.c: Likewise.
21419 * resolv/gai_sigqueue.c: Likewise.
21420 * resource/getpriority.c: Likewise.
21421 * resource/getrlimit.c: Likewise.
21422 * resource/getrusage.c: Likewise.
21423 * resource/nice.c: Likewise.
21424 * resource/setpriority.c: Likewise.
21425 * resource/setrlimit.c: Likewise.
21426 * resource/ulimit.c: Likewise.
21427 * rt/aio_cancel.c: Likewise.
21428 * rt/aio_fsync.c: Likewise.
21429 * rt/aio_read.c: Likewise.
21430 * rt/aio_sigqueue.c: Likewise.
21431 * rt/aio_suspend.c: Likewise.
21432 * rt/aio_write.c: Likewise.
21433 * rt/clock_getres.c: Likewise.
21434 * rt/clock_gettime.c: Likewise.
21435 * rt/clock_nanosleep.c: Likewise.
21436 * rt/clock_settime.c: Likewise.
21437 * rt/lio_listio.c: Likewise.
21438 * rt/mq_close.c: Likewise.
21439 * rt/mq_getattr.c: Likewise.
21440 * rt/mq_notify.c: Likewise.
21441 * rt/mq_open.c: Likewise.
21442 * rt/mq_receive.c: Likewise.
21443 * rt/mq_send.c: Likewise.
21444 * rt/mq_setattr.c: Likewise.
21445 * rt/mq_timedreceive.c: Likewise.
21446 * rt/mq_timedsend.c: Likewise.
21447 * rt/mq_unlink.c: Likewise.
21448 * rt/shm_open.c: Likewise.
21449 * rt/shm_unlink.c: Likewise.
21450 * rt/timer_create.c: Likewise.
21451 * rt/timer_delete.c: Likewise.
21452 * rt/timer_getoverr.c: Likewise.
21453 * rt/timer_gettime.c: Likewise.
21454 * rt/timer_settime.c: Likewise.
21455 * setjmp/__longjmp.c: Likewise.
21456 * setjmp/setjmp.c: Likewise.
21457 * signal/kill.c: Likewise.
21458 * signal/killpg.c: Likewise.
21459 * signal/raise.c: Likewise.
21460 * signal/sigaction.c: Likewise.
21461 * signal/sigaltstack.c: Likewise.
21462 * signal/sigblock.c: Likewise.
21463 * signal/sigignore.c: Likewise.
21464 * signal/sigintr.c: Likewise.
21465 * signal/signal.c: Likewise.
21466 * signal/sigpause.c: Likewise.
21467 * signal/sigpending.c: Likewise.
21468 * signal/sigqueue.c: Likewise.
21469 * signal/sigreturn.c: Likewise.
21470 * signal/sigset.c: Likewise.
21471 * signal/sigsetmask.c: Likewise.
21472 * signal/sigstack.c: Likewise.
21473 * signal/sigsuspend.c: Likewise.
21474 * signal/sigtimedwait.c: Likewise.
21475 * signal/sigvec.c: Likewise.
21476 * signal/sigwait.c: Likewise.
21477 * signal/sigwaitinfo.c: Likewise.
21478 * signal/sysv_signal.c: Likewise.
21479 * socket/accept.c: Likewise.
21480 * socket/accept4.c: Likewise.
21481 * socket/bind.c: Likewise.
21482 * socket/connect.c: Likewise.
21483 * socket/getpeername.c: Likewise.
21484 * socket/getsockname.c: Likewise.
21485 * socket/getsockopt.c: Likewise.
21486 * socket/isfdtype.c: Likewise.
21487 * socket/listen.c: Likewise.
21488 * socket/recv.c: Likewise.
21489 * socket/recvfrom.c: Likewise.
21490 * socket/recvmsg.c: Likewise.
21491 * socket/send.c: Likewise.
21492 * socket/sendmsg.c: Likewise.
21493 * socket/sendto.c: Likewise.
21494 * socket/setsockopt.c: Likewise.
21495 * socket/shutdown.c: Likewise.
21496 * socket/sockatmark.c: Likewise.
21497 * socket/socket.c: Likewise.
21498 * socket/socketpair.c: Likewise.
21499 * stdio-common/ctermid.c: Likewise.
21500 * stdio-common/cuserid.c: Likewise.
21501 * stdio-common/remove.c: Likewise.
21502 * stdio-common/rename.c: Likewise.
21503 * stdio-common/renameat.c: Likewise.
21504 * stdio-common/tempname.c: Likewise.
21505 * stdlib/getcontext.c: Likewise.
21506 * stdlib/makecontext.c: Likewise.
21507 * stdlib/setcontext.c: Likewise.
21508 * stdlib/swapcontext.c: Likewise.
21509 * stdlib/system.c: Likewise.
21510 * streams/fattach.c: Likewise.
21511 * streams/fdetach.c: Likewise.
21512 * streams/getmsg.c: Likewise.
21513 * streams/getpmsg.c: Likewise.
21514 * streams/putmsg.c: Likewise.
21515 * streams/putpmsg.c: Likewise.
21516 * sysdeps/unix/bsd/getpt.c: Likewise.
21517 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21518 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21519 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21521 Likewise.
21522 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21523 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21524 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21525 * sysvipc/msgctl.c: Likewise.
21526 * sysvipc/msgget.c: Likewise.
21527 * sysvipc/msgrcv.c: Likewise.
21528 * sysvipc/msgsnd.c: Likewise.
21529 * sysvipc/semctl.c: Likewise.
21530 * sysvipc/semget.c: Likewise.
21531 * sysvipc/semop.c: Likewise.
21532 * sysvipc/semtimedop.c: Likewise.
21533 * sysvipc/shmat.c: Likewise.
21534 * sysvipc/shmctl.c: Likewise.
21535 * sysvipc/shmdt.c: Likewise.
21536 * sysvipc/shmget.c: Likewise.
21537 * termios/tcdrain.c: Likewise.
21538 * termios/tcflow.c: Likewise.
21539 * termios/tcflush.c: Likewise.
21540 * termios/tcgetattr.c: Likewise.
21541 * termios/tcgetpgrp.c: Likewise.
21542 * termios/tcsendbrk.c: Likewise.
21543 * termios/tcsetattr.c: Likewise.
21544 * termios/tcsetpgrp.c: Likewise.
21545 * time/adjtime.c: Likewise.
21546 * time/clock.c: Likewise.
21547 * time/getitimer.c: Likewise.
21548 * time/gettimeofday.c: Likewise.
21549 * time/setitimer.c: Likewise.
21550 * time/settimeofday.c: Likewise.
21551 * time/stime.c: Likewise.
21552 * time/time.c: Likewise.
21553
215542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21555
a20492cf
PT
21556 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21557 /usr/old/bin.
21558
72e182e3
PT
21559 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21560 instead of spaces.
21561 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21562
fbeafede
JM
215632012-11-03 Joseph Myers <joseph@codesourcery.com>
21564
5b5b04d6
JM
21565 [BZ #14796]
21566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21567 FE_TONEAREST before applying Dekker multiplication and Knuth
21568 addition. Clear inexact exceptions and check for exact zero
21569 results afterwards.
21570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21571 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21573 * math/libm-test.inc (fma_test): Add more tests.
21574 (fma_test_towardzero): Likewise.
21575 (fma_test_downward): Likewise.
21576 (fma_test_upward): Likewise.
21577 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21578 function.
21579 (libc_fesetround): New macro.
21580 (libc_fesetroundf): Likewise.
21581 (libc_fesetroundl): Likewise.
21582 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21583 function.
21584 (libc_fesetround_387): Likewise.
21585 (libc_fesetroundf): New macro.
21586 (libc_fesetround): Likewise.
21587 (libc_fesetroundl): Likewise.
21588 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21589 function.
21590 (libc_fesetroundf): New macro.
21591 (libc_fesetround): Likewise.
21592 (libc_fesetroundl): Likewise.
21593 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21594 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21595 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21596 libm_hidden_ver.
21597 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21598 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21599 libm_hidden_def.
21600 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21601 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21602 libm_hidden_ver.
21603 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21604 libm_hidden_def.
21605
fbeafede
JM
21606 [BZ #3439]
21607 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21608 integer constant usable in #if and use that to give value to enum
21609 constant.
21610 (FE_DIVBYZERO): Likewise.
21611 (FE_UNDERFLOW): Likewise.
21612 (FE_OVERFLOW): Likewise.
21613 (FE_INVALID): Likewise.
21614 (FE_INVALID_SNAN): Likewise.
21615 (FE_INVALID_ISI): Likewise.
21616 (FE_INVALID_IDI): Likewise.
21617 (FE_INVALID_ZDZ): Likewise.
21618 (FE_INVALID_IMZ): Likewise.
21619 (FE_INVALID_COMPARE): Likewise.
21620 (FE_INVALID_SOFTWARE): Likewise.
21621 (FE_INVALID_SQRT): Likewise.
21622 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21623 (FE_TONEAREST): Likewise.
21624 (FE_TOWARDZERO): Likewise.
21625 (FE_UPWARD): Likewise.
21626 (FE_DOWNWARD): Likewise.
21627 * sysdeps/s390/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 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21637 (FE_UNDERFLOW): Likewise.
21638 (FE_OVERFLOW): Likewise.
21639 (FE_DIVBYZERO): Likewise.
21640 (FE_INVALID): Likewise.
21641 (FE_TONEAREST): Likewise.
21642 (FE_TOWARDZERO): Likewise.
21643 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21644 (FE_OVERFLOW): Likewise.
21645 (FE_UNDERFLOW): Likewise.
21646 (FE_DIVBYZERO): Likewise.
21647 (FE_INEXACT): Likewise.
21648 (FE_TONEAREST): Likewise.
21649 (FE_TOWARDZERO): Likewise.
21650 (FE_UPWARD): Likewise.
21651 (FE_DOWNWARD): Likewise.
21652 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21653 (FE_DIVBYZERO): Likewise.
21654 (FE_OVERFLOW): Likewise.
21655 (FE_UNDERFLOW): Likewise.
21656 (FE_INEXACT): Likewise.
21657 (FE_TONEAREST): Likewise.
21658 (FE_DOWNWARD): Likewise.
21659 (FE_UPWARD): Likewise.
21660 (FE_TOWARDZERO): Likewise.
21661
105ca950
CM
216622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21663
21664 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21665
a542b389
AS
216662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21667
21668 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21669 commands. Quote $PWD.
21670 (blacklist_exports): Don't use remove_newlines. Replace "declare
21671 -x" by "export".
21672 (remove_newlines): Remove.
21673
f62c8abc
L
216742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21675
21676 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21677 * stdlib/stdlib.h (atof): Moved to ...
21678 * include/bits/stdlib-float.h: Here. New file.
21679 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21680 * stdlib/bits/stdlib-float.h: New file.
21681 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21682 -mno-sse -mno-mmx.
21683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21684 <xmmintrin.h>.
21685
0155d5b2
JM
216862012-11-02 Joseph Myers <joseph@codesourcery.com>
21687
a68d0680
JM
21688 * conform/conformtest.pl (@headers): Add fenv.h.
21689 * conform/data/fenv.h-data: New file.
21690 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21691 include of <math/fenv.h>.
21692
caf7f573
JM
21693 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21694 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21695 && !UNIX98]. Enables tests for XOPEN2K8.
21696 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21697 POSIX2008]: Likewise.
21698
6c073ad6
JM
21699 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21700 (struct rusage): Do not expect type or its members.
21701
0155d5b2
JM
21702 [BZ #3439]
21703 * math/math.h (FP_NAN): Define macro to integer constant usable in
21704 #if and use that to give value to enum constant.
21705 (FP_INFINITE): Likewise.
21706 (FP_ZERO): Likewise.
21707 (FP_SUBNORMAL): Likewise.
21708 (FP_NORMAL): Likewise.
21709
b5dcacb4
AS
217102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21711
21712 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21713 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21714 arguments.
21715
f7934be8
RM
217162012-11-02 Roland McGrath <roland@hack.frob.com>
21717
21718 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21719 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21720 autoconf-time if not.
21721 * configure.in: Remove AC_PREREQ.
21722
d7d08bde
TMQMF
217232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21724
21725 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21726 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21727 of the internal implementation.
21728
dcdae19a
JM
217292012-11-02 Joseph Myers <joseph@codesourcery.com>
21730
21731 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21732 except include of <misc/sys/syslog.h>.
21733
d6cffd3e
AS
217342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21735
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21737 function returns with a NULL context exit with zero.
21738
b3563932
TMQMF
217392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21740
21741 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21742
b288a93d
L
217432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21746 (run_program_cmd): This.
21747 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21748 (tst_langinfo): New variable. Use it.
21749
a2421a68
SAS
217502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21751
21752 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21753 floating point opcodes.
21754
6f796e1b
TS
217552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21756
7402596b
TS
21757 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21758 variable.
21759
d0d4f868
TS
21760 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21761
6f796e1b
TS
21762 * sysdeps/mach/hurd/powerpc: Remove directory.
21763 * sysdeps/mach/powerpc: Likewise.
21764
4da224a2
AS
217652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21766
21767 * scripts/check-local-headers.sh: Ignore c++ headers.
21768
341dd673
TS
217692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21770
21771 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21772 __libc_cleanup_region_start argument.
21773
473611b2
JM
217742012-11-01 Joseph Myers <joseph@codesourcery.com>
21775
21776 [BZ #14784]
21777 [BZ #14785]
21778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21779 x * y using scaling, not as x * y + z.
21780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21782 * math/libm-test.inc (fma_test): Add more tests.
21783 (fma_test_towardzero): Likewise.
21784 (fma_test_downward): Likewise.
21785 (fma_test_upward): Likewise.
21786
4078da3d
TS
217872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21788
21789 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21790
903252aa
JM
217912012-10-31 Joseph Myers <joseph@codesourcery.com>
21792
21793 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21794 New variable.
21795
cbc818d0
TS
217962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21797
21798 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21799
5a03cb1e
AS
218002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21801
21802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21803 Fix sort order.
21804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21805 Likewise.
21806
90aff2ff
TMQMF
218072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21808
21809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21810 Fix the order of the list for glibc 2.17.
21811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21812 Likewise.
21813
1818fcb7
AS
218142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21815
21816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21817
ef82f4da
JM
218182012-10-31 Joseph Myers <joseph@codesourcery.com>
21819
16a0e2ec
JM
21820 [BZ #14610]
21821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21822 for low part of x being zero before using __atanl (y).
21823 * math/libm-test.inc (atan2_test): Add another test.
21824
0eb69512
JM
21825 * manual/install.texi (Configuring and compiling): Document
21826 general use of test-wrapper and test-wrapper-env.
21827 * INSTALL: Regenerated.
21828
ef82f4da
JM
21829 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21830 (__fma): Do not extract and scale down low bits on after-rounding
21831 systems when result rounded to normal precision would have normal
21832 exponent.
21833 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21834 (__fmal): Do not extract and scale down low bits on after-rounding
21835 systems when result rounded to normal precision would have normal
21836 exponent.
21837 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21838 (__fmal): Do not extract and scale down low bits on after-rounding
21839 systems when result rounded to normal precision would have normal
21840 exponent.
21841 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21842 macro.
21843 (fma_test): Add more tests.
21844 (fma_test_towardzero): Likewise.
21845 (fma_test_downward): Likewise.
21846 (fma_test_upward): Likewise.
21847
954ef0d9
L
218482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21849
21850 * sysdeps/i386/tininess.h: Renamed to ...
21851 * sysdeps/x86/tininess.h: This.
21852 * sysdeps/x86_64/tininess.h: Removed.
21853
df61ffb2
JM
218542012-10-30 Joseph Myers <joseph@codesourcery.com>
21855
21856 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21857 input. Use $(build-program-cmd).
21858 ($(objpfx)tst-array1-static.out): Likewise.
21859 ($(objpfx)tst-array2.out): Likewise.
21860 ($(objpfx)tst-array3.out): Likewise.
21861 ($(objpfx)tst-array4.out): Likewise.
21862 ($(objpfx)tst-array5.out): Likewise.
21863 ($(objpfx)tst-array5-static.out): Likewise.
21864
01767843
CM
218652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21866
47cc1490
CM
21867 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21868 if defined.
21869
01767843
CM
21870 * nss/nsswitch.h (nss_interface_function): Provide new
21871 macro for use with NSS functions.
21872 * grp/initgroups.c: Use new macro.
21873 * nss/getXXbyYY.c: Likewise.
21874 * nss/getXXbyYY_r.c: Likewise.
21875 * nss/getXXent.c: Likewise.
21876 * nss/getXXent_r.c: Likewise.
21877 * sysdeps/posix/getaddrinfo.c: Likewise.
21878
8321aa97
AJ
218792012-10-30 Andreas Jaeger <aj@suse.de>
21880
21881 * po/ru.po: Update Russion translation from translation project.
21882
2a27fd6d
JM
218832012-10-30 Joseph Myers <joseph@codesourcery.com>
21884
8627a232
JM
21885 [BZ #14152]
21886 [BZ #14783]
21887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21888 result and shift together with sticky bit instead of replicating
21889 round-to-nearest rounding.
21890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21892 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21893 missing underflow exceptions.
21894 (fma_test_towardzero): Add more tests.
21895 (fma_test_downward): Likewise.
21896 (fma_test_upward): Likewise.
21897
2a27fd6d
JM
21898 [BZ #14047]
21899 * sysdeps/generic/tininess.h: New file.
21900 * sysdeps/i386/tininess.h: Likewise.
21901 * sysdeps/sh/tininess.h: Likewise.
21902 * sysdeps/x86_64/tininess.h: Likewise.
21903 * stdlib/tst-strtod-underflow.c: Likewise.
21904 * stdlib/tst-tininess.c: Likewise.
21905 * stdlib/strtod_l.c: Include <tininess.h>.
21906 (round_and_return): Do not set errno for exact underflow cases.
21907 Force an underflow exception when setting errno for underflow.
21908 Determine underflow based on rounding to normal precision if
21909 TININESS_AFTER_ROUNDING.
21910 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21911 ERANGE for exact underflow cases.
21912 * stdlib/Makefile (tests): Add tst-tininess and
21913 tst-strtod-underflow.
21914 ($(objpfx)tst-tininess): Use $(link-libm).
21915 ($(objpfx)tst-strtod-underflow): Likewise.
21916
e7170363
AJ
219172012-10-30 Andreas Jaeger <aj@suse.de>
21918
e5088dc6
AJ
21919 [BZ#14767]
21920 * elf/Makefile (tests): Remove conditional for have-initfini-array
21921 since this is now always required and the variable does not exist
21922 anymore.
21923 (tests-static): Likewise.
21924 (modules-names): Likewise.
21925
e7170363 21926 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21927
21928 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21929 merged with constructor/destructor.
21930 (init_array): Likewise.
21931 * elf/tst-array2dep.c (fini_array): Likewise.
21932 (init_array): Likewise.
21933
60457d8a
MF
219342012-10-29 Mike Frysinger <vapier@gentoo.org>
21935
21936 * manual/message.texi: Delete @cartouche tags.
21937
8bece752
PT
219382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21939
94ce799f
PT
21940 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21941 EOPNOTSUPP.
21942 * sysdeps/mach/hurd/fsync.c: Likewise.
21943
8bece752
PT
21944 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21945 [_POSIX_REALTIME_SIGNALS]: Change condition to
21946 [_POSIX_REALTIME_SIGNALS > 0].
21947
86ebe6b1
AJ
219482012-10-27 Andreas Jaeger <aj@suse.de>
21949
21950 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21951 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21953 [__WORDSIZE != 64]: Likewise.
21954
54399c08
L
219552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21956
21957 * iconvdata/tst-table.sh: Remove ${SHELL}.
21958 * iconvdata/tst-tables.sh: Likewise.
21959
e2211bed
DM
219602012-10-25 David S. Miller <davem@davemloft.net>
21961
21962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21963 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21964 of strtoull.
21965
f303f97c
DM
21966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21967 ifunc-impl-list.c
21968 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21969 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21970 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21971 file.
21972
1e9d84cd
RM
219732012-10-25 Roland McGrath <roland@hack.frob.com>
21974
21975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21976 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21977 __getdirentries.
21978
df381762
JM
219792012-10-25 Joseph Myers <joseph@codesourcery.com>
21980 Jim Blandy <jimb@codesourcery.com>
21981
21982 * scripts/cross-test-ssh.sh: New file.
21983 * manual/install.texi (Configuring and compiling): Document use of
21984 cross-test-ssh.sh.
21985 * INSTALL: Regenerated.
21986
bff64913
PT
219872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21988
21989 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21990 EOPNOTSUPP.
21991
25fe8932
JM
219922012-10-25 Joseph Myers <joseph@codesourcery.com>
21993
21994 * Makeconfig (run-program-prefix): Fix comment.
21995
cc1290d0
JM
219962012-10-24 Joseph Myers <joseph@codesourcery.com>
21997 Jim Blandy <jimb@codesourcery.com>
21998
21999 * Makeconfig (test-wrapper): New variable,
22000 (test-wrapper-env): Likewise.
22001 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22002 (run-built-tests): Define to yes.
22003 (run-program-prefix): Use $(test-wrapper).
22004 (built-program-cmd): Likewise.
22005 * Rules (make-test-out): Use $(test-wrapper-env) and
22006 $(host-built-program-cmd).
22007 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22008 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22009 tst-pathopt.sh.
22010 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22011 $(test-wrapper-env) to tst-rtld-load-self.sh.
22012 ($(objpfx)order2.out): Use $(test-wrapper).
22013 ($(objpfx)tst-initorder.out): Likewise.
22014 ($(objpfx)tst-initorder2.out): Likewise.
22015 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22016 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22017 (test_wrapper_env): New variable. Use it to run ld.so.
22018 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22019 Use it to run ld.so.
22020 (test_wrapper_env): Likewise.
22021 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22022 $(test-wrapper) to run-iconv-test.sh.
22023 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22024 (ICONV): Use $test_wrapper.
22025 * posix/Makefile ($(objpfx)globtest.out): Pass
22026 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22027 globtest.sh, not $(run-program-prefix).
22028 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22029 (test_wrapper): Likewise.
22030 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22031 set together with run_via_rtld_prefix.
22032 (run_program_prefix): Define in terms of test_wrapper and
22033 run_via_rtld_prefix.
22034
6e6249d0
RM
220352012-10-24 Roland McGrath <roland@hack.frob.com>
22036
22037 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22038 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22039 Targets removed.
22040
22041 [BZ #14743]
22042 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22043 Declare __clock_getres, __clock_gettime, __clock_settime,
22044 __clock_nanosleep, and __clock_getcpuclockid.
22045 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22046 Remove librt_hidden_def (clock_gettime).
22047 * sysdeps/unix/clock_gettime.c: Likewise.
22048 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22049 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22050 * rt/clock_getres.c: Define __clock_getres as an alias.
22051 * sysdeps/posix/clock_getres.c: Likewise.
22052 * rt/clock_settime.c: Define __clock_settime as an alias.
22053 * sysdeps/unix/clock_settime.c: Likewise.
22054 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22055 * sysdeps/unix/clock_nanosleep.c: Likewise.
22056 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22057 * rt/clock-compat.c: New file.
22058 * rt/Makefile (librt-routines): Add clock-compat and move
22059 $(clock-routines) to ...
22060 (routines): ... here, new variable.
22061 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22062 Don't add get_clockfreq here.
22063 * rt/Versions (libc: GLIBC_2.17): New version set.
22064 Add clock_* symbols here.
22065 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22066 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22067 (GLIBC_2.17): Add clock_* symbols.
22068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22072 Likewise.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22074 Likewise.
22075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22079 * NEWS: Mention the move.
22080
22081 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22082 Use __open, __read, __close rather than their public counterparts.
22083 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22084 (__get_clockfreq_via_cpuinfo): Likewise.
22085 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22086 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22087
22088 * config.h.in (HAVE_IFUNC): New #undef.
22089 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22090 was successful.
22091 * configure: Regenerated.
22092
0cae3f4b
MF
220932012-10-24 Mike Frysinger <vapier@gentoo.org>
22094
22095 * configure.in: Move READELF check to start of file.
22096 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22097 libc_cv_asm_gnu_indirect_function in the process.
22098 * configure: Regenerated.
22099
8175a253
MF
221002012-10-24 Mike Frysinger <vapier@gentoo.org>
22101
22102 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22103 send the output to /dev/null.
22104 (libc_cv_cc_with_libunwind): Likewise.
22105 (libc_cv_as_noexecstack): Likewise.
22106 * configure: Regenerate.
22107
0708a7d1
JM
221082012-10-24 Joseph Myers <joseph@codesourcery.com>
22109
10b40d85
JM
22110 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22111
0708a7d1
JM
22112 * posix/globtest.sh (TMPDIR): Do not set.
22113 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22114 (testout): Likewise.
22115
9fddec1a
AJ
221162012-10-24 Andreas Jaeger <aj@suse.de>
22117
3a8db22f
AJ
22118 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22119 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22120 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22121 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22122 posix_fadvise64, posix_fallocate64.
22123
9fddec1a
AJ
22124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22125 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22126 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22127 Likewise.
22128 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22129 Likewise.
22130 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22131
22132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22133 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22134 <bits/fcntl-linux.h>.
22135 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22136
22137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22138 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22139 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22140 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22141 [__WORDSIZE != 64]: Likewise.
22142
ebfd1bbd
JM
221432012-10-23 Joseph Myers <joseph@codesourcery.com>
22144
03ac099f
JM
22145 * Makeconfig (run-built-tests): New variable.
22146 * Rules [$(cross-compiling) = yes]: Change condition to
22147 [$(run-built-tests) = no].
22148 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22149 to [$(run-built-tests) = yes].
22150 * elf/Makefile [$(cross-compiling) = no]: Likewise
22151 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22152 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22153 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22154 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22155 * io/Makefile [$(cross-compiling) = no]: Likewise.
22156 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22157 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22158 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22159 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22160 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22161 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22162 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22163 * string/Makefile [$(cross-compiling) = no]: Likewise.
22164
ebfd1bbd
JM
22165 * posix/Makefile ($(objpfx)globtest.out): Pass
22166 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22167 $(rtld-installed-name).
22168 * posix/globtest.sh (elf_objpfx): Remove variable.
22169 (rtld_installed_name): Likewise.
22170 (library_path): Likewise.
22171 (run_program_prefix): New variable. Use for running globtest
22172 binary.
22173
166bca24
JB
221742012-10-23 Jim Blandy <jimb@codesourcery.com>
22175 Joseph Myers <joseph@codesourcery.com>
22176
22177 * Makeconfig (host-built-program-cmd): New variable.
22178 * elf/Makefile (tst-stackguard1-ARGS): Use
22179 $(host-built-program-cmd).
22180 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22181 (tst-spawn-ARGS): Likewise.
22182 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22183
88866099
JM
221842012-10-23 Joseph Myers <joseph@codesourcery.com>
22185 Jim Blandy <jimb@codesourcery.com>
22186
22187 * Makeconfig (run-via-rtld-prefix): New variable.
22188 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22189 (built-program-cmd): Likewise.
22190
b4b4c296
AJ
221912012-10-22 Andreas Jaeger <aj@suse.de>
22192
22193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22194 __O_RSYNC if it exists, otherwise to O_SYNC.
22195
6fb54a22
JB
221962012-10-22 Jim Blandy <jimb@codesourcery.com>
22197 Joseph Myers <joseph@codesourcery.com>
22198
22199 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22200 /dev/null.
22201 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22202 from /dev/null
22203 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22204 /dev/null.
22205
481b90b9
AJ
222062012-10-22 Andreas Jaeger <aj@suse.de>
22207
2a0e2669
AJ
22208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22209 Define always.
22210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22211
76e38f9a
AJ
22212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22213 bits/fcntl-linux.h.
22214
7cd37b43
AJ
22215 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22216 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22217
481b90b9
AJ
22218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22219 to __O_LARGEFILE.
22220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22221 to __O_LARGEFILE.
22222
aba75984
JB
222232012-10-21 Jim Blandy <jimb@codesourcery.com>
22224 Joseph Myers <joseph@codesourcery.com>
22225
22226 * config.make.in (NM): New variable.
22227
88d4247f
AJ
222282012-10-21 Andreas Jaeger <aj@suse.de>
22229
22230 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22231 definitions and declarations that are provided by
22232 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22233
f2eed205
L
222342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 [BZ #14683]
22237 * elf/Makefile (tests-static): Add tst-leaks1-static.
22238 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22239 ($(objpfx)tst-leaks1-static): New rule.
22240 ($(objpfx)tst-leaks1-static-mem): Likewise.
22241 (tst-leaks1-static-ENV): New macro.
22242 * elf/dl-open.c (dl_open_worker): Check the main application
22243 only if SHARED is defined.
22244 * elf/tst-leaks1-static.c: New file.
22245
335e6931
AJ
222462012-10-20 Andreas Jaeger <aj@suse.de>
22247
22248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22249 generic values for Linux.
22250 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22251 and declarations that are provided by <bits/fcntl-linux.h> and
22252 include <bits/fcntl-linux.h>.
22253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22255
ac5c94d3
RM
222562012-10-20 Roland McGrath <roland@hack.frob.com>
22257
22258 * io/fcntl.h: Move include of <bits/types.h> to the top and
22259 include it unconditionally.
22260
de54b33a
L
222612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22262
228cfb01
L
22263 * wcsmbs/Makefile (tests-ifunc): New variable.
22264 (tests): Add $(tests-ifunc).
22265 * wcsmbs/test-wcschr-ifunc.c: New file.
22266 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22267 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22268 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22269 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22270 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22271
69f07e5f
L
22272 * string/Makefile (tests-ifunc): New variable.
22273 (tests): Add $(tests-ifunc).
22274 * string/test-memccpy.c (TEST_NAME): New macro.
22275 * string/test-memchr.c (TEST_NAME): Likewise.
22276 * string/test-memcmp.c (TEST_NAME): Likewise.
22277 * string/test-memcpy.c (TEST_NAME): Likewise.
22278 * string/test-memmem.c (TEST_NAME): Likewise.
22279 * string/test-memmove.c (TEST_NAME): Likewise.
22280 * string/test-memset.c (TEST_NAME): Likewise.
22281 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22282 * string/test-stpcpy.c (TEST_NAME): Likewise.
22283 * string/test-stpncpy.c (TEST_NAME): Likewise.
22284 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22285 * string/test-strcasestr.c (TEST_NAME): Likewise.
22286 * string/test-strcat.c (TEST_NAME): Likewise.
22287 * string/test-strchr.c (TEST_NAME): Likewise.
22288 * string/test-strcmp.c(TEST_NAME): Likewise.
22289 * string/test-strcpy.c (TEST_NAME): Likewise.
22290 * string/test-strcspn.c (TEST_NAME): Likewise.
22291 * string/test-strlen.c (TEST_NAME): Likewise.
22292 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22293 * string/test-strncmp.c (TEST_NAME): Likewise.
22294 * string/test-strncpy.c (TEST_NAME): Likewise.
22295 * string/test-strnlen.c (TEST_NAME): Likewise.
22296 * string/test-strpbrk.c (TEST_NAME): Likewise.
22297 * string/test-strrchr.c (TEST_NAME): Likewise.
22298 * string/test-strspn.c (TEST_NAME): Likewise.
22299 * string/test-strstr.c (TEST_NAME): Likewise.
22300 * string/test-bcopy-ifunc.c: New file.
22301 * string/test-bzero-ifunc.c: Likewise.
22302 * string/test-memccpy-ifunc.c: Likewise.
22303 * string/test-memchr-ifunc.c: Likewise.
22304 * string/test-memcmp-ifunc.c: Likewise.
22305 * string/test-memcpy-ifunc.c: Likewise.
22306 * string/test-memmem-ifunc.c: Likewise.
22307 * string/test-memmove-ifunc.c: Likewise.
22308 * string/test-mempcpy-ifunc.c: Likewise.
22309 * string/test-memset-ifunc.c: Likewise.
22310 * string/test-rawmemchr-ifunc.c: Likewise.
22311 * string/test-stpcpy-ifunc.c: Likewise.
22312 * string/test-stpncpy-ifunc.c: Likewise.
22313 * string/test-strcasecmp-ifunc.c: Likewise.
22314 * string/test-strcasestr-ifunc.c: Likewise.
22315 * string/test-strcat-ifunc.c: Likewise.
22316 * string/test-strchr-ifunc.c: Likewise.
22317 * string/test-strchrnul-ifunc.c: Likewise.
22318 * string/test-strcmp-ifunc.c: Likewise.
22319 * string/test-strcpy-ifunc.c: Likewise.
22320 * string/test-strcspn-ifunc.c: Likewise.
22321 * string/test-strlen-ifunc.c: Likewise.
22322 * string/test-strncasecmp-ifunc.c: Likewise.
22323 * string/test-strncat-ifunc.c: Likewise.
22324 * string/test-strncmp-ifunc.c: Likewise.
22325 * string/test-strncpy-ifunc.c: Likewise.
22326 * string/test-strnlen-ifunc.c: Likewise.
22327 * string/test-strpbrk-ifunc.c: Likewise.
22328 * string/test-strrchr-ifunc.c: Likewise.
22329 * string/test-strspn-ifunc.c: Likewise.
22330 * string/test-strstr-ifunc.c: Likewise.
22331
de54b33a
L
22332 * debug/Makefile (tests-ifunc): New variable.
22333 (tests): Add $(tests-ifunc).
22334 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22335 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22336 * debug/test-stpcpy_chk-ifunc.c: New file.
22337 * debug/test-strcpy_chk-ifunc.c: Likewise.
22338
88481c16
SP
223392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22340
22341 [BZ #13601]
22342 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22343 header is not read in.
22344
135948bd
JM
223452012-10-19 Joseph Myers <joseph@codesourcery.com>
22346
89f1c388
JM
22347 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22348 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22349 directly. Pass built executable to script as
22350 $(built-program-cmd).
22351 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22352 $testprogram without using LD_LIBRARY_PATH and $ldso.
22353
e40a0d21
JM
22354 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22355 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22356 $(rtld-installed-name).
22357 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22358 (rtld_installed_name): Likewise.
22359 (library_path): Likewise.
22360 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22361 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22362 $(run-program-prefix) to tst-tables.sh.
22363 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22364 it to run tst-table-from and tst-table-to.
22365 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22366 Pass it to tst-table.sh.
22367 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22368 $(run-program-prefix) to tst-gettext.sh.
22369 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22370 tst-translit.sh.
22371 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22372 tst-gettext2.sh.
22373 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22374 to run tst-gettext.
22375 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22376 to run tst-gettext2.
22377 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22378 to run tst-translit.
22379 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22380 $(run-program-prefix) to tst-mtrace.sh.
22381 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22382 to run tst-mtrace.
22383 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22384 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22385 $(rtld-installed-name).
22386 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22387 (rtld_installed_name): Likewise.
22388 (run_program_prefix): New variable. Use it to run wordexp-test.
22389
728e272a
JM
22390 * Makeconfig (ARCH): Remove all definitions.
22391 (machine): Likewise.
22392 [ARCH]: Remove conditional code.
22393 [!objdir]: Give error.
22394 [!objdir] (objpfx): Remove.
22395 [!objdir] (common-objpfx): Likewise.
22396 [!objdir] (common-objdir): Likewise.
22397 * configure.in (config_makefile): Remove. Hardcode Makefile in
22398 AC_CONFIG_FILES call.
22399 * configure: Regenerated.
22400
d528cdcf
JM
22401 [BZ #13888]
22402 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22403 or TMPDIR.
22404 (testout): Likewise.
22405
135948bd
JM
22406 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22407 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22408 $(rtld-installed-name).
22409 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22410 (rtld_installed_name): Likwise.
22411 (runit): Remove function.
22412 (run_getconf): New variable, Use it for running getconf binary.
22413
38c78296
L
224142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22415
22416 [BZ #14716]
22417 * string/test-memmem.c (check_result): New function.
22418 (do_one_test): Use it.
22419 (check1): New function.
22420 (test_main): Use it.
22421
d077f65f
MT
224222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22423
22424 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22425
ced52c71
JM
224262012-10-18 Joseph Myers <joseph@codesourcery.com>
22427
22428 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22429 (_G_LSEEK64): Likewise.
22430 (_G_MMAP64): Likewise.
22431 (_G_FSTAT64): Likewise.
22432 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22433 (_G_LSEEK64): Likewise.
22434 (_G_MMAP64): Likewise.
22435 (_G_FSTAT64): Likewise.
22436 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22437 unconditional. Call __mmap64 directly.
22438 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22439 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22440 __lseek64 directly.
22441 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22442 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22443 __mmap64 directly.
22444 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22445 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22446 __lseek64 directly.
22447 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22448 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22449 __lseek64 directly.
22450 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22451 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22452 __lseek64 directly.
22453 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22454 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22455 __fxstat64 directly.
22456 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22457 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22458 unconditional.
22459 (freopen64) [!_G_OPEN64]: Remove conditional code.
22460 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22461 unconditional.
22462 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22463 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22464 unconditional.
22465 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22466 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22467 unconditional.
22468 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22469 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22470 unconditional.
22471 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22472 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22473 unconditional.
22474 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22475 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22476 unconditional.
22477 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22478 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22479 unconditional.
22480 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22481
b741de23
SP
224822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22483
22484 [BZ #12140]
22485 * manual/memory.texi (Malloc Tunable Parameters): Add note
22486 about free list pointers overwriting some perturb bytes.
22487 Wording suggested by Roland McGrath.
22488
f9b9d9c9
JM
224892012-10-17 Joseph Myers <joseph@codesourcery.com>
22490
22491 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22492 (lgamma_test): Likewise.
22493 (tgamma_test): Likewise.
22494
172a631a
FW
224952012-10-16 Florian Weimer <fweimer@redhat.com>
22496
22497 [BZ #14700]
22498 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22499 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22500
e9f37252
MK
225012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22502
22503 * NEWS: Mention BZ #14716.
22504 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22505 when removing AVAILABLE1_USES_J macro.
22506
d394eb74
L
225072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22508
22509 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22510 (__bswap_64): __uint64_t for unsigned 64-bit int.
22511
ca38dc17
AS
225122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22513
22514 * include/string.h (memmem): Declare libc hidden alias.
22515 * string/memmem.c (memmem): Define libc hidden alias.
22516 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22517 __read, __close instead of open, read, close.
22518
9a387d1f
L
225192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22520
ac49ecaf
L
22521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22522 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22523 global and hidden.
22524 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22525 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22526 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22527 Likewise.
22528 (__rawmemchr_sse2): Likewise.
22529 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22530 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22531 (__strchr_sse2): Likewise.
22532 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22533 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22534 (__strcasecmp_sse2): Likewise.
22535 (__strncasecmp_sse2): Likewise.
22536 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22537 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22538 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22539 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22540 (__strrchr_sse2): Likewise.
22541 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22542 ifunc-impl-list.c.
22543 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22544 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22545 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22546 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22547 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22548 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22549 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22550 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22551 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22552 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22553 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22554 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22555 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22556 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22557 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22558 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22559 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22560 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22561 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22562 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22563 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22564 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22565 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22566 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22567 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22568 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22569 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22570 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22571 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22572 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22573
b090e8ea
L
22574 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22575 global and hidden.
22576 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22577 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22578 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22579 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22580 Likewise.
22581 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22582 Likewise.
22583 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22584 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22585 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22586 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22587 ifunc-impl-list.c.
22588 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22589 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22590 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22591 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22592 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22593 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22594 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22595 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22596 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22597 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22598 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22599 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22600 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22601 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22602 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22604 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22605 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22606 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22607 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22608 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22609 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22610 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22611 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22612 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22613 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22614 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22615 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22616 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22617 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22618 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22619 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22620 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22621 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22622 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22623 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22624 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22625 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22626 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22627 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22628 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22629
11dd4af6
L
22630 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22631 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22632 * include/ifunc-impl-list.h: New file.
22633 * misc/ifunc-impl-list.c: Likewise.
22634 * misc/Makefile (routines): Add ifunc-impl-list.
22635 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22636 * string/test-string.h: Include <ifunc-impl-list.h>.
22637 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22638 impl_array): New variables.
22639 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22640 are defined.
22641 (test_init): Call __libc_ifunc_impl_list to initialize
22642 func_list if TEST_IFUNC and TEST_NAME are defined.
22643
9a387d1f
L
22644 * string/Makefile (strop-tests): Add bcopy and bzero.
22645 * string/test-bcopy.c: New file.
22646 * string/test-bzero.c: Likewise.
22647 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22648 defined.
22649 * string/test-memset.c: Support bzero test if TEST_BZERO is
22650 defined.
22651 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22652 __libc_memmove.
22653 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22654 __libc_memset.
22655 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22656 of memset.
22657
472371b9
JM
226582012-10-10 Joseph Myers <joseph@codesourcery.com>
22659
1e4a9536
JM
22660 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22661 * configure: Regenerated.
22662
d173d12e
JM
22663 * Makeconfig (+link-static-before-libc): Don't include
22664 $(link-static-libc).
22665
472371b9
JM
22666 * libio/libio.h (_IO_pos_t): Remove.
22667
89a3ad0b
AO
226682012-10-10 Alexandre Oliva <aoliva@redhat.com>
22669
22670 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22671 McGrath.
22672
e7451425
AO
226732012-10-10 Alexandre Oliva <aoliva@redhat.com>
22674
22675 * crypt/crypt-entry.c: Include fips-private.h.
22676 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22677 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22678 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22679 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22680
4ba74a35
AO
226812012-10-10 Alexandre Oliva <aoliva@redhat.com>
22682
22683 * crypt/crypt-private.h: Include stdbool.h.
22684 (_ufc_setup_salt_r): Return bool.
22685 * crypt/crypt-entry.c: Include errno.h.
22686 (__crypt_r): Return NULL with EINVAL for bad salt.
22687 * crypt/crypt_util.c (bad_for_salt): New.
22688 (_ufc_setup_salt_r): Check that salt is long enough and within
22689 the specified alphabet.
22690 * crypt/badsalttest.c: New file.
22691 * crypt/Makefile (tests): Add it.
22692 ($(objpfx)badsalttest): New.
22693
f96f1242
MK
226942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22695
22696 * NEWS: Add entry for BZ #14602.
22697
0e8e0c1c
JM
226982012-10-09 Joseph Myers <joseph@codesourcery.com>
22699
22700 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22701 type-generic.
22702 * math/libm-test.inc: Update comment listing what functions and
22703 macros are tested.
22704 (isgreater_test): New function.
22705 (isgreaterequal_test): Likewise.
22706 (isless_test): Likewise.
22707 (islessequal_test): Likewise.
22708 (islessgreater_test): Likewise.
22709 (isunordered_test): Likewise.
22710 (main): Call the new functions.
22711
273edc5e
RM
227122012-10-09 Roland McGrath <roland@hack.frob.com>
22713
b8493de0
RM
22714 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22715 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22716 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22717 * sysdeps/i386/configure: Regenerated.
22718 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22719 * sysdeps/mach/configure: Regenerated.
22720 * sysdeps/mach/hurd/configure: Regenerated.
22721 * sysdeps/powerpc/configure: Regenerated.
22722 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22723 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22724 * sysdeps/s390/s390-32/configure: Regenerated.
22725 * sysdeps/s390/s390-64/configure: Regenerated.
22726 * sysdeps/sh/configure: Regenerated.
22727 * sysdeps/sparc/configure: Regenerated.
22728 * sysdeps/unix/sysv/linux/configure: Regenerated.
22729 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22730 * sysdeps/x86_64/configure: Regenerated.
22731
273edc5e
RM
22732 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22733 defined. Don't check if MAP is NULL.
22734
c8450f70
JM
227352012-10-09 Joseph Myers <joseph@codesourcery.com>
22736
22737 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22738 (_G_stat64): Likewise.
22739 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22740 (_G_stat64): Likewise.
22741 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22742 instead of struct _G_stat64.
22743 * libio/fileops.c (mmap_remap_check): Likewise.
22744 (decide_maybe_mmap): Likewise.
22745 (_IO_new_file_seekoff): Likewise.
22746 (_IO_file_stat): Likewise.
22747 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22748 _G_off64_t.
22749 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22750 instead of struct _G_stat64.
22751 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22752
57e605ba
MK
227532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22754
22755 [BZ #14602]
22756 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22757 Replace with ...
22758 (CHECK_EOL): New macro.
22759 (two_way_short_needle): Check beginning of haystack for EOL. Use
22760 CHECK_EOL.
22761 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22762 Replace with CHECK_EOL.
22763 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22764 Replace with CHECK_EOL.
22765
ef1bb361
JM
227662012-10-08 Joseph Myers <joseph@codesourcery.com>
22767
22768 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22769 type-generic.
22770 * math/libm-test.inc: Update comment listing what functions and
22771 macros are tested.
22772 (finite_test): New function.
22773 (isinf_test): Likewise.
22774 (isnan_test): Likewise.
22775 (fpclassify_test): Test subnormal input.
22776 (isfinite_test): Likewise.
22777 (isnormal_test): Likewise.
22778 (main): Call the new functions.
22779
55f11534
JN
227802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22781
22782 [BZ #14660]
22783 * Makerules (%.dynsym): Force C locale when running
22784 $(OBJDUMP) --dynamic-syms.
22785
1ab29350
AS
227862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22787
22788 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22789 <stdint.h>.
22790
f1ecb7ef
DM
227912012-10-06 David S. Miller <davem@davemloft.net>
22792
22793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22794 upper 32-bits of the length value in %o2 since we use branch-on-register
22795 tests which consider the entire 64-bit register.
22796
5d41d91a
L
227972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22798
22799 * string/test-strstr.c (check2): Add a test for page boundary.
22800
3baddb72
DM
228012012-10-05 David S. Miller <davem@davemloft.net>
22802
22803 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22804 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22805 file.
22806 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22807 sysdep_routines.
22808 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22809 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22810 and bzero when HWCAP_SPARC_CRYPTO is present.
22811
9cee5585
L
228122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22813
d7e0dab9
L
22814 [BZ #14602]
22815 * string/test-strstr.c (check2): New function.
22816 (test_main): Call check2.
22817
03759f47
L
22818 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22819 and bug-strchr1.
22820 * string/bug-strcasestr1.c (do_test): Moved to ...
22821 * string/test-strcasestr.c (check1): Here. New function.
22822 (do_one_test): Break out result checking code into ...
22823 (check_result): This. New function.
22824 (do_one_test): Call check_result.
22825 (test_main): Call check1.
22826 * string/bug-strchr1.c (do_test): Moved to ...
22827 * string/test-strchr.c (check1): Here. New function.
22828 (do_one_test): Break out result checking code into ...
22829 (check_result): This. New function.
22830 (do_one_test): Call check_result.
22831 (test_main): Call check1.
22832 * string/bug-strstr1.c (main): Moved to ...
046f153e 22833 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22834 (do_one_test): Break out result checking code into ...
22835 (check_result): This. New function.
22836 (do_one_test): Call check_result.
22837 (test_main): Call check1.
22838 * string/bug-strcasestr1.c: Removed.
22839 * string/bug-strchr1.c: Likewise.
22840 * string/bug-strstr1.c: Likewise.
22841
53cea63e
L
22842 * elf/Makefile (dl-routines): Add hwcaps.
22843 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22844 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22845 (_dl_important_hwcaps): Moved to ...
22846 * elf/dl-hwcaps.c: Here. New file.
22847 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22848
9cee5585 22849 [BZ #14557]
bb859b06
L
22850 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22851 if IS_IN_rtld isn't defined.
22852
9cee5585
L
22853 * elf/dl-support.c (_dl_sysinfo_map): New.
22854 Include "get-dynamic-info.h" and "setup-vdso.h".
22855 (_dl_non_dynamic_init): Call setup_vdso.
22856 * elf/dynamic-link.h: Don't include <assert.h>.
22857 (elf_get_dynamic_info): Moved to ...
22858 * elf/get-dynamic-info.h: Here. New file.
22859 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22860 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22861 * elf/setup-vdso.h: Here. New file.
22862 * elf/rtld.c: Include "setup-vdso.h".
22863 (dl_main): Call setup_vdso.
22864
23c31b76
JM
228652012-10-05 Joseph Myers <joseph@codesourcery.com>
22866
28234b07
JM
22867 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22868 creal in comment listing functions tested. List finite, isinf,
22869 isnan, isless, islessequal, isgreater, isgreaterequal,
22870 islessgreater, isunordered, lgamma_r and pow10 as functions and
22871 macros not tested. Mention which functions not tested are aliases
22872 for other functions. Fix typo. Note that signs of NaNs are not
22873 tested.
22874
23c31b76
JM
22875 * scripts/config.guess: Update from config.git.
22876 * scripts/config.sub: Likewise.
22877
9043e228
RM
228782012-10-04 Roland McGrath <roland@hack.frob.com>
22879
22880 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22881 * misc/madvise.c (madvise): Renamed to __madvise.
22882 Make madvise a weak alias.
22883 * include/sys/mman.h: Declare __madvise.
22884 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22885 * sysdeps/unix/syscalls.list
22886 (madvise): Make __madvise the strong name, and madvise a weak alias.
22887 * sysdeps/unix/sysv/linux/syscalls.list
22888 (madvise, mmap): Remove redundant entries.
22889 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22890 * malloc/malloc.c (mtrim): Likewise.
22891 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22892
f57f8055
RM
228932012-10-03 Roland McGrath <roland@hack.frob.com>
22894
22895 * sysdeps/mach/hurd/dl-cache.c: File removed.
22896 * config.h.in (USE_LDCONFIG): New #undef.
22897 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22898 * configure: Regenerated.
22899 * elf/Makefile (dl-routines): Add dl-cache only under
22900 [$(use-ldconfig) = yes].
22901 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22902 cache on [USE_LDCONFIG].
22903 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22904 [USE_LDCONFIG].
22905 * elf/rtld.c (dl_main): Likewise.
22906
5bb0c10a
PT
229072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22908
22909 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22910 _SC_LEVEL4_CACHE_LINESIZE.
22911
010188c6
RM
229122012-10-03 Roland McGrath <roland@hack.frob.com>
22913
22914 * sysdeps/unix/bsd/confstr.h: File removed.
22915
b6c5ec07
AO
229162012-10-02 Alexandre Oliva <aoliva@redhat.com>
22917
22918 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22919 sys/sdt-config.h.
22920
408223d4
RM
229212012-10-02 Roland McGrath <roland@hack.frob.com>
22922
22923 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22924 Make 'mapoff' field ElfW(Off) rather than off_t.
22925
bb9510dc
DL
229262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22927
fc997c6e
DL
22928 * nscd/Makefile: Remove nscd-cflags and all its users.
22929 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22930 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22931
bb9510dc
DL
22932 [BZ #10631]
22933 * malloc.c (malloc_printerr): Clarify error message.
22934
05699367
L
229352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22936
22937 [BZ #14648]
22938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22939 Set bit_FMA_Usable if FMA is supported.
22940 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22941 macro.
22942 (bit_FMA4_Usable): Updated.
22943 (index_FMA_Usable): New macro.
22944 (CPUID_FMA): Likewise
22945 (HAS_FMA): Defined with bit_FMA_Usable.
22946
51367701
RM
229472012-10-01 Roland McGrath <roland@hack.frob.com>
22948
22949 * bits/types.h (__swblk_t): Type removed.
22950 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22951 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22953 (__SWBLK_T_TYPE): Likewise.
22954 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22955 (__SWBLK_T_TYPE): Likewise.
22956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22957 (__SWBLK_T_TYPE): Likewise.
22958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22959 (__SWBLK_T_TYPE): Likewise.
22960
4d57bf63 229612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22962 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22963
22964 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22965 (xdr_mapname): Use YPMAXMAP as maxsize.
22966 (xdr_peername): Use YPMAXPEER as maxsize.
22967 (xdr_keydat): Use YPAXRECORD as maxsize.
22968 (xdr_valdat): Use YPMAXRECORD as maxsize.
22969
93c65d43
RM
229702012-10-01 Roland McGrath <roland@hack.frob.com>
22971
497a03d6
RM
22972 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22973
93c65d43
RM
22974 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22975 * csu/init-first.c: ... here.
22976 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22977 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22978 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22979 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22980 * sysdeps/i386/init-first.c: File removed.
22981 * sysdeps/sh/init-first.c: File removed.
22982
bec749fd
JM
229832012-10-01 Joseph Myers <joseph@codesourcery.com>
22984
22985 [BZ #14645]
22986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22987 if x * y might underflow to zero and z is zero.
22988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22990 * math/libm-test.inc (min_subnorm_value): New variable.
22991 (fma_test): Add more tests.
22992 (fma_test_towardzero): Likewise.
22993 (fma_test_downward): Likewise
22994 (fma_test_upward): Likewise.
22995 (initialize): Set min_subnorm_value.
22996
8ec5b013
JM
229972012-09-29 Joseph Myers <joseph@codesourcery.com>
22998
22999 [BZ #14638]
23000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23001 0 + 0.
23002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23003 mode for addition resulting in exact zero.
23004 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23006 exact 0 + 0.
23007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23009 * math/libm-test.inc (fma_test): Add more tests.
23010 (fma_test_towardzero): New function.
23011 (fma_test_downward): Likewise.
23012 (fma_test_upward): Likewise.
23013 (main): Call the new functions.
23014
b1fa802e
DM
230152012-09-28 David S. Miller <davem@davemloft.net>
23016
23017 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23018
d3b9fd9e
RM
230192012-09-28 Roland McGrath <roland@hack.frob.com>
23020
ea4d37b3
RM
23021 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23022 instead of SIGALRM.
23023
ac51c949
RM
23024 * sysdeps/gnu/_G_config.h: Moved to ...
23025 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23026 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23027 * sysdeps/generic/_G_config.h: ... here.
23028
28c195f7
RM
23029 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23030
848917f9
RM
23031 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23032
6bacf05b
RM
23033 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23034 Conditionalize target on [libnss_test1.so-version].
23035
91363dbb
RM
23036 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23037
cc87f7d8
RM
23038 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23039 (elfobjdir): Move out of conditionals.
23040
b1c608fe
RM
23041 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23042 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23043 (__nss_lookup_function): Conditionalize label remove_from_tree on
23044 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23045
1d9a6d96
DM
230462012-09-28 David S. Miller <davem@davemloft.net>
23047
23048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23049 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23050 file.
23051 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23052 sysdep_routines.
23053 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23055 when HWCAP_SPARC_CRYPTO is present.
23056
72581615
PT
230572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23058
23059 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23060
715a900c
JL
230612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23062
23063 [BZ #6530]
23064 * stdio-common/vfprintf.c (process_string_arg): Revert
23065 2000-07-22 change.
23066
230672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23068
23069 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23070 for testcase.
23071 * stdio-common/tst-sprintf.c: Include <locale.h>
23072 (main): Test sprintf's handling of incomplete multibyte
23073 characters.
23074
9bac1d86
L
230752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23076
23077 * elf/dl-runtime.c (VERSYMIDX): Removed.
23078 * elf/dl-version.c (VERSYMIDX): Likewise.
23079 * elf/do-rel.h (VERSYMIDX): Likewise.
23080 (VALIDX): Likewise.
23081 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23082 * elf/rtld.c (VALIDX): Likewise.
23083 (ADDRIDX): Likewise.
9bac1d86
L
23084 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23085 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23086 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23087 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23088 (VALIDX): Likewise.
23089 (ADDRIDX): Likewise.
9bac1d86 23090
b31606c0
PT
230912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23092
23093 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23094
11541177
JL
230952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23096
23097 [BZ #11438]
23098 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23099 to global scope.
23100 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23101 addresses are in the same scope as 192.0.2/24.
23102 * posix/gai.conf: Document new scope table defaults.
23103
adb26fae
SP
231042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23105
23106 [BZ #5298]
23107 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23108 for ftell. Compute offsets from write pointers instead.
23109 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23110
4573c6b0
SP
231112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23112
23113 [BZ #14543]
23114 * libio/Makefile (tests): New test case tst-fseek.
23115 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23116 combination works in wide mode.
23117 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23118 state when the external buffer state changes.
23119
aa9bbfe6
DM
231202012-09-27 David S. Miller <davem@davemloft.net>
23121
23122 [BZ #14376]
23123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23124 pass reloc->r_addend in as the 'high' argument to
23125 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23126
784421e7
DM
23127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23128
c39bc8b8
PT
231292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23130
23131 * rt/tst-aio2.c: Include <pthread.h>.
23132 * rt/tst-aio3.c: Likewise.
23133
1ccc2399
SE
231342012-09-27 Steve Ellcey <sellcey@mips.com>
23135
23136 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23137
31ed4153
L
231382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23139
25f5f885
L
23140 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23141 contents on [SHARED].
31ed4153 23142
b7bfe116
MP
231432012-09-26 Marek Polacek <polacek@redhat.com>
23144
23145 [BZ #14530]
23146 [BZ #13741]
23147 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23148 for C++ and GCC <4.3 as well as for non GCC compilers.
23149
43c4edba
MT
231502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23151
23152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23153
6a1bf82f
RM
231542012-09-25 Roland McGrath <roland@hack.frob.com>
23155
23156 * Makefile.in (all, install): Declare with .PHONY.
23157 Reported by Michael Hope <michael.hope@linaro.org>.
23158
8ad11b9a
TMQMF
231592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23160
23161 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23162 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23163 system header.
23164 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23165 Likewise.
23166 (sydep_routines): Add the new and the internal functions.
23167 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23168 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23170 (GLIBC_2.17): Add the new function.
23171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23172 (GLIBC_2.17): Likewise.
23173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23174 (GLIBC_2.17): Likewise.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23176 (GLIBC_2.17): Likewise.
23177 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23178
7e2fca8d
AM
231792012-09-25 Alan Modra <amodra@gmail.com>
23180
23181 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23182 Add release barrier before setting once_control to say
23183 initialisation is done. Add hints on lwarx. Use macro in
23184 place of isync.
23185 (clear_once_control): Add release barrier.
23186
b87c4b24
JM
231872012-09-25 Joseph Myers <joseph@codesourcery.com>
23188
d032e0d2
JM
23189 [BZ #13629]
23190 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23191 specially.
23192 * math/s_clog10.c (__clog10): Likewise.
23193 * math/s_clog10f.c (__clog10f): Likewise.
23194 * math/s_clog10l.c (__clog10l): Likewise.
23195 * math/s_clogf.c (__clogf): Likewise.
23196 * math/s_clogl.c (__clogl): Likewise.
23197 * math/Makefile (libm-calls): Add x2y2m1.
23198 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23199 (__x2y2m1): Likewise.
23200 (__x2y2m1l): Likewise.
23201 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23202 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23203 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23205 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23206 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23207 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23208 * sysdeps/i386/fpu/libm-test-ulps: Update.
23209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23210
b87c4b24
JM
23211 [BZ #14621]
23212 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23213 int as type of variable DEPTH.
23214 (glob): Use size_t instead of int as type of variables NEWCOUNT
23215 and OLD_PATHC.
23216
6d3bf199
LD
232172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23218
22bf5c17
LD
23219 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23220 Add s_sincosf-sse2.
23221 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23222 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23223 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23224 macros for using routine as __sincosf_ia32.
23225 Use macro for function declaration and weak_alias.
23226 * sysdeps/i386/fpu/libm-test-ulps: Update.
23227
23228 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23230
23231 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23232 subnormal argument.
23233 * math/s_cexpf.c (__cexpf): Likewise.
23234 * math/s_csinf.c (__csinf): Likewise.
23235 * math/s_csinhf.c (__csinhf): Likewise.
23236 * math/s_ctanf.c (__ctanf): Likewise.
23237 * math/s_ctanhf.c (__ctanhf): Likewise.
23238 * math/s_ccosh.c (__ccoshf): Likewise.
23239 * math/s_cexp.c (__cexpl): Likewise.
23240 * math/s_csin.c (__csin): Likewise.
23241 * math/s_csinh.c (__csinh): Likewise.
23242 * math/s_ctan.c (__ctan): Likewise.
23243 * math/s_ctanh.c (ctanh): Likewise.
23244 * math/s_ccoshl.c (__ccoshl): Likewise.
23245 * math/s_cexpl.c (__cexpl): Likewise.
23246 * math/s_csinl.c (__csinl): Likewise.
23247 * math/s_csinhl.c (__csinhl): Likewise.
23248 * math/s_ctanl.c (__ctanl): Likewise.
23249 * math/s_ctanhl.c (__ctanhl): Likewise.
23250
203e5603
JM
232512012-09-25 Joseph Myers <joseph@codesourcery.com>
23252
23253 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23254 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23255 (_IO_off_t): Define to __off_t, not _G_off_t.
23256 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23257 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23258 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23259 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23260 type of __dummy and __dummy2 fields.
23261 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23262 (_G_ssize_t): Likewise.
23263 (_G_off_t): Likewise.
23264 (_G_pid_t): Likewise.
23265 (_G_uid_t): Likewise.
23266 (_G_wchar_t): Likewise.
23267 (_G_wint_t): Likewise.
23268 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23269 (_G_ssize_t): Likewise.
23270 (_G_off_t): Likewise.
23271 (_G_pid_t): Likewise.
23272 (_G_uid_t): Likewise.
23273 (_G_wchar_t): Likewise.
23274 (_G_wint_t): Likewise.
23275 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23276 (_G_ssize_t): Likewise.
23277 (_G_off_t): Likewise.
23278 (_G_pid_t): Likewise.
23279 (_G_uid_t): Likewise.
23280 (_G_wchar_t): Likewise.
23281 (_G_wint_t): Likewise.
23282
9fab36eb
SP
232832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23284
23285 * malloc/arena.c: Include malloc-sysdep.h.
23286 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23287 is sufficient to shrink the heap or an unmap is needed.
23288 * sysdeps/generic/malloc-sysdep.h: New file. Define
23289 new function check_may_shrink_heap.
23290 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23291 new function check_may_shrink_heap.
23292
2b4f00d1
SP
232932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23294
23295 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23296 comments.
23297
9a9028b1
DL
232982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23299
57c69bef
DL
23300 * catgets/test-gencat.sh: Add "set -e".
23301 * elf/tst-pathopt.sh: Likewise.
23302 * grp/tst_fgetgrent.sh: Likewise.
23303 * iconvdata/run-iconv-test.sh: Likewise.
23304 * intl/tst-gettext.sh: Likewise.
23305 * intl/tst-gettext2.sh: Likewise.
23306 * intl/tst-gettext4.sh: Likewise.
23307 * intl/tst-gettext6.sh: Likewise.
23308 * intl/tst-translit.sh: Likewise.
23309 * io/ftwtest-sh: Likewise.
23310 * libio/test-freopen.sh: Likewise.
23311 * malloc/tst-mtrace.sh: Likewise.
23312 * posix/globtest.sh: Likewise.
23313 * posix/tst-getconf.sh: Likewise.
23314 * posix/wordexp-tst.sh: Likewise.
23315 * stdio-common/tst-printf.sh: Likewise.
23316 * stdio-common/tst-unbputc.sh: Likewise.
23317 * stdlib/tst-fmtmsg.sh: Likewise.
23318 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23319 * catgets/Makefile: Do not specify -e option when running
23320 testsuite shell scripts.
23321 * elf/Makefile: Likewise.
23322 * grp/Makefile: Likewise.
23323 * iconvdata/Makefile: Likewise.
23324 * intl/Makefile: Likewise.
23325 * io/Makefile: Likewise.
23326 * libio/Makefile: Likewise.
23327 * malloc/Makefile: Likewise.
23328 * posix/Makefile: Likewise.
23329 * stdio-common/Makefile: Likewise.
23330 * stdlib/Makefile: Likewise.
23331 * sysdeps/x86_64/Makefile: Likewise.
23332
9a9028b1
DL
23333 * io/ftwtest-sh: Add copyright header.
23334 * posix/globtest.sh: Likewise.
23335 * posix/tst-getconf.sh: Likewise.
23336 * posix/wordexp-tst.sh: Likewise.
23337 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23338
ced6f16e
L
233392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23340
94b32c39
L
23341 [BZ #13679]
23342 * Makeconfig (+link): Defined as $(+link-static) if
23343 $(build-shared) isn't yes.
23344 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23345 isn't yes.
23346 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23347
189e935b
L
23348 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23349
ced6f16e
L
23350 [BZ #14562]
23351 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23352 new chunk size with MALLOC_ALIGN_MASK.
23353
a9f8e53a
JM
233542012-09-24 Joseph Myers <joseph@codesourcery.com>
23355
23356 [BZ #5044]
23357 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23358 <rounding-mode.h>.
23359 (__printf_fphex): Determine rounding using get_rounding_mode and
23360 round_away.
23361 * stdio-common/tst-printf-round.c (struct hex_test): New
23362 structure.
23363 (hex_tests): New variable.
23364 (test_hex_in_one_mode): New function.
23365 (do_test): Also run tests for hex float output.
23366
43153109
JM
233672012-09-21 Joseph Myers <joseph@codesourcery.com>
23368
23369 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23370 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23371 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23372 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23373 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23374 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23375 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23376 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23377
8a26625d
JM
233782012-09-20 Joseph Myers <joseph@codesourcery.com>
23379
23380 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23381 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23382 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23383 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23384
f3fd569c
DL
233852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23386
23387 [BZ #14579]
23388 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23389 mode only.
23390 * elf/tst-rtld-load-self.sh: New test.
23391 * elf/Makefile: Run it.
23392
63bbedd4
JM
233932012-09-18 Joseph Myers <joseph@codesourcery.com>
23394
23395 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23396 (tst-writev-ENV): Remove.
23397 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23398
626f8b6a
CM
233992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23400
23401 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23402
b7aaa4d6
JM
234032012-09-17 Joseph Myers <joseph@codesourcery.com>
23404
23405 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23406 unconditional.
23407 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23408 Likewise.
23409 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23410 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23411 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23412 Likewise.
23413
65513990
L
234142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23415
23416 [BZ #14587]
23417 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23418 * config.make.in (have-cpp-asm-debuginfo): Removed.
23419 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23420 * configure: Regenerated.
23421
784761be
JM
234222012-09-14 Joseph Myers <joseph@codesourcery.com>
23423
23424 [BZ #5044]
23425 * stdio-common/printf_fp.c: Include <stdbool.h> and
23426 <rounding-mode.h>.
23427 (___printf_fp): Determine rounding using get_rounding_mode and
23428 round_away.
23429 * stdio-common/tst-printf-round.c: New file.
23430 * stdio-common/Makefile (tests): Add tst-printf-round.
23431 (link-libm): New variable.
23432 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23433
9503345f
L
234342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23435
23436 [BZ #14576]
23437 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23438 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23439 Likewise.
23440 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23441 Likewise.
23442
ad35fc00
JM
234432012-09-13 Joseph Myers <joseph@codesourcery.com>
23444
23445 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23446 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23447 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23448 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23449
6c9b0f68
JM
234502012-09-12 Joseph Myers <joseph@codesourcery.com>
23451
23452 [BZ #14518]
23453 * include/rounding-mode.h: New file.
23454 * sysdeps/generic/get-rounding-mode.h: Likewise.
23455 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23456 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23457 (MAX_VALUE): New macro.
23458 (MIN_VALUE): Likewise.
23459 (overflow_value): New function.
23460 (underflow_value): Likewise.
23461 (round_and_return): Use overflow_value and underflow_value to
23462 determine return values in overflow and underflow cases. Use
23463 round_away to determine rounding depending on rounding mode.
23464 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23465 determine return values in overflow and underflow cases.
23466 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23467 (struct test_results): New structure.
23468 (struct test): Use struct test_results to store expected results
23469 for all rounding modes.
23470 (TEST): Include expected results for all rounding modes.
23471 (test_in_one_mode): New function.
23472 (do_test): Use test_in_one_mode to compute and check results.
23473 Check results for all rounding modes.
23474 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23475 $(link-libm).
23476
19fcedd5
AM
234772012-12-09 Allan McRae <allan@archlinux.org>
23478
1e9d84cd 23479 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23480
8bbfd2f1
JM
234812012-09-11 Joseph Myers <joseph@codesourcery.com>
23482
23483 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23484 (_G_int32_t): Likewise.
23485 (_G_uint16_t): Likewise.
23486 (_G_uint32_t): Likewise.
23487 (_G_HAVE_BOOL): Likewise.
23488 (_G_HAVE_ATEXIT): Likewise.
23489 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23490 (_G_HAVE_IO_FILE_OPEN): Likewise.
23491 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23492 (_G_int32_t): Likewise.
23493 (_G_uint16_t): Likewise.
23494 (_G_uint32_t): Likewise.
23495 (_G_HAVE_BOOL): Likewise.
23496 (_G_HAVE_ATEXIT): Likewise.
23497 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23498 (_G_HAVE_IO_FILE_OPEN): Likewise.
23499 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23500 (_G_int32_t): Likewise.
23501 (_G_uint16_t): Likewise.
23502 (_G_uint32_t): Likewise.
23503 (_G_HAVE_BOOL): Likewise.
23504 (_G_HAVE_ATEXIT): Likewise.
23505 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23506 (_G_HAVE_IO_FILE_OPEN): Likewise.
23507
b1dc5912
L
235082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23509
23510 * csu/libc-tls.c: Update copyright years.
23511
0e886ef9
JM
235122012-09-10 Joseph Myers <joseph@codesourcery.com>
23513
28361c5e
JM
23514 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23515 [!_G_USING_THUNKS]: Remove conditional code.
23516 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23517 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23518
0e886ef9
JM
23519 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23520 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23521 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23522 (_G_VTABLE_LABEL_PREFIX): Likewise.
23523 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23524 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23525 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23526 (_G_VTABLE_LABEL_PREFIX): Likewise.
23527 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23528 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23529 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23530 (_G_VTABLE_LABEL_PREFIX): Likewise.
23531 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23532
bcba7aa2
L
235332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23534
23535 * libio/Makefile: Include ../Makeconfig before tests.
23536 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23537 only if $(build-shared) is yes.
23538
06585ee8
L
23539 * iconv/gconv_db.c: Update copyright years.
23540
80ccd52c
LD
235412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23542
23543 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23544 unwind info if defined PIC. Fix special cases description.
23545 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23546
23547 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23548 DP_HI_MASK entry.
23549 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23550
691bc9c1
L
235512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23552
3d9b46b3
L
23553 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23554
de2139a9
L
23555 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23556 is NULL.
23557
5ca78dd0
L
23558 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23559 (LDLIBS-tst-chk4): This.
23560 (LDFLAGS-tst-chk5): Renamed to ...
23561 (LDLIBS-tst-chk5): This.
23562 (LDFLAGS-tst-chk6): Renamed to ...
23563 (LDLIBS-tst-chk6): This.
23564 (LDFLAGS-tst-lfschk4): Renamed to ...
23565 (LDLIBS-tst-lfschk4): This.
23566 (LDFLAGS-tst-lfschk5): Renamed to ...
23567 (LDLIBS-tst-lfschk5): This.
23568 (LDFLAGS-tst-lfschk6): Renamed to ...
23569 (LDLIBS-tst-lfschk6): This.
23570
691bc9c1
L
23571 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23572 on $(common-objpfx)soversions.mk.
23573
65cafb1c
JM
235742012-09-07 Joseph Myers <joseph@codesourcery.com>
23575
23576 [BZ #10014]
23577 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23578 example host name.
23579
c78ab094
SP
235802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23581
23582 * malloc/arena.c (arena_get_retry): New function that gets
23583 another arena for the caller to try its request on.
23584 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23585 current arena cannot fulfill the request.
23586 (__libc_memalign): Likewise.
23587 (__libc_memalign): Likewise.
23588 (__libc_pvalloc): Likewise.
23589 (__libc_calloc): Likewise.
23590
01f49f59
JT
235912012-09-05 John Tobey <john.tobey@gmail.com>
23592
23593 [BZ #13542]
23594 * manual/arith.texi (Operations on Complex): Fix description
23595 of carg branch cut.
23596
4c23fed5
JM
235972012-09-06 Joseph Myers <joseph@codesourcery.com>
23598
1d3c8572
JM
23599 [BZ #10014]
23600 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23601 host name.
23602
4c23fed5
JM
23603 [BZ #10038]
23604 * manual/memory.texi (Memory): Make order of menu items match
23605 order of sections.
23606
04570aaa
L
236072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23608
23609 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23610 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23611 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23612
b80af2f4
L
236132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23614
23615 * csu/libc-tls.c (static_dtv): Renamed to ...
23616 (_dl_static_dtv): This. Make it global.
23617 (_dl_initial_dtv): Removed.
23618 (__libc_setup_tls): Updated.
23619 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23620 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23621 DL_INITIAL_DTV.
23622
2abe9f15
PM
236232012-09-06 Petr Machata <pmachata@redhat.com>
23624
23625 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23626 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23627 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23628 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23629
0948c3af
L
236302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23631
23632 [BZ #14545]
23633 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23634 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23635 freeing dtv[-1].
23636
a5055ad1
L
236372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23638
23639 [BZ #14544]
23640 * Makeconfig (link-static-before-libc): Replace $(+prector)
23641 with $(+prectorT).
23642 (link-static-after-libc): Replace $(+postctor) with
23643 $(+postctorT).
23644 (link-bounded): Replace $(+prector)/$(+postctor) with
23645 $(+prectorT)/$(+postctorT).
23646 (+prectorT): New macro.
23647 (+postctorT): Likewise.
23648
ed8c2ecd
JM
236492012-09-06 Joseph Myers <joseph@codesourcery.com>
23650
23651 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23652 (round_str): Handle values above the maximum for IBM long double
23653 as inexact.
23654 * stdlib/tst-strtod-round.c (tests): Regenerated.
23655
14c996c8
AK
236562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23657
23658 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23659 assembler flag.
23660 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23661 zarch_nohighgprs around the zarch optimized routines.
23662 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23663 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23664 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23665 for zarch.
23666
430d6ce6
DM
236672012-09-05 David S. Miller <davem@davemloft.net>
23668
23669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23670
ff04dda4
DM
23671 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23672 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23673 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23675 entries.
23676
24d4e01b
AO
236772012-09-05 Alexandre Oliva <aoliva@redhat.com>
23678
23679 * malloc/arena.c: Fold copyright years.
23680 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23681
61d58174
AO
236822012-09-05 Alexandre Oliva <aoliva@redhat.com>
23683
23684 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23685
20196a5e
AO
236862012-09-05 Alexandre Oliva <aoliva@redhat.com>
23687
23688 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23689
5c447383
AO
236902012-09-05 Alexandre Oliva <aoliva@redhat.com>
23691
23692 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23693 change internal state upon failure.
23694
fad64255
AO
236952012-09-05 Alexandre Oliva <aoliva@redhat.com>
23696
23697 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23698 * malloc/memusage.c (mmap): Likewise.
23699 (mmap64, mremap): Likewise. Adjust name in comment.
23700
1ffb8c90
SP
237012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23702
23703 * libio/fileops.c: Fix typos in comments.
23704 * libio/oldfileops.c: Likewise.
23705 * libio/wfileops.c: Likewise.
23706
6ef9cc37
SP
237072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23708
23709 [BZ #1349]
23710 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23711 (tst-malloc-usable-ENV): Set environment for test case.
23712 * malloc/hooks.c (malloc_check_get_size): New function to get
23713 requested size.
23714 * malloc/malloc.c (musable): Use malloc_check_get_size.
23715 * malloc/tst-malloc-usable.c: New test case.
23716
4d038ae3
AS
237172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23718
23719 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23720
c4e85184
AM
237212012-09-05 Allan McRae <allan@archlinux.org>
23722
b9dafc56 23723 [BZ #13966]
c4e85184
AM
23724 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23725 determine header location.
23726 * configure: Regenerated.
23727
e1343020
AS
237282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23729
23730 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23731 float format.
23732 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23733 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23734 format.
e1343020
AS
23735 (test): Regenerate.
23736
0a9f1987
DM
237372012-09-04 David S. Miller <davem@davemloft.net>
23738
23739 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23740 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23741 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23742
29237804
FW
237432012-09-04 Florian Weimer <fweimer@redhat.com>
23744
23745 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23746 failures.
23747
edb3cb88
FW
23748 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23749
60160d83
JM
237502012-09-04 Joseph Myers <joseph@codesourcery.com>
23751
23752 [BZ #9914]
23753 * libio/iogetdelim.c: Include <limits.h>.
23754 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23755 + len + 1 would overflow.
23756
bcd6c8dc
AJ
237572012-09-03 Andreas Jaeger <aj@suse.de>
23758
23759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23760 * sysdeps/i386/fpu/libm-test-ulps: Update.
23761
4ffffbd2
LD
237622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23763
23764 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23765 Add s_sinf-sse2, s_conf-sse2.
23766
23767 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23768 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23769 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23770 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23771
23772 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23773 for using routine as __sinf_ia32.
23774 Use macro for function declaration and weak_alias.
23775 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23776 for using routine as __cosf_ia32.
23777 Use macro for function declaration and weak_alias.
23778
23779 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23780 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23781
23782 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23783 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23785
23786 * math/libm-test.inc (cos_test): Add more test cases.
23787 (sin_test): Likewise.
23788 (sincos_test): Likewise.
23789
511fa286
AK
237902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23791
23792 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23793 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23794 hidden.
23795 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23796
5f30cfec
L
237972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 [BZ #14538]
23800 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23801 first element of the GOT.
23802 (elf_machine_load_address): Return the difference between
23803 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23804
0786794f
AM
238052012-09-01 Allan McRae <allan@archlinux.org>
23806
5f30cfec
L
23807 [BZ #13412]
23808 * configure.in (AWK): Require gawk version 3.0 or later.
23809 * configure: Regenerated.
0786794f 23810
26889eac
JM
238112012-09-01 Joseph Myers <joseph@codesourcery.com>
23812
23813 * sysdeps/unix/sysv/linux/kernel-features.h
23814 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23815 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23816 [__NR_clock_getres]: Make code unconditional.
23817 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23818 (clock_getcpuclockid): Remove code left unreachable by removal of
23819 conditionals.
23820 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23821 code unconditional.
23822 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23823 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23824 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23825 Make code unconditional.
23826 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23827 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23828 * sysdeps/unix/sysv/linux/clock_settime.c
23829 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23830 conditional code.
23831 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23832 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23833
d22e28b0
L
238342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 [BZ #14476]
23837 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23838 scripts/test-installation.pl.
23839
23840 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23841 and $ld_so_version if it is set.
23842
050af9c4
SP
238432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23844
23845 [BZ #14516]
23846 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23847 failure if reading from procfs failed.
23848 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23849
ad845c0b
JM
238502012-08-27 Joseph Myers <joseph@codesourcery.com>
23851
23852 * sysdeps/unix/sysv/linux/kernel-features.h
23853 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23854 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23855 Remove conditional code.
23856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23857 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23858 Remove conditional code.
23859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23860 * sysdeps/unix/sysv/linux/i386/fxstat.c
23861 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23863 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23864 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23866 * sysdeps/unix/sysv/linux/i386/lxstat.c
23867 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23869 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23870 Remove conditional code.
23871 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23872 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23873 Remove conditional code.
23874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23875 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23876 <kernel-features.h>.
23877 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23878 Remove.
23879 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23880 Remove conditional code.
23881 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23882 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23883 Remove conditional.
23884
5dbf56af
MF
238852012-08-27 Mike Frysinger <vapier@gentoo.org>
23886
23887 [BZ #5400]
23888 * NEWS: Add fixed bug number.
23889
d6e70f43
JM
238902012-08-27 Joseph Myers <joseph@codesourcery.com>
23891
7efb4737
JM
23892 [BZ #14519]
23893 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23894 underflowing exponent in case of negative sign.
23895 * stdlib/tst-strtod-round-data: Add more tests.
23896 * stdlib/tst-strtod-round.c (tests): Regenerated.
23897
af92131a
JM
23898 [BZ #3479]
23899 * stdlib/strtod_l.c (NDIG): Remove.
23900 (HEXNDIG): Likewise.
23901 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23902 smallest representable value.
23903 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23904 lie within an exact representation of 1/2 ulp of the result.
23905 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23906 unconditionally.
23907 (TENS_P9_IDX): Define unconditionally.
23908 (TENS_P9_SIZE): Likewise.
23909 (TENS_P10_IDX): Likewise.
23910 (TENS_P10_SIZE): Likewise.
23911 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23912 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23913 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23914 entries for 10^2^13 and 10^2^14.
23915 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23916 (TENS_P13_IDX): Define.
23917 (TENS_P13_SIZE): Likewise.
23918 (TENS_P14_IDX): Likewise.
23919 (TENS_P14_SIZE): Likewise.
23920 (_fpioconst_pow10): Change array size to
23921 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23922 unconditional.
23923 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23924 1024]: Add entries for 10^2^13 and 10^2^14.
23925 [LAST_POW10 > _LAST_POW10]: Remove #error.
23926 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23927 (_fpioconst_pow10): Change array size to
23928 FPIOCONST_POW10_ARRAY_SIZE.
23929 * stdlib/gen-fpioconst.c: New file.
23930 * stdlib/gen-tst-strtod-round.c: Likewise.
23931 * stdlib/tst-strtod-round-data: Likewise.
23932 * stdlib/tst-strtod-round.c: Likewise.
23933 * stdlib/Makefile (tests): Add tst-strtod-round.
23934
d6e70f43
JM
23935 [BZ #14459]
23936 * stdlib/strtod_l.c: Include <stdint.h>.
23937 (NDEBUG): Do not define.
23938 (round_and_return): Change EXPONENT parameter to type intmax_t.
23939 Rearrange calculations to avoid internal overflow possibilities.
23940 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23941 Rearrange calculations to avoid internal overflow possibilities.
23942 Assert that number fits inside MPNSIZE limbs.
23943 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23944 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23945 calculations and add assertions to avoid internal overflow
23946 possibilities. Add casts to avoid signed/unsigned operations.
23947 * stdlib/tst-strtod-overflow.c: New file.
23948 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23949
1f529f7d
MP
239502012-08-25 Marek Polacek <polacek@redhat.com>
23951
23952 * time/time.h: Fix some typos in comments.
23953
59a629f1
RM
239542012-08-23 Roland McGrath <roland@hack.frob.com>
23955
23956 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23957 * posix/tst-rfc3484-2.c: Likewise.
23958 * posix/tst-rfc3484-3.c: Likewise.
23959
d3bafbc9
SM
239602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23961
23962 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23963 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23964
4efcc022
JM
239652012-08-23 Joseph Myers <joseph@codesourcery.com>
23966
23967 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23968 #include of fxstatat64.c.
23969
3cc3ef96
RM
239702012-08-22 Roland McGrath <roland@hack.frob.com>
23971
f04e2132
RM
23972 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23973 * shadow/getspent_r.c: Likewise.
23974 * shadow/getspnam.c: Likewise.
23975 * shadow/getspnam_r.c: Likewise.
23976 * gshadow/getsgent.c: Likewise.
23977 * gshadow/getsgent_r.c: Likewise.
23978 * gshadow/getsgnam.c: Likewise.
23979 * gshadow/getsgnam_r.c: Likewise.
23980 * inet/getnetbyad.c: Likewise.
23981 * inet/getnetbyad_r.c: Likewise.
23982 * inet/getnetbynm.c: Likewise.
23983 * inet/getnetbynm_r.c: Likewise.
23984 * inet/getnetent.c: Likewise.
23985 * inet/getnetent_r.c: Likewise.
23986 * inet/getproto.c: Likewise.
23987 * inet/getproto_r.c: Likewise.
23988 * inet/getprtent.c: Likewise.
23989 * inet/getprtent_r.c: Likewise.
23990 * inet/getprtname.c: Likewise.
23991 * inet/getprtname_r.c: Likewise.
23992 * inet/getrpcbyname.c: Likewise.
23993 * inet/getrpcbyname_r.c: Likewise.
23994 * inet/getrpcbynumber.c: Likewise.
23995 * inet/getrpcbynumber_r.c: Likewise.
23996 * inet/getrpcent.c: Likewise.
23997 * inet/getrpcent_r.c: Likewise.
23998 * inet/getaliasent.c: Likewise.
23999 * inet/getaliasent_r.c: Likewise.
24000 * inet/getaliasname.c: Likewise.
24001 * inet/getaliasname_r.c: Likewise.
24002 * nscd/getgrgid_r.c: Likewise.
24003 * nscd/getgrnam_r.c: Likewise.
24004 * nscd/gethstbyad_r.c: Likewise.
24005 * nscd/gethstbynm3_r.c: Likewise.
24006 * nscd/getpwnam_r.c: Likewise.
24007 * nscd/getpwuid_r.c: Likewise.
24008 * nscd/getsrvbynm_r.c: Likewise.
24009 * nscd/getsrvbypt_r.c: Likewise.
24010 * nscd/gai.c: Likewise.
24011
c53d909c
RM
24012 * configure.in (build_nscd): New substituted variable, set
24013 by --disable-build-nscd and defaults to $use_nscd.
24014 * configure: Regenerated.
24015 * config.make.in (build-nscd): New substituted variable.
24016 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24017 Change conditional to require [$(build-nscd) = yes] as well.
24018 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24019
3cc3ef96
RM
24020 [BZ# 13696]
24021 * configure.in (use_nscd): New substituted variable, set by
24022 --disable-nscd. If enabled, define USE_NSCD.
24023 * configure: Regenerated.
24024 * config.h.in: Add USE_NSCD.
24025 * config.make.in (use-nscd): New substituted variable.
24026 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24027 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24028 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24029 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24030 (CFLAGS-getgrnam_r.c): Likewise.
24031 (CFLAGS-initgroups.c): Likewise.
24032 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24033 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24034 Variables removed.
24035 * inet/getnetgrent_r.c
24036 (nscd_setnetgrent): New function, broken out of ...
24037 (setnetgrent): ... here. Call it.
24038 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24039 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24040 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24041 * nscd/Makefile (routines, aux): Move definitions after include of
24042 Makeconfig. Conditionalize on [$(use-nscd) != no].
24043 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24044 Conditionalize on [USE_NSCD].
24045 (is_nscd, nscd_init_cb): Likewise.
24046 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24047 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24048 * nss/nss_db/db-init.c: Likewise.
24049 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24050 [USE_NSCD].
24051 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24052 (make_request): Use it.
24053 (cache_valid_p): New function.
24054 (__check_pf): Use it.
24055 * NEWS: Add item for --disable-nscd.
24056
07e51550
DL
240572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24058
24059 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24060 to support sed >= 4.2.1-20-ga9bf076.
24061 * configure: Regenerated.
24062
35a5b08b
RM
240632012-08-22 Roland McGrath <roland@hack.frob.com>
24064
24065 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24066 Conditionalize whole body on [IREL].
24067
8479f23a
JL
240682012-08-22 Jeff Law <law@redhat.com>
24069
24070 [BZ #14505]
24071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24072 if the family is PF_UNSPEC.
24073
48da0b21
MF
240742012-08-22 Mike Frysinger <vapier@gentoo.org>
24075
24076 * Makerules (lib-version): Rename from V.
24077 (install-lib-nosubdir): Change V to lib-version.
24078
15d0da8c
WS
240792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24080
24081 [BZ #14252]
24082 * powerpc32/power6/wcschr.c: New file.
24083 * powerpc32/power6/wcscpy.c: New file.
24084 * powerpc32/power6/wcsrchr.c: New file.
24085 * powerpc64/power6/wcschr.c: New file.
24086 * powerpc64/power6/wcscpy.c: New file.
24087 * powerpc64/power6/wcsrchr.c: New file.
24088
bcca0895
MK
240892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24090
24091 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24092 (two_way_short_needle): Use it.
5a4aaa33
RM
24093 * string/strstr.c (AVAILABLE1_USES_J): Define.
24094 * string/strcasestr.c: Likewise.
99677e57
MK
24095
24096 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24097 array references.
24098 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24099
400726de
MK
24100 [BZ #11607]
24101 * NEWS: Add an entry.
24102 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24103 define their defaults.
24104 (two_way_short_needle): Detect end-of-string on-the-fly.
24105 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24106 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24107 * string/bug-strcasestr1.c: New test.
24108 * string/Makefile: Run it.
24109
20a71f2c
MK
241102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24111
24112 [BZ #11607]
24113 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24114 the first character.
24115
21ad0558
RM
241162012-08-21 Roland McGrath <roland@hack.frob.com>
24117
24118 * csu/elf-init.c (__libc_csu_irel): Function removed.
24119 * csu/libc-start.c (apply_irel): New function.
24120 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24121
0e1d9911
JM
241222012-08-21 Joseph Myers <joseph@codesourcery.com>
24123
24124 * sysdeps/unix/sysv/linux/kernel-features.h
24125 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24126 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24127 <kernel-features.h>.
24128 [__NR_fadvise64_64]: Make code unconditional.
24129 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24130 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24131 !__NR_fadvise64_64)]: Likewise.
24132 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24133 !__NR_fadvise64_64))]: Likewise.
24134 [__NR_fadvise64]: Make code unconditional.
24135 [!__NR_fadvise64]: Remove conditional code.
24136 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24137 <kernel-features.h>.
24138 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24139 unconditional.
24140 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24141 conditional code.
24142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24143 not include <kernel-features.h>.
24144 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24145 unconditional.
24146 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24147 conditional code.
24148 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24149 include <kernel-features.h>.
24150 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24151 unconditional.
24152 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24153 conditional code.
24154
14a50c9d
WS
241552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24156
24157 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24158 slight instruction rearrangements per scrollpipe analysis.
24159 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24160
c0f4faf0
RM
241612012-08-20 Roland McGrath <roland@hack.frob.com>
24162
696da859
RM
24163 * manual/syslog.texi (syslog; vsyslog, closelog):
24164 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24165 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24166
c0f4faf0
RM
24167 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24168 DSOCAPS to match condition on defining it.
24169
348363b2
JM
241702012-08-20 Joseph Myers <joseph@codesourcery.com>
24171
a35cbf28
JM
24172 * sysdeps/unix/sysv/linux/kernel-features.h
24173 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24175 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24176 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24178 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24179 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24181 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24182 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24183
445f7ecd
JM
24184 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24185 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24186
348363b2
JM
24187 * sysdeps/unix/sysv/linux/kernel-features.h
24188 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24189 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24190 unconditional.
24191 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24192 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24193 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24194 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24195 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24196 Make code unconditional.
24197 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24198 (__mmap64) [!__NR_mmap2]: Likewise.
24199 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24200 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24201 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24202 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24203 [__NR_mmap2]: Make code unconditional.
24204 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24205 (__mmap64) [!__NR_mmap2]: Likewise.
24206
bc5bc0e5
AK
242072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24208
24209 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24210
88d506de
AJ
242112012-08-18 Andreas Jaeger <aj@suse.de>
24212
24213 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24214
493387d2
MF
242152012-08-18 Mike Frysinger <vapier@gentoo.org>
24216
24217 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24218 * include/unistd.h (__have_sock_cloexec): Likewise.
24219 (__have_pipe2): Likewise.
24220 (__have_dup3): Likewise.
24221
a277af22
MF
242222012-08-18 Mike Frysinger <vapier@gentoo.org>
24223
24224 [BZ #9685]
24225 * include/unistd.h (__have_pipe2): Change define into an extern int.
24226 (__have_dup3): Likewise.
24227 * socket/have_sock_cloexec.c: Include fcntl.h.
24228 (__have_pipe2): New variable.
24229 (__have_dup3): Likewise.
24230
fdab8fd3
MF
242312012-08-17 Mike Frysinger <vapier@gentoo.org>
24232
24233 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24234
31035e80
MP
242352012-08-17 Marek Polacek <polacek@redhat.com>
24236
24237 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24238 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24239
3bd9e993
RM
242402012-08-17 Roland McGrath <roland@hack.frob.com>
24241
c91c505f
RM
24242 * configure.in: Add AC_SUBST for sysheaders.
24243 * configure: Regenerated.
24244 * config.make.in (sysheaders): New substituted variable.
24245
7c6f9d53
RM
24246 * sysdeps/unix/mkfifo.c: Moved ...
24247 * sysdeps/posix/mkfifo.c: ... here.
24248 * sysdeps/unix/mkfifoat.c: Moved ...
24249 * sysdeps/posix/mkfifoat.c: ... here.
24250
24251 * sysdeps/unix/utime.c: Moved ...
24252 * sysdeps/posix/utime.c: ... here.
24253
24254 * sysdeps/unix/time.c: Moved ...
24255 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24256 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24257 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24258
24259 * sysdeps/unix/nice.c: Moved ...
24260 * sysdeps/posix/nice.c: ... here.
24261
24262 * sysdeps/unix/alarm.c: Moved ...
24263 * sysdeps/posix/alarm.c: ... here.
24264
3bd9e993
RM
24265 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24266
d1f09384
JL
242672012-08-17 Jeff Law <law@redhat.com>
24268
24269 * intl/Makefile (codeset_mo): New variable.
24270 ($(codeset_mo)): New target.
24271 (tst-codeset.out): Depend on that. Remove explicit rule.
24272 (tst-gettext3.out, tst-gettext5.out): Likewise.
24273 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24274 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24275 * intl/tst-codeset.sh: Remove.
24276 * intl/tst-gettext3.sh: Likewise.
24277 * intl/tst-gettext5.sh: Likewise.
24278
2ae1ae5c
RM
242792012-08-17 Roland McGrath <roland@hack.frob.com>
24280
c31fdb83
RM
24281 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24282 * sysdeps/unix/syscalls.list: ... here.
24283
a0844057
RM
24284 * sysdeps/posix/getaddrinfo.c
24285 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24286 (gaiconf_init, gaiconf_reload): Use them.
24287 [!_STATBUF_ST_NSEC]
24288 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24289 Define using time_t rather than struct timespec.
24290
750c1f2a
RM
24291 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24292 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24293 Macros removed.
24294 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24295 [!NO_THREADS].
24296 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24297 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24298 Likewise.
24299
2ae1ae5c
RM
24300 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24301 __libc_cleanup_push argument.
24302
e66a42f5
RM
24303 * bits/param.h: New file.
24304 * misc/sys/param.h: New file.
24305 * include/sys/param.h: New file.
24306 * misc/Makefile (headers): Add bits/param.h.
24307 * sysdeps/generic/sys/param.h: File removed.
24308 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24309 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24310 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24311 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24312
b7c08a66
RM
24313 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24314 last change.
24315
b2e1c562
RM
24316 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24317 [_IO_MTSAFE_IO].
24318 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24319 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24320 New macros.
24321
c75ccd4c
RM
24322 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24323 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24324 rather than -D_IO_MTSAFE_IO conditionally.
24325 * stdio-common/Makefile (CPPFLAGS): Likewise.
24326 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24327 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24328 Use $(libio-mtsafe).
24329 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24330 of -D_IO_MTSAFE_IO.
24331 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24332 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24333 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24334 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24335 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24336 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24337 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24338 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24339 (CFLAGS-fread_u_chk.c): Likewise.
24340 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24341 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24342 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24343 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24344 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24345 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24346 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24347 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24348 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24349
24350 * libio/Makefile: Test [$(libc-reentrant) = yes]
24351 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24352
24353 * Makeconfig
24354 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24355 * sysdeps/pthread/configure: File removed.
24356 * sysdeps/pthread/Makeconfig: New file.
24357 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24358 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24359
d9195db8
GB
243602012-08-16 Gary Benson <gbenson@redhat.com>
24361
24362 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24363 unmapping the first object in a namespace.
24364
86466cd9
RM
243652012-08-16 Roland McGrath <roland@hack.frob.com>
24366
24367 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24368 (__internal_setnetgrent): ... this. Add internal_function to
24369 definition. Add libc_hidden_def.
24370 (setnetgrent): Update caller.
24371 (internal_endnetgrent): Renamed to ...
24372 (__internal_endnetgrent): ... this. Add internal_function to
24373 definition. Add libc_hidden_def.
24374 (endnetgrent): Update caller.
24375 (internal_getnetgrent_r): Renamed to ...
24376 (__internal_getnetgrent_r): ... this. Add internal_function to
24377 definition. Add libc_hidden_def.
24378 (__getnetgrent_r): Update caller.
24379 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24380
c3c8283c
JM
243812012-08-16 Joseph Myers <joseph@codesourcery.com>
24382
24383 * stdlib/longlong.h: Update from GCC.
24384
db1ee0a8
RM
243852012-08-16 Roland McGrath <roland@hack.frob.com>
24386
24387 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24388 on _QL, which is set by umul_ppmm but never used.
24389 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24390 variables, which are set by GMP macros but never used.
24391 * stdio-common/_itowa.c (_itowa): Likewise.
24392 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24393 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24394
30f69637
CD
243952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24396
24397 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24398 struct La_sh_regs is not constant.
24399 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24400 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24401 and struct La_sparc64_regs are not constant.
24402
93a78ac4
JM
244032012-08-16 Joseph Myers <joseph@codesourcery.com>
24404
24405 * sysdeps/unix/sysv/linux/kernel-features.h
24406 (__ASSUME_POSIX_TIMERS): Remove.
24407 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24410 Make code unconditional.
24411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24412 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24413 Make code unconditional.
24414 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24415 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24416 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24417 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24418 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24419 Make code unconditional.
24420 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24421 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24422 (__libc_missing_posix_timers): Remove.
24423
dd924cd7
RM
244242012-08-15 Roland McGrath <roland@hack.frob.com>
24425
4b4f2771
RM
24426 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24427 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24428
601c888b
RM
24429 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24430
176790a7
RM
24431 * elf/dl-sym.c: Include <stdlib.h>.
24432
329bc018
RM
24433 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24434 constants, which avoids warnings in 32-bit builds.
24435
e04e272d
RM
24436 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24437 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24438
952bf94a
RM
24439 * misc/lseek.c: File moved to ...
24440 * io/lseek.c: ... here.
24441
7c99b50a
RM
24442 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24443
dd924cd7
RM
24444 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24445 shifting LEN more than 31 bits at once.
24446
b3f479a8
LD
244472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24448
24449 [BZ #14195]
8c4ae0d4
RM
24450 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24451 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24452 * string/test-strncasecmp.c (check1): Renamed to...
24453 (bz12205): ...this.
24454 (bz14195): Add new testcase for two empty input strings and N > 0.
24455 (test_main): Call new testcase, adapt for renamed function.
24456
9c55864e
AJ
244572012-08-15 Andreas Jaeger <aj@suse.de>
24458
24459 [BZ #14090]
24460 * crypt/md5test2.c: New test, based on test supplied by Serge
24461 Belyshev <belyshev@depni.sinp.msu.ru>.
24462 * crypt/Makefile (xtests): Add md5test-giant..
24463 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24464
02dcb6c5
PE
244652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24466
24467 [BZ #14090]
24468 * crypt/md5.c (md5_process_block): Don't assume the buffer
24469 length is less than 2**32.
24470 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24471 length is less than 2**64.
24472
a3f95dcc
RM
244732012-08-15 Roland McGrath <roland@hack.frob.com>
24474
be75d758
RM
24475 * string/str-two-way.h: Include <sys/param.h>.
24476 (MAX): Macro removed.
24477
7312ca90
RM
24478 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24479 Move #define and #undef of memmove to just before and after
24480 including <string.h>.
24481
9a0a5486
RM
24482 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24483 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24484 and after including <string.h>. Move declarations of
24485 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24486 to before #include "string/memmove.c".
24487
67cc348d
RM
24488 * include/dirent.h: Declare __getdirentries.
24489
a3f95dcc
RM
24490 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24491 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24492
ca98e171
MF
244932012-08-14 Mike Frysinger <vapier@gentoo.org>
24494
24495 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24496 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24497 * sysdeps/i386/configure: Regenerated.
24498 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24499 STABS_CURRENT_FILE, and STABS_FUN.
24500 (END): Remove call to STABS_FUN_END.
24501 (STABS_CURRENT_FILE1): Delete.
24502 (STABS_CURRENT_FILE): Likewise.
24503 (STABS_FUN): Likewise.
24504 (STABS_FUN_END): Likewise.
24505 (STABS_FUN2): Likewise.
24506 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24507 * sysdeps/x86_64/configure: Regenerated.
24508
5908bf46
RM
245092012-08-14 Roland McGrath <roland@hack.frob.com>
24510
24511 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24512 * elf/dl-lookup.c: Likewise.
5908bf46 24513
f2c05b9e
JM
245142012-08-14 Joseph Myers <joseph@codesourcery.com>
24515
24516 * sysdeps/unix/sysv/linux/kernel-features.h
24517 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24518 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24519 unconditionally.
24520 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24521 unconditionally.
24522 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24523 condition on __ASSUME_CLONE_THREAD_FLAGS.
24524
e11f5155
AJ
245252012-08-14 Andreas Jaeger <aj@suse.de>
24526
24527 * sysdeps/i386/fpu/libm-test-ulps: Update.
24528
51a9ba86
MK
245292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24530
2fdd4f78
AJ
24531 * include/atomic.h (atomic_exchange_and_add): Split into ...
24532 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24533 New atomic macros.
51a9ba86 24534
ba6cba9e
MT
245352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24536
24537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24538
42443a47
JL
245392012-08-13 Jeff Law <law@redhat.com>
24540
24541 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24542 null byte in the output string.
24543
121dce05
JM
245442012-08-10 Joseph Myers <joseph@codesourcery.com>
24545
24546 * sysdeps/unix/sysv/linux/kernel-features.h
24547 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24548 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24549 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24550 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24551 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24552 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24553 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24554
bf51f568
JL
245552012-08-09 Jeff Law <law@redhat.com>
24556
24557 [BZ #13939]
24558 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24559 When avoid_arena is set, don't retry in the that arena. Pick the
24560 next one, whatever it might be.
24561 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24562 (arena_lock): Pass in new parameter to arena_get2.
24563 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24564 arena_get2.
24565 (__libc_malloc): Unify retrying after main arena failure with
24566 __libc_memalign version.
24567 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24568
f85fa270
L
245692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24570
24571 [BZ #14166]
24572 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24573 to __redirect_strstr.
24574 (__strstr_sse42): Use typeof __redirect_strstr.
24575 (__strstr_ia32): Likewise.
24576 (__libc_strstr): New prototype.
24577 (strstr): Renamed to ...
24578 (__libc_strstr): This.
24579 (strstr): New strong alias of __libc_strstr.
24580 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24581 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24582 __redirect_time.
24583 Include <time.h>.
24584 (__libc_time): New prototype.
24585 (time_ifunc): Replace time with __libc_time.
24586 (time): New strong alias and hidden definition of __libc_time.
24587 (__GI_time): Remove strong alias.
24588 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24589 Include <stddef.h>.
24590 (memmove): Redefined to __redirect_memmove.
24591 (__memmove_sse2): Use typeof __redirect_memmove.
24592 (__memmove_ssse3): Likewise.
24593 (__memmove_ssse3_back): Likewise.
24594 (__libc_memmove): New prototype.
24595 (memmove): Renamed to ...
24596 (__libc_memmove): This.
24597 (memmove): New strong alias of __libc_memmove.
24598
33b4a91e
MS
245992012-08-08 Mark Salter <msalter@redhat.com>
24600
24601 * elf/elf.h
24602 (R_MN10300_TLS_GD): Define.
24603 (R_MN10300_TLS_LD): Likewise.
24604 (R_MN10300_TLS_LDO): Likewise.
24605 (R_MN10300_TLS_GOTIE): Likewise.
24606 (R_MN10300_TLS_IE): Likewise.
24607 (R_MN10300_TLS_LE): Likewise.
24608 (R_MN10300_TLS_DTPMOD): Likewise.
24609 (R_MN10300_TLS_DTPOFF): Likewise.
24610 (R_MN10300_TLS_TPOFF): Likewise.
24611 (R_MN10300_SYM_DIFF): Likewise.
24612 (R_MN10300_ALIGN): Likewise.
24613 (R_MN10300_NUM): Update.
24614
b36137f1
JM
246152012-08-08 Joseph Myers <joseph@codesourcery.com>
24616
24617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24618 Remove.
24619
cdd915fd
RM
246202012-08-08 Roland McGrath <roland@hack.frob.com>
24621
a2433aac
RM
24622 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24623
cdd915fd
RM
24624 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24625 sysdeps/unix -> sysdeps/posix move.
24626 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24627
bf9b740a
AM
246282012-08-07 Allan McRae <allan@archlinux.org>
24629
24630 [BZ #14303]
24631 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24632 (SUNOS_CPP): Likewise.
24633 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24634 not found.
24635 (open_input): Call CPP using execvp.
24636
93df14ee
JM
246372012-08-07 Joseph Myers <joseph@codesourcery.com>
24638
24639 * sysdeps/unix/sysv/linux/kernel-features.h
24640 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24641 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24642 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24643 (__ASSUME_WAITID_SYSCALL): Likewise.
24644 * sysdeps/unix/sysv/linux/dl-execstack.c
24645 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24646 code unconditional.
24647 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24648 conditional code.
24649 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24650 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24651 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24652 code.
24653 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24654 unconditional.
24655 [__ASSUME_WAITID_SYSCALL]: Likewise.
24656 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24657
d34689de
RM
246582012-08-07 Roland McGrath <roland@hack.frob.com>
24659
a281decc
RM
24660 * sysdeps/unix/closedir.c: Renamed to ...
24661 * sysdeps/posix/closedir.c: ... here.
24662 * sysdeps/unix/dirfd.c: Renamed to ...
24663 * sysdeps/posix/dirfd.c: ... here.
24664 * sysdeps/unix/dirstream.h: Renamed to ...
24665 * sysdeps/posix/dirstream.h: ... here.
24666 * sysdeps/unix/fdopendir.c: Renamed to ...
24667 * sysdeps/posix/fdopendir.c: ... here.
24668 * sysdeps/unix/opendir.c: Renamed to ...
24669 * sysdeps/posix/opendir.c: ... here.
24670 * sysdeps/unix/readdir.c: Renamed to ...
24671 * sysdeps/posix/readdir.c: ... here.
24672 * sysdeps/unix/readdir_r.c: Renamed to ...
24673 * sysdeps/posix/readdir_r.c: ... here.
24674 * sysdeps/unix/rewinddir.c: Renamed to ...
24675 * sysdeps/posix/rewinddir.c: ... here.
24676 * sysdeps/unix/seekdir.c: Renamed to ...
24677 * sysdeps/posix/seekdir.c: ... here.
24678 * sysdeps/unix/telldir.c: Renamed to ...
24679 * sysdeps/posix/telldir.c: ... here.
24680 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24681 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24682 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24683 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24684
22895b47
RM
24685 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24686 * bits/fcntl.h: ... here.
24687
707a53b6
RM
24688 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24689 not 0.
24690 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24691 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24692 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24693 (struct flock): Move l_start, l_len to the beginning.
24694 Use __pid_t for l_pid.
24695 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24696 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24697 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24698 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24699 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24700 [__USE_LARGEFILE64] (struct flock64): New type.
24701 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24702
f0bd3e25
RM
24703 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24704 * bits/dirent.h: ... here.
24705
d34689de
RM
24706 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24707 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24708
6dad2c06
JM
247092012-08-07 Joseph Myers <joseph@codesourcery.com>
24710
24711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24712 Change from 2.6.0 to 2.6.16.
24713 * sysdeps/unix/sysv/linux/configure: Regenerated.
24714 * sysdeps/unix/sysv/linux/kernel-features.h
24715 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24716 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24717 version.
24718 (__ASSUME_UTIMES): Likewise.
24719 (__ASSUME_CLONE_STOPPED): Remove.
24720 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24721 architectures, not kernel version.
24722 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24723 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24724 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24725 (__ASSUME_WAITID_SYSCALL): Likewise.
24726 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24727 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24728 * README: State 2.6.16 as minimum Linux kernel version. Do not
24729 refer to older versions.
24730
03af9520
RM
247312012-08-06 Roland McGrath <roland@hack.frob.com>
24732
8e49df1d
RM
24733 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24734 Define alphasort64 as an alias.
24735 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24736 Define versionsort64 as an alias.
24737 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24738 Define scandir64 as an alias.
24739 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24740 Define scandirat64 as an alias.
24741 * dirent/alphasort64.c (alphasort64):
24742 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24743 * dirent/versionsort64.c: Likewise.
24744 * dirent/scandir64.c: Likewise.
24745 * dirent/scandirat64.c: Likewise.
24746 * sysdeps/wordsize-64/alphasort.c: File removed.
24747 * sysdeps/wordsize-64/alphasort64.c: File removed.
24748 * sysdeps/wordsize-64/scandir.c: File removed.
24749 * sysdeps/wordsize-64/scandir64.c: File removed.
24750 * sysdeps/wordsize-64/scandirat.c: File removed.
24751 * sysdeps/wordsize-64/scandirat64.c: File removed.
24752 * sysdeps/wordsize-64/versionsort.c: File removed.
24753 * sysdeps/wordsize-64/versionsort64.c: File removed.
24754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24755 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24756 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24757 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24758 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24759 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24760 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24761 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24762
24763 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24765 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24767 [defined __arch64__ || defined __sparcv9]
24768 (__INO_T_MATCHES_INO64_T): New macro.
24769 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24770 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24771 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24772 * sysdeps/unix/sysv/linux/bits/dirent.h
24773 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24774 (_DIRENT_MATCHES_DIRENT64): New macro.
24775
03af9520
RM
24776 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24777 Define lockf64 as an alias.
24778 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24779 Define fseeko64 as an alias.
24780 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24781 Define ftello64 as an alias.
24782 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24783 Define _IO_fgetpos64 and fgetpos64 as aliases.
24784 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24785 Define _IO_fsetpos64 and fsetpos64 as aliases.
24786 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24787 Conditionalize body on this.
24788 * libio/fseeko64.c: Likewise.
24789 * libio/ftello64.c: Likewise.
24790 * libio/iofgetpos64.c: Likewise.
24791 * libio/iofsetpos64.c: Likewise.
24792 * sysdeps/wordsize-64/lockf.c: File removed.
24793 * sysdeps/wordsize-64/lockf64.c: File removed.
24794 * sysdeps/wordsize-64/fseeko.c: File removed.
24795 * sysdeps/wordsize-64/fseeko64.c: File removed.
24796 * sysdeps/wordsize-64/ftello.c: File removed.
24797 * sysdeps/wordsize-64/ftello64.c: File removed.
24798 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24799 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24800 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24801 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24802 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24803 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24804 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24805 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24806 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24807 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24812
24813 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24815 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24817 [defined __arch64__ || defined __sparcv9]
24818 (__OFF_T_MATCHES_OFF64_T): New macro.
24819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24820 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24822 (__OFF_T_MATCHES_OFF64_T): New macro.
24823
c5757acd
L
248242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24825
24826 * stdlib/secure-getenv.c (__secure_getenv): Replace
24827 GLIBC_2_16 with GLIBC_2_17.
24828
3a31811e
L
248292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24830
24831 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24833
faa2bccb
DM
248342012-08-03 David S. Miller <davem@davemloft.net>
24835
24836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24837
85fe1997
JM
248382012-08-03 Joseph Myers <joseph@codesourcery.com>
24839
24840 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24841 Remove.
24842 (__ASSUME_CORRECT_SI_PID): Likewise.
24843 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24844 (__ASSUME_TMPFS_NAME): Likewise.
24845 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24846 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24847 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24848 (HAVE_AUX_SECURE): Make definition unconditional.
24849 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24850 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24851
4f75b7a0
RM
248522012-08-03 Roland McGrath <roland@hack.frob.com>
24853
24854 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24855 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24856 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24857 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24858 __eloop_threshold instead of SYMLOOP_MAX.
24859
24860 * sysdeps/generic/eloop-threshold.h: New file.
24861 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24862 of MAXSYMLINKS.
24863 * elf/chroot_canon.c (chroot_canon): Likewise.
24864
7aab07e4
JM
248652012-08-03 Joseph Myers <joseph@codesourcery.com>
24866
24867 [BZ #13717]
24868 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24869 Change to 2.6.0 everywhere.
24870 * sysdeps/unix/sysv/linux/configure: Regenerated.
24871 * sysdeps/unix/sysv/linux/kernel-features.h
24872 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24873 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24874 kernel versions.
24875 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24876 (__ASSUME_FUTEX_REQUEUE): Remove.
24877 (__ASSUME_STATFS64): Define unconditionally.
24878 (__ASSUME_AT_SECURE): Likewise.
24879 (__ASSUME_CORRECT_SI_PID): Likewise.
24880 (__ASSUME_TGKILL): Define without depending on kernel version for
24881 i386.
24882 (__ASSUME_UTIMES): Likewise.
24883 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24884 kernel version.
24885 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24886 (__ASSUME_TMPFS_NAME): Likewise.
24887 * README: Update reference to Linux kernel versions.
24888
b67e9372
MP
248892012-08-02 Marek Polacek <polacek@redhat.com>
24890
1f529f7d 24891 [BZ# 14150]
b67e9372
MP
24892 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24893 libc_cv_asm_type_prefix with %.
24894 * configure: Regenerated.
d2441631
RM
24895 * include/libc-symbols.h: Remove comment about
24896 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24897 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24898 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24899 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24900 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24901 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24902 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24903 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24904 * elf/tst-unique2mod1.c: Likewise.
24905 * elf/tst-unique1mod2.c: Likewise.
24906 * elf/tst-unique1mod1.c: Likewise.
24907 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24908 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24909 Replace ASM_TYPE_DIRECTIVE with .type.
24910 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24911 * sysdeps/i386/sysdep.h: Likewise.
24912 * sysdeps/x86_64/sysdep.h: Likewise.
24913 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24915 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24916 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24917 * sysdeps/powerpc/powerpc32/sysdep.h:
24918 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24919 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24920 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24921 * sysdeps/i386/fpu/e_powf.S: Likewise.
24922 * sysdeps/i386/fpu/e_expl.S: Likewise.
24923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24924 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24925 * sysdeps/i386/fpu/e_pow.S: Likewise.
24926 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24927 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24928 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24929 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24930 * sysdeps/i386/fpu/e_log2.S: Likewise.
24931 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24932 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24933 * sysdeps/i386/fpu/e_powl.S: Likewise.
24934 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24935 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24936 * sysdeps/i386/fpu/e_logl.S: Likewise.
24937 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24938 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24939 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24940 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24941 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24942 * sysdeps/i386/fpu/e_log.S: Likewise.
24943 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24944 * sysdeps/i386/fpu/e_logf.S: Likewise.
24945 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24947 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24948 * sysdeps/i386/fpu/e_log10.S: Likewise.
24949 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24950 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24951 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24952 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24953 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24954 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24955 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24956 * sysdeps/i386/i686/strtok.S: Likewise.
24957 * sysdeps/i386/i386-mcount.S: Likewise.
24958 * sysdeps/i386/strtok.S: Likewise.
24959 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24960 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24961 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24962 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24963 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24964 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24965 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24966 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24967 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24968 * sysdeps/x86_64/_mcount.S: Likewise.
24969 * sysdeps/x86_64/strtok.S: Likewise.
24970 * sysdeps/sh/_mcount.S: Likewise.
24971
2747bf9a
RM
249722012-08-01 Roland McGrath <roland@hack.frob.com>
24973
24974 * libio/iofopen.c: Include <fcntl.h>.
24975 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24976 (_IO_fopen64, fopen64): Define as aliases.
24977 * libio/iofopen64.c: Include <fcntl.h>.
24978 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24979 Conditionalize body on this.
24980 * sysdeps/wordsize-64/iofopen.c: File removed.
24981 * sysdeps/wordsize-64/iofopen64.c: File removed.
24982
3fb791b8
MP
249832012-08-01 Marek Polacek <polacek@redhat.com>
24984
24985 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24986 Use dlfcn directly instead of a variable.
24987 (binfmt-subdir): Do not define.
24988 (dlfcn): Likewise.
24989
a9f1039f
JM
249902012-08-01 Joseph Myers <joseph@codesourcery.com>
24991
23bddc06
JM
24992 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24993 Remove all definitions.
24994 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24995 <kernel-features.h>.
24996 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24997 (miss_F_GETOWN_EX): Remove all definitions.
24998 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24999 macro definition.
25000 [!__ASSUME_FCNTL64]: Remove conditional code.
25001 [__ASSUME_FCNTL64]: Make code unconditional.
25002 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25003 <kernel-features.h>.
25004 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25005 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25006 (lockf64) [__NR_fcntl64]: Make code unconditional.
25007 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25008
a9f1039f
JM
25009 * sysdeps/unix/sysv/linux/kernel-features.h
25010 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25011 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25012 Make code unconditional.
25013 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25014 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25016 [__NR_vfork]: Make code unconditional.
25017 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25018 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25020 [__NR_vfork]: Make code unconditional.
25021 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25022 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25023
09c0ee5f
RM
250242012-08-01 Roland McGrath <roland@hack.frob.com>
25025
48aec5b9
RM
25026 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25027 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25028
cd97c966
RM
25029 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25030 Define mkstemp64 as an alias.
3f55550c
RM
25031 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25032 Define mkstemps64 as an alias.
cd97c966
RM
25033 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25034 Define mkostemp64 as an alias.
b8625cfc
RM
25035 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25036 Define mkostemps64 as an alias.
cd97c966
RM
25037 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25038 Conditionalize body on this.
25039 * misc/mkostemp64.c: Likewise.
b8625cfc 25040 * misc/mkostemps64.c: Likewise.
3f55550c 25041 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25042 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25043 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25044 * sysdeps/wordsize-64/mkostemp.c: File removed.
25045 * sysdeps/wordsize-64/mkstemp.c: File removed.
25046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25047 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25048 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25050
09c0ee5f
RM
25051 [BZ #14138]
25052 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25053 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25054 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25055 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25056
25057 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25058 compat_symbol macros from <shlib-compat.h> rather than the underlying
25059 default_symbol_version and symbol_version macros, so that DEFAULT
25060 lines in shlib-versions are respected.
25061 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25062
7e66ee51
FW
250632012-08-01 Florian Weimer <fweimer@redhat.com>
25064
25065 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25066 Declare with warn_unused_result.
25067 (setgid, setregid, setegid, setresgid): Likewise.
25068 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25069 Likewise.
25070 * WUR-REPORT: Remove set*id functions.
25071
d2a54255
PT
250722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25073
25074 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25075
7ecdb005
RM
250762012-07-31 Roland McGrath <roland@hack.frob.com>
25077
b4180a5e 25078 [BZ #10191]
789bd351
RM
25079 * include/sys/socket.h (__libc_accept, __libc_accept4):
25080 Add attribute_hidden.
25081 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25082
40ce302d
RM
25083 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25084 use of PTR_MANGLE.
25085 * inet/getnetgrent_r.c (setup): Likewise.
25086
7ecdb005
RM
25087 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25088
e2eabb2c
DM
250892012-07-31 David S. Miller <davem@davemloft.net>
25090
25091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25092
d0419dbf
JM
250932012-07-31 Joseph Myers <joseph@codesourcery.com>
25094
25095 [BZ #13629]
25096 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25097 value between 1.0 and 2.0 and smaller part has absolute value less
25098 than 1.0.
25099 * math/s_clog10.c (__clog10): Likewise.
25100 * math/s_clog10f.c (__clog10f): Likewise.
25101 * math/s_clog10l.c (__clog10l): Likewise.
25102 * math/s_clogf.c (__clogf): Likewise.
25103 * math/s_clogl.c (__clogl): Likewise.
25104 * math/libm-test.inc (clog_test): Add more tests.
25105 (clog10_test): Likewise.
25106 * sysdeps/i386/fpu/libm-test-ulps: Update.
25107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25108
2bc13872
FW
251092012-07-31 Florian Weimer <fweimer@redhat.com>
25110
25111 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25112 Exit with zero in case no suitable GID is found, and write a
25113 message to standard error.
25114
bea9b193
RM
251152012-07-30 Roland McGrath <roland@hack.frob.com>
25116
25117 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25118 rather than to 1.
25119 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25120 (MAXPATHLEN): Removed.
25121 (NOGROUP, NODEV): New macros.
25122 (setbit, clrbit, isset, isclr): New macros.
25123 (howmany, roundup, powerof2): New macros.
25124 (DEV_BSIZE): New macro.
25125
25126 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25127 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25128
25129 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25130 definition on [!__NO_LONG_DOUBLE_MATH].
25131
25132 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25133 PTR_MANGLE and PTR_DEMANGLE.
25134
25135 * socket/accept4.c (accept4): Rename to __libc_accept4.
25136 Define accept4 as a weak alias.
25137
25138 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25139 on [_DIRENT_HAVE_D_TYPE].
25140 * io/ftw.c (ftw_dir): Likewise.
25141
25142 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25143
25144 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25145
25146 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25147 Use the BSD numbers rather than the arbitrary ones we had.
25148 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25149 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25150 (SIGXCPU, SIGXFSZ): New macros.
25151 (_NSIG): Now 32.
25152
25153 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25154 initializer on [_LIBC_REENTRANT].
25155
25156 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25157 definitions inside [_POSIX_MAPPED_FILES].
25158
25159 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25160
25161 * dirent/opendir.c: Include <fcntl.h>.
25162
25163 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25164 (__libc_getspecific): Likewise.
25165 (__libc_key_create): Likewise.
25166
25167 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25168 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25169 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25170 (tmpfile64): Define as alias.
25171 * sysdeps/wordsize-64/tmpfile.c: File removed.
25172 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25173 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25174 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25175
25176 * stdio-common/vfscanf.c: Include <stdbool.h>.
25177 * nss/makedb.c: Likewise.
25178 * stdio-common/_i18n_number.h: Likewise.
25179 * argp/argp-help.c: Likewise.
25180 * posix/wordexp.c: Likewise.
25181 * sysdeps/posix/spawni.c: Likewise.
25182 * nss/nss_files/files-initgroups.c: Likewise.
25183 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25184 * nss/nss_files/files-initgroups.c: Likewise.
25185 * nss/nss_db/db-netgrp.c: Likewise.
25186 * nss/nss_db/db-initgroups.c: Likewise.
25187 * io/fchmodat.c: Include <sys/stat.h>.
25188
25189 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25190 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25191
25192 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25193 [HAVE_MMAP].
25194
25195 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25196 Add multiple inclusion protection.
25197
e5abc686
DM
251982012-07-27 David S. Miller <davem@davemloft.net>
25199
25200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25201
815e6fa3
GB
252022012-07-27 Gary Benson <gbenson@redhat.com>
25203
25204 [BZ #14298]
25205 * elf/rtld.c: Include <stap-probe.h>.
25206 (dl_main): Added static probes "init_start" and "init_complete".
25207 * elf/dl-load.c: Include <stap-probe.h>.
25208 (lose): Take new parameter "nsid".
25209 Added static probe "map_failed".
25210 (_dl_map_object_from_fd): Pass namespace id to lose.
25211 Added static probe "map_start".
25212 (open_verify): Pass namespace id to lose.
25213 * elf/dl-open.c: Include <stap-probe.h>.
25214 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25215 and "reloc_complete".
25216 * elf/dl-close.c: Include <stap-probe.h>.
25217 (_dl_close_worker): Added static probes "unmap_start" and
25218 "unmap_complete".
25219 * elf/rtld-debugger-interface.txt: New file documenting the above.
25220
9f98c16c
RM
252212012-07-26 Roland McGrath <roland@hack.frob.com>
25222
25223 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25224 rather than a string variable.
25225 * sunrpc/rpc_main.c (h_output): Likewise.
25226 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25227
f3c22df3
PT
252282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25229
25230 * inet/check_native.c: New file.
25231
3129cfc6
JM
252322012-07-26 Joseph Myers <joseph@codesourcery.com>
25233
da865e95
JM
25234 [BZ #13629]
25235 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25236 if larger part has absolute value 1.0.
25237 * math/s_clog10.c (__clog10): Likewise.
25238 * math/s_clog10f.c (__clog10f): Likewise.
25239 * math/s_clog10l.c (__clog10l): Likewise.
25240 * math/s_clogf.c (__clogf): Likewise.
25241 * math/s_clogl.c (__clogl): Likewise.
25242 * math/libm-test.inc (clog_test): Add more tests.
25243 (clog10_test): Likewise.
25244 * sysdeps/i386/fpu/libm-test-ulps: Update.
25245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25246
3129cfc6
JM
25247 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25248 (pltexit): Likewise.
25249 (La_regs): Likewise.
25250 (La_retval): Likewise.
25251 (int_retval): Likewise.
25252 Update #error for removed macros to refer only to definitions in
25253 tst-audit.h.
25254 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25255 macro.
25256 (pltexit): Likewise.
25257 (La_regs): Likewise.
25258 (La_retval): Likewise.
25259 (int_retval): Likewise.
25260 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25261 macro.
25262 (pltexit): Likewise.
25263 (La_regs): Likewise.
25264 (La_retval): Likewise.
25265 (int_retval): Likewise.
25266 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25267 macro.
25268 (pltexit): Likewise.
25269 (La_regs): Likewise.
25270 (La_retval): Likewise.
25271 (int_retval): Likewise.
25272 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25273 macro.
25274 (pltexit): Likewise.
25275 (La_regs): Likewise.
25276 (La_retval): Likewise.
25277 (int_retval): Likewise.
25278 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25279 macro.
25280 (pltexit): Likewise.
25281 (La_regs): Likewise.
25282 (La_retval): Likewise.
25283 (int_retval): Likewise.
25284 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25285 macro.
25286 (pltexit): Likewise.
25287 (La_regs): Likewise.
25288 (La_retval): Likewise.
25289 (int_retval): Likewise.
25290 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25291 macro definitions in tst-audit.h.
25292 * sysdeps/i386/tst-audit.h: New file.
25293 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25294 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25295 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25296 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25297 * sysdeps/sh/tst-audit.h: Likewise.
25298 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25299 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25300 * sysdeps/x86_64/tst-audit.h: Likewise.
25301
bfc07087
AJ
253022012-07-26 Andreas Jaeger <aj@suse.de>
25303
b1b2aaf8
AJ
25304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25305 ptrace.
25306
25307 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25308 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25309 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25310 PTRACE_O_MASK.
25311 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25312 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25313 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25314
bfc07087
AJ
25315 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25316 value.
25317
25318 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25319 _sigsys.
25320 (si_call_addr, si_syscall, si_arch): Define new macro.
25321 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25322 _sigsys.
25323 (si_call_addr, si_syscall, si_arch): Define new marcro.
25324 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25325 _sigsys.
25326 (si_call_addr, si_syscall, si_arch): Define new macro.
25327 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25328 _sigsys.
25329 (si_call_addr, si_syscall, si_arch): Define new macro.
25330
89b4b02f
JM
253312012-07-25 Joseph Myers <joseph@codesourcery.com>
25332
25333 [BZ #13717]
25334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25335 Change to 2.4.21 where previously 2.4.1.
25336 * sysdeps/unix/sysv/linux/configure: Regenerated.
25337 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25338 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25339 Linux kernel version.
25340 (__ASSUME_STD_AUXV): Remove.
25341 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25342 kernel version.
25343 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25344 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25345 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25346 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25347 (__ASSUME_NETLINK_SUPPORT): Likewise.
25348 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25349 (__no_netlink_support): Remove conditional definition.
25350 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25351 Remove.
25352 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25353 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25354 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25355 (if_nameindex_ioctl): Remove.
25356 (if_nameindex_netlink): Do not handle __no_netlink_support.
25357 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25358 code.
25359 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25360 Remove conditional code.
25361 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25362 code.
25363 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25364 unconditional.
25365 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25366 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25367 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25368 Remove.
25369 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25370 [!__ASSUME_STD_AUXV]: Remove conditional code.
25371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25372 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25373 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25375 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25376 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25377 code.
25378 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25380 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25381 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25382 conditional code.
25383 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25385 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25386 code.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25388 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25389 conditional code.
25390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25391 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25392 code unconditional.
25393 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25394 conditional code.
25395 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25396 unconditional.
25397 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25398 conditional code.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25400 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25401 unconditional.
25402 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25403 conditional code.
25404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25405 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25406 code unconditional.
25407 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25408 conditional code.
25409 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25410 unconditional.
25411 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25412 conditional code.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25414 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25415 code unconditional.
25416 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25417 conditional code.
25418 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25419 unconditional.
25420 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25421 conditional code.
25422
842a39cd
AS
254232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25424
25425 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25426 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25427 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25428 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25429 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25430 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25431 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25432 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25433 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25434 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25435 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25436 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25437 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25438 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25439 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25440 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25441 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25442 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25443 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25445 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25446 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25448
84b3fd84
FW
254492012-07-25 Florian Weimer <fweimer@redhat.com>
25450
25451 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25452 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25453 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25454 Introduce __libc_secure_getenv.
0c7936d5
FW
25455 * stdlib/Versions (2.17): Add secure_getenv
25456 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25457 * stdlib/secure-getenv.c: Rename __secure_getenv to
25458 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25459 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25460 * stdlib/tst-secure-getenv.c: New.
25461 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25462 * manual/startup.texi (Environment Access): Document
25463 secure_getenv.
84b3fd84
FW
25464 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25465 __libc_secure_getenv.
25466 * inet/ruserpass.c (ruserpass): Likewise.
25467 * malloc/mtrace.c (mtrace): Likewise.
25468 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25469 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25470 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25471 * sysdeps/posix/tempname.c: Likewise. Evaluate
25472 HAVE_SECURE_GETENV.
25473 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25474 __secure_getenv to __libc_secure_getenv.
84b3fd84 25475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25477 Likewise.
25478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25479 Likewise.
25480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25487
56e49b71
JM
254882012-07-25 Joseph Myers <joseph@codesourcery.com>
25489
25490 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25491 (struct La_i86_retval): Likewise.
25492 (struct La_x86_64_regs): Likewise.
25493 (struct La_x86_64_retval): Likewise.
25494 (struct La_x32_regs): Likewise.
25495 (struct La_x32_retval): Likewise.
25496 (struct La_ppc32_regs): Likewise.
25497 (struct La_ppc32_retval): Likewise.
25498 (struct La_ppc64_regs): Likewise.
25499 (struct La_ppc64_retval): Likewise.
25500 (struct La_sh_regs): Likewise.
25501 (struct La_sh_retval): Likewise.
25502 (struct La_s390_32_regs): Likewise.
25503 (struct La_s390_32_retval): Likewise.
25504 (struct La_s390_64_regs): Likewise.
25505 (struct La_s390_64_retval): Likewise.
25506 (struct La_sparc32_regs): Likewise.
25507 (struct La_sparc32_retval): Likewise.
25508 (struct La_sparc64_regs): Likewise.
25509 (struct La_sparc64_retval): Likewise.
25510 (struct audit_ifaces): Remove architecture-specific pltenter and
25511 pltexit members.
25512 * sysdeps/i386/ldsodefs.h: New file.
25513 * sysdeps/powerpc/ldsodefs.h: Likewise.
25514 * sysdeps/s390/ldsodefs.h: Likewise.
25515 * sysdeps/sh/ldsodefs.h: Likewise.
25516 * sysdeps/sparc/ldsodefs.h: Likewise.
25517 * sysdeps/x86_64/ldsodefs.h: Likewise.
25518
354691b7
MP
255192012-07-25 Marek Polacek <polacek@redhat.com>
25520
25521 [BZ #6808]
25522 * math/libm-test.inc (yn_test): Add another test.
25523 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25524 to ERANGE when the result is +-Inf.
25525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25526 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25527 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25528 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25529
bf9e2071
JM
255302012-07-24 Joseph Myers <joseph@codesourcery.com>
25531
25532 * conform/data/time.h-data (NULL): Use macro-constant. Require
25533 equal to 0.
25534 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25535 clock_t.
25536 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25537
57633811
TS
255382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25539
25540 * configure.in <sysdeps resolving>: Correct printing
25541 Implies_before.
25542 * configure: Regenerate.
25543
c23c33b0
TS
255442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25545
25546 * math/w_ilogb.c: Include <limits.h>.
25547 * math/w_ilogbl.c: Likewise.
25548
b5982523
JM
255492012-07-20 Joseph Myers <joseph@codesourcery.com>
25550
25551 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25552 va_copy. Document allowing for unavailable va_copy only as
25553 pre-C99 compatibility.
25554 * manual/string.texi (Copying and Concatenation): Use va_copy
25555 instead of __va_copy in concat example.
25556
ac4ea442
PT
255572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25558
25559 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25560 (__sendto): Use create_address_port. Initialize APORT and deallocate
25561 it if not null.
25562
f98eafbd
PT
25563 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25564 with O_NOLINK passed to __file_name_lookup.
25565
898c7aab
PT
25566 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25567 with O_NOLINK passed to __file_name_lookup.
25568
0ced335a
PT
25569 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25570 negative N or less than NGIDS.
25571
b3404dbd
PT
25572 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25573 type to string_t. Set ERANGE as errno and return it if NAME is not big
25574 enough. Use memcpy instead of strncpy.
25575
0f48659e
JM
255762012-07-20 Joseph Myers <joseph@codesourcery.com>
25577
25578 * elf/Makefile (check-data): Remove.
25579 (localplt.data): New vpath directive.
25580 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25581 instead of $(check-data).
25582 * scripts/data/localplt-generic.data: Move to ...
25583 * sysdeps/generic/localplt.data: ... here.
25584 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25585 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25586 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25588 ... here.
25589 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25591 ... here.
25592 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25594 ... here.
25595 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25597 ... here.
25598 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25600 ... here.
25601 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25603 ... here.
25604
d37cbdaa
AZ
256052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25606
25607 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25608 PPC32 and PPC64 files.
25609 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25610 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25611
46f85fc2
AK
256122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25613
25614 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25615 __makecontext_ret to ...
25616 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25617 ... here and call exit if uc_link is NULL. New file.
25618 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25619 __makecontext_ret.S.
25620 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25621 __makecontext_ret to ...
25622 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25623 ... here and call exit if uc_link is NULL. New file.
25624 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25625 __makecontext_ret.S.
25626
08f43f9b
AK
256272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25628
25629 * elf/elf.h (R_390_IRELATIVE): New definition.
25630 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25631 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25632 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25633 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25634 (elf_machine_lazy_rel): Likewise.
25635 * sysdeps/s390/dl-irel.h: New file.
25636 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25637 * sysdeps/s390/s390-64/memset.S: New asm code.
25638 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25639 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25640 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25641 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25642 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25643 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25644 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25645 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25646 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25647 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25648 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25649 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25650 * sysdeps/s390/s390-32/memset.S: New asm code.
25651 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25652
3b05db33
MP
256532012-07-17 Marek Polacek <polacek@redhat.com>
25654
25655 [BZ #14349]
25656 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25657 * sysdeps/s390/s390-64/configure.in: Likewise.
25658 * sysdeps/sparc/configure.in: Likewise.
25659 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25660 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25661 * sysdeps/i386/configure.in: Likewise.
25662 * sysdeps/x86_64/configure.in: Likewise.
25663 * sysdeps/sh/configure.in: Likewise.
25664 * sysdeps/s390/s390-32/configure: Regenerated.
25665 * sysdeps/s390/s390-64/configure: Likewise.
25666 * sysdeps/x86_64/configure: Likewise.
25667 * sysdeps/sh/configure: Likewise.
25668 * sysdeps/powerpc/powerpc64/configure: Likewise.
25669 * sysdeps/powerpc/powerpc32/configure: Likewise.
25670 * sysdeps/sparc/configure: Likwise.
25671 * sysdeps/i386/configure: Likewise.
25672
a66877c6
MP
25673 * elf/dl-open.c: Comment fixes.
25674
cfc82fd8
JM
256752012-07-17 Joseph Myers <joseph@codesourcery.com>
25676
bd29910a
JM
25677 * Makefile [CXX] (check-data): Remove.
25678 [CXX] (c++-types.data): New vpath directive.
25679 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25680 vpath. Do not allow for C++ type data being missing.
25681 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25682 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25683 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25684 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25685 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25686 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25687 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25689 ... here.
25690 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25692 ... here.
25693 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25695 ... here.
25696 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25698 ... here.
25699 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25701 ... here.
25702 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25704 ... here.
25705 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25707 ... here.
25708 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25710
cfc82fd8
JM
25711 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25712 definitions to architecture-specific files.
25713 (TLS_IE): Likewise.
25714 (TLS_LD): Likewise.
25715 (TLS_GD): Likewise.
25716 * sysdeps/i386/tls-macros.h: New file.
25717 * sysdeps/powerpc/tls-macros.h: Likewise.
25718 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25719 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25720 * sysdeps/sh/tls-macros.h: Likewise.
25721 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25722 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25723 * sysdeps/x86_64/tls-macros.h: Likewise.
25724
f7db3170
TS
257252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25726
07cbfc23
TS
25727 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25728 zero value for regular exit case.
25729
f7db3170
TS
25730 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25731 (__start_context): Preserve zero value for regular exit case.
25732
dc97c227
TS
257332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25734 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25735
25736 * manual/setjmp.texi (setcontext): Clarify normal process
25737 termination when uc_link is the null pointer.
25738 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25739 exit call.
25740
d0cd7d02
AS
257412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25742
25743 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25744 preprocessor. Test for each exception mask separately.
25745
dd318934
AJ
257462012-07-16 Andreas Jaeger <aj@suse.de>
25747
25748 * po/ru.po: Update from translation team.
25749
8048311a
JM
257502012-07-15 Joseph Myers <joseph@codesourcery.com>
25751
25752 * conform/data/string.h-data (NULL): Use macro-constant. Require
25753 equal to 0.
25754 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25755 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25756 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25757 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25759
b637d46e
AJ
257602012-07-13 Andreas Jaeger <aj@suse.de>
25761
25762 * po/fr.po: Update from translation team.
25763
541428fe
MP
257642012-07-12 Marek Polacek <polacek@redhat.com>
25765
25766 [BZ #14173]
25767 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25768 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25769 loop condition.
25770
ec332e94
JM
257712012-07-12 Joseph Myers <joseph@codesourcery.com>
25772
25773 [BZ #13717]
25774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25775 Change to 2.4.1 where previously 2.4.0.
25776 * sysdeps/unix/sysv/linux/configure: Regenerated.
25777 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25778 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25779 version.
25780 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25781 (__ASSUME_AT_CLKTCK): Remove.
25782 (__ASSUME_AT_PAGESIZE): Likewise.
25783 (__ASSUME_AT_XID): Likewise.
25784 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25785 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25786 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25787 unconditionally.
25788 (HAVE_AUX_PAGESIZE): Likewise.
25789 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25790 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25791 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25792
7b6e99be
JB
257932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25794
25795 [BZ #14307]
25796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25797 the temporary buffer used to invoke __gethostbyname2_r,
25798 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25799 host_data / struct gaih_addrtuple.
25800 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25801 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25802 header file nss/nsswitch.h.
25803 * nss/nsswitch.h (global scope): Add definition of implementation
25804 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25805 resolv/nss_dns/dns-host.c).
25806
608404eb
AJ
258072012-07-11 Andreas Jaeger <aj@suse.de>
25808
25809 * po/fr.po: Update from translation team.
25810
71220aca
AJ
25811 * po/sv.po: Update from translation team
25812 * po/fr.po: Another update from translation team.
25813
28cfe843
AZ
258142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25815
25816 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25817 for subnormals or multiply small sinh result by itself.
25818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25820
6b90f981
DM
258212012-07-11 David S. Miller <davem@davemloft.net>
25822
25823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25824
c6825772
AS
258252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25826
25827 [BZ #14347]
25828 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25829 (INTERNAL_MARK): Shift it here.
25830
7b8e0d49
MP
258312012-07-10 Marek Polacek <polacek@redhat.com>
25832
25833 [BZ #14151]
25834 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25835 libc_cv_asm_global_directive with .globl.
25836 * configure: Regenerated.
25837 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25838 with .globl.
25839 * sysdeps/i386/configure: Regenerated.
25840 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25841 with .globl.
25842 * sysdeps/x86_64/configure: Regenerated.
25843 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25844 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25845 * elf/tst-unique2mod2.c: Likewise.
25846 * elf/tst-unique2mod1.c: Likewise.
25847 * elf/tst-unique1mod2.c: Likewise.
25848 * elf/tst-unique1mod1.c: Likewise.
25849 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25850 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25851 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25852 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25853 * sysdeps/mach/sysdep.h: Likewise.
25854 * sysdeps/i386/sysdep.h: Likewise.
25855 * sysdeps/i386/i386-mcount.S: Likewise.
25856 * sysdeps/x86_64/_mcount.S: Likewise.
25857 * sysdeps/x86_64/sysdep.h: Likewise.
25858 * sysdeps/sh/_mcount.S: Likewise.
25859 * sysdeps/sh/sysdep.h: Likewise.
25860 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25861 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25862 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25863 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25864 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25865 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25866 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25867 * locale/localeinfo.h: Likewise.
25868 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25869 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25870
6c55cda3
RM
258712012-07-09 Roland McGrath <roland@hack.frob.com>
25872
25873 [BZ #14336]
25874 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25875 system".
25876 * manual/message.texi (The Uniforum approach): Likewise.
25877 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25878 (glibc iconv Implementation): Likewise.
25879
638a572e
JM
258802012-07-09 Joseph Myers <joseph@codesourcery.com>
25881
25882 [BZ #14337]
25883 * math/s_clog.c (__clog): Avoid scaling a value down where that
25884 could result in underflow.
25885 * math/s_clog10.c (__clog10): Likewise.
25886 * math/s_clog10f.c (__clog10f): Likewise.
25887 * math/s_clog10l.c (__clog10l): Likewise.
25888 * math/s_clogf.c (__clogf): Likewise.
25889 * math/s_clogl.c (__clogl): Likewise.
25890 * math/libm-test.inc (clog_test): Add more tests.
25891 (clog10_test): Likewise.
25892 * sysdeps/i386/fpu/libm-test-ulps: Update.
25893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25894
261f4859
AS
258952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25896
0abaf3e4
AS
25897 [BZ #14283]
25898 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25899 by 7 not 8 to examine high bit of fractional part.
25900
261f4859
AS
25901 [BZ #14042]
25902 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25903 for call to __mcount_internal.
25904 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25905 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25906 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25907
f17ac40d
JM
259082012-07-06 Joseph Myers <joseph@codesourcery.com>
25909
9ad63c23
JM
25910 [BZ #14154]
25911 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25912 approximation for values within 0x1p-13f of an odd multiple of
25913 pi/4.
25914 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25915 exception. Add more tests.
25916 * sysdeps/i386/fpu/libm-test-ulps: Update.
25917
f17ac40d
JM
25918 [BZ #6778]
25919 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25920 inputs and return -1 for them. Do not check for +Inf in case not
25921 reachable for +Inf.
25922 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25923 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25924 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25925 and return -1 for them. Do not check for +Inf in case not
25926 reachable for +Inf.
25927 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25928 define.
25929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25930 and return -1 for them. Do not check for +Inf in case not
25931 reachable for +Inf.
25932 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25933 spurious underflow.
25934 * sysdeps/i386/fpu/libm-test-ulps: Update.
25935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25936
fb21f89b
MF
259372012-07-06 Mike Frysinger <vapier@gentoo.org>
25938
25939 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25940
cdfe2c5e
JM
259412012-07-05 Joseph Myers <joseph@codesourcery.com>
25942
25943 [BZ #14157]
25944 [BZ #14331]
25945 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25946 could result in spurious underflow. Scale down values above
25947 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25948 * math/s_csqrtf.c (__csqrtf): Likewise.
25949 * math/s_csqrtl.c (__csqrtl): Likewise.
25950 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25951 spurious underflow.
25952 * sysdeps/i386/fpu/libm-test-ulps: Update.
25953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25954
70d35b67
AS
259552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25956
704bc459
AS
25957 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25958 xopen-msg.sed.
25959 * catgets/xopen-msg.awk: New file.
25960 * catgets/xopen-msg.sed: Removed.
25961
70d35b67
AS
25962 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25963 po2text.sed.
25964 * intl/po2test.awk: New file.
25965 * intl/po2test.sed: Removed.
25966
ca61cf32
JM
259672012-07-04 Joseph Myers <joseph@codesourcery.com>
25968
25969 [BZ #14328]
25970 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25971 or multiply small sinh result by itself.
25972 * math/s_ctanf.c (__ctanf): Likewise.
25973 * math/s_ctanh.c (__ctanh): Likewise.
25974 * math/s_ctanhf.c (__ctanhf): Likewise.
25975 * math/s_ctanhl.c (__ctanhl): Likewise.
25976 * math/s_ctanl.c (__ctanl): Likewise.
25977 * math/libm-test.inc (ctan_test_tonearest): New function.
25978 (ctan_test_towardzero): Likewise.
25979 (ctan_test_downward): Likewise.
25980 (ctan_test_upward): Likewise.
25981 (ctanh_test_tonearest): Likewise.
25982 (ctanh_test_towardzero): Likewise.
25983 (ctanh_test_downward): Likewise.
25984 (ctanh_test_upward): Likewise.
25985 (main): Call these new functions.
25986 * sysdeps/i386/fpu/libm-test-ulps: Update.
25987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25988
ca48a46a
MF
259892012-07-03 Mike Frysinger <vapier@gentoo.org>
25990
25991 * .gitignore: Delete /ports entry.
25992
9d63d37d
AJ
259932012-07-03 Andreas Jaeger <aj@suse.de>
25994
25995 * po/bg.po: Update from translation team.
25996 * po/cs.po: Likewise.
25997 * po/de.po: Likewise.
25998 * po/hr.po: Likewise.
25999 * po/nl.pl: Likewise.
26000 * po/pl.po: Likewise.
26001 * po/vi.po: Likewise.
26002
370ca3d2
JM
260032012-07-03 Joseph Myers <joseph@codesourcery.com>
26004
95f5a9a8
JM
26005 * Makeconfig [!+link] (+link-before-libc): New variable.
26006 [!+link] (+link-after-libc): Likewise.
26007 [!+link] (+link-tests): Likewise.
26008 [!+link] (+link): Define in terms of $(+link-before-libc) and
26009 $(+link-after-libc).
26010 [!+link-static] (+link-static-before-libc): New variable.
26011 [!+link-static] (+link-static-after-libc): Likewise.
26012 [!+link-static] (+link-static-tests): Likewise.
26013 [!+link-static] (+link-static): Define in terms of
26014 $(+link-static-before-libc) and $(+link-static-after-libc).
26015 [build-shared] (link-libc-before-gnulib): New variable.
26016 [build-shared] (link-libc-tests): Likewise.
26017 [build-shared] (link-libc): Define in terms of
26018 $(link-libc-before-gnulib).
26019 [!build-shared] (link-libc-tests): New variable.
26020 (link-libc-static-tests): New variable.
26021 [!gnulib] (gnulib-arch): New variable.
26022 [!gnulib] (gnulib-tests): Likewise.
26023 [!gnulib] (static-gnulib-arch): Likewise.
26024 [!gnulib] (static-gnulib-tests): Likewise.
26025 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26026 Define with "=" instead of ":=".
26027 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26028 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26029 * Rules (binaries-all-notests): New variable.
26030 (binaries-all-tests): Likewise.
26031 (binaries-static-notests): Likewise.
26032 (binaries-static-tests): Likewise.
26033 (binaries-all): Define using $(binaries-all-notests) and
26034 $(binaries-all-tests).
26035 (binaries-static): Define using $(binaries-static-notests) and
26036 $(binaries-static-tests).
26037 (binaries-shared-tests): New variable.
26038 (binaries-shared-notests): Likewise.
26039 (binaries-shared): Remove variable.
26040 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26041 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26042 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26043 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26044 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26045 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26046 * elf/Makefile (sln-modules): New variable.
26047 (extra-objs): Add $(sln-modules:=.o).
26048 (ldconfig-modules): Add static-stubs.
26049 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26050 * elf/static-stubs.c: New file.
26051
7a845b2c
JM
26052 [BZ #14283]
26053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26054 by 7 not 8 to examine high bit of fractional part. Use volatile
26055 variables when splitting into final array of floats if
26056 __FLT_EVAL_METHOD__ != 0.
26057 * math/libm-test.inc (cos_test): Add another test.
26058 (sin_test): Likewise.
26059 * sysdeps/i386/fpu/libm-test-ulps: Update.
26060
e2283f38
JM
26061 [BZ #14273]
26062 * math/libm-test.inc (cosh_test): Add more tests.
26063
370ca3d2
JM
26064 * version.h (RELEASE): Set to "development".
26065 (VERSION): Set to "2.16.90".
26066
ee9247c3
CD
260672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26068
26069 * NEWS: Update copyright. Remove last-updated date.
26070 Mention math library bug fixes and timezone data changes.
26071 * README: Mention GNU/Hurd, x32, and HPPA support status.
26072
4648c381
TS
260732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26074
26075 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26076
aac78a43
AJ
260772012-06-27 Andreas Jaeger <aj@suse.de>
26078
26079 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26080
ed3dbfad
AJ
260812012-06-25 Andreas Jaeger <aj@suse.de>
26082
26083 * sysdeps/s390/fpu/libm-test-ulps: Update.
26084
4d0ee855
AS
260852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26086 Thomas Schwinge <thomas@codesourcery.com>
26087
26088 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26089 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26091 fanotify_mark.
26092
af1bce34
TS
260932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26094
a9fa33ba
TS
26095 * sysdeps/mach/start.c: Remove file.
26096 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26097 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26098 * sysdeps/sh/init-first.c: Likewise.
26099
58f902b8
TS
26100 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26101 registers for frame unwinding purposes, add CFI directives.
26102 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26103 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26104 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26105 Likewise.
26106
1518f58b
TS
26107 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26108 __fortify_fail returning.
26109 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26110
db9b5059
TS
26111 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26112 sysdeps/sh/____longjmp_chk.S.
26113 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26114 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26115 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26116 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26117
967705fe
TS
26118 * sysdeps/sh/abort-instr.h: New file.
26119 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26120 process in case exit returns.
26121
a9def8c4
TS
26122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26123 initialize the GOT register before use.
26124
2a649725
TS
26125 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26126 calculation of ARGC > 4.
26127
af1bce34
TS
26128 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26129 meaningful names to some local labels.
26130
d230f50a
KK
261312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26132 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26133
26134 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26135 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26136 (__arch_compare_and_exchange_val_16_acq): Likewise.
26137 (__arch_compare_and_exchange_val_32_acq): Likewise.
26138 (atomic_exchange_and_add): Fix gUSA sequence.
26139 (atomic_add): Likewise.
26140 (atomic_add_negative): Likewise.
26141 (atomic_add_zero): Likewise.
26142 (atomic_bit_test_set): Likewise.
26143
0479b305
AS
261442012-06-22 Andreas Schwab <schwab@redhat.com>
26145
26146 [BZ #13579]
26147 * include/link.h (struct link_map): Add l_free_initfini.
26148 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26149 l_initfini.
26150 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26151 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26152 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26153 set.
26154
0e3933b9
CD
261552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26156
26157 * configure.in: Use AC_LANG_SOURCE.
26158 * configure: Regenerate.
26159
4248b1b1
RM
261602012-06-22 Roland McGrath <roland@hack.frob.com>
26161
26162 * configure.in (libc_cv_localstatedir): New substituted variable.
26163 * configure: Regenerated.
26164 * config.make.in (localstatedir): New variable, substituted from
26165 libc_cv_localstatedir.
26166 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26167 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26168 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26169 * sysdeps/gnu/configure: Regenerated.
26170
006dd861
JL
261712012-06-21 Jeff Law <law@redhat.com>
26172
26173 [BZ #14277]
26174 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26175 free. Simplify list management for _LIBC case.
26176
79662d42
JM
261772012-06-21 Joseph Myers <joseph@codesourcery.com>
26178
b7abb4bf
JM
26179 [BZ #14273]
26180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26181 Clear sign bit of 64-bit integer value before comparing against
26182 overflow value.
26183
79662d42
JM
26184 * sysdeps/mach/configure: Regenerated.
26185
1f150908
L
261862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26187
26188 [BZ #14278]
26189 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26190
28363bbf
JL
261912012-06-21 Jeff Law <law@redhat.com>
26192
26193 [BZ #13882]
26194 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26195 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26196 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26197 * elf/dl-open.c (dl_open_worker): Likewise.
26198
09615db4
CD
261992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26200
26201 * scripts/list-sources.sh: Scan PORTS for translations.
26202 * po/libc.pot: Regenerated.
26203
2174c6dd
AJ
262042012-06-21 Andreas Jaeger <aj@suse.de>
26205
26206 [BZ #12194]
26207 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26208 warning.
26209 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26210 * bits/byteswap-16.h (__bswap_16): Likewise.
26211 * bits/byteswap.h (__bswap_constant_16): Likewise.
26212
3ee947b1
L
262132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 [BZ #14117]
a2f34833
L
26216 * sysdeps/i386/fpu_control.h: Removed.
26217 * sysdeps/x86_64/fpu_control.h: Moved to ...
26218 * sysdeps/x86/fpu_control.h: Here.
26219
3ee947b1
L
26220 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26221 (_FPU_SETCW): Likewise.
26222
ed1825f8
L
262232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26224
25f1282a
L
26225 [BZ #14117]
26226 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26227 * sysdeps/x86/fpu/bits/mathinline.h: This.
26228 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26229
ed1825f8
L
26230 [BZ #14050]
26231 [BZ #14117]
26232 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26233 functions if __x86_64__ is defined.
26234
36d54b74
CLT
262352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26236
26237 * string/endian.h: Add !__ASSEMBLER__ condition for including
26238 conversion interfaces.
26239
10285c21
JM
262402012-06-15 Joseph Myers <joseph@codesourcery.com>
26241
26242 [BZ #14241]
26243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26244 of ABS(x) in calculating zero to negative powers other than odd
26245 integers.
26246 * math/libm-test.inc (pow_test): Add more tests.
26247
06c5abbd
AJ
262482012-06-15 Andreas Jaeger <aj@suse.de>
26249
26250 * manual/contrib.texi (Contributors): Update entry of Liubov
26251 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26252 Machado Filho.
26253
a3aeac40
CH
262542012-06-15 Cyril Hrubis <metan@ucw.cz>
26255
26256 * string/string.h: Add __wur to GNU version of strerror_r.
26257
49bdf4c1
L
262582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26259
26260 [BZ #14229]
26261 * string/Makefile (tests): Add tst-strtok_r.
26262 * string/tst-strtok_r.c: New file.
26263 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26264 RAX_LP/RDX_LP on SAVE_PTR.
26265
834f9b8d
RM
262662012-06-14 Roland McGrath <roland@hack.frob.com>
26267
26268 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26269
75fa1921
JM
262702012-06-14 Joseph Myers <joseph@codesourcery.com>
26271
26272 * libm_test.inc (csqrt_test): Allow more spurious underflow
26273 exceptions.
26274 (j0_test): Likewise.
26275 (j1_test): Likewise.
26276 (y0_test): Likewise.
26277 (y1_test): Likewise.
26278
771766df
CD
262792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26280
26281 * po/Makefile (libc.pot): Use UTF-8 charset.
26282
ceb9e56b
PP
262832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26284
26285 [BZ #14210]
26286 Suppress sign-conversion warning from FD_SET.
26287 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26288 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26289 not unsigned long int.
26290 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26291
ddb28975
L
262922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26293
26294 [BZ #14050]
26295 [BZ #14117]
26296 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26297 __extern_always_inline instead of __extern_inline.
26298 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26299 (__signbit): Likewise.
26300 (__signbitl): Support C++ namespace.
26301 (lrintf): New inline function.
26302 (lrint): Likewise.
26303 (llrintf): Likewise.
26304 (llrint): Likewise.
26305 (fmaxf): Likewise.
26306 (fmax): Likewise.
26307 (fminf): Likewise.
26308 (fmin): Likewise.
26309 (rint): Likewise.
26310 (rintf): Likewise.
26311 (ceil): Likewise.
26312 (ceilf): Likewise.
26313 (floor): Likewise.
26314 (floorf): Likewise.
26315 (nearbyint): Likewise.
26316 (nearbyintf): Likewise.
26317
d7b4fb26
TS
263182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26319
26320 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26321 non-default versions.
26322
eb55f5c2
RM
263232012-06-11 Roland McGrath <roland@hack.frob.com>
26324
26325 [BZ #14218]
26326 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26327
366af02c
TS
263282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26329
99ff6e5c
TS
26330 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26331 (FE_UPWARD, FE_DOWNWARD): Don't define.
26332 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26333 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26334
366af02c
TS
26335 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26336 reading it.
26337 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26338 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26339
793ea851
KK
263402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26341
26342 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26344 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26345 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26346
a728a38f
L
263472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26348
26349 [BZ #14117]
c08010c7
L
26350 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26351 * sysdeps/i386/fpu/Implies: New file.
26352 * sysdeps/x86_64/fpu/Implies: Likewise.
26353 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26354 * sysdeps/x86/fpu/bits/fenv.h: This.
26355
a728a38f
L
26356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26357 __SSE_MATH__.
26358
6e230d11
SP
263592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26360
26361 [BZ #14134]
26362 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26363 character 0xffff that matches the last element of the
26364 conversion table.
26365
1b671feb
AZ
263662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26367
26368 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26369 fmodl commit.
26370
6043738b
AZ
263712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26372
26373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26374 values higher than 25.6283.
26375
34ae0b32
AZ
263762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26377
26378 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26379 subnormal exponent extraction and add some __builtin_expect.
26380 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26381 Fix for subnormal mantissa calculation.
26382
1214ec8f
MF
263832012-06-04 Mike Frysinger <vapier@gentoo.org>
26384
26385 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26386 cpu2 is -1 and errno is not ENOSYS.
26387
f3d1f93c
L
263882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26389
26390 [BZ #14117]
0e4a3cd7
L
26391 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26392 * sysdeps/x86/bits/string.h: This.
26393 * sysdeps/x86_64/bits/string.h: Removed.
26394
6704c645
L
26395 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26396 if not compiling for x86-64, but compiling for >= i486.
26397
48495318
L
26398 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26399 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26400
14adcbfc
L
26401 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26402 New macro from Linux kernel 3.4.0.
26403 (FP_XSTATE_MAGIC2): Likewise.
26404 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26405 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26406 (struct _fpx_sw_bytes): New struct.
26407 (struct _xsave_hdr): Likewise.
26408 (struct _ymmh_state): Likewise.
26409 (struct _xstate): Likewise.
26410
68e408ab
L
26411 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26412 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26413 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26414 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26415 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26416 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26417
f3d1f93c
L
26418 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26419 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26420 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26421 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26422 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26423 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26424
d9dc34cd
TMQMF
264252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26426
26427 [BZ #13743]
26428 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26429 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26430 (sysdep_headers): Include sys/platform/ppc.h.
26431 * sysdeps/powerpc/test-gettimebase.c: Test for
26432 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26433 * manual/Makefile (appendices): Include platform.texi.
26434 * manual/contrib.texi (Contributors): Update @node pointers.
26435 * manual/maint.texi (Maintenance): Likewise.
26436 (Platform): New node.
26437 * manual/platform.texi: New file. Document the new features.
26438
4af3879c
SP
264392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26440 Jakub Jelinek <jakub@redhat.com>
26441
26442 [BZ #14188]
26443 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26444 where __builtin_expect is unavailable.
26445
2fd6ff13
DM
264462012-06-03 David S. Miller <davem@davemloft.net>
26447
26448 * stdlib/longlong.h: Updated from GCC.
26449
173f7220
AS
264502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26451
26452 [BZ #14042]
26453 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26454 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26455 __mcount_internal.
26456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26457 (GLIBC_2.16): Likewise.
26458
f34a1c6f
L
264592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26462
88a4576f
JM
264632012-06-01 Joseph Myers <joseph@codesourcery.com>
26464
ea32bcdd
JM
26465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26466 (default-abi): New variable.
26467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26468 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26469 variable.
26470 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26471 Likewise.
26472 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26473 Likewise.
26474 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26475 Likewise.
26476
88a4576f
JM
26477 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26478 definition. Document in comment.
26479
402fe938
DM
264802012-06-01 David S. Miller <davem@davemloft.net>
26481
26482 * stdlib/longlong.h: Updated from GCC.
26483
3553723f
L
264842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26485
26486 [BZ #14117]
3bd872c4
L
26487 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26488 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26489 sys/debugreg.h sys/io.h here.
26490 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26491 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26492 sys/io.h.
26493 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26494 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26495 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26496 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26497 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26498 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26499
3553723f
L
26500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26501 Define only if __x86_64__ is defined.
26502
4842e4fe
JM
265032012-06-01 Joseph Myers <joseph@codesourcery.com>
26504
c5bfe3d5
JM
26505 [BZ #14048]
26506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26507 Use int64_t for variable i.
26508 * math/libm-test.inc (fmod_test): Add more tests.
26509
4842e4fe
JM
26510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26511 z computation is not scheduled after fetestexcept.
26512 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26513 Use math_force_eval instead of asm to ensure calculation scheduled
26514 before exception test.
26515 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26516 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26517
efb73488
AJ
265182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26519
26520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26521 computation is not scheduled after fetestexcept.
26522
29bcce7c
L
265232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26524
26525 [BZ #14117]
26526 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26527 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26528
73a68f94
AZ
265292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26530
26531 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26532 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26533
67b6df78
L
265342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26535
edf2933a 26536 [BZ #14117]
ebc64a18
L
26537 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26538 <bits/wordsize.h>.
26539 (__WCHAR_MIN): Support __WORDSIZE == 64.
26540 (__WCHAR_MAX): Likewise.
26541
edf2933a
L
26542 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26543 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26544
57c6cf40
L
26545 [BZ #14183]
26546 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26547 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26548
67b6df78 26549 [BZ #14117]
8eb6281e
L
26550 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26551 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26552
aac639f4
L
26553 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26554 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26555
67b6df78
L
26556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26557 Defined to 1 if __x86_64__ isn't defined.
26558 (_STAT_VER_LINUX_OLD): New.
26559 (st_atime): Remove duplicate.
26560 (st_mtime): Likewise.
26561 (st_ctime): Likewise.
26562
1c2cfe81
DM
265632012-05-31 David S. Miller <davem@davemloft.net>
26564
26565 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26566 entries.
26567
5be8418c
AS
265682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26569
e7725326
AS
26570 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26571 gen-libm-test.pl.
26572
5be8418c
AS
26573 [BZ #14132]
26574 * elf/dl-reloc.c: Include <_itoa.h>.
26575 (_dl_reloc_bad_type): Remove use of INTUSE.
26576 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26577 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26578 * stdio-common/psiginfo.c (psiginfo): Likewise.
26579 * stdio-common/psignal.c (psignal): Likewise.
26580 * string/strsignal.c (strsignal): Likewise.
26581 * include/signal.h (_sys_siglist): Declare hidden proto.
26582 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26583 INTVARDEF with libc_hidden_data_def.
26584 * stdio-common/itoa-udigits.c: Likewise.
26585 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26586 (_itoa_lower_digits_internal): Remove declaration.
26587 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26588 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26589 (_sys_sigabbrev_internal): Remove aliases.
26590 (_sys_siglist): Define hidden alias.
26591
507352f1
MT
265922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26593
26594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26595 bits/sysctl.h.
26596
42bbb1c3
L
265972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26598
26599 [BZ #14117]
6bd784b6
L
26600 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26601 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26602
8bca20f0
L
26603 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26604 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26605 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26606 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26607 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26608 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26609
f9e890a9
L
26610 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26611 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26612 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26613
471101a1
L
26614 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26615 with __addr.
26616 (insw): Likewise.
26617 (insl): Likewise.
26618 (outsb): Likewise.
26619 (outsw): Likewise.
26620 (outsl): Likewise.
26621
6451c862
L
26622 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26624 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26625
a254b8c9
L
26626 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26627 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26628 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26629 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26630 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26631 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26632
b8dfdd92
L
26633 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26634 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26635
578cd270
L
26636 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26637 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26638
de662f5f
L
26639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26642
25653439
L
26643 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26644 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26645 to ...
26646 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26647
6bad24a0
L
26648 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26649 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26650 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26651
42bbb1c3
L
26652 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26653 for x86-64.
26654 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26655
2d10d547
JM
266562012-05-31 Joseph Myers <joseph@codesourcery.com>
26657
26658 * math/math.h (M_El): Use two more decimal places.
26659 (M_LOG2El): Likewise.
26660 (M_LOG10El): Likewise.
26661 (M_LN2l): Likewise.
26662 (M_LN10l): Likewise.
26663 (M_PIl): Likewise.
26664 (M_PI_2l): Likewise.
26665 (M_PI_4l): Likewise.
26666 (M_1_PIl): Likewise.
26667 (M_2_PIl): Likewise.
26668 (M_2_SQRTPIl): Likewise.
26669 (M_SQRT2l): Likewise.
26670 (M_SQRT1_2l): Likewise.
26671
f230c29b
DM
266722012-05-31 David S. Miller <davem@davemloft.net>
26673
26674 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26675 values between float registers.
26676 * sysdeps/sparc/sparc64/memset.S: Likewise.
26677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26678
fed806c3
MF
266792012-05-31 Mike Frysinger <vapier@gentoo.org>
26680
26681 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26682 -D_FORTIFY_SOURCE=1.
26683 (CPPFLAGS-tst-longjmp_chk.c): Define.
26684 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26685 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26686 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26687 CFLAGS-tst-wchar-h.c.
26688
30917259
MP
266892012-05-31 Marek Polacek <polacek@redhat.com>
26690
26691 [BZ #14132]
26692 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26693 __endmntent_internal): Remove declaration.
26694 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26695 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26696 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26697
1c58d5dc
DM
266982012-05-30 David S. Miller <davem@davemloft.net>
26699
26700 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26701 (___Q_simulate_exceptions): Use real FP ops rather than writing
26702 into the %fsr.
26703 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26704 Likewise.
26705
7dc00e0d
L
267062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 [BZ #14117]
0bd53985
L
26709 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26710 * sysdeps/x86/bits/xtitypes.h: This.
26711
3a257e66
L
26712 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26713 * sysdeps/x86/bits/wordsize.h: This.
26714
62f62904
L
26715 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26716 * sysdeps/x86/bits/huge_vall.h: This.
26717
404fe9d9
L
26718 * sysdeps/i386/bits/select.h: Removed.
26719 * sysdeps/x86_64/bits/select.h: Renamed to ...
26720 * sysdeps/x86/bits/select.h: This.
26721
d48d0446
L
26722 * sysdeps/i386/bits/setjmp.h: Removed.
26723 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26724 * sysdeps/x86/bits/setjmp.h: This.
26725
7dc00e0d
L
26726 * sysdeps/i386/bits/mathdef.h: Removed.
26727 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26728 * sysdeps/x86/bits/mathdef.h: This.
26729
03277f8f
AS
267302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26731
26732 [BZ #14132]
26733 * include/sys/socket.h (__connect_internal)
26734 (__libc_sa_len_internal): Remove declaration.
26735 (__connect, __libc_sa_len): Declare hidden_proto.
26736 (SA_LEN): Remove use of INTUSE.
26737 * socket/connect.c: Add libc_hidden_def.
26738 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26739 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26740 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26741 alias.
26742 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26743 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26744 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26745 of adding _internal alias.
26746
13764867
L
267472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26748
26749 [BZ #14117]
6bd97696
L
26750 * sysdeps/i386/bits/link.h: Removed.
26751 * sysdeps/i386/bits/linkmap.h: Likewise.
26752 * sysdeps/x86_64/bits/link.h: Renamed to ...
26753 * sysdeps/x86/bits/link.h: This.
26754 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26755 * sysdeps/x86/bits/linkmap.h: This.
26756
f726f0bb
L
26757 * sysdeps/i386/bits/endian.h: Removed.
26758 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26759 * sysdeps/x86/bits/endian.h: This.
26760
13764867
L
26761 * sysdeps/i386/bits/byteswap.h: Removed.
26762 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26763 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26764 * sysdeps/x86/bits/byteswap.h: This.
26765 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26766 * sysdeps/x86/bits/byteswap-16.h: This.
26767 * sysdeps/i386/Implies: Add x86.
26768 * sysdeps/x86_64/Implies: Likewise.
26769
ae251b0b
DM
267702012-05-30 David S. Miller <davem@davemloft.net>
26771
26772 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26773 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26774 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26775 (FP_TRAPPING_EXCEPTIONS): Define.
26776 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26777 (FP_TRAPPING_EXCEPTIONS): Define.
26778 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26779 subnormals only when inexact has been signalled or underflow
26780 exceptions are enabled.
26781 (_FP_PACK_CANONICAL): Likewise.
26782
d5c90867
L
267832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26784
26785 [BZ #14183]
26786 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26787 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26788
63f1549e
RH
267892012-05-30 Richard Henderson <rth@twiddle.net>
26790
8d8f2279
RH
26791 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26792 with #ifndef NOT_IN_libc.
26793
63f1549e
RH
26794 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26795 marked to avoid plt entry.
26796
0ab0291b
L
267972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26798
26799 [BZ #14112]
26800 * Makeconfig (default-abi): New macro.
26801 (abi-includes): Likewise.
26802 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26803 $(abi-$(default-abi)-lib-soname) for soname if defined.
26804 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26805 abi-variants.
26806 * Makefile (installed-stubs): Likewise.
26807 * include/stubs-biarch.h: Removed.
26808 * scripts/lib-names.awk: Only handle one library at a time.
26809 * scripts/soversions.awk: Remove WORDSIZE support.
26810 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26811 entries.
26812 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26813 Removed.
26814 (syscall-list-default-condition): Likewise.
26815 (syscall-list-default-condition): Likewise.
26816 (syscall-list-includes): Likewise.
26817 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26818 syscall-list-* with abi-*. Handle undefined abi-variants.
26819 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26820 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26821 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26822 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26823 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26824 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26825 Removed.
26826 (syscall-list-32-options): Likewise.
26827 (syscall-list-32-condition): Likewise.
26828 (syscall-list-64-options): Likewise.
26829 (syscall-list-64-condition): Likewise.
26830 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26831 macro.
26832 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26833 Renamed to ...
26834 (abi-*): This.
26835 (abi-64-ld-soname): New macro.
26836 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26837 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26838 Renamed to ...
26839 (abi-*): This.
26840 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26841 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26842
4da0431d
JM
268432012-05-30 Joseph Myers <joseph@codesourcery.com>
26844
3a85279c
JM
26845 * sysdeps/unix/sysv/linux/kernel-features.h
26846 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26847 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26848 include <kernel-features.h>.
26849 [!__NR_ftruncate64]: Remove conditional code.
26850 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26851 [__NR_ftruncate64]: Make code unconditional.
26852 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26853 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26854 include <kernel-features.h>.
26855 [!__NR_ftruncate64]: Remove conditional code.
26856 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26857 [__NR_ftruncate64]: Make code unconditional.
26858 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26860 include <kernel-features.h>.
26861 [!__NR_ftruncate64]: Remove conditional code.
26862 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26863 [__NR_ftruncate64]: Make code unconditional.
26864 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26866 include <kernel-features.h>.
26867 [!__NR_ftruncate64]: Remove conditional code.
26868 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26869 [__NR_ftruncate64]: Make code unconditional.
26870 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26871
4da0431d
JM
26872 * configure.in (libc_cv_fpie): Weaken to a compile test using
26873 LIBC_TRY_CC_OPTION.
26874 * configure: Regenerated.
26875
11ef492c
AK
268762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26877
26878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26882 Refreshed.
26883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26889 Refreshed.
26890
d66ef399
DM
268912012-05-27 David S. Miller <davem@davemloft.net>
26892
26893 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26894 (___Q_zero): New.
26895 (__Q_simulate_exceptions): Return void. Change to simulate
26896 exceptions by writing into the %fsr.
26897 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26898 (__Qp_handle_exceptions): Likewise.
26899 (numbers): Delete.
26900 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26901 __Qp_handle_exceptions.
26902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26903 __Qp_handle_exceptions.
26904 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26905 as unused and give dummy FP_RND_NEAREST initializer.
26906 (FP_INHIBIT_RESULTS): Define.
26907 (___Q_simulate_exceptions): Update declaration.
26908 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26909 formatting.
26910 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26911 as unused and give dummy FP_RND_NEAREST initializer.
26912 (__Qp_handle_exceptions): Update declaration.
26913 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26914 formatting.
26915
04fb54b5
TS
269162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26917
26918 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26919 the temporary FPU control word.
26920 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26921 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26923 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26924 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26925 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26926 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26927 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26928 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26929 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26930 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26931
3f99608f
KK
269322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26933
26934 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26935 fields.
26936
65a4de4e
CLT
269372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26938
26939 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26940 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26941 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26942 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26943 Likewise.
26944 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26945 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26946 Likewise.
26947
15749d40
UD
269482012-05-27 Ulrich Drepper <drepper@gmail.com>
26949
26950 * po/h.po: Update from translation team.
26951
25dbcb27
AS
269522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26953
3d3f8e55
AS
26954 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26955
25dbcb27
AS
26956 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26957 handling of denormals.
26958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26959 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26960 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26961 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26965 Likewise.
26966
7ad47a80 269672012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26968
26969 [BZ #14152]
26970 * math/libm-test.inc (fma_test): Don't always expect underflow
26971 exception.
26972
9c6ea9fa
SP
269732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26974
26975 [BZ #12416]
26976 * elf/tst-execstack.c: Include stackinfo.h.
26977 (do_test): Adjust test case to ensure that pthread_getattr_np
26978 behaviour remains the same after marking stack executable.
26979
a8239222
JM
269802012-05-25 Joseph Myers <joseph@codesourcery.com>
26981
26982 * sysdeps/unix/sysv/linux/kernel-features.h
26983 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26984 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26985 kernel-features.h.
26986 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26987 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26988 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26989 kernel-features.h.
26990 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26991 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26992
918b5606
L
269932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26994
26995 * configure.in: Define the default includes to being none.
26996 * configure: Regenerated.
26997
3a097cc7
RM
269982012-05-25 Roland McGrath <roland@hack.frob.com>
26999
8422c9a5
RM
27000 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27001 * sysdeps/x86_64/setjmp.S: Likewise.
27002 * sysdeps/i386/bsd-setjmp.S: Likewise.
27003 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27004 * sysdeps/i386/setjmp.S: Likewise.
27005 * sysdeps/i386/__longjmp.S: Likewise.
27006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27007 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27008
3a097cc7
RM
27009 * include/stap-probe.h: New file.
27010 * configure.in: Handle --enable-systemtap.
27011 * configure: Regenerated.
27012 * config.h.in (USE_STAP_PROBE): New #undef.
27013 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27014 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27015 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27016
21708942
JM
270172012-05-25 Joseph Myers <joseph@codesourcery.com>
27018
27019 [BZ #13717]
27020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27021 to 2.4.0 where earlier.
27022 * sysdeps/unix/sysv/linux/configure: Regenerated.
27023 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27024 <kernel-features.h>.
27025 [__ASSUME_32BITUIDS]: Make code unconditional.
27026 [!__ASSUME_32BITUIDS]: Remove conditional code.
27027 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27028 <kernel-features.h>.
27029 [__ASSUME_32BITUIDS]: Make code unconditional.
27030 [!__ASSUME_32BITUIDS]: Remove conditional code.
27031 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27032 [__ASSUME_32BITUIDS]: Make code unconditional.
27033 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27034 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27035 <kernel-features.h>.
27036 [__ASSUME_32BITUIDS]: Make code unconditional.
27037 [!__ASSUME_32BITUIDS]: Remove conditional code.
27038 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27039 <kernel-features.h>.
27040 [__ASSUME_32BITUIDS]: Make code unconditional.
27041 [!__ASSUME_32BITUIDS]: Remove conditional code.
27042 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27043 <kernel-features.h>.
27044 [__ASSUME_32BITUIDS]: Make code unconditional.
27045 [!__ASSUME_32BITUIDS]: Remove conditional code.
27046 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27047 <kernel-features.h>.
27048 [__ASSUME_32BITUIDS]: Make code unconditional.
27049 [!__ASSUME_32BITUIDS]: Remove conditional code.
27050 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27051 <kernel-features.h>.
27052 [__ASSUME_32BITUIDS]: Make code unconditional.
27053 [!__ASSUME_32BITUIDS]: Remove conditional code.
27054 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27055 <kernel-features.h>.
27056 [__ASSUME_32BITUIDS]: Make code unconditional.
27057 [!__ASSUME_32BITUIDS]: Remove conditional code.
27058 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27059 <kernel-features.h>.
27060 [__ASSUME_32BITUIDS]: Make code unconditional.
27061 [!__ASSUME_32BITUIDS]: Remove conditional code.
27062 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27063 <kernel-features.h>.
27064 [__ASSUME_32BITUIDS]: Make code unconditional.
27065 [!__ASSUME_32BITUIDS]: Remove conditional code.
27066 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27067 <kernel-features.h>.
27068 [__ASSUME_32BITUIDS]: Make code unconditional.
27069 [!__ASSUME_32BITUIDS]: Remove conditional code.
27070 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27071 <kernel-features.h>.
27072 [__ASSUME_32BITUIDS]: Make code unconditional.
27073 [!__ASSUME_32BITUIDS]: Remove conditional code.
27074 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27075 <kernel-features.h>.
27076 [__NR_setresgid] (__setresgid): Do not declare.
27077 [__ASSUME_32BITUIDS]: Make code unconditional.
27078 [!__ASSUME_32BITUIDS]: Remove conditional code.
27079 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27080 <kernel-features.h>.
27081 [__NR_setresuid] (__setresuid): Do not declare.
27082 [__ASSUME_32BITUIDS]: Make code unconditional.
27083 [!__ASSUME_32BITUIDS]: Remove conditional code.
27084 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27085 <kernel-features.h>.
27086 [__ASSUME_32BITUIDS]: Make code unconditional.
27087 [!__ASSUME_32BITUIDS]: Remove conditional code.
27088 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27089 <kernel-features.h>.
27090 [__ASSUME_32BITUIDS]: Make code unconditional.
27091 [!__ASSUME_32BITUIDS]: Remove conditional code.
27092 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27093 <kernel-features.h>.
27094 [__ASSUME_32BITUIDS]: Make code unconditional.
27095 [!__ASSUME_32BITUIDS]: Remove conditional code.
27096 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27097 <kernel-features.h>.
27098 [__ASSUME_32BITUIDS]: Make code unconditional.
27099 [!__ASSUME_32BITUIDS]: Remove conditional code.
27100 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27101 <kernel-features.h>.
27102 [__ASSUME_32BITUIDS]: Make code unconditional.
27103 [!__ASSUME_32BITUIDS]: Remove conditional code.
27104 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27105 <kernel-features.h>.
27106 [__ASSUME_32BITUIDS]: Make code unconditional.
27107 [!__ASSUME_32BITUIDS]: Remove conditional code.
27108 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27109 <kernel-features.h>.
27110 [__ASSUME_32BITUIDS]: Make code unconditional.
27111 [!__ASSUME_32BITUIDS]: Remove conditional code.
27112 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27113 <kernel-features.h>.
27114 [__ASSUME_32BITUIDS]: Make code unconditional.
27115 [!__ASSUME_32BITUIDS]: Remove conditional code.
27116 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27117 <kernel-features.h>.
27118 [__ASSUME_32BITUIDS]: Make code unconditional.
27119 [!__ASSUME_32BITUIDS]: Remove conditional code.
27120 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27121 <kernel-features.h>.
27122 [__ASSUME_32BITUIDS]: Make code unconditional.
27123 [!__ASSUME_32BITUIDS]: Remove conditional code.
27124 * sysdeps/unix/sysv/linux/kernel-features.h
27125 (__ASSUME_SETRESUID_SYSCALL): Remove.
27126 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27127 (__ASSUME_32BITUIDS): Likewise.
27128 (__ASSUME_LDT_WORKS): Likewise.
27129 (__ASSUME_O_DIRECTORY): Likewise.
27130 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27131 architecture but not kernel version.
27132 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27133 (__ASSUME_MMAP2_SYSCALL): Likewise.
27134 (__ASSUME_STAT64_SYSCALL): Likewise.
27135 (__ASSUME_IPC64): Likewise.
27136 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27137 <kernel-features.h>.
27138 [__ASSUME_32BITUIDS]: Make code unconditional.
27139 [!__ASSUME_32BITUIDS]: Remove conditional code.
27140 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27141 <kernel-features.h>.
27142 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27143 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27144 132096]: Remove conditional code.
27145 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27146 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27147 <kernel-features.h>.
27148 [__ASSUME_32BITUIDS]: Make code unconditional.
27149 [!__ASSUME_32BITUIDS]: Remove conditional code.
27150 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27151 <kernel-features.h>.
27152 [__ASSUME_32BITUIDS]: Make code unconditional.
27153 [!__ASSUME_32BITUIDS]: Remove conditional code.
27154 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27155 <kernel-features.h>.
27156 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27157 unconditional.
27158 (__setresgid): Do not declare.
27159 [__ASSUME_32BITUIDS]: Make code unconditional.
27160 [!__ASSUME_32BITUIDS]: Remove conditional code.
27161 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27162 <kernel-features.h>.
27163 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27164 unconditional.
27165 (__setresuid): Do not declare.
27166 [__ASSUME_32BITUIDS]: Make code unconditional.
27167 [!__ASSUME_32BITUIDS]: Remove conditional code.
27168 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27169 <kernel-features.h>.
27170 [__ASSUME_32BITUIDS]: Make code unconditional.
27171 [!__ASSUME_32BITUIDS]: Remove conditional code.
27172 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27173 <kernel-features.h>.
27174 [__ASSUME_32BITUIDS]: Make code unconditional.
27175 [!__ASSUME_32BITUIDS]: Remove conditional code.
27176
a386f1cc
RH
271772012-05-25 Richard Henderson <rth@twiddle.net>
27178
27179 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27180 dl_hwcap to ifunc resolver.
27181 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27182 elf_ifunc_invoke.
27183 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27184 dl_hwcap to ifunc resolver.
27185 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27186
b6550497
JM
271872012-05-24 Joseph Myers <joseph@codesourcery.com>
27188
27189 [BZ #14153]
27190 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27191 for |x| <= 2**-26, not 2**-57.
27192 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27193 exception.
27194
b0bc23a1
JL
271952012-05-24 Jeff Law <law@redhat.com>
27196
27197 * stdio-common/Makefile (tests): Add bug25.
27198 * stdio-common/bug25.c: New test.
27199
347c92e9
L
272002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 [BZ #13576]
27203 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27204 multiple of MALLOC_ALIGNMENT in size.
27205 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27206
6bcc8b3f
JM
272072012-05-24 Joseph Myers <joseph@codesourcery.com>
27208
27209 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27210 Require >= 256.
27211 (FILENAME_MAX): Use macro-int-constant.
27212 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27213 (_IOFBF): Use macro-int-constant.
27214 (_IOLBF): Likewise.
27215 (_IONBF): Likewise.
27216 (SEEK_CUR): Likewise.
27217 (SEEK_END): Likewise.
27218 (SEEK_SET): Likewise.
27219 (TMP_MAX): Likewise.
27220 (EOF): Use macro-int-constant. Require < 0.
27221 (NULL): Use macro-constant. Require == 0.
27222 (stdin): Require type to be FILE *.
27223 (stdout): Likewise.
27224 (stderr): Likewise.
27225 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27226 macro-int-constant.
27227 (EXIT_SUCCESS): Likewise.
27228 (NULL): Use macro-constant. Require == 0.
27229 (RAND_MAX): Use macro-int-constant.
27230 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27231 [C99-based standards] (strtof): Require function.
27232 [C99-based standards] (strtold): Likewise.
27233 [C99-based standards] (strtoll): Likewise.
27234 [C99-based standards] (strtoull): Likewise.
27235 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27236 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27237 [ISO || ISO99 || ISO11] (math.h): Likewise.
27238 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27239 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27241
d18ea0c5
AS
272422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27243
27244 [BZ #14132]
56d25bb8
AS
27245 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27246 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27247 * intl/dgettext.c (DCGETTEXT): Likewise.
27248 * intl/gettext.c (DCGETTEXT): Likewise.
27249 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27250 * posix/regex_internal.h (gettext): Likewise.
27251 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27252 Remove declaration.
27253 * include/argz.h (__argz_count_internal)
27254 (__argz_stringify_internal): Remove declaration.
27255 (__argz_count, __argz_stringify): Declare hidden proto.
27256 * intl/dcgettext.c: Remove use of INTDEF.
27257 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27258 * string/argz-stringify.c: Likewise.
27259 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27260 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27261 Declare hidden proto.
d18ea0c5
AS
27262 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27263 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27264 Declare hidden proto.
27265 * include/stdio.h (__asprintf_internal): Don't declare.
27266 (__asprintf): Don't define as macro. Declare hidden proto.
27267 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27268 (__fsetlocking): Declare hidden proto.
27269 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27270 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27271 hidden proto.
27272 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27273 (_IO_setlinebuf): Remove use of INTUSE.
27274 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27275 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27276 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27277 Remove declaration.
27278 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27279 (_IO_do_flush): Remove use of INTUSE.
27280 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27281 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27282 (_IO_adjust_column, _IO_least_wmarker)
27283 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27284 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27285 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27286 (_IO_default_doallocate, _IO_wdefault_doallocate)
27287 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27288 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27289 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27290 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27291 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27292 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27293 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27294 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27295 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27296 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27297 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27298 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27299 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27300 proto.
27301 (_IO_flush_all_internal, _IO_adjust_column_internal)
27302 (_IO_default_uflow_internal, _IO_default_finish_internal)
27303 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27304 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27305 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27306 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27307 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27308 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27309 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27310 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27311 (_IO_file_close_internal, _IO_file_close_it_internal)
27312 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27313 (_IO_file_init_internal, _IO_file_attach_internal)
27314 (_IO_file_fopen_internal, _IO_file_read_internal)
27315 (_IO_file_sync_internal, _IO_file_seek_internal)
27316 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27317 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27318 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27319 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27320 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27321 (_IO_list_all_internal, _IO_link_in_internal)
27322 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27323 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27324 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27325 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27326 (_IO_do_write_internal, _IO_padn_internal)
27327 (_IO_getline_info_internal, _IO_getline_internal)
27328 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27329 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27330 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27331 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27332 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27333 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27334 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27335 with libc_hidden_ver, remove use of INTUSE.
27336 * libio/genops.c: Likewise.
27337 * libio/freopen.c: Likewise.
27338 * libio/freopen64.c: Likewise.
27339 * libio/iofclose.c: Likewise.
27340 * libio/iofdopen.c: Likewise.
27341 * libio/iofflush.c: Likewise.
27342 * libio/iofflush_u.c: Likewise.
27343 * libio/iofgets.c: Likewise.
27344 * libio/iofgets_u.c: Likewise.
27345 * libio/iofopen.c: Likewise.
27346 * libio/iofopncook.c: Likewise.
27347 * libio/iofread.c: Likewise.
27348 * libio/iofread_u.c: Likewise.
27349 * libio/ioftell.c: Likewise.
27350 * libio/iofwrite.c: Likewise.
27351 * libio/iogetline.c: Likewise.
27352 * libio/iogets.c: Likewise.
27353 * libio/iogetwline.c: Likewise.
27354 * libio/iopadn.c: Likewise.
27355 * libio/iopopen.c: Likewise.
27356 * libio/ioseekoff.c: Likewise.
27357 * libio/ioseekpos.c: Likewise.
27358 * libio/iosetbuffer.c: Likewise.
27359 * libio/iosetvbuf.c: Likewise.
27360 * libio/ioungetc.c: Likewise.
27361 * libio/ioungetwc.c: Likewise.
27362 * libio/iovdprintf.c: Likewise.
27363 * libio/iovsprintf.c: Likewise.
27364 * libio/iovsscanf.c: Likewise.
27365 * libio/memstream.c: Likewise.
27366 * libio/obprintf.c: Likewise.
27367 * libio/oldfileops.c: Likewise.
27368 * libio/oldiofclose.c: Likewise.
27369 * libio/oldiofdopen.c: Likewise.
27370 * libio/oldiofopen.c: Likewise.
27371 * libio/oldiopopen.c: Likewise.
27372 * libio/oldstdfiles.c: Likewise.
27373 * libio/putc.c: Likewise.
27374 * libio/setbuf.c: Likewise.
27375 * libio/setlinebuf.c: Likewise.
27376 * libio/stdfiles.c: Likewise.
27377 * libio/strops.c: Likewise.
27378 * libio/vasprintf.c: Likewise.
27379 * libio/vscanf.c: Likewise.
27380 * libio/vsnprintf.c: Likewise.
27381 * libio/vswprintf.c: Likewise.
27382 * libio/wfiledoalloc.c: Likewise.
27383 * libio/wfileops.c: Likewise.
27384 * libio/wgenops.c: Likewise.
27385 * libio/wmemstream.c: Likewise.
27386 * libio/wstrops.c: Likewise.
27387 * libio/__fpurge.c: Likewise.
27388 * libio/__fsetlocking.c: Likewise.
27389 * assert/assert.c: Likewise.
27390 * debug/fgets_chk.c: Likewise.
27391 * debug/fgets_u_chk.c: Likewise.
27392 * debug/fread_chk.c: Likewise.
27393 * debug/fread_u_chk.c: Likewise.
27394 * debug/gets_chk.c: Likewise.
27395 * debug/obprintf_chk.c: Likewise.
27396 * debug/vasprintf_chk.c: Likewise.
27397 * debug/vdprintf_chk.c: Likewise.
27398 * debug/vsnprintf_chk.c: Likewise.
27399 * debug/vsprintf_chk.c: Likewise.
27400 * malloc/mtrace.c: Likewise.
27401 * misc/error.c: Likewise.
27402 * misc/syslog.c: Likewise.
27403 * stdio-common/asprintf.c: Likewise.
27404 * stdio-common/fxprintf.c: Likewise.
27405 * stdio-common/getw.c: Likewise.
27406 * stdio-common/isoc99_fscanf.c: Likewise.
27407 * stdio-common/isoc99_scanf.c: Likewise.
27408 * stdio-common/isoc99_vfscanf.c: Likewise.
27409 * stdio-common/isoc99_vscanf.c: Likewise.
27410 * stdio-common/isoc99_vsscanf.c: Likewise.
27411 * stdio-common/printf-prs.c: Likewise.
27412 * stdio-common/printf_fp.c: Likewise.
27413 * stdio-common/printf_fphex.c: Likewise.
27414 * stdio-common/printf_size.c: Likewise.
27415 * stdio-common/putw.c: Likewise.
27416 * stdio-common/scanf.c: Likewise.
27417 * stdio-common/sprintf.c: Likewise.
27418 * stdio-common/tmpfile.c: Likewise.
27419 * stdio-common/vfprintf.c: Likewise.
27420 * stdio-common/vfscanf.c: Likewise.
27421 * stdlib/strfmon_l.c: Likewise.
27422 * sunrpc/openchild.c: Likewise.
27423 * sunrpc/xdr_stdio.c: Likewise.
27424 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27425 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27426
d6c33fda
RM
274272012-05-24 Roland McGrath <roland@hack.frob.com>
27428
c1487492
RM
27429 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27430
27431 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27432 in the third column, to generate for the shared library an IFUNC
27433 that uses _dl_vdso_vsym.
27434 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27435 * Makeconfig (object-suffixes-noshared): New variable.
27436
27437 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27438 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27439 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27440 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27441
d6c33fda
RM
27442 [BZ #14132]
27443 * include/sys/time.h (__gettimeofday): Remove macro.
27444 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27445 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27446 Remove INTDEF.
27447 (__gettimeofday): Add libc_hidden_def.
27448 (gettimeofday): Add libc_hidden_weak.
27449 * sysdeps/mach/gettimeofday.c: Likewise.
27450 * sysdeps/posix/gettimeofday.c: Likewise.
27451 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27452 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27454 (__gettimeofday_internal): Remove strong_alias.
27455 (__gettimeofday): Add libc_hidden_def.
27456 (gettimeofday): Add libc_hidden_weak.
27457 * sysdeps/unix/syscalls.list (gettimeofday):
27458 Remove __gettimeofday_internal alias.
27459
b5a2bbe6
L
274602012-05-24 Daniel Jacobowitz <drow@false.org>
27461 H.J. Lu <hongjiu.lu@intel.com>
27462
27463 [BZ #12495]
27464 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27465 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27466 (largebin_index_32_big): New.
27467 (largebin_index): Use it for 16-byte alignment.
27468 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27469 correction with front_misalign.
27470
cfba4fda
L
274712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27472
7f907421
L
27473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27475 Likewise.
27476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27477 Likewise.
27478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27479 Likewise.
27480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27481 Likewise.
27482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27483 Likewise.
27484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27485 Likewise.
27486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27487 Likewise.
27488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27489 Likewise.
27490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27491 Likewise.
27492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27493 Likewise.
27494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27495 Likewise.
27496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27497 Likewise.
27498
cfba4fda
L
27499 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27500 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27501
80bad0cc
JM
275022012-05-24 Joseph Myers <joseph@codesourcery.com>
27503
7a25eb06
JM
27504 [BZ #10846]
27505 [BZ #14036]
27506 * math/libm-test.inc (exp_test): Add test from bug 14036.
27507 (pow_test): Add test from bug 10846.
27508
795405f9
JM
27509 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27510 and other flags.
27511 (special_function): Do not include flags in test name.
27512 (parse_args): Likewise.
27513 * sysdeps/i386/fpu/libm-test-ulps: Update.
27514 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27515 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27516 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27518
80bad0cc
JM
27519 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27520 exceptions.
27521 * math/libm-test.inc ("Philosophy"): Update comment about
27522 exception testing.
27523 (UNDERFLOW_EXCEPTION): New macro.
27524 (UNDERFLOW_EXCEPTION_OK): Likewise.
27525 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27526 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27527 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27528 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27529 (INVALID_EXCEPTION_OK): Update value.
27530 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27531 (OVERFLOW_EXCEPTION_OK): Likewise.
27532 (IGNORE_ZERO_INF_SIGN): Likewise.
27533 (test_exceptions): Handle underflow exceptions.
27534 (acos_test): Update for underflow exception expectations.
27535 (cexp_test): Likewise.
27536 (clog_test): Likewise.
27537 (clog10_test): Likewise.
27538 (csqrt_test): Likewise.
27539 (ctan_test): Likewise.
27540 (ctanh_test): Likewise.
27541 (exp_test): Likewise.
27542 (exp10_test): Likewise.
27543 (exp2_test): Likewise.
27544 (expm1_test): Likewise.
27545 (fma_test): Likewise.
27546 (j0_test): Likewise.
27547 (jn_test): Likewise.
27548 (nexttoward_test): Likewise.
27549 (pow_test): Likewise.
27550 (scalbn_test): Likewise.
27551 (scalbln_test): Likewise.
27552 (tan_test): Likewise.
27553 (y1_test): Likewise.
27554 * sysdeps/i386/fpu/libm-test-ulps: Update.
27555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27556
9e0e3d0b
DM
275572012-05-23 David S. Miller <davem@davemloft.net>
27558
27559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27560 (__libc_sigaction): Remove unused local variables.
27561
ccd0a08f
L
275622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27563
27564 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27565
62bdf9a6
PE
275662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27567
f8591f80
PE
27568 mktime: avoid signed integer overflow
27569 * time/mktime.c (__mktime_internal): Do not mishandle the case
27570 where diff == INT_MIN.
27571
94c7d826
PE
27572 mktime: simplify computation of average
27573 * time/mktime.c (ranged_convert): Use new time_t_avg function
27574 instead of rolling our own (probably-slower) code.
27575
ce73d683
PE
27576 mktime: do not assume signed right shift propagates sign bit
27577 * time/mktime.c (isdst_differ): New static function.
27578 (__mktime_internal): No need to normalize tm_isdst now.
27579 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27580 tm_isdst values.
27581
72a22e59
PE
27582 mktime: merge another wrapv change from gnulib
27583 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27584 from some compilers.
27585
68605433
PE
27586 mktime: remove incorrect attempt at unusual arithmetics
27587 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27588 The code didn't really work on such machines anyway.
27589 (TYPE_MINIMUM): Assume two's complement.
27590 (twos_complement_arithmetic): Verify that long_int and time_t
27591 are two's complement (or unsigned, in the latter case).
27592
03cf7fe3
PE
27593 mktime: check signed shifts on long_int and time_t, too
27594 * time/mktime.c (SHR): Check that shifts work as desired
27595 on the types long_int and time_t too, as SHR is used on
27596 such types.
27597
f04dfbc2
PE
27598 mktime: do not assume 'long' is wide enough
27599 * time/mktime.c (verify): Move decl up.
27600 (long_int): New type.
27601 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27602 to remove assumption in the code that 'long' is wide enough to
27603 store year values. This assumption is not true on x32 and on
27604 some non-glibc platforms.
27605
62bdf9a6
PE
27606 mktime: merge wrapv change from gnulib
27607 * time/mktime.c (WRAPV): New macro.
27608 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27609 (guess_time_tm, __mktime_internal): Do not assume that signed
27610 integer overflow wraps around; modern compilers generate code
27611 where this assumption is no longer valid.
27612
5e292e4f
L
276132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27614
27615 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27616 Replace "jmp L(pseudo_end)" with "ret".
27617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27618 Likewise.
27619
8caf8c87
AJ
276202012-05-23 Andreas Jaeger <aj@suse.de>
27621
27622 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27623 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27624
1a09dc56
AJ
276252012-05-23 Andreas Jaeger <aj@suse.de>
27626 Maximilian Attems <max@stro.at>
27627
27628 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27629 New macros.
27630
1c87aba0
L
276312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27632
27633 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27634 code so that pseudo_end is just ret and the stack pointer is
27635 correct also for static library in error case.
27636
40e45bd5
JM
276372012-05-23 Joseph Myers <joseph@codesourcery.com>
27638
c2670533
JM
27639 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27640 move to syscalls.list.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27645
40e45bd5
JM
27646 * manual/install.texi (Running make install): Do not mention Linux
27647 kernel version for which pt_chown is not needed.
27648 (Linux): Do not mention problems with nscd with 2.0 kernels.
27649 * INSTALL: Regenerated.
27650
be08eda5
AJ
276512012-05-23 Andreas Jaeger <aj@suse.de>
27652
27653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27654 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27655 macro.
27656 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27657 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27658 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27659 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27660 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27661 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27663 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27664 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27665 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27666 * sysdeps/unix/sysv/linux/bits/in.h
27667 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27668
a6a056bb
RM
276692012-05-22 Roland McGrath <roland@hack.frob.com>
27670
27671 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27672 (PREPARE_VERSION): Just use assert instead, it will be elided
27673 under [NDEBUG] anyway.
27674
c9009328
L
276752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27676
27677 * sysdeps/unix/sysv/linux/Makefile: Include
27678 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27679 (sysdep_routines): Remove sysctl.
c9009328
L
27680 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27681 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27682 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27683 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27684 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27685
73338355
AJ
276862012-05-22 Andreas Jaeger <aj@suse.de>
27687
27688 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27689 that pseudo_end is just ret and the stack pointer is correct also
27690 for static library in error case.
27691
d44638b0
PP
276922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27693
27694 [BZ #14122]
27695 * nss/nsswitch.c (defconfig_entries): New variable.
27696 (__nss_database_lookup): Don't leak defconfig entries.
27697 (nss_parse_service_list): Don't leak on error paths.
27698 (free_database_entries): New function.
27699 (free_defconfig): New function.
27700 (free_mem): Move common code to free_database_entries.
27701
31a39bd8
L
277022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27703
da0331a8
L
27704 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27705 Add arch_prctl.
27706 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27707
31a39bd8
L
27708 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27709 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27711 New macro.
27712 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27713 (INTERNAL_SYSCALL_TYPES): Likewise.
27714 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27715 (LOAD_REGS_TYPES_[1-6]): Likewise.
27716 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27717 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27718
45470df3
AZ
277192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27720
27721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27722 copysignl for GLIBC_2_0.
27723 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27724 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27726 logbl for GLIBC_2_0.
27727 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27728 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27729
98a61bcb
L
277302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27731
a4f6e481
L
27732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27733 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27734
f63d5db6
L
27735 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27736 Use "neg %eax".
27737
98a61bcb
L
27738 * time/mktime.c: Update copyright years.
27739
95770f14
PE
277402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27741
6226efbd
PE
27742 mktime: merge comment-quoting-style change from gnulib
27743 * time/mktime.c: Quote 'like this' in comments.
27744 The GNU coding standards suggest that we no longer quote `like this',
27745 as "`" and "'" are typically rendered asymmetrically nowadays.
27746 The typical gnulib style is to quote 'like this' when quoting
27747 code, and "like this" when quoting English.
27748
b99e4f78
PE
27749 * time/mktime.c (compile-command): Add "-I.".
27750
643e01e6
PE
27751 mktime: merge mktime-internal.h change from gnulib
27752 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27753
2554247d
PE
27754 mktime: merge time_r change from gnulib
27755 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27756
826dd0ab
PE
27757 mktime: merge DEBUG change from gnulib
27758 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27759 case system <time.h> has a #define.
27760
bd83aabe
PE
27761 mktime: merge <sys/types.h> change from gnulib
27762 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27763 since <time.t> is now guaranteed to define time_t.
27764
95770f14
PE
27765 mktime: merge HAVE_CONFIG_H change from gnulib
27766 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27767
5e1a27a9
L
277682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27769
0e44a77e
L
27770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27771 Use "neg %eax".
27772
5e1a27a9
L
27773 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27774 __rlim_t cast.
27775 (struct rusage): Use anonymous union to pad each field to
27776 __syscall_slong_t.
27777
46259bec
DM
277782012-05-21 David S. Miller <davem@davemloft.net>
27779
27780 * Makefules (o-iterator): Remove .s cases.
27781 (compile-command.s): Delete.
27782 (COMPILE.s): Delete.
27783 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27784
59f0c22e
JM
277852012-05-21 Joseph Myers <joseph@codesourcery.com>
27786
27787 * configure.in (libc_cv_predef_stack_protector): Only consider
27788 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27789 * configure: Regenerated.
27790
20c07380
L
277912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27792
bbb3154b
L
27793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27794 New macro. Use R*LP on int and pointer.
27795 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27796 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27797 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27798 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27799
20c07380
L
27800 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27801 [__WORDSIZE_TIME64_COMPAT32] instead of
27802 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27803 (struct utmp): Likewise.
27804 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27805 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27806 Renamed to ...
27807 (__WORDSIZE_TIME64_COMPAT32): This.
27808 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27809 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27810 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27811 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27812 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27813 (__WORDSIZE_TIME64_COMPAT32): New macro.
27814
d8d1017e
AJ
278152012-05-21 Andreas Jaeger <aj@suse.de>
27816
27817 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27818 only if [SHARED]. Add prototype for __wcschr_ia32.
27819
6c7fb145
RM
278202012-05-21 Roland McGrath <roland@hack.frob.com>
27821
27822 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27823 of %rbp unmolested in the jmp_buf while mangling the low bits.
27824 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27825 unmolested high bits of %rbp while demangling the low bits.
27826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27827
66274218
AJ
278282012-05-21 Andreas Jaeger <aj@suse.de>
27829
07c58f8f
AJ
27830 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27831 * sunrpc/svc_simple.c: Use it for registerrpc.
27832 * sunrpc/xcrypt.c: Use it for passwd2des.
27833
66274218
AJ
27834 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27835
61f65140
L
278362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27837
27838 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27839 Don't define if [__SYSCALL_WORDSIZE != 32].
27840 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27841 New macro.
27842
5fefb436
AJ
278432012-05-21 Bruno Haible <bruno@clisp.org>
27844 Andreas Jaeger <aj@suse.de>
27845
27846 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27847 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27848 inptr and inend for must_buffer_ch.
27849 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27850 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27851 * stdio-common/Makefile (tests): Remove bug15.
27852 (bug15-ENV): Remove macro.
27853 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27854 anymore.
27855
d8e272ab
AJ
278562012-05-19 Andreas Jaeger <aj@suse.de>
27857 Roland McGrath <roland@hack.frob.com>
27858
27859 * manual/contrib.texi: Completely rewritten. It contains now an
27860 alphabetical list of contributors and their contributions.
27861
4a56a162
RH
278622012-05-21 Richard Henderson <rth@twiddle.net>
27863
27864 * misc/getauxval.c (__getauxval): Use unsigned long int.
27865 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27866 (getauxval): Use unsigned long int.
27867
d024d23c
L
278682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27869
27870 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27871
cbc00a03
RM
278722012-05-21 Roland McGrath <roland@hack.frob.com>
27873
27874 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27875 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27876 __alignof__ (long double).
27877
478143fa
AZ
278782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27879
27880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27881
c7683a6d
RH
278822012-05-20 Richard Henderson <rth@twiddle.net>
27883
27884 * misc/getauxval.c: New file.
27885 * misc/sys/auxv.h: New file.
27886 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27887 (routines): Add getauxval.
27888 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27889 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27890 * elf/dl-sysdep.c (_dl_auxv): Remove.
27891 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27892 * elf/dl-support.c (_dl_auxv): New variable.
27893 (_dl_aux_init): Initialize it.
27894 * manual/startup.texi (Auxiliary Vector): New node.
27895 * sysdeps/generic/bits/hwcap.h: New file.
27896 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27897 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27898 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27899 * sysdeps/sparc/sysdep.h: ... here. Include it.
27900 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27903 Update.
c7683a6d
RH
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27912
a6f1845d
AZ
279132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27914
27915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27916
cbcbe830
DM
279172012-05-19 David S. Miller <davem@davemloft.net>
27918
27919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27920
e0b16cc2
JM
279212012-05-19 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #14123]
27924 * math/s_ccosh.c: Include <float.h>
27925 (__ccosh): Avoid internal overflow calculating sinh and cosh
27926 values before multiplying by sin and cos values.
27927 * math/s_ccoshf.c: Likewise.
27928 * math/s_ccoshl.c: Likewise.
27929 * math/s_csin.c: Likewise.
27930 * math/s_csinf.c: Likewise.
27931 * math/s_csinl.c: Likewise.
27932 * math/s_csinh.c: Likewise.
27933 * math/s_csinhf.c: Likewise.
27934 * math/s_csinhl.c: Likewise.
27935 * math/libm-test.inc (ccos_test): Add more tests.
27936 (ccosh_test): Likewise.
27937 (csin_test): Likewise.
27938 (csinh_test): Likewise.
27939 * sysdeps/i386/fpu/libm-test-ulps: Update.
27940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27941
6ad13e08
L
279422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27943
f66f0ce8
L
27944 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27945 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27946
6ad13e08
L
27947 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27948
b1d072a7
JM
279492012-05-19 Joseph Myers <joseph@codesourcery.com>
27950
27951 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27952 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27953 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27954 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27955 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27956 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27957 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27958 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27959 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27960 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27961 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27962 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27963 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27964 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27965 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27966 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27967 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27968 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27969 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27970 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27971 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27972 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27973 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27974 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27975 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27976 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27977 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27978 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27979 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27980 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27981 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27982
9eae47cb
AJ
279832012-05-18 Andreas Jaeger <aj@suse.de>
27984
27985 * csu/.gitignore: Delete.
27986
bb07f69f
L
279872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27988
27989 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27990 (timex): Use __syscall_slong_t.
27991
e6bdb741
AJ
279922012-05-18 Andreas Jaeger <aj@suse.de>
27993 Carlos O'Donell <carlos_odonell@mentor.com>
27994
27995 * manual/install.texi (Configuring and compiling): Update
27996 description about files modified in the source directory.
d6c33fda 27997 * INSTALL: Regenerated.
e6bdb741 27998
1b74487e
L
279992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28000
28001 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28002 value. Use "or" to set return value to -1.
28003 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28004 negate return value.
28005
a88b64b9
TMQMF
280062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28007
28008 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28009 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28010 failure if the compiler has Graphite support disabled.
28011 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28012 Likewise.
28013 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28014 CFLAGS-memmove.c): Likewise.
28015 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28016 Likewise.
28017
3707636e
L
280182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28019
610b8622
L
28020 * sysdeps/x86_64/x32/_itoa.h: New file.
28021
7cd195df
L
28022 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28023 getdents system call only if kernel and user dirents have the
28024 same d_ino and d_off.
28025
94b07d20
L
28026 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28027 LLONG_MAX != LONG_MAX.
28028 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28029 (_fitoa_word): Likewise.
28030
18298070
L
28031 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28032 years.
28033 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28034 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28035 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28036
553c7ea4
L
28037 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28038 include <bits/wordsize.h>. Check __x86_64__ instead of
28039 __WORDSIZE.
28040 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28041 if __x86_64__ is defined. Use anonymous union on fpstate.
28042
3707636e
L
28043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28044 anonymous union.
28045
b53ef01a
AS
280462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28047
37fb1dc0
AS
28048 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28049 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28050 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28051 Refer to _rtld_local_ro instead of _rtld_global_ro.
28052 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28053 Likewise.
28054 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28055 Likewise.
28056 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28057 Likewise.
28058 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28059 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28060 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28061
b53ef01a
AS
28062 * sysdeps/powerpc/powerpc32/dl-machine.c
28063 (__elf_machine_runtime_setup) [PROF]: Don't reference
28064 _dl_prof_resolve.
28065
7a185db2
AJ
280662012-05-18 Andreas Jaeger <aj@suse.de>
28067
28068 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28069 function only available for GCCs before 3.4 since GCC 3.4
28070 introduced a builtin.
28071 (lrint): Likewise.
28072 (llrintf): Likewise.
28073 (llrint): Likewise.
28074 (fmaxf): Likewise.
28075 (fmax): Likewise.
28076 (fminf): Likewise.
28077 (fmin): Likewise.
28078 (rint): Likewise.
28079 (rintf): Likewise.
28080 (nearbyint): Likewise.
28081 (nearbyintf): Likewise.
28082 (ceil): Likewise.
28083 (ceilf): Likewise.
28084 (floor): Likewise.
28085 (floorf): Likewise.
28086
3e5aef87
L
280872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28088
428bd707
L
28089 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28090 on both fields and cast pointer to __syscall_ulong_t.
28091
3e5aef87
L
28092 * bits/types.h (__fsword_t): New type.
28093 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28094 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28096 (__FSWORD_T_TYPE): Likewise.
28097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28098 (__FSWORD_T_TYPE): Likewise.
28099 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28100 (__FSWORD_T_TYPE): Likewise.
28101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28102 (__FSWORD_T_TYPE): Likewise.
28103 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28104 __SWORD_TYPE with __fsword_t.
28105 (statfs64): Likewise.
28106
1ba7c3dc
DM
281072012-05-17 David S. Miller <davem@davemloft.net>
28108
28109 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28110
59910343
AJ
281112012-05-17 Andreas Jaeger <aj@suse.de>
28112
28113 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28114 warning.
28115
2e4c1e9e
L
281162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28117
28118 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28119
de7f5ce7
AJ
281202012-05-17 Andreas Jaeger <aj@suse.de>
28121
28122 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28123 when it is used.
28124
286abc3d
CM
281252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28126
28127 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28128
477cc68e
L
281292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28130
28131 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28132 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28133
1a0994f5
CD
281342012-05-17 Andreas Jaeger <aj@suse.de>
28135 Carlos O'Donell <carlos_odonell@mentor.com>
28136
28137 [BZ #14059]
28138 * sysdeps/x86_64/multiarch/init-arch.h
28139 (bit_YMM_Usable): Rename to...
28140 (bit_AVX_Usable): ... this.
28141 (bit_FMA4_Usable): New macro.
28142 (bit_XMM_state): New macro.
28143 (bit_YMM_state): New macro.
28144 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28145 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28146 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28147 (CPUID_OSXSAVE): New macro.
28148 (CPUID_AVX): New macro.
28149 (CPUID_FMA4): New macro.
28150 (index_YMM_Usable): Rename to...
28151 (index_AVX_Usable): ... this.
28152 (HAS_AVX): Use HAS_ARCH_FEATURE.
28153 (HAS_FMA4): Likewise.
28154 (HAS_YMM_USABLE): Remove.
28155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28156 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28157 are present.
28158 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28159 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28160 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28161 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28162 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28163
0af797de
CM
281642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28165
28166 * math/libm-test.c: Support platforms without multiple rounding modes.
28167 * math/bug-nextafter.c: Support platforms without FP exceptions.
28168 * math/bug-nexttoward.c: Likewise.
28169 * math/test-fenv.c: Likewise.
28170 * math/test-misc.c: Likewise.
28171 * stdlib/bug-getcontext.c: Likewise.
28172
e39745ff
AJ
281732012-05-17 Andreas Jaeger <aj@suse.de>
28174
28175 * manual/examples/search.c (critter_cmp): Change signature to
28176 avoid warnings.
28177 * manual/string.texi (Collation Functions): Likewise.
28178
48970aba
L
281792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28180
28181 * bits/types.h: Fold copyright years.
28182 * bits/typesizes.h: Likewise.
28183 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28187 * time/time.h: Likewise.
28188
bedee953
PP
281892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28190
28191 [BZ #208]
28192 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28193 in instead of returning them. Return void.
28194 (__libc_mallinfo): Accumulate over all arenas.
28195 (__malloc_stats): Adjust for change in int_mallinfo interface.
28196
61653dfb
RM
281972012-05-16 Roland McGrath <roland@hack.frob.com>
28198
30b99d79
RM
28199 [BZ #10375]
28200 * configure.in (NM): Add AC_CHECK_TOOL for it.
28201 (libc_extra_cflags): New substituted variable.
28202 Check for -fstack-protector being used implicitly.
28203 * configure: Regenerated.
28204 * config.make.in (config-extra-cflags): New variable,
28205 gets @libc_extra_cflags@.
28206 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28207
61653dfb
RM
28208 [BZ #10375]
28209 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28210 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28211 * configure: Regenerated.
28212 * config.make.in (CPPUNDEFS): New substituted variable.
28213 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28214 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28215 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28216
661768bb
L
282172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28218
28219 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28220 (mq_attr): Use __syscall_slong_t.
28221
d4261567
L
282222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28225 Check __x86_64__ instead of __WORDSIZE.
28226 (_STAT_VER_LINUX): Likewise.
28227 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28228 __syscall_ulong_t and __syscall_slong_t.
28229 (stat64): Likewise.
28230
cf3ff365
L
282312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28232
28233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28234
76cf3e4d
L
282352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28236
28237 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28238
a637753a
L
282392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28240
28241 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28242 __syscall_ulong_t.
28243
d5e05119
L
28244 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28245 include <bits/wordsize.h>. Check __x86_64__ instead of
28246 __WORDSIZE.
28247 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28248 defined.
28249 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28250
f62ee380
L
28251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28252 include <bits/wordsize.h>. Check __x86_64__ instead of
28253 __WORDSIZE.
28254 (user_regs_struct): Use "__extension__ unsigned long long"
28255 instead of "unsigned long" if __x86_64__ is defined.
28256 (user): Likewise. Pad after pointer field if __ILP32__ is
28257 defined.
28258
4e124ced
JM
282592012-05-16 Joseph Myers <joseph@codesourcery.com>
28260
6a3951a0
JM
28261 * configure.in (makeinfo): Require version 4.5 or later. Allow
28262 versions 5 to 9.
28263 * configure: Regenerated.
28264 * manual/install.texi (texinfo): Increase version requirement to
28265 4.5 or later.
28266 * INSTALL: Regenerated.
28267
4e124ced
JM
28268 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28269
953ca31a
L
282702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28273
617aca05
L
28274 * sysdeps/x86_64/x32/ffs.c: New file.
28275
5762f7ae
L
28276 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28277 __syscall_ulong_t.
28278 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28279 defined. Use __syscall_ulong_t.
28280 (shminfo): Use __syscall_ulong_t.
28281 (shm_info): Likewise.
28282
a26b6856
L
28283 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28284 __syscall_ulong_t.
28285
cb2b9ef7
L
28286 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28287 <bits/wordsize.h>.
28288 (msgqnum_t): Use __syscall_ulong_t.
28289 (msglen_t): Likewise.
28290 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28291 __syscall_ulong_t.
28292
34683bb0
L
28293 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28294 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28295
84a68786
L
28296 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28297
48baa5f1
L
28298 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28299 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28300
180be88b
L
28301 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28302 __syscall_slong_t.
28303
5e90c8ad
L
28304 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28305 include <bits/wordsize.h>. Check __x86_64__ instead of
28306 __WORDSIZE.
28307
23dfb58b
L
28308 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28309 "unsigned long long int" if __x86_64__ is defined.
28310 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28311
ce5d54b0
L
28312 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28313 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28314 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28315
13dc9eac
L
28316 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28317 <stdint.h>.
28318 (GET_PC): Cast to uintptr_t first.
28319 (GET_FRAME): Likewise.
28320 (GET_STACK): Likewise.
28321
a7895d15
L
28322 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28323 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28324 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28325 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28326 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28327 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28328 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28329 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28330 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28331 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28333 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28337 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28338 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28339 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28340 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28341 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28345 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28346 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28347 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28348 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28350 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28351
656416c9
AS
283522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28353
5bd66283
AS
28354 * Makerules (+depfiles): Also collect depfiles from .oS in
28355 $(extra-objs).
28356 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28357 .oS, $(libnldbl-routines)).
28358
656416c9
AS
28359 * Makerules (native-compile-mkdep-flags): Define.
28360 * sunrpc/Makefile (extra-objs): Add $(addprefix
28361 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28362 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28363 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28364 calling $(make-target-directory).
28365
a46f2169
L
283662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 * bits/types.h (__snseconds_t): Removed.
28369 * time/time.h (struct timespec): Replace __snseconds_t with
28370 __syscall_slong_t.
28371 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28372 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28373 Likewise.
28374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28375 (__SNSECONDS_T_TYPE): Likewise.
28376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28377 (__SNSECONDS_T_TYPE): Likewise.
28378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28379 (__SNSECONDS_T_TYPE): Likewise.
28380
6af6528b
L
283812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * sysdeps/mach/hurd/bits/typesizes.h
28384 (__SYSCALL_SLONG_TYPE): New macro.
28385 (__SYSCALL_ULONG_TYPE): Likewise.
28386
de986b56
L
283872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28388
28389 * bits/types.h (__syscall_slong_t): New type.
28390 (__syscall_ulong_t): Likewise.
28391
28392 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28393 (__SYSCALL_ULONG_TYPE): Likewise.
28394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28395 (__SYSCALL_SLONG_TYPE): Likewise.
28396 (__SYSCALL_ULONG_TYPE): Likewise.
28397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28398 (__SYSCALL_SLONG_TYPE): Likewise.
28399 (__SYSCALL_ULONG_TYPE): Likewise.
28400 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28401 (__SYSCALL_SLONG_TYPE): Likewise.
28402 (__SYSCALL_ULONG_TYPE): Likewise.
28403
85736dc7
L
284042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28407 Add sigaltstack-offsets.sym.
28408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28409 <sigaltstack-offsets.h>.
28410 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28411 longjmp_msg pointer.
28412 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28413 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28414 signal stack.
28415 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28416
cc03b296
JM
284172012-05-15 Joseph Myers <joseph@codesourcery.com>
28418
a9538892
JM
28419 * elf/stackguard-macros.h: Remove file.
28420 * sysdeps/generic/stackguard-macros.h: New file.
28421 * sysdeps/i386/stackguard-macros.h: Likewise.
28422 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28423 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28424 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28425 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28426 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28427 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28428 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28429 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28430 <elf/stackguard-macros.h>.
28431
cc03b296
JM
28432 [BZ #14109]
28433 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28434 __aligned__ in attribute.
28435 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28436 (gregset_t): Likewise.
28437
93171016
L
284382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28441 * sysdeps/x86_64/64/Implies-after: Here. New file.
28442 * sysdeps/x86_64/x32/Implies-after: New file.
28443
d86813a0
L
284442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28447 and access return value for _dl_profile_fixup. Use R10_LP to
28448 load frame size.
28449
2953ec75
L
284502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28451
28452 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28453
3b550e9e
L
284542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28455
28456 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28457 * sysdeps/x86_64/x32/sysdep.h: New file.
28458
eda41706
L
284592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28460
28461 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28462 * sysdeps/x86_64/setjmp.S: Likewise.
28463
9ea01d93
AZ
284642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28465
28466 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28467 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28468 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28469 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28470 remove unused global constant.
28471
02a91938
CM
284722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28473
28474 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28475 include of <not-cancel.h>.
28476
6540185f
RM
284772012-05-15 Roland McGrath <roland@hack.frob.com>
28478
28479 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28480
509072a0
AJ
284812012-05-15 Jeff Law <law@redhat.com>
28482 Andreas Jaeger <aj@suse.de>
28483
28484 [BZ #13594]
28485 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28486 out from...
28487 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28488 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28489 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28490 code changing __hst_map_handle.map.
28491
ba75122d
RM
284922012-05-15 Roland McGrath <roland@hack.frob.com>
28493
28494 * configure.in (sysnames): Look for Implies-before and Implies-after
28495 files.
28496 * configure: Regenerated.
28497
890d8bd8
L
284982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28499
28500 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28501 8-byte data alignment with LP_SIZE alignment.
28502
f6ee6623
L
285032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28504
28505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28506 into R10_LP.
28507
ea2626f6
L
285082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28509
28510 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28511
085f715e
L
285122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28515 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28516 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28517 Likewise.
28518 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28519
be8498fc
L
285202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28521
28522 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28523 (stackinfo_sub_sp): Likewise.
28524
70bc83b9
L
285252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28526
28527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28528 RAX_LP.
28529
9bc0b730
L
285302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28531
28532 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28533 into R*_LP.
28534
6d2850e7
L
285352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28538 sizes into R*_LP.
28539
3cb84561
L
285402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28543
54e2ed81
L
285442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28545
28546 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28547 into R11_LP and load __x86_64_shared_cache_size_half into
28548 R8_LP.
28549
8a17f349
L
285502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28551
28552 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28553 R8_LP.
28554
777b1eea
AZ
285552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28556
28557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28558 logb for POWER7.
28559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28560 logbf for POWER7.
28561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28562 logbl for POWER7.
28563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28564 powerpc32/power7/fpu/s_logb.c via #include.
28565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28566 powerpc32/power7/fpu/s_logbf.c via #include.
28567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28568 powerpc32/power7/fpu/s_logbl.c via #include.
28569
d20d4ac2
JM
285702012-05-15 Joseph Myers <joseph@codesourcery.com>
28571
28572 * README.libm: Remove file.
28573
6cdef1ab
L
285742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28575
28576 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28577 count for x32. Use R*_LP and omit operand-size suffix.
28578
0b254d8f
L
285792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28580
28581 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28582 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28583 * sysdeps/x86_64/x32/shlib-versions: New file.
28584
ceb809dc
RM
285852012-05-14 Roland McGrath <roland@hack.frob.com>
28586
28587 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28588 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28589 Use _dl_fatal_printf instead.
28590
37f1abd4
JM
285912012-05-14 Joseph Myers <joseph@codesourcery.com>
28592
28593 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28594 set if not set by the user. Do not allow for being unset.
28595 * sysdeps/unix/sysv/linux/configure: Regenerated.
28596
11de3a33
L
285972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28598
28599 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28600 the `q' suffix from lea and replace .quad with ASM_ADDR.
28601
e02f153a
L
286022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28603
28604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28605 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28606 instead of $17.
28607 (PTR_DEMANGLE): Likewise.
28608
520ae0fd
L
286092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28610
28611 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28612 (LP_OP): Likewise.
28613 (ASM_ADDR): Likewise.
28614 (RAX_LP): Likewise.
28615 (RBP_LP): Likewise.
28616 (RBX_LP): Likewise.
28617 (RCX_LP): Likewise.
28618 (RDI_LP): Likewise.
28619 (RSI_LP): Likewise.
28620 (RSP_LP): Likewise.
28621 (R8_LP): Likewise.
28622 (R9_LP): Likewise.
28623 (R10_LP): Likewise.
28624 (R10_LP): Likewise.
28625 (R11_LP): Likewise.
28626 (R12_LP): Likewise.
28627 (R13_LP): Likewise.
28628 (R14_LP): Likewise.
28629 (R15_LP): Likewise.
28630
b985be81
L
286312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28632
28633 * sysdeps/x86_64/x32/dl-machine.h: New file.
28634
6a4888ff
AJ
286352012-05-14 Andreas Jaeger <aj@suse.de>
28636
28637 * manual/Makefile (subdir): Remove export of subdir.
28638 (all): Remove target.
28639 (.PHONY): Remove all from list.
28640 (mkinstalldirs): Remove.
28641 (.PHONY): Remove installdirs from list.
28642 ($(inst_infodir)/libc.info): Use make-target-directory.
28643 (installdirs): Remove.
28644 (subdir_%): Remove.
28645 (glibc-targets): Remove.
28646 (lib): Remove.
28647 (stubs): Remove.
28648 ($(objpfx)stubs ../po/manual.pot): Remove.
28649 ($(objpfx)stamp%): Remove.
28650 (make-target-directory): Remove.
28651 (subdir_install): Remove.
28652 (routines): Remove.
28653 (aux): Remove.
28654 (sources): Remove.
28655 (objects): Remove.
28656 (headers): Remove.
28657
28658 [BZ #13750]
28659 * manual/.gitignore: Remove, it's not needed anymore.
28660 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28661 all files in it.
28662 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28663 directory.
28664 (texis): Renamed to $(objpfx)texis.
28665 (texis-path): New, contains path to generated files.
28666 (chapters.%): Use texis-path for complete path, add extra argument
28667 libc-texinfo.sh.
28668 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28669 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28670 (summary,texi, stamp-summary): Use complete path of
28671 files. Generate files in build dir.
28672 (dir-add.texi): Build in build dir.
28673 (libm-err.texi,stamp-libm-err): Likewise.
28674 (version.texi, stamp-version): Likewise.
28675 (.%c.texi): Likewise.
28676 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28677 (mostlyclean): Remove target.
28678 (realclean): Remove target.
28679 (generated): Add new variable with contents from mostlyclean and
28680 realclean, remove entries duplicated in common-mostlyclean, add
28681 stamp-libm-err and stamp-version.
28682 (generated-dirs): Add libc directory.
28683 ($(inst_infodir)/libc.info): Install files from build dir.
28684
28685 * manual/install.texi (Configuring and compiling): Adjust since
28686 the info files are not part of the tar ball anymore.
28687
7ac77294
AJ
286882012-05-14 Andreas Jaeger <aj@suse.de>
28689
28690 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28691 variable.
28692
ffb7875d
JM
286932012-05-14 Joseph Myers <joseph@codesourcery.com>
28694
28695 [BZ #13717]
28696 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28697 to 2.2.0 where earlier.
28698 * sysdeps/unix/sysv/linux/configure: Regenerated.
28699 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28700 Remove conditional code.
28701 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28702 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28703 Remove conditional code.
28704 [!__NR_lchown]: Likewise.
28705 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28706 [__NR_lchown]: Likewise.
28707 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28708 comment referencing __ASSUME_LCHOWN_SYSCALL.
28709 * sysdeps/unix/sysv/linux/i386/sigaction.c
28710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28712 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28713 Remove conditional code.
28714 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28715 (__protocol_available): Remove #if 0 code.
28716 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28717 conditional code.
28718 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28719 * sysdeps/unix/sysv/linux/kernel-features.h
28720 (__ASSUME_GETCWD_SYSCALL): Don't define.
28721 (__ASSUME_REALTIME_SIGNALS): Likewise.
28722 (__ASSUME_PREAD_SYSCALL): Likewise.
28723 (__ASSUME_PWRITE_SYSCALL): Likewise.
28724 (__ASSUME_POLL_SYSCALL): Likewise.
28725 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28726 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28727 non-SPARC.
28728 (__ASSUME_SIOCGIFNAME): Don't define.
28729 (__ASSUME_MSG_NOSIGNAL): Likewise.
28730 (__ASSUME_SENDFILE): Define unconditionally.
28731 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28732 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28733 conditional code.
28734 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28735 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28736 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28737 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28738 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28739 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28740 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28742 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28754 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28760 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28765 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28766 Remove conditional code.
28767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28768 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28769 Remove conditional code.
28770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28771 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28772 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28773 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28774 Remove conditional code.
28775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28776 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28777 Remove conditional code.
28778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28779 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28780 Remove conditional code.
28781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28782 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28783 Remove conditional code.
28784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28785 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28786 Remove conditional code.
28787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28788 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28791 * sysdeps/unix/sysv/linux/sigaction.c
28792 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28793 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28794 * sysdeps/unix/sysv/linux/sigpending.c
28795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28797 * sysdeps/unix/sysv/linux/sigprocmask.c
28798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28800 * sysdeps/unix/sysv/linux/sigsuspend.c
28801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28803 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28804 (__libc_missing_rt_sigs): Remove.
28805 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28806 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28807 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28808 Remove conditional code.
28809 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28810 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28811 return 1.
28812 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28813 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28814 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28815 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28816
1bfb7291
AJ
288172012-05-14 Andreas Jaeger <aj@suse.de>
28818
caae5a81
AJ
28819 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28820 it's not used in glibc.
28821 (__coshm1): Likewise.
28822 (__acosh1p): Likewise.
28823 (__sgn): Likewise.
28824
1bfb7291
AJ
28825 * manual/string.texi (Copying and Concatenation): Add missing
28826 variable in concat example.
28827 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28828
c044d724
L
288292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28830
144c5467 28831 [BZ #14103]
c044d724
L
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28833 __builtin_clzl with __builtin_clzll.
28834
2523c62b
L
288352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28836
28837 [BZ #14104]
28838 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28839 libc_freeres_ptr.
28840
d7bb4c42
LD
288412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28842
28843 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28844 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28845 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28846 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28847
9dc4e1fb
MF
288482012-05-14 Mike Frysinger <vapier@gentoo.org>
28849
28850 * NEWS: Update ia64 info.
28851
c7df0112
AS
288522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28853
28854 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28855 used as bcopy.
28856
dc70356c
TS
288572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28858
28859 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28860 * sysdeps/unix/syscalls.list (dup3): Likewise.
28861 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28862 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28863
9fb1a21f
L
288642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28865
28866 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28867 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28868
4822a2a5
L
288692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28870
28871 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28872 thread pointer.
28873 (TLS_IE): Use mov/add instead of movq/addq to load thread
28874 pointer.
28875 (TLS_GD_PREFIX): New.
28876 (TLS_GD): Use it.
28877
842b81d6
DM
288782012-05-11 David S. Miller <davem@davemloft.net>
28879
28880 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28881 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28882 (_FPU_SETCW): Likewise.
28883
1cf463cd
L
288842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28885
28886 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28887 is 32-byte aligned.
28888
60cc4a18
AS
288892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28890
28891 [BZ #11837]
28892 * iconvdata/gb18030.c: Update tables.
28893 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28894 characters specially.
28895 (BODY for TO_LOOP): Add encoding of missing ranges.
28896
febb44a4
TS
288972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28898
28899 [BZ #13673]
28900 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28901 * sysdeps/mach/hurd/dup3.c: Likewise.
28902 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28903 * sysdeps/powerpc/memmove.c:: Likewise.
28904
0a10fb9e
L
289052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28906
28907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28908 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28909
df8a552f
L
289102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 * elf/elf.h (R_X86_64_RELATIVE64): New.
28913 (R_X86_64_NUM): Updated.
28914 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28915 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28916 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28917 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28918 tst-quad1pie tst-quad2pie
28919 (modules-names): Add tst-quadmod1 tst-quadmod2.
28920 ($(objpfx)tst-quad1): New dependency.
28921 ($(objpfx)tst-quad2): Likewise.
28922 ($(objpfx)tst-quad1pie): Likewise.
28923 ($(objpfx)tst-quad2pie): Likewise.
28924 * sysdeps/x86_64/tst-quad1.c: New file.
28925 * sysdeps/x86_64/tst-quad1pie.c: New file.
28926 * sysdeps/x86_64/tst-quad2.c: Likewise.
28927 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28928 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28929 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28930 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28931 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28932
f34d6f84
ST
289332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28934
f42d41d1
ST
28935 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28936 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28937 * streams/stropts.h (t_scalar_t): Define type.
28938
3c3571fc
ST
28939 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28940 (_PATH_PRESERVE): Set to "/var/lib".
28941 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28942
61f06bd3
ST
28943 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28944 instead of int.
28945
918d4d71
ST
28946 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28947 if __dir_mkfile succeeded.
28948
f34d6f84
ST
28949 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28950 checking for _hurd_dtablesize. Unlock it right after having
28951 finished _hurd_dtable allocation.
28952
10589b4a
TS
289532012-05-10 Thomas Schwinge <thomas@schwinge.name>
28954
674cdbc7
TS
28955 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28956 * sysdeps/mach/hurd/configure: Regenerated.
28957 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28958 special-casing to...
28959 * sysdeps/gnu/configure.in: ... this new file.
28960 * sysdeps/unix/sysv/linux/configure: Regenerated.
28961 * sysdeps/gnu/configure: New generated file.
28962
8e41b99f
TS
28963 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28964 for Linux: use nsec instead of usec, as well as:
28965 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28966 members of type struct timespec.
28967 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28968 New macros.
28969 (struct stat64): Likewise.
28970 (_STATBUF_ST_NSEC): New macro.
28971 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28972
10589b4a
TS
28973 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28974 __strtoul_internal rather than strtoul.
28975
63643c85
PT
289762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28977
28978 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28979 and reject them.
28980
3faebe6a
ST
289812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28982
28983 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28984 which preserves existing values.
28985 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28986
c6474b07
PT
289872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28988
28989 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28990 TIMEOUT values. Return EINVAL for NFDS values either negative or
28991 greater than FD_SETSIZE.
28992
1043890b
ST
289932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28994
28995 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28996 allocated, call __vm_protect to finish enabling the existing space, and
28997 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28998 allocate the remainder.
28999
37ed8b9b
PT
290002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29001
29002 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29003 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29004
db653660
ST
290052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29006
37ed8b9b
PT
29007 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29008 sysdeps/mach/hurd/readlink.c.
b29d4053 29009
db653660
ST
29010 * posix/tst-sysconf.c (posix_options): Only use
29011 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29012 _POSIX_SYNCHRONIZED_IO when they are defined
29013 * sysdeps/mach/hurd/bits/posix_opt.h:
29014 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29015 (_XOPEN_REALTIME): Undefine macro.
29016 (_XOPEN_REALTIME_THREADS): Undefine macro.
29017 (_XOPEN_SHM): Undefine macro.
29018 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29019 macro to -1.
29020 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29021 macro to -1.
29022 (_POSIX_ASYNC_IO): Undefine macro.
29023 (_POSIX_PRIORITIZED_IO): Undefine macro.
29024 (_POSIX_SPIN_LOCKS): Define macro to -1.
29025
ee16e894
ST
29026 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29027 SA_NODEFER, SA_RESETHAND.
29028 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29029 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29030 F_DUPFD_CLOEXEC.
29031
6103ae3b
TS
290322012-05-10 Thomas Schwinge <thomas@schwinge.name>
29033
29034 * elf/Makefile (pldd-modules): Define unconditionally.
29035
80b4e5f3
TS
290362012-05-10 Thomas Schwinge <thomas@schwinge.name>
29037
29038 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29039
edadcbd6
ST
290402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29041
29042 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29043 Return ENOENT when name is empty.
29044 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29045
80694780
TS
290462012-05-10 Thomas Schwinge <thomas@schwinge.name>
29047
1792c087
TS
29048 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29049
80694780
TS
29050 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29051
6b645f0d
ST
290522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29053
80694780
TS
29054 Fix mlock in all cases except non-readable pages.
29055 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29056 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29057
6b645f0d
ST
29058 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29059 (__mkdir): When path is `/', just fail with EEXIST.
29060 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29061
e468f8a3
TS
290622012-05-10 Thomas Schwinge <thomas@schwinge.name>
29063
29064 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29065 <sys/uio.h> (for writev).
29066 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29067 and <sys/param.h> (for MIN).
29068
a4186cff
PT
290692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29070
29071 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29072 REQUESTED_TIME. Properly set the remaining time and return EINTR
29073 if interrupted.
29074
510bbf14
TS
290752012-05-10 Thomas Schwinge <thomas@schwinge.name>
29076
29077 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29078 Depend on against $(link-rpcuserlibs).
29079
5d5722e8
ST
290802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29081
a4186cff
PT
29082 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29083 (__libc_stack_end): Do not use attribute_relro.
29084 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29085 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29086 to libthread-provided value.
a4186cff
PT
29087 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29088 attribute_relro.
5d5722e8 29089
37233df9
TS
290902012-05-10 Thomas Schwinge <thomas@schwinge.name>
29091
be971a2b
TS
29092 [BZ #3748]
29093 * bits/libc-lock.h (__libc_once_get): New macro.
29094 * sysdeps/mach/bits/libc-lock.h: Likewise.
29095 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29096 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29097 instead of using implementation details.
29098
37233df9
TS
29099 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29100 * libio/freopen.c: Likewise.
29101 * libio/freopen64.c: Likewise.
29102 * misc/syslog.c: Likewise.
29103 * nscd/connections.c: Likewise.
29104 * nscd/netgroupcache.c: Likewise.
29105 * sysdeps/posix/getcwd.c: Likewise.
29106
38de94a5
RM
291072012-05-10 Roland McGrath <roland@hack.frob.com>
29108
29109 * math/w_ilogbf.c: Add #include <limits.h>.
29110
67530489
ST
291112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29112
a4186cff 29113 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29114 path instead of returning without unlocking.
29115
67530489
ST
29116 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29117 immediate-write ioctls.
29118 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29119
5aa3a74a
TS
291202012-05-10 Thomas Schwinge <thomas@schwinge.name>
29121
18bad2ae
TS
29122 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29123 __builtin_frame_address instead of making assumptions about the
29124 location of the return address relative to DATA. Force early load of
29125 the return address.
29126 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29127 __builtin_frame_address.
29128
5aa3a74a
TS
29129 dup3 for GNU Hurd.
29130 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29131 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29132 implement dup3 and do some further code clean-ups.
29133 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29134 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29135
ecd0de9a
ST
291362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29137
cd9fa985
ST
29138 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29139
a4186cff
PT
29140 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29141 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29142 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29143 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29144 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29145 d->port.lock.
802ca5a5 29146
a4186cff
PT
29147 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29148 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29149 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29150
bcf55240
TS
291512012-05-10 Thomas Schwinge <thomas@schwinge.name>
29152
6960eb42
TS
29153 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29154 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29155 definitions.
29156
eb43375f
TS
29157 accept4 for GNU Hurd.
29158 * include/sys/socket.h (__libc_accept4): New prototype.
29159 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29160 to implement __libc_accept4.
29161 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29162 __libc_accept4.
29163 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29164
bcf55240
TS
29165 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29166 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29167 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29168 signal-defines.sym.
29169
6178c55b
ST
291702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29171
a4186cff 29172 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29173
6f080c2f
TS
291742012-05-10 Thomas Schwinge <thomas@schwinge.name>
29175
29176 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29177 assertion on O_CLOEXEC flag.
29178 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29179 * hurd/intern-fd.c: Likewise.
29180 * hurd/port2fd.c: Likewise.
29181
bcfe3a54
ST
291822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29183
29184 [BZ #3906]
29185 * bits/in.h (IPV6_PKTINFO): Define new macro.
29186 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29187
89c9aa49
AZ
291882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29189
29190 [BZ #13954]
29191 [BZ #13955]
29192 [BZ #13956]
29193 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29195 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29196 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29198 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29199 * math/libm-test.inc (logb_test) : Additional logb tests.
29200
021db4be
AJ
292012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29202 Andreas Jaeger <aj@suse.de>
29203
29204 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29205 * configure: Regenerated.
29206 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29207 * config.make.in (link-obsolete-rpc): New substituted variable.
29208 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29209 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29210 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29211 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29212 so that libc.a contains the symbols.
29213 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29214 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29215 * sunrpc/auth_none.c: Likewise.
29216 * sunrpc/auth_unix.c: Likewise.
29217 * sunrpc/authdes_prot.c: Likewise.
29218 * sunrpc/authuxprot.c: Likewise.
29219 * sunrpc/clnt_gen.c: Likewise.
29220 * sunrpc/clnt_perr.c: Likewise.
29221 * sunrpc/clnt_raw.c: Likewise.
29222 * sunrpc/clnt_simp.c: Likewise.
29223 * sunrpc/clnt_tcp.c: Likewise.
29224 * sunrpc/clnt_udp.c: Likewise.
29225 * sunrpc/clnt_unix.c: Likewise.
29226 * sunrpc/des_crypt.c: Likewise.
29227 * sunrpc/des_soft.c: Likewise.
29228 * sunrpc/get_myaddr.c: Likewise.
29229 * sunrpc/key_call.c: Likewise.
29230 * sunrpc/key_prot.c: Likewise.
29231 * sunrpc/netname.c: Likewise.
29232 * sunrpc/pm_getmaps.c: Likewise.
29233 * sunrpc/pm_getport.c: Likewise.
29234 * sunrpc/pmap_clnt.c: Likewise.
29235 * sunrpc/pmap_prot.c: Likewise.
29236 * sunrpc/pmap_prot2.c: Likewise.
29237 * sunrpc/pmap_rmt.c: Likewise.
29238 * sunrpc/publickey.c: Likewise.
29239 * sunrpc/rpc_cmsg.c: Likewise.
29240 * sunrpc/rpc_common.c: Likewise.
29241 * sunrpc/rpc_dtable.c: Likewise.
29242 * sunrpc/rpc_prot.c: Likewise.
29243 * sunrpc/rpc_thread.c: Likewise.
29244 * sunrpc/rtime.c: Likewise.
29245 * sunrpc/svc.c: Likewise.
29246 * sunrpc/svc_auth.c: Likewise.
29247 * sunrpc/svc_raw.c: Likewise.
29248 * sunrpc/svc_run.c: Likewise.
29249 * sunrpc/svc_tcp.c: Likewise.
29250 * sunrpc/svc_udp.c: Likewise.
29251 * sunrpc/svc_unix.c: Likewise.
29252 * sunrpc/svcauth_des.c: Likewise.
29253 * sunrpc/xcrypt.c: Likewise.
29254 * sunrpc/xdr.c: Likewise.
29255 * sunrpc/xdr_array.c: Likewise.
29256 * sunrpc/xdr_float.c: Likewise.
29257 * sunrpc/xdr_intXX_t.c: Likewise.
29258 * sunrpc/xdr_mem.c: Likewise.
29259 * sunrpc/xdr_rec.c: Likewise.
29260 * sunrpc/xdr_ref.c: Likewise.
29261 * sunrpc/xdr_sizeof.c: Likewise.
29262 * sunrpc/xdr_stdio.c: Likewise.
29263
b5c086a2
RM
292642012-05-10 Roland McGrath <roland@hack.frob.com>
29265
29266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29267 change. Update copyright years.
29268
6d74dd09
JM
292692012-05-10 Joseph Myers <joseph@codesourcery.com>
29270
29271 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29272
28e72501
MK
292732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29274 Joseph Myers <joseph@codesourcery.com>
29275 Paul Pluzhnikov <ppluzhnikov@google.com>
29276
29277 [BZ #14012]
29278 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29279 requiring rpcgen.
29280 [cross-compiling] (extra-libs): Likewise.
29281 [cross-compiling] (extra-libs-others): Likewise.
29282 [cross-compiling] (librpcsvc-routines): Likewise.
29283 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29284 [cross-compiling] (omit-deps): Likewise.
29285 (sunrpc-CPPFLAGS): New variable.
29286 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29287 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29288 (cross-rpcgen-objs): New variable.
29289 (extra-objs): Append $(cross-rpcgen-objs).
29290 ($(cross-rpcgen-objs)): New rule.
29291 ($(objpfx)cross-rpcgen): Likewise.
29292 (rpcgen-cmd): Define to use $(built-program-file). Expand
29293 comment.
29294 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29295 ($(objpfx)x%.stmp): Likewise.
29296 * sunrpc/proto.h [IS_IN_build] (_): Define.
29297 [IS_IN_build] (_libc_intl_domainname): Likewise.
29298
c8c59454
L
292992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29300
29301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29302 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29303 and R_X86_64_TPOFF64.
29304
6f27cd16
JM
293052012-05-10 Joseph Myers <joseph@codesourcery.com>
29306
29307 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29308 sysdeps/unix/sysv/syscalls.list.
29309 (stime): Likewise.
29310 (utime): Likewise.
29311 * sysdeps/unix/sysv/syscalls.list: Remove file.
29312
02467e1c
PE
293132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29314
29315 [BZ #3440]
29316 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29317 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29318 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29319 (__LC_IDENTIFICATION): Make these macros useful in #if
29320 expressions, as required by C99.
29321
da392631
AS
293222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29323
29324 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29325 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29326 after this.
29327
8115f29b
L
293282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29329
29330 * stdlib/longlong.h: Updated from GCC.
29331
bdd74070
AJ
293322012-05-09 Andreas Jaeger <aj@suse.de>
29333
edfe0dbe
AJ
29334 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29335 default is first entry.
29336 (run_mode): Set type.
29337 (main): Remove informal message about syslog.
29338 (options): Fix typo.
29339
bcfe3a54
ST
29340 [BZ #14053]
29341 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29342 to asm.
bcfe3a54
ST
29343 (lrint): Likewise.
29344 (llrintf): Likewise.
29345 (llrint): Likewise.
29346 (rint): Likewise.
29347 (rintf): Likewise.
29348 (nearbyint): Likewise.
29349 (nearbyintf): Likewise.
bdd74070 29350
91d8d69e
AJ
293512012-05-09 Andreas Jaeger <aj@suse.de>
29352 Pedro Alves <palves@redhat.com>
29353
29354 * nscd/nscd.c (run_mode): Use enum.
29355 (main): Cleanup coding style issue.
29356
bb90b80b
AJ
293572012-05-09 Alexandre Oliva <aoliva@redhat.com>
29358 Andreas Jaeger <aj@suse.de>
29359
bcfe3a54
ST
29360 * nscd/nscd.c (go_background): Replaced with...
29361 (run_mode): ... this.
bb90b80b 29362 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29363 (options): Add -F --foreground.
29364 (main): Implement it.
29365 (parse_opt): Parse it.
bb90b80b 29366
1a4b75a1
AJ
293672012-05-09 Andreas Jaeger <aj@suse.de>
29368
29369 [BZ #14083]
29370 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29371 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29372 -Wconversion warning.
29373 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29374 Likewise.
29375
b1cc2472
JM
293762012-05-09 Joseph Myers <joseph@codesourcery.com>
29377
29378 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29379 == 0.
29380 (LC_ALL): Use macro-int-constant.
29381 (LC_COLLATE): Likewise.
29382 (LC_CTYPE): Likewise.
29383 (LC_MESSAGES): Likewise.
29384 (LC_MONETARY): Likewise.
29385 (LC_NUMERIC): Likewise.
29386 (LC_TIME): Likewise.
29387 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29388 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29390 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29391 Specify type.
29392 [C99-based standards] (float_t): Expect type.
29393 [C99-based standards] (double_t): Expect type.
29394 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29395 type.
29396 [C99-based standards] (HUGE_VALL): Likewise.
29397 [C99-based standards] (INFINITY): Likewise.
29398 [C99-based standards] (NAN): Likewise.
29399 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29400 [C99-based standards] (FP_NAN): Likewise.
29401 [C99-based standards] (FP_NORMAL): Likewise.
29402 [C99-based standards] (FP_SUBNORMAL): Likewise.
29403 [C99-based standards] (FP_ZERO): Likewise.
29404 [C99-based standards] (FP_FAST_FMA): Use
29405 optional-macro-int-constant. Specify type. Require == 1.
29406 [C99-based standards] (FP_FAST_FMAF): Likewise.
29407 [C99-based standards] (FP_FAST_FMAL): Likewise.
29408 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29409 [C99-based standards] (FP_ILOGBNAN): Likewise.
29410 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29411 Specify type.
29412 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29413 [C99-based standards] (math_errhandling): Specify type.
29414 [ISO99 || ISO11] (signgam): Do not allow.
29415 [non-C99-based standards] (copysignf): Do not allow.
29416 [non-C99-based standards] (exp2f): Likewise.
29417 [non-C99-based standards] (log2f): Likewise.
29418 [non-C99-based standards] (modff): Allow.
29419 [non-C99-based standards] (erff): Do not allow.
29420 [non-C99-based standards] (erfcf): Likewise.
29421 [non-C99-based standards] (gammaf): Likewise.
29422 [non-C99-based standards] (hypotf): Likewise.
29423 [non-C99-based standards] (j0f): Likewise.
29424 [non-C99-based standards] (j1f): Likewise.
29425 [non-C99-based standards] (jnf): Likewise.
29426 [non-C99-based standards] (lgammaf): Likewise.
29427 [non-C99-based standards] (tgammaf): Likewise.
29428 [non-C99-based standards] (y0f): Likewise.
29429 [non-C99-based standards] (y1f): Likewise.
29430 [non-C99-based standards] (ynf): Likewise.
29431 [non-C99-based standards] (isnanf): Likewise.
29432 [non-C99-based standards] (acoshf): Likewise.
29433 [non-C99-based standards] (asinhf): Likewise.
29434 [non-C99-based standards] (atanhf): Likewise.
29435 [non-C99-based standards] (cbrtf): Likewise.
29436 [non-C99-based standards] (expm1f): Likewise.
29437 [non-C99-based standards] (ilogbf): Likewise.
29438 [non-C99-based standards] (log1pf): Likewise.
29439 [non-C99-based standards] (logbf): Likewise.
29440 [non-C99-based standards] (nextafterf): Likewise.
29441 [non-C99-based standards] (remainderf): Likewise.
29442 [non-C99-based standards] (rintf): Likewise.
29443 [non-C99-based standards] (scalbf): Likewise.
29444 [non-C99-based standards] (copysignl): Likewise.
29445 [non-C99-based standards] (exp2l): Likewise.
29446 [non-C99-based standards] (log2l): Likewise.
29447 [non-C99-based standards] (modfl): Allow.
29448 [non-C99-based standards] (erfl): Do not allow.
29449 [non-C99-based standards] (erfcl): Likewise.
29450 [non-C99-based standards] (gammal): Likewise.
29451 [non-C99-based standards] (hypotl): Likewise.
29452 [non-C99-based standards] (j0l): Likewise.
29453 [non-C99-based standards] (j1l): Likewise.
29454 [non-C99-based standards] (jnl): Likewise.
29455 [non-C99-based standards] (lgammal): Likewise.
29456 [non-C99-based standards] (tgammal): Likewise.
29457 [non-C99-based standards] (y0l): Likewise.
29458 [non-C99-based standards] (y1l): Likewise.
29459 [non-C99-based standards] (ynl): Likewise.
29460 [non-C99-based standards] (isnanl): Likewise.
29461 [non-C99-based standards] (acoshl): Likewise.
29462 [non-C99-based standards] (asinhl): Likewise.
29463 [non-C99-based standards] (atanhl): Likewise.
29464 [non-C99-based standards] (cbrtl): Likewise.
29465 [non-C99-based standards] (expm1l): Likewise.
29466 [non-C99-based standards] (ilogbl): Likewise.
29467 [non-C99-based standards] (log1pl): Likewise.
29468 [non-C99-based standards] (logbl): Likewise.
29469 [non-C99-based standards] (nextafterl): Likewise.
29470 [non-C99-based standards] (remainderl): Likewise.
29471 [non-C99-based standards] (rintl): Likewise.
29472 [non-C99-based standards] (scalbl): Likewise.
29473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29474 [non-C99-based standards] (FP_*): Do not allow.
29475 [C99-based standards] (FP_*): Change to
29476 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29477 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29478 allow.
29479 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29480 (SIG_ERR): Likewise.
29481 [X/Open-based standards] (SIG_HOLD): Likewise.
29482 (SIG_IGN): Likewise.
29483 (SIGABRT): Use macro-int-constant. Specify type. Require
29484 positive value.
29485 (SIGFPE): Likewise.
29486 (SIGILL): Likewise.
29487 (SIGINT): Likewise.
29488 (SIGSEGV): Likewise.
29489 (SIGTER): Likewise.
29490 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29491 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29492 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29493 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29494 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29495 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29496 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29497 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29498 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29499 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29500 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29501 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29502 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29503 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29504 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29505 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29506 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29507 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29508 [X/Open-based standards] (SIGTRAP): Likewise.
29509 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29510 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29511 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29512 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29513 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29514 allow.
29515
b9f1922d
IW
295162012-05-08 Ian Wienand <ianw@vmware.com>
29517
29518 [BZ #14080]
29519 * time/tzset.c (__tzset_parse_tz): Update default rules for
29520 daylight time changes in the Energy Policy Act of 2005.
29521
1db86e88
AJ
295222012-05-09 Andreas Jaeger <aj@suse.de>
29523
29524 [BZ #13983]
29525 * elf/ldconfig.c (parse_conf): Change string to make clear that
29526 ldconfig only issued a warning if ld.so.conf does not exist.
29527
dee4a4e3
DM
295282012-05-08 David S. Miller <davem@davemloft.net>
29529
ee0db190
DM
29530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29531 movxtod instead of popping the value on the stack.
29532
dee4a4e3
DM
29533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29534
6a43ec98
CD
295352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29536
29537 * config.h.in: Add HAVE_ARM_PCS_VFP.
29538
05c2c961
RMG
295392012-05-08 Roland Mc Grath <roland@hack.frob.com>
29540
bcfe3a54
ST
29541 [BZ #13979]
29542 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29543 checking but the checks are disabled for any reason.
05c2c961 29544
4b30f61a
L
295452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29546
29547 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29548 and ELF64_R_TYPE with ELFW(R_TYPE).
29549
eee2bc67
JM
295502012-05-08 Joseph Myers <joseph@codesourcery.com>
29551
7ea5391a
JM
29552 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29553 (ulimit): Likewise.
29554
eee2bc67
JM
29555 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29556 (settimeofday): Likewise.
29557
abb66a67
MF
295582012-05-08 Mike Frysinger <vapier@gentoo.org>
29559
29560 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29561 a struct th_u2 inside the union, and move tu_block/tu_code into
29562 a new th_u3 union of tu_block/tu_code inside of that. Move
29563 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29564 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29565 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29566 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29567 (th_stuff): Change to th_u1.tu_stuff.
29568 (th_data): Define.
29569 (th_msg): Change to th_u1.th_u2.tu_data.
29570
7f18b530
DM
295712012-05-07 David S. Miller <davem@davemloft.net>
29572
05760585
DM
29573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29574
7f18b530
DM
29575 [BZ #14074]
29576 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29577 (SETUP_PIC_REG): Use it.
29578 (SETUP_PIC_REG_LEAF): Use it.
29579
495fd99f
JM
295802012-05-07 Joseph Myers <joseph@codesourcery.com>
29581
29582 [BZ #13885]
29583 [BZ #13923]
29584 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29585 USE_AS_EXPM1L.
29586 (EXPL_FINITE): Likewise.
29587 (FLDLOG): Likewise.
29588 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29589 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29590 e_expl.S.
29591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29592 USE_AS_EXPM1L.
29593 (EXPL_FINITE): Likewise.
29594 (FLDLOG): Likewise.
29595 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29596 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29597 e_expl.S.
29598 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29599 test of -max_value argument for long double.
29600 * sysdeps/i386/fpu/libm-test-ulps: Update.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602
6693d694
DM
296032012-05-06 David S. Miller <davem@davemloft.net>
29604
29605 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29606 quad soft-float symbols whose references which are compiler
29607 generated.
29608 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29609
6c23e11c
JM
296102012-05-06 Joseph Myers <joseph@codesourcery.com>
29611
d8b82cad
JM
29612 [BZ #13884]
29613 [BZ #13914]
29614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29615 USE_AS_EXP10L.
29616 (EXPL_FINITE): Likewise.
29617 (FLDLOG): Likewise.
29618 (c0): Likewise.
29619 (c1): Likewise.
29620 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29621 Adjust comments for base varying.
29622 (__expl_finite): Change alias to EXPL_FINITE.
29623 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29624 e_expl.S.
29625 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29626 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29627 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29628 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29630 USE_AS_EXP10L.
29631 (EXPL_FINITE): Likewise.
29632 (FLDLOG): Likewise.
29633 (c0): Likewise.
29634 (c1): Likewise.
29635 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29636 Adjust comments for base varying.
29637 (__expl_finite): Change alias to EXPL_FINITE.
29638 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29639 tests for bugs.
29640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29641
6c23e11c
JM
29642 [BZ #14064]
29643 * math/libm-test.inc (check_float_internal): Correct ulp
29644 calculation for subnormal expected results.
29645
29ba805c
AJ
296462012-05-06 Andreas Jaeger <aj@suse.de>
29647
29648 * Makeconfig (+math-flags): New, set to -frounding-math.
29649 (+cflags): Add +math-flags so that all of glibc gets compiled with
29650 it.
29651
29652 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29653
7b17aeda
JM
296542012-05-05 Joseph Myers <joseph@codesourcery.com>
29655
5779f134
JM
29656 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29657 Disable one test.
29658
41498f4d
JM
29659 [BZ #13787]
29660 [BZ #13922]
29661 [BZ #14036]
29662 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29663 (__ieee754_expl): Allow for and saturate large arguments.
29664 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29665 (u_threshold): Likewise.
29666 (__exp): Call __ieee754_exp before checking for overflow and
29667 underflow.
29668 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29669 (u_threshold): Likewise.
29670 (__expf): Call __ieee754_expf before checking for overflow and
29671 underflow.
29672 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29673 (u_threshold): Likewise.
29674 (__expl): Call __ieee754_expl before checking for overflow and
29675 underflow.
29676 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29677 (__ieee754_expl): Allow for and saturate large arguments.
29678 * math/libm-test.inc (exp_test): Add another test. Do not allow
29679 missing overflow exception on overflow.
29680 (expm1_test): Do not allow missing overflow exception on overflow.
29681
6698b8bf
JM
29682 * sysdeps/i386/fpu/e_expl.c: Move to ...
29683 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29684 rather than using inline asm.
29685 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29686 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29687 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29688
7b17aeda
JM
29689 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29690 (nice): Likewise.
29691 (poll): Likewise.
29692 (signal): Likewise.
29693 (time): Likewise.
29694 (times): Likewise.
29695
f7c85819
JM
296962012-05-04 Joseph Myers <joseph@codesourcery.com>
29697
29698 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29699 sysdeps/unix/common/syscalls.list.
29700 (fchmod): Likewise.
29701 (fchown): Likewise.
29702 (ftruncate): Likewise.
29703 (getrusage): Likewise.
29704 (gettimeofday): Likewise.
29705 (setpgid): Likewise.
29706 (setregid): Likewise.
29707 (setreuid): Likewise.
29708 (sigaction): Likewise.
29709 (truncate): Likewise.
29710 (vhangup): Likewise.
29711 * sysdeps/unix/common/syscalls.list: Remove file.
29712 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29713 * sysdeps/unix/sysv/linux/Implies: Likewise.
29714
336270d0
L
297152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29716
29717 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29719 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29720 Moved to ...
29721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29722 Here.
29723 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29724 to ...
29725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29726 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29727 to ...
29728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29729 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29730 to ...
29731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29732 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29733 to ...
29734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29735 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29736 to ...
29737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29738 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29739 to ...
29740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29741 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29742 to ...
29743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29744 Here.
29745 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29746 to ...
29747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29748 Here.
29749 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29750 to ...
29751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29752 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29753 Moved to ...
29754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29755 Here.
29756 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29757 to ...
29758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29759
d128e450
JM
297602012-05-04 Joseph Myers <joseph@codesourcery.com>
29761
fa8ee516
JM
29762 * sysdeps/unix/common/bits/dirent.h: Remove file.
29763 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29764
d128e450
JM
29765 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29766 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29767 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29768 * sysdeps/unix/bsd/isatty.c: Likewise.
29769 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29770 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29771 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29772
ff8faaf0 297732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29774
62881be4 29775 [BZ #13563]
31dc8730
AZ
29776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29777 long double comparison inaccuracies.
29778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29780
6fef930c
AS
297812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29782
29783 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29785
8f203e6c
JM
297862012-05-04 Joseph Myers <joseph@codesourcery.com>
29787
29788 [BZ #14049]
29789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29790 nonzero digits before rounding a hex value.
29791 * stdlib/tst-strtod.c (tests): Add another test.
29792
5197d9c2
AK
297932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29794
29795 * sysdeps/s390/fpu/libm-test-ulps: Update.
29796
f0c1dedf
AJ
297972012-05-03 Andreas Jaeger <aj@suse.de>
29798
29799 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29800 does not get optimized out.
29801 (malloc_opt_barrier): New.
29802
a65ef2ae 298032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29804 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29805
2b942cb7 29806 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29807 intermediate file deletion.
2b942cb7 29808 (generated): Add .symlist files.
a65ef2ae 29809
54b71e02
JM
298102012-05-03 Joseph Myers <joseph@codesourcery.com>
29811
29812 [BZ #13775]
29813 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29814 Redirect under this condition.
29815 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29816 [__USE_GNU] (__dprintf_chk): Not under this condition.
29817 [__USE_GNU] (__vdprintf_chk): Likewise.
29818 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29819 under this condition.
29820 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29821 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29822 [__USE_XOPEN2K8] (vdprintf): Likewise.
29823 [__USE_GNU] (__dprintf_chk): Not under this condition.
29824 [__USE_GNU] (__vdprintf_chk): Likewise.
29825 [__USE_GNU] (dprintf): Likewise.
29826 [__USE_GNU] (vdprintf): Likewise.
29827
d3dfcc41
RM
298282012-05-03 Roland McGrath <roland@hack.frob.com>
29829
29830 * elf/Makefile (common-generated): Set this instead of generated for
29831 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29832 $(all-built-dso)-derived lists.
29833
7ac30cc5
AJ
298342012-05-03 Andreas Jaeger <aj@suse.de>
29835
0c51e550
AJ
29836 * sysdeps/i386/fpu/libm-test-ulps: Update.
29837
7ac30cc5
AJ
29838 * FAQ: Removed.
29839 * FAQ.in: Likewise.
29840 * scripts/gen-FAQ.pl: Likewise.
29841 * manual/install.texi (Installation): Point to online location of
29842 FAQ.
29843 * Makefile (files-for-dist): Remove FAQ.
29844 (FAQ): Remove.
29845
d4c2917f
AM
298462012-05-02 Allan McRae <allan@archlinux.org>
29847
29848 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29849 (LDFLAGS-reldepmod5.so): Likewise.
29850 (LDFLAGS-reldep6mod1.so): Likewise.
29851 (LDFLAGS-reldep6mod4.so): Likewise.
29852 (LDFLAGS-reldep8mod3.so): Likewise.
29853 (LDFLAGS-unload4mod1.so): Likewise.
29854 (LDFLAGS-unload4mod2.so): Likewise.
29855 (LDFLAGS-tst-initorder): Likewise.
29856 (LDFLAGS-tst-initordera2.so): Likewise.
29857 (LDFLAGS-tst-initordera3.so): Likewise.
29858 (LDFLAGS-tst-initordera4.so): Likewise.
29859 (LDFLAGS-tst-initorderb2.so): Likewise.
29860 (LDFLAGS-noload): Likewise.
29861 (LDFLAGS-next): Likewise.
29862 (LDFLAGS-order2mod1.so): Likewise.
29863 (LDFLAGS-order2mod2.so): Likewise.
29864 (LDFLAGS-tst-initorder2): Likewise.
29865 (LDFLAGS-tst-initorder2a.so): Likewise.
29866 (LDFLAGS-tst-initorder2b.so): Likewise.
29867 (LDFLAGS-tst-initorder2c.so): Likewise.
29868 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29869
d77f993f
DM
298702012-05-02 David S. Miller <davem@davemloft.net>
29871
29872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29873
171a70b4
PP
298742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29875
29876 [BZ #14055]
29877 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29878
0be196ad
AJ
298792012-05-02 Andreas Jaeger <aj@suse.de>
29880
29881 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29882 since we manipulate rounding mode.
29883 (CPPFLAGS-test-idouble.c): Likewise.
29884 (CPPFLAGS-test-ifloat.c): Likewise.
29885 (CFLAGS-test-ldouble.c): Likewise.
29886 (CFLAGS-test-double.c): Likewise.
29887 (CFLAGS-test-float.c): Likewise.
29888 (CFLAGS-test-misc.c): Likewise.
29889 (CFLAGS-test-test-fenv.c): Likewise.
29890
4f9d04aa
AZ
298912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29892
2b942cb7
RM
29893 [BZ #2550]
29894 [BZ #2570]
29895 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29896 comparisons to determine direction to adjust input.
4f9d04aa 29897
82a79e7d
RM
298982012-05-01 Roland McGrath <roland@hack.frob.com>
29899
f5a01ca9
RM
29900 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29901 output to the target.
29902
90fe4186
RM
29903 * scripts/localplt.awk: New file.
29904 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29905 (check-localplt-CFLAGS): Variable removed.
29906 ($(all-built-dso:=.jmprel)): New static pattern rule.
29907 (generated): Add those targets.
29908 (localplt-built-dso): New variable.
29909 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29910
29911 * elf/check-localplt.c: File removed.
29912
82397ed6
RM
29913 * scripts/check-execstack.awk: New file.
29914 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29915 (check-execstack-CFLAGS): Variable removed.
29916 ($(objpfx)check-execstack.h): Target removed.
29917 ($(objpfx)execstack-default): New target.
29918 (generated): Add that instead of check-execstack.h.
29919 ($(all-built-dso:=.phdr)): New static pattern rule.
29920 (generated): Add those targets.
29921 * elf/check-execstack.c: File removed.
29922
82a79e7d
RM
29923 * scripts/check-textrel.awk: New file.
29924 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29925 (check-textrel-CFLAGS): Variable removed.
29926 (all-built-dso): Use := to define.o
29927 ($(all-built-dso:=.dyn)): New static pattern rule.
29928 (generated): Add those targets.
29929 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29930 * config.make.in (READELF): New substituted variable.
29931 * elf/check-textrel.c: File removed.
29932
62fde54f 299332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29934
615605c9
JM
29935 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29936 allow.
29937 * conform/data/ctype.h-data [C99-based standards] (isblank):
29938 Expect function.
29939 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29940 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29942 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29943 Specify type. Require positive value.
29944 (EILSEQ): Likewise.
29945 (ERANGE): Likewise.
29946 [ISO || POSIX] (EILSEQ): Do not expect.
29947 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29948 Specify type. Require positive value.
29949 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29967 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29968 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29969 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29974 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29975 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29981 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29982 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29983 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29984 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29985 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29986 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29987 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29988 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29989 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29990 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29991 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29997 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29999 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30000 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30001 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30002 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30003 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30004 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30005 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30007 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30008 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30009 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30010 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30011 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30012 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30013 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30014 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30015 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30016 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30017 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30018 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30019 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30020 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30021 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30022 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30023 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30024 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30025 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30026 Require >= 2.
30027 (FLT_ROUNDS): Expect as macro, not constant.
30028 (FLT_MANT_DIG): Use macro-int-constant.
30029 (DBL_MANT_DIG): Likewise.
30030 (LDBL_MANT_DIG): Likewise.
30031 (FLT_DIG): Likewise.
30032 (DBL_DIG): Likewise.
30033 (LDBL_DIG): Likewise.
30034 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30035 (DBL_MIN_EXP): Likewise.
30036 (LDBL_MIN_EXP): Likewise.
30037 (FLT_MAX_EXP): Use macro-int-constant.
30038 (DBL_MAX_EXP): Likewise.
30039 (LDBL_MAX_EXP): Likewise.
30040 (FLT_MAX_10_EXP): Likewise.
30041 (DBL_MAX_10_EXP): Likewise.
30042 (LDBL_MAX_10_EXP): Likewise.
30043 (FLT_MAX): Use macro-constant.
30044 (DBL_MAX): Likewise.
30045 (LDBL_MAX): Likewise.
30046 (FLT_EPSILON): Use macro-constant. Give upper bound.
30047 (DBL_EPSILON): Likewise.
30048 (LDBL_EPSILON): Likewise.
30049 (FLT_MIN): Likewise.
30050 (DBL_MIN): Likewise.
30051 (LDBL_MIN): Likewise.
30052 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30053 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30054 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30055 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30056 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30057 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30058 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30059 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30060 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30061 [ISO11] (FLT_TRUE_MIN): Likewise.
30062 [ISO11] (LDBL_TRUE_MIN): Likewise.
30063 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30064 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30065 (SCHAR_MIN): Use macro-int-constant. Specify type.
30066 (SCHAR_MAX): Likewise.
30067 (UCHAR_MAX): Likewise.
30068 (CHAR_MIN): Likewise.
30069 (CHAR_MAX): Likewise.
30070 (MB_LEN_MAX): Use macro-int-constant.
30071 (SHRT_MIN): Use macro-int-constant. Specify type.
30072 (SHRT_MAX): Likewise.
30073 (USHRT_MAX): Likewise.
30074 (INT_MAX): Likewise.
30075 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30076 bound negative.
30077 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30078 bound with "U".
30079 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30080 bound with "L".
30081 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30082 bound negative. Suffix upper bound with "L".
30083 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30084 bound with "UL".
30085 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30086 Specify type.
30087 [C99-based standards] (LLONG_MAX): Likewise.
30088 [C99-based standards] (ULLONG_MAX): Likewise.
30089 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30090 == 0.
30091 [ISO11] (max_align_t): Require type.
30092 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30093
c9140a62
JM
30094 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30095 from $CFLAGS, without defining away __attribute__ calls.
30096 (checknamespace): Use $CFLAGS_namespace.
30097
9af0bf29
JM
30098 * conform/conformtest.pl (@keywords): Only include C99 keywords
30099 for standards based on C99 or C11.
30100
343222a2
JM
30101 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30102 Disable tests.
30103 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30104 UNIX98]: Likewise.
30105
661f8cf0
JM
30106 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30107 usability of symbols in #if.
30108
ee74b9cb
JM
30109 * conform/conformtest.pl: If macro or constant types start
30110 "promoted:", expect the symbol to be of the following type
30111 promoted by the integer promotions.
62fde54f 30112
aafc49b3
JM
30113 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30114 in one place. Also handle "macro-constant".
30115
fefdf574
JM
30116 * conform/conformtest.pl: Only accept expected macro values with
30117 "==". Parse all "macro" lines in one place.
30118 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30119
f2d922fe
JM
30120 * conform/conformtest.pl: Handle braced types on "constant" lines
30121 instead of handling "typed-constant".
30122 * conform/data/signal.h-data: Use "constant" instead of
30123 "typed-constant".
30124
d22956c9
JM
30125 * conform/conformtest.pl: Handle "optional-" at start of lines in
30126 one place rather than duplicating several cases. Handle each
30127 format of "macro" line with initial "optional-".
30128
028e2e38
JM
30129 * conform/conformtest.pl: Only accept expected constant or
30130 optional-constant values with "==". Parse all "constant" lines in
30131 one place. Parse all "optional-constant" lines in one place.
30132 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30133 * conform/data/fmtmsg.h-data: Likewise.
30134 * conform/data/netinet/in.h-data: Likewise.
30135 * conform/data/tar.h-data: Likewise.
30136 * conform/data/limits.h-data: Use "==" form on "constant" and
30137 "optional-constant" lines.
30138
1b8f2850
JM
30139 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30140 Use -std=c99 for XOPEN2K.
30141 (@knownproblems): Remove.
30142 (newtoken): Don't check %isknown.
30143
a05a144b
JM
30144 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30145 Do not expect macro.
30146 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30158 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30159 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30176 [XPG3] (acosh): Likewise.
30177 [XPG3] (asinh): Likewise.
30178 [XPG3] (atanh): Likewise.
30179 [XPG3] (cbrt): Likewise.
30180 [XPG3] (expm1): Likewise.
30181 [XPG3] (ilogb): Likewise.
30182 [XPG3] (log1p): Likewise.
30183 [XPG3] (logb): Likewise.
30184 [XPG3] (nextafter): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30187 [XPG3] (remainder): Likewise.
30188 [XPG3] (rint): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30196 [UNIX98 || XOPEN2K] (scalb): Expect.
30197 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30198 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30239 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30240 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30241 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30242 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30244 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30245 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30246 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30247 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30248 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30249 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30250 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30251 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30252 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30253 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30254 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30255 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30256 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30257 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30258 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30259 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30260 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30261 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30262 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30263 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30264 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30265 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30266 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30267 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30268 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30269 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30270 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30271 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30272 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30273 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30274 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30275 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30276 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30277 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30278 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30279 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30280 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30281 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30282 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30283 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30284 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30285 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30286 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30287 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30288 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30289 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30290 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30291 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30292 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30293 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30294 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30295 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30296 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30297 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30298 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30299 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30300 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30301 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30302 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30303 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30304 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30305 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30306 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30307 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30308 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30309 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30310 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30311 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30312 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30313 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30314 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30315 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30316 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30317 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30318 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30319 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30320 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30321 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30322 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30323 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30324 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30325 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30326 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30327 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30328 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30329 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30330 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30331 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30332 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30333 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30334
73c5ebe3
JM
30335 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30336 _XOPEN_SOURCE_EXTENDED for XPG4.
30337
39c33b6c
JM
30338 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30339
62fde54f
JM
30340 * Makeconfig (localtime): Remove variable.
30341 (inst_localtime-file): Likewise.
30342
0741d64c
AS
303432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30344
30345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30346 Update.
30347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30348 Update.
30349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30350 Update.
30351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30352 Update.
30353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30354 Update.
30355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30356 Update.
30357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30358 Update.
30359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30360 Update.
30361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30362 Update.
30363
7cb029ee
JM
303642012-05-01 Joseph Myers <joseph@codesourcery.com>
30365
30366 [BZ #2550]
30367 [BZ #2570]
30368 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30369 comparisons to determine direction to adjust input.
30370 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30371 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30373 Likewise.
30374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30375 Likewise.
30376 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30377 Likewise.
30378 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30379 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30380 Likewise.
30381 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30382 Likewise.
30383 * math/libm-test.inc (nexttoward_test): Add more tests.
30384
412bd966
AS
303852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30386
30387 [BZ #14040]
30388 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30389 in version GLIBC_2.1, not GLIBC_2.0.
30390 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30391 Likewise.
30392
9568c0c2
JM
303932012-04-30 Joseph Myers <joseph@codesourcery.com>
30394
adfbc8ac
JM
30395 [BZ #13942]
30396 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30397 (1 - x) * (1 + x).
30398 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30399 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30400 * math/libm-test.inc (acos_test): Add more tests.
30401 (asin_test): Likewise.
30402 * sysdeps/i386/fpu/libm-test-ulps: Update.
30403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30404
5ba3cc69
JM
30405 [BZ #14034]
30406 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30407 of square root.
30408 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30409 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30410 * math/libm-test.inc (acos_test_tonearest): New function.
30411 (acos_test_towardzero): Likewise.
30412 (acos_test_downward): Likewise.
30413 (acos_test_upward): Likewise.
30414 (asin_test_tonearest): Likewise.
30415 (asin_test_towardzero): Likewise.
30416 (asin_test_downward): Likewise.
30417 (asin_test_upward): Likewise.
30418 (main): Call the new functions.
30419 * sysdeps/i386/fpu/libm-test-ulps: Update.
30420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30421
9568c0c2
JM
30422 [BZ #13884]
30423 [BZ #13924]
30424 * math/e_exp10.c: Include <float.h>.
30425 (__ieee754_exp10): Handle underflow here rather than multiplying
30426 large negative argument by M_LN10.
30427 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30428 of __ieee754_expf.
30429 * math/e_exp10l.c: Include <float.h>.
30430 (__ieee754_exp10l): Handle underflow here rather than multiplying
30431 large negative argument by M_LN10l.
30432 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30433 spurious overflow exception on underflow.
30434
5ac3ea17
MP
304352012-04-29 Marek Polacek <polacek@redhat.com>
30436
30437 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30438 (__fortify_function): New macro.
30439 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30440 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30441 __extern_always_inline.
30442 * libio/bits/stdio2.h: Likewise.
30443 * libio/bits/stdio.h: Likewise.
30444 * string/string.h: Likewise.
30445 * string/bits/string3.h: Likewise.
30446 * include/stdio.h: Likewise.
30447 * stdlib/bits/stdlib.h: Likewise.
30448 * stdlib/stdlib.h: Likewise.
30449 * rt/bits/mqueue2.h: Likewise.
30450 * rt/mqueue.h: Likewise.
30451 * posix/bits/unistd.h: Likewise.
30452 * posix/unistd.h: Likewise.
30453 * io/bits/poll2.h: Likewise.
30454 * io/bits/fcntl2.h: Likewise.
30455 * io/fcntl.h: Likewise.
30456 * io/sys/poll.h: Likewise.
30457 * misc/bits/syslog.h: Likewise.
30458 * misc/bits/syslog-ldbl.h: Likewise.
30459 * misc/sys/syslog.h: Likewise.
30460 * socket/bits/socket2.h: Likewise.
30461 * socket/sys/socket.h: Likewise.
30462 * debug/tst-chk1.c: Likewise.
30463 * wcsmbs/bits/wchar2.h: Likewise.
30464 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30465 * wcsmbs/wchar.h: Likewise.
30466
ecf0ebfb
AJ
304672012-04-29 Andreas Jaeger <aj@suse.de>
30468
30469 * Makerules (tests): Remove enable-check-abi protection.
30470 (check-abi-warn): Remove.
30471 (check-abi-%): Remove check-abi-warn usage.
30472
30473 * configure.in: Remove check-abi configure option.
30474 * configure: Regenerated.
30475 * config.make.in (enable-check-abi): Remove.
30476
6d5c57fa
AS
304772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30478
24c5d07e 30479 [BZ #14033]
ded5180a
AS
30480 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30481 double functions to double *_finite functions.
30482
7e0d315d
AS
30483 [BZ #13941]
30484 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30485 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30486 LDBL_MIN_EXP.
30487 * stdio-common/Makefile (tests): Add tst-sprintf3.
30488 * stdio-common/tst-sprintf3.c: New file.
30489
6d5c57fa
AS
30490 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30491 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30492
0749ff8b
JM
304932012-04-28 Joseph Myers <joseph@codesourcery.com>
30494
30495 * conform/conformtest.pl: Remove duplicate typed-constant
30496 handling.
30497
8dbd5d7b
DM
304982012-04-28 David S. Miller <davem@davemloft.net>
30499
30500 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30501 (check-abi-%): Remove AWK script prerequisite and explicit
30502 abilist directory.
30503 (check-abi): Rewrite to just diff the symlist with the abilist.
30504 (config-tls, config-abi-config): Delete, no longer used.
30505 (update-abi-%): Remove AWK script and explicit abilist directory.
30506 (update-abi): Rewrite to simply compare and conditionally copy the
30507 symlist and the sysdep abilist file. Remove update-abi-config
30508 checks.
30509 * abilist/ld.abilist: Remove.
30510 * abilist/libBrokenLocale.abilist: Remove.
30511 * abilist/libanl.abilist: Remove.
30512 * abilist/libcrypt.abilist: Remove.
30513 * abilist/libdl.abilist: Remove.
30514 * abilist/librt.abilist: Remove.
30515 * abilist/libthread_db.abilist: Remove.
30516 * abilist/libutil.abilist: Remove.
30517 * scripts/extract-abilist.awk: Remove.
30518 * scripts/merge-abilist.awk: Remove.
30519 * sysdeps/generic/libcidn.abilist: New file.
30520 * sysdeps/generic/libnss_compat.abilist: New file.
30521 * sysdeps/generic/libnss_db.abilist: New file.
30522 * sysdeps/generic/libnss_dns.abilist: New file.
30523 * sysdeps/generic/libnss_files.abilist: New file.
30524 * sysdeps/generic/libnss_hesiod.abilist: New file.
30525 * sysdeps/generic/libnss_nis.abilist: New file.
30526 * sysdeps/generic/libnss_nisplus.abilist: New file.
30527 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30528 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30529 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30530 file.
30531 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30532 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30533 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30534 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30535 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30536 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30537 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30538 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30539 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30540 file.
30541 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30542 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30543 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30544 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30545 file.
30546 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30547 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30548 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30549 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30550 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30551 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30552 file.
30553 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30554 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30555 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30556 file.
30557 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30559 New file.
30560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30561 New file.
30562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30563 New file.
30564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30565 New file.
30566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30567 New file.
30568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30569 New file.
30570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30571 New file.
30572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30573 New file.
30574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30575 New file.
30576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30577 New file.
30578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30579 New file.
30580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30581 New file.
30582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30583 New file.
30584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30585 file.
30586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30587 New file.
30588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30589 New file.
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30591 file.
30592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30593 New file.
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30595 New file.
30596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30597 file.
30598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30599 New file.
30600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30601 New file.
30602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30603 New file.
30604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30605 New file.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30607 New file.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30609 New file.
30610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30612 file.
30613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30614 New file.
30615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30616 file.
30617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30618 file.
30619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30620 file.
30621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30622 file.
30623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30624 file.
30625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30626 New file.
30627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30628 file.
30629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30630 file.
30631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30632 New file.
30633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30634 file.
30635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30637 file.
30638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30639 New file.
30640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30641 file.
30642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30643 file.
30644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30645 file.
30646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30647 file.
30648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30649 file.
30650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30651 New file.
30652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30653 file.
30654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30655 file.
30656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30657 New file.
30658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30659 file.
30660 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30661 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30662 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30663 file.
30664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30665 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30666 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30667 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30668 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30669 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30670 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30671 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30672 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30673 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30676 file.
30677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30678 New file.
30679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30680 file.
30681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30682 file.
30683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30684 file.
30685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30686 file.
30687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30688 file.
30689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30690 New file.
30691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30692 New file.
30693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30694 file.
30695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30696 New file.
30697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30698 file.
30699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30701 file.
30702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30703 New file.
30704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30705 file.
30706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30707 file.
30708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30709 file.
30710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30711 file.
30712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30713 file.
30714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30715 New file.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30717 New file.
30718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30719 file.
30720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30721 New file.
30722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30723 file.
30724
41d73a1b
JM
307252012-04-28 Joseph Myers <joseph@codesourcery.com>
30726
30727 * conform/conformtest.pl: Fix typo in handling typed-constant from
30728 allow-header.
30729
28aeeda4
JM
307302012-04-27 Joseph Myers <joseph@codesourcery.com>
30731
adae8f5e
JM
30732 * README: Cut down references to pre-2.6 Linux kernels and
30733 Linuxthreads. Update lists of configurations in libc and ports
30734 and sort alphabetically. Say "or newer" with Linux kernel version
30735 requirements.
30736
28aeeda4
JM
30737 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30738
a462cb63
RA
307392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30740
30741 [BZ #887]
30742 * math/libm-test.inc (logb_test_downward): New test to expose
30743 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30744 rounding mode.
30745
6ad3493e
JM
307462012-04-27 Joseph Myers <joseph@codesourcery.com>
30747
30748 [BZ #14027]
30749 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30750 to be done.
30751 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30752 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30753
2ce4f015
JM
307542012-04-26 Joseph Myers <joseph@codesourcery.com>
30755
5aeb141a
JM
30756 * sysdeps/unix/i386/brk.S: Remove file.
30757 * sysdeps/unix/i386/dl-brk.S: Likewise.
30758 * sysdeps/unix/i386/pipe.S: Likewise.
30759 * sysdeps/unix/i386/sigreturn.S: Likewise.
30760 * sysdeps/unix/i386/syscall.S: Likewise.
30761 * sysdeps/unix/i386/vfork.S: Likewise.
30762 * sysdeps/unix/i386/wait.S: Likewise.
30763
7143acae
JM
30764 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30765 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30766
2ce4f015
JM
30767 * configure.in (arm*-none*): Do not allow without
30768 --enable-hacker-mode.
30769 (netbsd*): Remove case setting base_os.
30770 (386bsd*): Likewise.
30771 (freebsd*): Likewise.
30772 (bsdi*): Likewise.
30773 (osf*): Likewise.
30774 (sunos*): Likewise.
30775 (ultrix*): Likewise.
30776 (newsos*): Likewise.
30777 (dynix*): Likewise.
30778 (*bsd*): Likewise.
30779 (sysv*): Likewise.
30780 (isc*): Likewise.
30781 (esix*): Likewise.
30782 (sco*): Likewise.
30783 (minix*): Likewise.
30784 (irix4*): Likewise.
30785 (irix6*): Likewise.
30786 (solaris[2-9]*): Likewise.
30787 (none): Likewise.
30788 * configure: Regenerated.
30789
0ac229c8
AZ
307902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30791
30792 [BZ #11521]
30793 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30794 overflow or cancellation in calculating denominator.
30795 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30797 down expression to avoid unexpected rounding in newer GCCs.
30798 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30799
33f244f4
DM
308002012-04-26 David S. Miller <davem@davemloft.net>
30801
30802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30803 long-double compat symbols.
30804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30817
cfa1f3e8
DM
308182012-04-25 David S. Miller <davem@davemloft.net>
30819
30820 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30821 HWCAP_* values only after the memory barriers have been defined.
30822 (atomic_full_barrier): Define.
30823 (atomic_read_barrier): Define.
30824 (atomic_write_barrier): Define.
30825
6e236b92
SP
308262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30827
30828 * shlib-versions: Add libgcc_s version information.
30829 * sysdeps/generic/libgcc_s.h: Remove.
30830 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30831 libgcc_s.h.
30832 * sysdeps/gnu/unwind-resume.c: Likewise.
30833 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30834
aab39a09
DM
308352012-04-25 David S. Miller <davem@davemloft.net>
30836
30837 * sysdeps/unix/sparc/brk.S: Delete.
30838 * sysdeps/unix/sparc/dl-brk.S: Delete.
30839 * sysdeps/unix/sparc/pipe.S: Delete.
30840 * sysdeps/unix/sparc/sysdep.S: Delete.
30841 * sysdeps/unix/sparc/sysdep.h: Delete.
30842 * sysdeps/unix/sparc/vfork.S: Delete.
30843 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30844 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30845 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30846 ret_ERRVAL, r0, r1, MOVE): Define.
30847 (JUMPTARGET): Remove.
30848 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30849 sysdeps/unix/sparc/sysdep.h
30850 (ENTRY, END): Remove.
30851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30852
a3cc4f48
JM
308532012-04-25 Joseph Myers <joseph@codesourcery.com>
30854
2ed8cda2
JM
30855 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30856 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30857 -DIS_IN_build.
30858
35d76d59
JM
30859 * timezone/README: Update upstream location and email address for
30860 tzcode and tzdata.
30861 * timezone/zdump.c: Update from tzcode 2012b.
30862 * timezone/zic.c: Likewise.
30863
a3cc4f48
JM
30864 * configure.in (libc_cv_as_needed): Remove test.
30865 * configure: Regenerated.
30866 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30867 conditional definition.
30868 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30869 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30870 * config.make.in (have-as-needed): Remove variable.
30871
ceab42c3
SP
308722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30873 Paul Pluzhnikov <ppluzhnikov@google.com>
30874
30875 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30876 strings correctly.
30877
3ce2865f
CLT
308782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30879
30880 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30881 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30882 * sysdeps/sh/strlen.S: Likewise.
30883
f37e0d68
JM
308842012-04-24 Joseph Myers <joseph@codesourcery.com>
30885
ae186e9a
JM
30886 * sysdeps/unix/fork.S: Remove file.
30887 * sysdeps/unix/i386/fork.S: Likewise.
30888 * sysdeps/unix/sparc/fork.S: Likewise.
30889
b96914af
JM
30890 * sysdeps/unix/system.c: Remove file.
30891 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30892
f37e0d68
JM
30893 * sysdeps/unix/getegid.S: Remove file.
30894 * sysdeps/unix/geteuid.S: Likewise.
30895
87ef29ca
RM
308962012-04-24 Roland McGrath <roland@hack.frob.com>
30897
83bcd236
RM
30898 * scripts/check-localplt.awk: New file.
30899 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30900 of diff.
30901 * scripts/data/localplt-generic.data: Add a comment.
30902
87ef29ca
RM
30903 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30904 NODE when __dir_mkfile failed.
30905 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30906 Reported by Ludovic Courtès <ludo@gnu.org>.
30907
e5a6e567
AJ
309082012-04-24 Andreas Jaeger <aj@suse.de>
30909
30910 * Makerules (common-clean): Also remove gen-as-const-headers
30911 files.
30912
c1820385
JM
309132012-04-24 Joseph Myers <joseph@codesourcery.com>
30914
30915 * Makerules (native-compile): Do not change working directory for
30916 build. Use $(OUTPUT_OPTION) in command.
30917 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30918
94e02fc4
AZ
309192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30920
30921 [BZ #13886]
30922 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30923 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30924 * math/libm-test.inc (floor_test): Add more tests.
30925 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30926
3a533ca3
JM
309272012-04-24 Joseph Myers <joseph@codesourcery.com>
30928
940ab4b3
JM
30929 * sysdeps/unix/getdents.c: Remove file.
30930 * sysdeps/unix/sysv/getdents.c: Likewise.
30931 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30932
90e037bd
JM
30933 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30934 sysdeps/unix/mman/syscalls.list.
30935 (mmap): Likewise.
30936 (mprotect): Likewise.
30937 (msync): Likewise.
30938 (munmap): Likewise.
30939 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30940 * sysdeps/unix/mman/syscalls.list: Remove.
30941 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30942
3a533ca3
JM
30943 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30944 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30945 * configure: Regenerated.
30946 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30947 $(libgcc_s_suffix).
30948 * config.make.in (libgcc_s_suffix): Remove variable.
30949
1ad743de
JM
309502012-04-23 Joseph Myers <joseph@codesourcery.com>
30951
4ad451e2
JM
30952 * sysdeps/unix/sysv/gethostname.c: Move to ...
30953 * sysdeps/posix/gethostname.c: ... here.
30954
5e37ce39
JM
30955 * sysdeps/unix/execve.S: Remove file.
30956
1ad743de
JM
30957 * sysdeps/unix/_exit.S: Remove file.
30958
4e681b5b
AJ
309592012-04-23 Andreas Jaeger <aj@suse.de>
30960
30961 [BZ #13739]
30962 * manual/Makefile: Remove make dist support, there's no
30963 need for a stand-alone documentation tar ball.
30964 (TEXI2DVI): Define always, it's not in Makeconfig.
30965 (dist): Removed.
30966 (tar-it): Removed.
30967 (edition): Removed.
30968 (glibc-doc-$(edition).tar): Removed
30969 (%.Z): Removed.
30970 (%.gz): Removed.
30971 (%.uu): Removed.
30972 (ETAGS): Remove, it's in Makeconfig.
30973 (move-if-change): Remove, it's in Makeconfig.
30974
38686a03 309752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30976
30977 [BZ #13970]
30978 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30979 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30980 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30981 (strtod_l, strtof_l, strtold_l): Remove __wur.
30982 It is not necessarily an error to ignore strtol's return value.
30983 One can reliably look at the stored endptr to decide whether
30984 the number had valid syntax.
30985
7c0616fa
AJ
309862012-04-21 Andreas Jaeger <aj@suse.de>
30987
803cb6b7 30988 [BZ #13739]
7c0616fa
AJ
30989 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30990
b0fe253f
JM
309912012-04-21 Joseph Myers <joseph@codesourcery.com>
30992
30993 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30994 * sysdeps/unix/sysv/Versions: Remove file.
30995
8280f22d
MT
309962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30997
30998 [BZ #13927]
30999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31000
75ce411f 310012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31002
31003 [BZ #7064]
31004 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31005 version from __vm86.
31006
097d59fa
JM
310072012-04-20 Joseph Myers <joseph@codesourcery.com>
31008
a90f3bcb
JM
31009 * sysdeps/unix/common/lxstat.c: Remove file.
31010 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31011
edc7ea78
JM
31012 * sysdeps/unix/sysv/Makefile: Remove file.
31013
cb78c221
JM
31014 * sysdeps/unix/sysv/direct.h: Remove file.
31015
efa6a45f
JM
31016 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31017 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31018 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31019 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31020 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31021 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31022 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31023
9c9f2d0c
JM
31024 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31025
4541c83b
JM
31026 * sysdeps/unix/xmknod.c: Remove file.
31027 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31028
f5d153a0
JM
31029 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31030
aa746595
JM
31031 * sysdeps/unix/sysv/i386/time.S: Remove file.
31032
cce5905e
JM
31033 * sysdeps/unix/fxstat.c: Remove file.
31034 * sysdeps/unix/xstat.c: Likewise.
31035 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31036
37fa3841
JM
31037 * sysdeps/unix/sysv/sigaction.c: Remove file.
31038
ff1962a3
JM
31039 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31040 (sysdep_headers): Remove variable.
31041 [termio.h not in sysdep_headers] (generated): Likewise.
31042 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31043 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31044 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31045 * sysdeps/unix/sysv/tcflow.c: Likewise.
31046 * sysdeps/unix/sysv/tcflush.c: Likewise.
31047 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31048 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31049 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31050 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31051 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31052
e7740d31
JM
31053 * sysdeps/unix/siglist.c: Remove file.
31054
ee06f18b
JM
31055 * sysdeps/unix/getppid.S: Remove file.
31056
097d59fa
JM
31057 * sysdeps/unix/mkdir.c: Remove file.
31058 * sysdeps/unix/rmdir.c: Likewise.
31059
ff3d51ec
AS
310602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31061
31062 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31063 ERR_MAX value.
31064 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31065 errlist-compat value.
31066
50f81fd7
DM
310672012-04-18 David S. Miller <davem@davemloft.net>
31068
31069 * sysdeps/generic/memcopy.h (reg_char): Delete.
31070 * debug/strcat_chk.c: Use char, not reg_char.
31071 * debug/strcpy_chk.c: Likewise.
31072 * debug/strncat_chk.c: Likewise.
31073 * debug/strncpy_chk.c: Likewise.
31074 * string/memchr.c: Likewise.
31075 * string/memrchr.c: Likewise.
31076 * string/rawmemchr.c: Likewise.
31077 * string/strcat.c: Likewise.
31078 * string/strchr.c: Likewise.
31079 * string/strchrnul.c: Likewise.
31080 * string/strcmp.c: Likewise.
31081 * string/strcpy.c: Likewise.
31082 * string/strncat.c: Likewise.
31083 * string/strncmp.c: Likewise.
31084 * string/strncpy.c: Likewise.
31085
8ff41c46
WS
310862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31087
31088 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31089 __builtin_memcopy is called when src and dest ranges are known to not
31090 overlap.
31091
6b652f46
WS
310922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31093
31094 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31095 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31096 fwd_align_merge macro call.
31097 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31098 bwd_align_merge macro call.
31099 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31100
b282631e
WS
311012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31102
31103 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31104 bwd_align_merge macros.
31105 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31106 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31107 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31108
95aa737c
DM
311092012-04-18 David S. Miller <davem@davemloft.net>
31110
31111 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31112
7a99a614
AJ
311132012-04-18 Andreas Jaeger <aj@suse.de>
31114
31115 [BZ# 6794]
31116 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31117 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31118 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31119
31120 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31121 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31122 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31123
31124 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31125 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31126 Adjust for changed ldbl-128 files.
31127
31128 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31129 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31130 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31131
e5270c23
DM
311322012-04-17 David S. Miller <davem@davemloft.net>
31133
31134 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31135
fb5e92c9
AS
311362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31137
31138 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31139 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31140 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31141 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31142 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31143 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31144
76da7265
AZ
311452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31146
31147 [BZ #6794]
31148 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31149 * math/libm-test.inc: Add ilogb errno and exception tests.
31150 * math/w_ilogb.c: New file: ilogb wrapper.
31151 * math/w_ilogbf.c: New file: ilogbf wrapper.
31152 * math/w_ilogbl.c: New file: ilogbl wrapper.
31153 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31154 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31155 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31156 exception being thrown with 0.0 as argument.
31157 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31158 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31159 exception being thrown with 0.0 as argument.
31160 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31161 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31162 exception being thrown with 0.0 as argument.
31163 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31164 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31165 exception being thrown with 0.0 as argument.
31166 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31167 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31168 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31169 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31170 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31171 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31172 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31173 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31174 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31175
0396e69d
PB
311762012-04-17 Petr Baudis <pasky@ucw.cz>
31177
31178 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31179 with altivec.
31180
750b5926
MP
311812012-04-16 Marek Polacek <polacek@redhat.com>
31182
31183 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31184
751728a1
MP
311852012-04-16 Marek Polacek <polacek@redhat.com>
31186
31187 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31188 operands of fdivp instruction.
31189
34a27407
L
311902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31191
31192 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31193 * elf/tst-auditmod3b.c: Likewise.
31194 * elf/tst-auditmod4b.c: Likewise.
31195 * elf/tst-auditmod5b.c: Likewise.
31196 * elf/tst-auditmod6b.c: Likewise.
31197 * elf/tst-auditmod6c.c: Likewise.
31198 * elf/tst-auditmod7b.c: Likewise.
31199 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31200 * sysdeps/x86_64/preconfigure.in: Likewise.
31201 * sysdeps/x86_64/preconfigure: Regenerated.
31202
7e73e17d
L
312032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31204
31205 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31206 __ILP32__.
31207
c7a6ab72
AB
312082012-04-13 Antoine Balestrat <merkil33@gmail.com>
31209
31210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31211 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31212
a9e8e0e0
CL
312132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31214
31215 [BZ #13973]
31216 * locale/iso-639.def: Fix gl language name. Spotted by
31217 Yaron Shahrabani.
31218
ec98af7d
RM
312192012-04-12 Roland McGrath <roland@hack.frob.com>
31220
31221 [BZ #2074]
31222 * libio/libio.h (__io_write_fn): Update comment.
31223
247c3ede
PB
312242012-04-12 Petr Baudis <pasky@ucw.cz>
31225
31226 [BZ #2074]
31227 * stdio.texi (Hook Functions): The user provided writer function
31228 is not allowed to return -1.
31229
55939d6d
DM
312302012-04-11 David S. Miller <davem@davemloft.net>
31231
31232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31233
90020f5a
MF
312342012-04-11 Mike Frysinger <vapier@gentoo.org>
31235
31236 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31237 Add a leading slash to rtkaio.
31238
288f9098
JM
312392012-04-11 Jim Meyering <meyering@redhat.com>
31240
90020f5a
MF
31241 [BZ #11959]
31242 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31243 It is not necessarily an error to ignore fwrite's return
31244 value. One can reliably use ferror to test for errors after
31245 the fact.
288f9098 31246
4be2b570
L
312472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31248
31249 * bits/types.h (__snseconds_t): New type.
31250 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31251
31252 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31254 (__SNSECONDS_T_TYPE): Likewise.
31255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31256 (__SNSECONDS_T_TYPE): Likewise.
31257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31258 (__SNSECONDS_T_TYPE): Likewise.
31259
288f9098 312602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31261
31262 [BZ #2636]
31263 * manual/time.texi (Processor Time): Return type of times is
31264 elapsed real time since an arbitrary point in the past.
31265 (CPU Time): Move CLK_TCK from here...
31266 (Processor Time): ...to here. Correct description.
31267 * manual/conf.texi (Constants for Sysconf): Correct description of
31268 _SC_CLK_TCK.
31269
d7dd4413
DM
312702012-04-10 David S. Miller <davem@davemloft.net>
31271
31272 [BZ #13967]
31273 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31274 where the is a gap between DT_REL(A) and DT_JMPREL.
31275
b46068fc
L
312762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31277
31278 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31279 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31280 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31281
73d65cc3
SP
312822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31283
31284 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31285 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31286 (dl_main): Handle --inhibit-cache.
31287 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31288 _dl_inhibit_cache.
31289 * elf/dl-load.c (_dl_map_object): Use it.
31290 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31291
bcc8d661
JM
312922012-04-09 Joseph Myers <joseph@codesourcery.com>
31293
8f9a2fae
JM
31294 [BZ #13872]
31295 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31296 (__ieee754_powl): Saturate large exponents rather than testing for
31297 overflow of y*log2(x).
31298 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31299 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31300 exceptions.
31301
bcc8d661
JM
31302 [BZ #11521]
31303 * math/s_ctan.c: Include <float.h>.
31304 (__ctan): Avoid internal overflow or cancellation in calculating
31305 denominator.
31306 * math/s_ctanf.c: Likewise.
31307 * math/s_ctanl.c: Likewise.
31308 * math/s_ctanh.c: Likewise.
31309 * math/s_ctanhf.c: Likewise.
31310 * math/s_ctanhl.c: Likewise.
31311 * math/libm-test.inc (ctan_test): Add more tests.
31312 (ctanh_test): Likewise.
31313 * sysdeps/i386/fpu/libm-test-ulps: Update.
31314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31315
823fbbb4
AJ
313162012-04-09 Andreas Jaeger <aj@suse.de>
31317
03879793
AJ
31318 [BZ #6894]
31319 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31320 is an optional BSD extension.
31321
823fbbb4
AJ
31322 [BZ #10254]
31323 * manual/stdio.texi (Opening Streams): Document additional fopen
31324 parameters.
31325
8de131cb
RM
313262012-04-09 Roland McGrath <roland@hack.frob.com>
31327
31328 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31329 %eax without telling the compiler.
31330
c0ed9d7d
CD
313312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31332
31333 [BZ # 13963]
31334 * manual/install.texi: Use sourceware.org.
31335
c483f6b4
JM
313362012-04-09 Joseph Myers <joseph@codesourcery.com>
31337
d7dd9453
JM
31338 [BZ #13873]
31339 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31340 (__ieee754_pow): Generate overflow and underflow using huge*huge
31341 and tiny*tiny rather than just returning constant infinity or zero
31342 for large exponents.
31343 * math/libm-test.inc (pow_test): Require overflow exceptions for
31344 applicable cases of large exponents.
31345
c483f6b4
JM
31346 [BZ #706]
31347 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31348 (__ieee754_pow): Use iterative multiplication algorithm only for
31349 integer exponents with absolute value below 1024. Check for odd
31350 integer exponents when using algorithm for real exponents.
31351 * math/libm-test.inc (pow_test): Add more tests.
31352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31353
d2de7579
JM
313542012-04-08 Joseph Myers <joseph@codesourcery.com>
31355
31356 [BZ #13705]
31357 * math/libm-test.inc (exp_test): Do not allow overflow exception
31358 on underflow test.
31359
f77f1232
AJ
313602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31361
31362 [BZ #13705]
31363 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31364 instead of __kernel_standard_f.
31365
3884932b
MF
313662012-04-08 Mike Frysinger <vapier@gentoo.org>
31367
31368 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31369 * sysdeps/x86_64/memset_chk.S: Likewise.
31370
54472e9c
AJ
313712012-04-08 Andreas Jaeger <aj@suse.de>
31372
6ab0fbfc
AJ
31373 [BZ #10153]
31374 * manual/startup.texi (Environment Access): Describe return value
31375 for putenv and setenv.
31376
61efba8c
AJ
31377 [BZ #6895]
31378 * manual/filesys.texi (Directory Entries): Add description for
31379 DT_LNK.
31380
95c3f29a
AJ
31381 [BZ #6890]
31382 * manual/filesys.texi (Directory Entries): Clarify that it's file
31383 system not operating system in the description of DT_UNKNOWN.
31384
54472e9c
AJ
31385 [BZ #6578]
31386 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31387
624254b1
SC
313882012-04-08 Stephen Compall <s11@member.fsf.org>
31389
31390 [BZ #6649]
31391 * manual/llio.texi (Opening and Closing Files): Add cross
31392 reference to explain mode argument.
31393
1e4920e0
MF
313942012-04-07 Mike Frysinger <vapier@gentoo.org>
31395
31396 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31397 * sysdeps/x86_64/memset_chk.S: Likewise.
31398
5ed848f3
DM
313992012-04-07 David S. Miller <davem@davemloft.net>
31400
31401 * elf/elf.h (R_SPARC_WDISP10): Define.
31402 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31403 R_SPARC_SIZE32.
31404 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31405 R_SPARC_SIZE64 and R_SPARC_H34.
31406
96154cd8
CD
314072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31408
31409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31410 conditions and remove no longer applicable assertion.
31411
9904dc47
L
314122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31413
31414 * bits/byteswap.h: Include <features.h>.
31415 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31416 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31417
f8887d0a
L
314182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31419
31420 * bits/byteswap.h (__bswap_16): Removed.
31421 Include <bits/byteswap-16.h> to get __bswap_16.
31422 * sysdeps/i386/bits/byteswap.h: Likewise.
31423 * sysdeps/s390/bits/byteswap.h: Likewise.
31424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31425 * bits/byteswap-16.h: New file.
31426 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31427 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31428 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31429 * string/Makefile (headers): Add bits/byteswap-16.h.
31430
62470f60
PP
314312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31432
31433 [BZ #13895]
31434 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31435 extra indirection.
31436 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31437 * nss/tst-nss-static.c: New.
31438
4dad7bab
RM
314392012-04-06 Robert Millan <rmh@gnu.org>
31440
31441 [BZ #6486]
31442 * manual/llio.texi (File Position Primitive): lseek
31443 refers to WHENCE when it really means OFFSET.
31444
e9142a17
AJ
314452012-04-06 Andreas Jaeger <aj@suse.de>
31446
2c040eff
AJ
31447 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31448 strncmp declarations.
31449
e9142a17
AJ
31450 * abilist/libc.abilist: Add __poll and __ppoll.
31451
ff9f1c5f
DM
314522012-04-05 David S. Miller <davem@davemloft.net>
31453
dcd2ae90
DM
31454 * scripts/check-local-headers.sh: Accept a host triplet in the
31455 path matched by the exclude regexp.
31456
993eb054
DM
31457 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31458 definition.
31459 * sysdeps/powerpc/powerpc32/dl-machine.h
31460 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31461 * sysdeps/s390/s390-32/dl-machine.h
31462 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31463 * sysdeps/sparc/sparc32/dl-machine.h
31464 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31465 * sysdeps/sparc/sparc64/dl-machine.h
31466 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31467
ff9f1c5f
DM
31468 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31469 lazy binding.
48e2e132 31470 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31471 undefined symbol errors.
31472
48e2e132 31473 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31474 DT_NEEDED entries.
31475
e80d6f94
MM
314762012-04-05 Michael Matz <matz@suse.de>
31477
31478 [BZ #13592]
31479 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31480
349fa79f
AJ
314812012-04-05 Andreas Jaeger <aj@suse.de>
31482
31483 [BZ #13908]
31484 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31485 comment.
31486
f402708f
KK
314872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31488
31489 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31490 which ROUND is no valid rounding mode.
31491
2ecccfc9
KK
314922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31493
31494 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31495 read again.
31496 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31497
8a53f50f
KK
314982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31499
31500 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31501 an exception using FPU order intentionally.
31502
315032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31504
31505 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31506 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31507 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31508 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31509
d653abb7
SJ
315102012-04-05 Simon Josefsson <simon@josefsson.org>
31511
31512 [BZ #12340]
31513 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31514 EINVAL when BUFLEN is too smal.
31515
c3b1bf7d
TS
315162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31517
31518 [BZ #13553]
31519 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31520 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31521
b1aa60f3
AJ
315222012-04-03 Andreas Jaeger <aj@suse.de>
31523
c3b1bf7d 31524 [BZ #13938]
67f60a26
AJ
31525 * manual/setjmp.texi (System V contexts): Fix sentence.
31526
b1aa60f3
AJ
31527 [BZ #13926]
31528 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31529 New macro for this case.
31530 [!__GNUC__] (__bswap_64): New inline function for this case.
31531 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31532 * bits/byteswap.h: Likewise.
31533 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31534 ull, guard with __GLIBC_HAVE_LONG_LONG.
31535
31536 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31537 __GLIBC_HAVE_LONG_LONG.
31538
31539 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31540 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31541
39c59c35
TMQMF
315422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31543
31544 [BZ #13691]
31545 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31546 inptr and inend, rather than using last_ch.
31547
135ffda8
DM
315482012-04-02 David S. Miller <davem@davemloft.net>
31549
31550 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31551 * stdio-common/printf-parse.h (read_int): Change return type to
31552 'int', return -1 on INT_MAX overflow.
31553 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31554 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31555 overflows INT_MAX. Check for overflow of in-format-string precision
31556 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31557 SIZE_MAX not INT_MAX for integer overflow test.
31558 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31559 skip the construct in the format string but do not record anything.
31560 * stdio-common/bug22.c: Adjust to test both width/prevision
31561 INT_MAX overflow as well as total length INT_MAX overflow. Check
31562 explicitly for proper errno values.
31563
228c019e
TS
315642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31565
302cadd3
TS
31566 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31567 CHAR_MAX.
31568 * string/test-strcmp.c [! WIDE]: Likewise.
31569 * time/tst-mktime2.c: Likewise for INT_MAX.
31570 * string/test-string.h: #include <sys/param.h> for MIN.
31571
228c019e
TS
31572 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31573 * sysdeps/i386/init-first.c (init): Likewise.
31574 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31575 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31576 * sysdeps/sh/init-first.c (init): Likewise.
31577
cfa633f5
UD
315782012-04-01 Ulrich Drepper <drepper@gmail.com>
31579
31580 * po/ru.po: Update from translation team.
d1635ef8 31581 * po/vi.po: Likewise.
cfa633f5 31582
6cd0a5ea
SP
315832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31584
31585 * resolv/nss_dns/dns-host.c: Merge copyright years.
31586
4b43400f
LD
315872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31588
31589 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31590 Optimize memcpy with prefetch if
31591 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31592 src, dst pointers have unequal 16 byte alignments.
31593
48c41d04
SP
315942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31595
31596 [BZ #13928]
31597 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31598 from a CNAME entry and return the minimum ttl for the query.
31599 (gaih_getanswer_slice): Likewise.
31600
b8dc394d
JL
316012012-03-30 Jeff Law <law@redhat.com>
31602
31603 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31604 due to long keys.
31605 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31606 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31607
2f5a5ed0
JL
31608 * resolv/nss_dns/dns-host.c: Update copyright year.
31609
1d39e359
UD
316102012-03-30 Ulrich Drepper <drepper@gmail.com>
31611
c030f70c 31612 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31613 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31614
1d39e359
UD
31615 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31616 comments for sendmmsg.
31617
316182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31619
31620 [BZ #13691]
31621 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31622 with only 1 character between 0x0041 and 0x01b0.
31623 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31624 * wcsmbs/tst-mbsnrtowcs.c: New file.
31625
20fde227
DM
316262012-03-29 David S. Miller <davem@davemloft.net>
31627
31628 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31629 small copies by hand.
31630
984a4237
JL
316312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31632
31633 [BZ #13761]
31634 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31635 _nss_compat_initgroups_dyn): Fall back to malloc/free
31636 for large group memberships.
31637
18c9d62b
DM
316382012-03-28 David S. Miller <davem@davemloft.net>
31639
88d85d4f
DM
31640 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31641 that branches into memcpy.
31642 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31645 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31647 bits.
31648 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31649 implementation too.
31650 * sysdeps/sparc/mempcpy.S: New file.
31651
e5aa83e1
DM
31652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31653 the IFUNC routine in the libc case.
31654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31655
88570753
DM
31656 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31657 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31658 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31659 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31660 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31661 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31662 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31663 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31664
249d7567
DM
31665 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31666 loop to 256 bytes instead of 64 bytes and fix test signedness.
31667
18c9d62b
DM
31668 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31669 * sysdeps/sparc/sparc32/Makefile: rather than here...
31670 * sysdeps/sparc/sparc64/Makefile: and here.
31671
05f3d1f6
UD
316722012-03-28 Ulrich Drepper <drepper@gmail.com>
31673
31674 * malloc/mallocbug.c: Avoid warnings about unused variables.
31675
86ae07a8
JL
316762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31677
31678 [BZ #13760]
31679 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31680 in the right place. Discard and retry query if response is
31681 larger than input buffer size.
31682
41bf21a1
JM
316832012-03-28 Joseph Myers <joseph@codesourcery.com>
31684
d6270972
JM
31685 [BZ #369]
31686 [BZ #2678]
31687 [BZ #3866]
31688 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31689 x for large integer exponent.
31690 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31691 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31692 sign of result as needed afterwards.
31693 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31694 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31695 result for underflowing pow the same as for overflow.
31696 (__kernel_standard_l): Handle powl overflow and underflow here
31697 rather than calling __kernel_standard.
31698 * math/libm-test.inc (pow_test): Add more tests.
31699
414fca03 31700 [BZ #3868]
41bf21a1
JM
31701 [BZ #13879]
31702 [BZ #13910]
31703 [BZ #13911]
31704 [BZ #13912]
31705 [BZ #13913]
31706 [BZ #13915]
31707 [BZ #13916]
31708 [BZ #13917]
31709 [BZ #13918]
31710 [BZ #13919]
31711 [BZ #13920]
31712 [BZ #13921]
31713 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31714 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31715 (__kernel_standard_l): New function.
31716 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31717 __kernel_standard.
31718 * math/w_acosl.c (__acosl): Likewise.
31719 * math/w_asinl.c (__asinl): Likewise.
31720 * math/w_atan2l.c (__atan2l): Likewise.
31721 * math/w_atanhl.c (__atanhl): Likewise.
31722 * math/w_coshl.c (__coshl): Likewise.
31723 * math/w_exp10l.c (__exp10l): Likewise.
31724 * math/w_exp2l.c (__exp2l): Likewise.
31725 * math/w_fmodl.c (__fmodl): Likewise.
31726 * math/w_hypotl.c (__hypotl): Likewise.
31727 * math/w_j0l.c (__j0l, __y0l): Likewise.
31728 * math/w_j1l.c (__j1l, __y1l): Likewise.
31729 * math/w_jnl.c (__jnl, __ynl): Likewise.
31730 * math/w_lgammal.c (__lgammal): Likewise.
31731 * math/w_log10l.c (__log10l): Likewise.
31732 * math/w_log2l.c (__log2l): Likewise.
31733 * math/w_logl.c (__logl): Likewise.
31734 * math/w_powl.c (__powl): Likewise.
31735 * math/w_remainderl.c (__remainderl): Likewise.
31736 * math/w_scalbl.c (sysv_scalbl): Likewise.
31737 * math/w_sinhl.c (__sinhl): Likewise.
31738 * math/w_sqrtl.c (__sqrtl): Likewise.
31739 * math/w_tgammal.c (__tgammal): Likewise.
31740 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31741 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31742 * math/libm-test.inc (acos_test): Add more tests.
31743 (acosh_test): Likewise.
31744 (asin_test): Likewise.
31745 (atanh_test): Likewise.
31746 (exp_test): Likewise.
31747 (exp10_test): Likewise.
31748 (exp2_test): Likewise.
31749 (expm1_test): Likewise.
31750 (lgamma_test): Likewise.
31751 (log_test): Likewise.
31752 (log10_test): Likewise.
31753 (log1p_test): Likewise.
31754 (log2_test): Likewise.
31755 (pow_test): Do not allow some spurious overflow exceptions.
31756 (sqrt_test): Add more tests.
31757 (tgamma_test): Likewise.
31758 (y0_test): Likewise.
31759 (y1_test): Likewise.
31760 (yn_test): Likewise.
31761
dd62fda6
AB
317622012-03-27 Anton Blanchard <anton@samba.org>
31763
31764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31765 MAP_HUGETLB.
31766 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31767 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31769
1e3cdfda
AJ
317702012-03-27 David S. Miller <davem@davemloft.net>
31771
b855ab85
DM
31772 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31773
1e3cdfda
AJ
31774 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31775 have-as-vis3 check.
31776
317772012-03-27 Andreas Jaeger <aj@suse.de>
31778
31779 * sysdeps/x86_64/elf/configure.in: Moved to ...
31780 * sysdeps/x86_64/configure.in: ... here.
31781 * sysdeps/x86_64/elf/start.S: Moved to ...
31782 * sysdeps/x86_64/start.S: ... here.
31783 * sysdeps/x86_64/elf/configure: Delete.
31784
31785 * sysdeps/x86_64/configure.in: Merge contents from
31786 sysdeps/i386/configure.in (without i686 check).
31787
31788 * sysdeps/i386/elf/Versions: Merge into ...
31789 * sysdeps/i386/Versions: ... this.
31790 * sysdeps/i386/elf/Versions: Delete file.
31791 * sysdeps/i386/elf/start.S: Moved to ...
31792 * sysdeps/i386/start.S: ...here.
31793 * sysdeps/i386/elf/configure.in: Merge into...
31794 * sysdeps/i386/configure.in: ...here.
31795 * sysdeps/i386/elf/configure.in: Delete file.
31796 * sysdeps/i386/elf/configure: Delete file.
31797
31798 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31799 * debug/backtracesyms.c: ... here.
31800 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31801 * debug/backtracesymsfd.c: ... here.
31802 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31803 * sysdeps/generic/ifunc-sel.h: ... here.
31804
31805 * sysdeps/unix/i386/start.c: Delete file.
31806 * sysdeps/unix/sparc/start.c: Delete file.
31807 * sysdeps/unix/start.c: Delete file.
31808
31809 * sysdeps/sh/elf/configure.in: Moved to ...
31810 * sysdeps/sh/configure.in: ... here.
31811 * sysdeps/sh/elf/start.S: Moved to ...
31812 * sysdeps/sh/start.S: ... here.
31813 * sysdeps/sh/elf/configure: Delete file.
31814
31815 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31816 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31817 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31818 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31819 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31820 * sysdeps/powerpc/powerpc64/start.S: here.
31821 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31822 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31823 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31824 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31825 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31826
31827 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31828 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31829 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31830 * sysdeps/powerpc/powerpc32/start.S: ... here.
31831 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31832 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31833 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31834
31835 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31836 * sysdeps/powerpc/ifunc-sel.h: ... here.
31837 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31838 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31839
31840 * sysdeps/sparc/elf/configure.in: Moved to ...
31841 * sysdeps/sparc/configure.in: ... here.
31842 * sysdeps/sparc/elf/configure: Delete file.
31843 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31844 * sysdeps/sparc/sparc32/start.S: ... here.
31845 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31846 * sysdeps/sparc/sparc64/start.S: ... here.
31847 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31848 * sysdeps/sparc/sparc32/Makefile: ... this.
31849 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31850 * sysdeps/sparc/sparc64/Makefile: ... this.
31851
31852 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31853 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31854 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31855 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31856 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31857 * sysdeps/s390/s390-32/setjmp.S: ... here.
31858 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31859 * sysdeps/s390/s390-32/configure.in: ... here.
31860 * sysdeps/s390/s390-32/elf/configure: Delete file.
31861 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31862 * sysdeps/s390/s390-32/start.S: ... here.
31863
31864 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31865 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31866 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31867 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31868 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31869 * sysdeps/s390/s390-64/setjmp.S: ... here.
31870 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31871 * sysdeps/s390/s390-64/configure.in: ... here
31872 * sysdeps/s390/s390-64/elf/configure: Delete file.
31873 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31874 * sysdeps/s390/s390-64/start.S: ... here.
31875 * sysdeps/s390/s390-64/elf/configure: Delete.
31876
31877 * configure.in: Remove support for elf directories in sysdeps.
31878
31879 * configure: Regenerated.
31880 * sysdeps/i386/configure: Regenerated.
31881 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31882 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31883 * sysdeps/s390/s390-32/configure: Regenerated.
31884 * sysdeps/s390/s390-64/configure: Regenerated.
31885 * sysdeps/sh/configure: Regenerated.
31886 * sysdeps/sparc/configure: Regenerated.
31887 * sysdeps/x86_64/configure: Regenerated.
31888
a3f61311
AS
318892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31890
c876e002
AS
31891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31892
a3f61311
AS
31893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31894 denormal result into account.
31895
ac4c54f0
RM
318962012-03-25 Roland McGrath <roland@hack.frob.com>
31897
31898 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31899 Reported by Allan McRae <allan@archlinux.org>.
31900
6a9b9c02
JL
319012012-03-23 Jeff Law <law@redhat.com>
31902
31903 * nss/getnssent.c (__nss_getent): Fix typo.
31904
4c42a0c1
DM
319052012-03-23 David S. Miller <davem@davemloft.net>
31906
31907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31908
1532c7ac
L
319092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31910
31911 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31912 to pad to uint64_t for each field.
31913 (dl_tls_index): Replace unsigned long with uint64_t.
31914
3ff42526
PP
319152012-03-23 Daniel Jacobowitz <dmj@google.com>
31916 Paul Pluzhnikov <ppluzhnikov@google.com>
31917
31918 [BZ #6528]
31919 * grp/Makefile (otherlibs): Don't set it.
31920 * inet/Makefile (otherlibs): Likewise.
31921 * login/Makefile (otherlibs): Likewise.
31922 * nscd/Makefile (otherlibs): Likewise.
31923 * posix/Makefile (otherlibs): Likewise.
31924 * pwd/Makefile (otherlibs): Likewise.
31925 * rt/Makefile (otherlibs): Likewise.
31926 * sunrpc/Makefile (otherlibs): Likewise.
31927 * nss/Makefile (otherlibs): Likewise.
31928 Add libnss_files to routines and static-only-routines.
31929 ($(objpfx)getent): Remove rule.
31930 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31931 static-only-routines.
31932
7c69cd14
JM
319332012-03-22 Joseph Myers <joseph@codesourcery.com>
31934
31935 [BZ #13892]
31936 * math/s_cexp.c: Include <float.h>.
31937 (__cexp): Handle exp result overflowing not necessarily
31938 overflowing both real and imaginary parts of result.
31939 * math/s_cexpf.c: Likewise.
31940 * math/s_cexpl.c: Likewise.
31941 * math/libm-test.inc (cexp_test): Add more tests.
31942 * sysdeps/i386/fpu/libm-test-ulps: Update.
31943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31944
81b035fe
L
319452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31946
31947 * include/link.h (ELFW): New macro.
31948 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31949 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31950
1da7940c
L
319512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31952
31953 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31954 with uint64_t.
31955
b749dbb9
L
319562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31957
31958 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31959 declaration.
31960 (struct La_x32_retval): Likewise.
31961
2ff87f3f
L
319622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 * sysdeps/x86_64/preconfigure.in: New file.
31965 * sysdeps/x86_64/preconfigure: New generated file.
31966
c0df8e69
JM
319672012-03-22 Joseph Myers <joseph@codesourcery.com>
31968
48e44791
JM
31969 [BZ #13824]
31970 * math/e_exp2l.c: Include <float.h>.
31971 (__ieee754_exp2l): Handle overflow and underflow cases
31972 separately. Only pass fractional part of argument to
31973 __ieee754_expl.
31974 * math/libm-test.inc (exp2_test): Add more tests.
31975
c0df8e69
JM
31976 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31977 negating x to take absolute value.
31978 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31979 Likewise.
31980 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31981 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31982 Likewise.
31983 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31984 computing low part if x was negated.
31985 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31986
c8e43ba7
L
319872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31990 la_x32_gnu_pltexit.
31991 (pltexit): Cast int_retval to ptrdiff_t.
31992 * elf/tst-auditmod3b.c: Likewise.
31993 * elf/tst-auditmod4b.c: Likewise.
31994 * elf/tst-auditmod5b.c: Likewise.
31995 * elf/tst-auditmod6b.c: Likewise.
31996 * elf/tst-auditmod6c.c: Likewise.
31997 * elf/tst-auditmod7b.c: Likewise.
31998
31999 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32000 and x32_gnu_pltexit.
32001
32002 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32003 __ELF_NATIVE_CLASS.
32004 (La_x32_regs): New macro.
32005 (La_x32_retval): Likewise.
32006 (la_x32_gnu_pltenter): New function prototype.
32007 (la_x32_gnu_pltexit): Likewise.
32008
7998fa78
AS
320092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32010
dcb33988
AS
32011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32012 exponent.
32013
233fc563
AS
32014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32015
7998fa78
AS
32016 * configure.in (libc_cv_cc_nofma): Check for option to disable
32017 generation of FMA instructions.
32018 * configure: Regenerate.
32019 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32020 * sysdeps/ieee754/dbl-64/Makefile: New file.
32021 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32022 Remove brandred-fma4.
32023 (CFLAGS-brandred-fma4.c): Remove.
32024 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32026 define.
32027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32028 define.
32029
8e95c99a
L
320302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32031
32032 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32033 LLONG_MAX != LONG_MAX.
32034 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32035 (_fitoa_word): Likewise.
32036 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32037 LLONG_MAX != LONG_MAX.
32038 * stdio-common/_itowa.h: Include <_itoa.h>.
32039 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32040 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32041 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32042 only if not defined.
32043 (_ITOA_WORD_TYPE): Likewise.
32044 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32045 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32046
6f4db457
DM
320472012-03-21 David S. Miller <davem@davemloft.net>
32048
32049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32050
7785fe5a
L
320512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32052
32053 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32054 of x86_64 when setting libc_cv_slibdir, libdir and
32055 libc_cv_localedir.
32056 * sysdeps/unix/sysv/linux/configure: Regenerated.
32057
4535cd55
JM
320582012-03-21 Joseph Myers <joseph@codesourcery.com>
32059
32060 * manual/lang.texi (Old Varargs): Remove section.
32061 (How Variadic): Update menu.
32062 (va_start): Do not mention varargs.h.
32063
17228132
TS
320642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32065 Joseph Myers <joseph@codesourcery.com>
32066
32067 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32068 link test.
32069 * configure: Regenerated.
32070
8149f976
TS
320712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32072
05f3d1f6
UD
32073 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32074 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32075 conformtest.pl
8149f976 32076
1a4ac776
JM
320772012-03-21 Joseph Myers <joseph@codesourcery.com>
32078
be22ce65
JM
32079 * NOTES: Remove.
32080 * Makefile (files-for-dist): Remove NOTES.
32081 (NOTES): Remove rule.
32082 * README: Don't refer to NOTES.
32083 * manual/creature.texi: Don't include macros.texi.
32084 * manual/intro.texi (creature.texi): Remove comment referring to
32085 NOTES.
32086
40b601fb
JM
32087 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32088 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32089 * configure: Regenerated.
32090 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32091 LIBC_TRY_CC_OPTION.
32092 (libc_cv_as_i686): Likewise.
32093 (libc_cv_cc_avx): Likewise.
32094 (libc_cv_cc_sse2avx): Likewise.
32095 (libc_cv_cc_fma4): Likewise.
32096 (libc_cv_cc_novzeroupper): Likewise.
32097 * sysdeps/i386/configure: Regenerated.
32098
1a4ac776
JM
32099 [BZ #13883]
32100 * sysdeps/i386/fpu/s_cexp.S: Remove.
32101 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32102 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32103 * math/libm-test.inc (cexp_test): Add more tests.
32104 * sysdeps/i386/fpu/libm-test-ulps: Update.
32105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32106
a458e7fe
AM
321072012-03-21 Allan McRae <allan@archlinux.org>
32108
32109 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32110
0cb7efc5
JM
321112012-03-21 Joseph Myers <joseph@codesourcery.com>
32112
32113 [BZ #13871]
32114 * math/w_exp2.c: Do not include <float.h>.
32115 (o_threshold, u_threshold): Remove.
32116 (__exp2): Calculate result before checking finiteness and calling
32117 __kernel_standard.
32118 * math/w_exp2f.c: Likewise.
32119 * math/w_exp2l.c: Likewise.
32120 * math/libm-test.inc (exp2_test): Require overflow exception for
32121 1e6 input.
2460d3aa
JM
32122
32123 [BZ #3866]
32124 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32125 range of signed 64-bit integers before using fistpll. Remove
32126 checks for whether integers fit in mantissa bits.
32127 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32128 the range of signed 32-bit integers before using fistpl. Remove
32129 checks for whether integers fit in mantissa bits.
32130 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32131 (__ieee754_powl): Test for y outside the range of signed 64-bit
32132 integers before using fistpll. Reduce 64-bit values to 63-bit
32133 ones as needed.
32134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32135 divide-by-zero is raised for zero to large negative powers.
32136 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32137 (__ieee754_powl): Test for y outside the range of signed 64-bit
32138 integers before using fistpll. Reduce 64-bit values to 63-bit
32139 ones as needed.
32140 * math/libm-test.inc (pow_test): Add more tests.
32141
eb96ffb0
L
321422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32145 <stdio-common/_itoa.h>.
32146 * debug/segfault.c: Likewise.
32147 * elf/dl-cache.c: Likewise.
32148 * elf/dl-minimal.c: Likewise.
32149 * elf/dl-misc.c: Likewise.
32150 * elf/dl-sysdep.c: Likewise.
32151 * elf/dl-version.c: Likewise.
32152 * elf/rtld.c: Likewise.
32153 * hurd/hurdsock.c: Likewise.
32154 * hurd/lookup-retry.c: Likewise.
32155 * malloc/malloc.c: Likewise.
32156 * malloc/mtrace.c: Likewise.
32157 * nscd/nscd_getgr_r.c: Likewise.
32158 * nscd/nscd_getpw_r.c: Likewise.
32159 * nscd/nscd_getserv_r.c: Likewise.
32160 * posix/getopt_init.c: Likewise.
32161 * posix/wordexp.c: Likewise.
32162 * stdio-common/_itoa.c: Likewise.
32163 * stdio-common/printf_fphex.c: Likewise.
32164 * stdio-common/vfprintf.c: Likewise.
32165 * string/_strerror.c: Likewise.
32166 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32167 * sysdeps/i386/i686/hp-timing.h: Likewise.
32168 * sysdeps/mach/_strerror.c: Likewise.
32169 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32170 * sysdeps/mach/hurd/sethostid.c: Likewise.
32171 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32172 * sysdeps/mach/xpg-strerror.c: Likewise.
32173 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32174 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32175 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32176 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32177 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32178 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32179 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32180 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32181 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32182 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32183 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32184 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32185 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32186 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32187 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32188 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32189 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32190 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32191 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32192 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32193 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32194
32195 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32196
32197 * stdio-common/_itoa.h: Moved to ...
32198 * sysdeps/generic/_itoa.h: Here.
32199
32200 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32201
32202 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32203 instead of "_itoa.h" and "_itowa.h".
32204 * stdio-common/vfprintf.: Likewise.
32205
d1af992d
L
322062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32209 <bits/wordsize.h>.
32210 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32211 (__signbit): Likwise.
32212 (llrintf): Likwise.
32213 (llrint): Likwise.
32214
114883e0
L
322152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32218 __WORDSIZE != 64.
32219
c135cc1b
JM
322202012-03-20 Joseph Myers <joseph@codesourcery.com>
32221
32222 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32223 OVERFLOW_EXCEPTION_OK.
32224 * math/libm-test.inc ("Philosophy"): Update comment about
32225 exception testing.
32226 (OVERFLOW_EXCEPTION): Define.
32227 (OVERFLOW_EXCEPTION_OK): Likewise.
32228 (INVALID_EXCEPTION_OK): Renumber.
32229 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32230 (IGNORE_ZERO_INF_SIGN): Likewise.
32231 (test_exceptions): Handle FE_OVERFLOW.
32232 (exp10_test): Expect overflow exceptions.
32233 (exp2_test): Likewise.
32234 (expm1_test): Likewise.
32235 (nextafter_test): Likewise.
32236 (pow_test): Likewise.
32237 (scalbn_test): Likewise.
32238 (scalbln_test): Likewise.
32239
95443d88
L
322402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32241
32242 * sysdeps/x86_64/bits/atomic.h
32243 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32244 64bit integer.
32245 (atomic_exchange_acq): Likewise.
32246 (__arch_exchange_and_add_body): Likewise.
32247 (__arch_add_body): Likewise.
32248 (atomic_add_negative): Likewise.
32249 (atomic_add_zero): Likewise.
32250
490df6c4
L
322512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32252
c2722551 32253 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32254 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32255
5e52b189
L
322562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32257
32258 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32259 Check __x86_64__ instead of __WORDSIZE.
32260
a9879d4c
L
322612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32264
5df98260
DM
322652012-03-19 David S. Miller <davem@davemloft.net>
32266
e1497744
DM
32267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32268
5df98260
DM
32269 * sysdeps/sparc/fpu/fenv_private.h: New file.
32270 * sysdeps/sparc/fpu/math_private.h: Use it.
32271 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32272 Remove.
32273 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32274 (libc_feholdexcept_setroundl): Remove.
32275 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32276 Remove.
32277 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32278 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32279
b4c35121
L
322802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32281
32282 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32283 int64_t instead of long int.
32284 (INSERT_WORDS64): Likwise.
32285
56965fd7
L
322862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32287
32288 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32289 _Unwind_GetCFA return to _Unwind_Ptr first.
32290
83d1aec8
JM
322912012-03-19 Joseph Myers <joseph@codesourcery.com>
32292
1897ad44
JM
32293 [BZ #13629]
32294 * math/s_clog.c: Include <float.h>.
32295 (__clog): Scale large or subnormal inputs.
32296 * math/s_clogf.c: Likewise.
32297 * math/s_clogl.c: Likewise.
32298 * math/s_clog10.c: Include <float.h>.
32299 (M_LOG10_2): Define.
32300 (__clog10): Scale large or subnormal inputs.
32301 * math/s_clog10f.c: Likewise.
32302 * math/s_clog10l.c: Likewise.
32303 * math/libm-test.inc (clog_test): Add more tests.
32304 (clog10_test): Likewise.
32305 * sysdeps/i386/fpu/libm-test-ulps: Update.
32306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32307
7726d6a9
JM
32308 [BZ #11451]
32309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32310 x and y.
32311 * math/libm-test.inc (atan2_test): Add another test.
32312
83d1aec8
JM
32313 * Makerules (common-objdir-compile): Remove.
32314 * sysdeps/unix/Makefile (config-generated): Do not add
32315 $(unix-generated) to variable.
32316 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32317 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32318 Remove rule.
32319 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32320 Likewise.
32321 [generic bits/local_lim.h] (before-compile): Do not append to
32322 variable.
32323 [generic bits/local_lim.h] (common-generated): Likewise.
32324 [generic sys/param.h] (before-compile): Do not append to variable.
32325 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32326 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32327 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32328 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32329 include.
32330 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32331 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32332 [generic sys/param.h] ($(addprefix
32333 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32334 [generic sys/param.h] (common-generated): Do not append to
32335 variable.
32336 [generic sys/param.h] (sysdep_headers): Likewise.
32337 [generic bits/errno.h] (before-compile): Do not append to
32338 variable.
32339 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32340 rule.
32341 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32342 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32343 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32344 [generic bits/errno.h] (common-generated): Do not append to
32345 variable.
32346 [generic bits/ioctls.h] (before-compile): Do not append to
32347 variable.
32348 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32349 rule.
32350 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32351 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32352 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32353 rule.
32354 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32355 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32356 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32357 [generic bits/ioctls.h] (common-generated): Do not append to
32358 variable.
32359 [generic sys/syscall.h] (syscall.h): Remove variable.
32360 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32361 rule.
32362 [generic sys/syscall.h] (before-compile): Do not append to
32363 variable.
32364 [generic sys/syscall.h] (common-generated): Likewise.
32365 * sysdeps/unix/errnos-tmpl.c: Remove file.
32366 * sysdeps/unix/errnos.awk: Likewise.
32367 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32368 * sysdeps/unix/ioctls.awk: Likewise.
32369 * sysdeps/unix/mk-local_lim.c: Likewise.
32370 * sysdeps/unix/snarf-ioctls: Likewise.
32371
4851a949
RH
323722012-03-19 Richard Henderson <rth@twiddle.net>
32373
bd37f2ee
RH
32374 * sysdeps/i386/fpu/fenv_private.h: New file.
32375 * sysdeps/i386/fpu/math_private.h: Use it.
32376 (math_opt_barrier, math_force_eval): Remove.
32377 (libc_feholdexcept_setround_53bit): Remove.
32378 (libc_feupdateenv_53bit): Remove.
32379 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32380 (math_opt_barrier, math_force_eval): Remove.
32381 (libc_feholdexcept): Remove.
32382 (libc_feholdexcept_setround): Remove.
32383 (libc_fetestexcept, libc_fesetenv): Remove.
32384 (libc_feupdateenv_test): Remove.
32385 (libc_feupdateenv, libc_feholdsetround): Remove.
32386 (libc_feresetround): Remove.
32387
d0adc922
RH
32388 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32389 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32390
0fe0f1f8
RH
32391 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32392 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32393 (libc_feupdateenv_testl): New.
32394 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32395 (libc_feupdateenv_testf): New.
32396 (libc_feupdateenv): Use libc_feupdateenv_test.
32397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32398 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32399
eb92c487
RH
32400 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32401 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32402 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32403 (libc_feresetround_noex): New.
32404 (libc_feresetround_noexf): New.
32405 (libc_feresetround_noexl): New.
32406 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32407 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32408 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32409 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32410 SET_RESTORE_ROUND.
32411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32413 (__cos): Likewise.
32414 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32416 SET_RESTORE_ROUND_NOEX.
32417 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32418 SET_RESTORE_ROUND_NOEXF.
32419 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32420 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32421 (libc_feholdsetroundf): New.
32422 (libc_feresetround, libc_feresetroundf): New.
32423
7d2e8012
RH
32424 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32425 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32426 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32427
b4dabbb4
RH
32428 * sysdeps/generic/math_private.h: Include <fenv.h>.
32429 (default_libc_feholdexcept): New.
32430 (default_libc_feholdexcept_setround): New.
32431 (default_libc_fesetenv, default_libc_feupdateenv): New.
32432 (libc_feholdexcept): Only define if undefined.
32433 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32434 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32435 (libc_feholdexcept_setroundl): Likewise.
32436 (libc_feholdexcept_setround_53bit): Likewise.
32437 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32438 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32439 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32440 (libc_feupdateenv_53bit): Likewise.
32441 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32442 (libc_feholdexcept): Convert from macro to inline function.
32443 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32444 (libc_fesetenv, libc_feupdateenv): Likewise.
32445
4851a949
RH
32446 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32447 not previously defined.
32448 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32449 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32450 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32451 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32452 * sysdeps/ieee754/flt-32/math_private.h: New file.
32453 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32454 math_private.h below SET_FLOAT_WORD.
32455 (__isnan, __isinf_ns, __finite): Remove.
32456 (__isnanf, __isinf_nsf, __finitef): Remove.
32457
e79d442e
AS
324582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32459
32460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32461
90b80344
DM
324622012-03-17 David S. Miller <davem@davemloft.net>
32463
32464 [BZ #6471]
32465 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32466 for 2.16.
32467
edc21804
DM
324682012-03-16 David S. Miller <davem@davemloft.net>
32469
77e927af
DM
32470 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32471 warnings.
32472
374976dd
DM
32473 [BZ #6471]
32474 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32475 properly.
32476 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32477 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32478 sysdep_routines when subdir is sysvipc.
32479 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32480 __getshmlba helper.
32481
edc21804
DM
32482 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32483
473c3ef3
L
324842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32485
32486 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32487 [__LP64__].
32488
eb0f39b6
L
324892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32490
32491 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32492 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32493 (__lround): Renamed to ...
32494 (__llround): This. Replace long int with long long int.
32495 Define lround functions as aliases of llround functions.
32496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32497
6b6cd74b
L
324982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32499
32500 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32501 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32502 adresses to uintptr_t. Replace "long int" and "unsigned long
32503 int" with "greg_t" on va_arg.
32504
f1a77b01
L
325052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32508 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32509
32510 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32511 Move e_machine check before EI_CLASS check. Handle x32
32512 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32513 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32514 SKIP_EM_IA_64 and include
32515 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32516
32517 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32518 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32519 (add_system_dir): New macro.
32520
32521 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32522 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32523
11b90b9f
JM
325242012-03-16 Joseph Myers <joseph@codesourcery.com>
32525
c36e1d23
JM
32526 [BZ #2551]
32527 [BZ #2552]
32528 [BZ #2553]
32529 [BZ #2554]
32530 [BZ #2562]
32531 [BZ #2563]
32532 [BZ #2565]
32533 [BZ #2566]
32534 [BZ #2576]
32535 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32536 (y0): Likewise.
32537 * math/w_j0f.c (j0f): Likewise.
32538 (y0f): Likewise.
32539 * math/w_j0l.c (__j0l): Likewise.
32540 (__y0l): Likewise.
32541 * math/w_j1.c (j1): Likewise.
32542 (y1): Likewise.
32543 * math/w_j1f.c (j1f): Likewise.
32544 (y1f): Likewise.
32545 * math/w_j1l.c (__j1l): Likewise.
32546 (__y1l): Likewise.
32547 * math/w_jn.c (jn): Likewise.
32548 (yn): Likewise.
32549 * math/w_jnf.c (jnf): Likewise.
32550 (ynf): Likewise.
32551 * math/w_jnl.c (__jnl): Likewise.
32552 (__ynl): Likewise.
32553 * math/libm-test.inc (j0_test): Add more tests.
32554 (j1_test): Likewise.
32555 (jn_test): Likewise. Add trailing semicolon to existing test.
32556 (y0_test): Likewise.
32557 (y1_test): Likewise.
32558 * sysdeps/i386/fpu/libm-test-ulps: Update.
32559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32560
11b90b9f
JM
32561 [BZ #13851]
32562 [BZ #13854]
32563 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32564 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32565 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32566 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32567 (__tanl): Set errno for infinite argument.
32568 * sysdeps/i386/fpu/mptan.c: Remove.
32569 * sysdeps/i386/fpu/s_tan.S: Likewise.
32570 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32571 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32572 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32573 * math/libm-test.inc (tan_test): Add more tests and enable more
32574 tests for double and long double.
32575 * sysdeps/i386/fpu/libm-test-ulps: Update.
32576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32577
6a1bd2a1
JK
325782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32579
32580 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32581 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32582
10a803e0
RM
325832012-03-16 Roland McGrath <roland@hack.frob.com>
32584
32585 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32586 * configure.in: Use it for both main tree and add-ons.
32587 * configure: Regenerated.
32588
f196c7f7
L
325892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32590
32591 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32592
8848d99d
JM
325932012-03-16 Joseph Myers <joseph@codesourcery.com>
32594
96cbe7f4
JM
32595 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32596 in comment.
32597
8848d99d
JM
32598 [BZ #13851]
32599 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32600 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32604 infinite argument.
32605 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32607 != 0 for prec == 2.
32608 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32609 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32610 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32611 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32612 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32613 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32614 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32615 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32616 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32617 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32618 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32619 * math/libm-test.inc (cos_test): Add more tests and enable more
32620 tests for long double.
32621 (sin_test): Likewise.
32622 (sincos_test): Likewise.
32623 * sysdeps/i386/fpu/libm-test-ulps: Update.
32624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32625
dd7f4703
DM
326262012-03-16 David S. Miller <davem@davemloft.net>
32627
32628 * sysdeps/sparc/fpu/math_private.h: New file.
32629
006f1daa
DM
326302012-03-15 David S. Miller <davem@davemloft.net>
32631
c0c83bc8
DM
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32633 file.
e6a62e18 32634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32636 file.
e6a62e18
DM
32637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32643 sysdep routines.
32644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32645
88cb87d9
DM
32646 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32647 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32648
006f1daa 32649 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32651 sparc-ifunc.h
006f1daa 32652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32654 Likewise.
32655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32656 Likewise.
006f1daa
DM
32657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32661 Likewise.
006f1daa
DM
32662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32667 Likewise.
32668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32669 Likewise.
006f1daa
DM
32670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32691 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32694
11e0098e
AS
326952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32696
32697 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32698 scaling.
32699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32700
e85b09d0
AJ
327012012-03-15 Andreas Jaeger <aj@suse.de>
32702
32703 [BZ #13852]
32704 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32705 ieee754/flt-32 implementation for sin, cos and sincos.
32706 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32707 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32708 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32709 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32710 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32711 ieee754/flt-32 implementation for tan.
32712
32713 * math/libm-test.inc (cos_test): Enable some large input tests for
32714 float as well
32715 (sin_test): Likewise.
32716 (sincos_test): Likewise.
32717 (tan_test): Add tests for large input.
32718
32719 * sysdeps/i386/fpu/libm-test-ulps: Update.
32720
81c64153
AJ
327212012-03-15 Andreas Jaeger <aj@suse.de>
32722
32723 [BZ #13658]
32724 * math/libm-test.inc (cos_test): Add more test cases.
32725 (sin_test): Likewise.
32726 (sincos_test): Likewise.
32727
7bbfa5c6
AJ
327282012-03-15 Andreas Jaeger <aj@suse.de>
32729
32730 [BZ #13837]
32731 * math/libm-test.inc (cos_test): Add a test case for large input
32732 value.
32733 (sin_test): Likewise.
32734 (sincos_test): Likewise.
32735
327362012-03-15 Andreas Jaeger <aj@suse.de>,
32737 Joseph Myers <joseph@codesourcery.com>
32738
32739 [BZ #13658]
0671f479 32740 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32741 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32742 * sysdeps/i386/fpu/branred.c: Likewise.
32743 * sysdeps/i386/fpu/dosincos.c: Likewise.
32744 * sysdeps/i386/fpu/mpa.c: Likewise.
32745 * sysdeps/i386/fpu/s_cos.S: Likewise.
32746 * sysdeps/i386/fpu/s_sin.S: Likewise.
32747 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32748 * sysdeps/i386/fpu/sincos32.c: Likewise.
32749
32750 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32751 Define.
32752 (libc_feupdateenv_53bit): Define.
32753 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32754 Define.
32755 (libc_feupdateenv_53bit): Define.
32756
32757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32758 53 bit (without extend i386 double precision).
32759
32760 * math/libm-test.inc (sincos_test): Add tests for large input.
32761 (sin): Likewise.
32762 (cos): Likewise.
32763
32764 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32765
9cad04ea
AS
327662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32767
32768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32769
f7062b9a
DM
327702012-03-15 David S. Miller <davem@davemloft.net>
32771
32772 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32773 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32774 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32775 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32788 file.
f7062b9a 32789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32791 file.
f7062b9a 32792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32794 file.
f7062b9a 32795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32797 file.
f7062b9a
DM
32798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32799 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32800 fmin/fmax sysdep routines.
32801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32802
7bd951ff
DM
328032012-03-14 David S. Miller <davem@davemloft.net>
32804
559398ab
DM
32805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32810 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32826 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32831 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32834 routines.
32835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32836 file.
559398ab 32837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32839 file.
559398ab 32840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32842 file.
559398ab 32843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32845 file.
559398ab 32846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32848 file.
559398ab 32849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32851 file.
32852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32853 file.
32854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32855 file.
32856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32857 file.
32858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32859 New file.
32860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32861 file.
32862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32863 file.
559398ab 32864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32866 file.
559398ab 32867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32869 file.
559398ab 32870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32872 file.
559398ab 32873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32875 VIS3 routines.
559398ab
DM
32876
32877 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32878 New file.
32879
5a1c1e32
DM
32880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32881
eae47a36
DM
32882 * sysdeps/sparc/configure.in: New file.
32883 * sysdeps/sparc/configure: Generate.
32884 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32885 * configure: Regenerate.
32886 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32887 * config.make.in (have-as-vis3): New.
32888 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32889 available use -Av9d instead of -Av9a.
32890 * sysdeps/sparc/sparc64/Makefile: Likewise.
32891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32893 New file.
32894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32895 file.
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32897 New file.
32898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32899 file.
eae47a36
DM
32900 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32905
c0c83bc8
DM
32906 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32907 fzeros/fnegs to load 0x80000000 into a float register instead of
32908 using the stack.
7bd951ff
DM
32909 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32910
bd951ccb
JM
329112012-03-14 Joseph Myers <joseph@codesourcery.com>
32912
32913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32914 bits/syscall.h.
32915 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32916 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32917 ($(inst_includedir)/bits/syscall.h): Remove rule.
32918 ($(objpfx)bits/syscall.d): Include instead of
32919 $(objpfx)syscall-list.d.
32920 (generated): Change syscall-list.h and syscall-list.d to
32921 bits/syscall.h and bits/syscall.d.
32922
bb4e6db2
RM
329232012-03-14 Roland McGrath <roland@hack.frob.com>
32924
32925 [BZ #13846]
32926 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32927
aa4a2ae1
JM
329282012-03-14 Joseph Myers <joseph@codesourcery.com>
32929
e456826d
JM
32930 [BZ #13841]
32931 * math/s_csqrt.c: Include <float.h>.
32932 (__csqrt): Scale large or subnormal inputs.
32933 * math/s_csqrtf.c: Likewise.
32934 * math/s_csqrtl.c: Likewise.
32935 * math/libm-test.inc (csqrt_test): Add more tests.
32936 * sysdeps/i386/fpu/libm-test-ulps: Update.
32937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32938
aa4a2ae1
JM
32939 [BZ #13840]
32940 * math/libm-test.inc (hypot_test): Add more tests.
32941
7c10fd35
DM
329422012-03-13 David S. Miller <davem@davemloft.net>
32943
32944 [BZ #13840]
32945 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32946 double-precision for the calculation instead of scaling.
32947
f453b98b
JM
329482012-03-13 Joseph Myers <joseph@codesourcery.com>
32949
32950 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32951 manipulate bits before adding and subtracting TWO52[sx].
32952 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32953 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32954 Likewise.
32955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32956
09a3453f
DM
329572012-03-13 David S. Miller <davem@davemloft.net>
32958
8e59da90
DM
32959 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32960 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32962 rtld-global-offsets.h
32963 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32964
2a8ab7f2
DM
32965 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32966 large parameters.
32967
10f62770
DM
32968 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32969
5f0bdb18
DM
32970 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32971 'err' in the ifdef scope in which it is actually used.
32972
09a3453f
DM
32973 * nss/nss_db/db-init.c: Include string.h
32974
b4b2eb5e
DM
329752012-03-12 David S. Miller <davem@davemloft.net>
32976
98bb2f1c
DM
32977 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32978 masking out of the most significant byte of random value used.
32979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32980 Fix coding style in previous change.
32981
b4b2eb5e
DM
32982 * sysdeps/unix/sysv/linux/kernel-features.h
32983 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32984 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32985 expression.
32986 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32987 later.
32988
6e226b09
DM
329892012-03-11 David S. Miller <davem@davemloft.net>
32990
a1bcbd40
DM
32991 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32992 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32993 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32994 for 'resultvar' otherwise things get truncated on 64-bit.
32995
cb9d6174
DM
32996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32997 Fix masking out of the most significant byte of random value used.
32998
6e226b09
DM
32999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33000
058c132d
AS
330012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33002
33003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33004
2d2cd515
DM
330052012-03-09 David S. Miller <davem@davemloft.net>
33006
33007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33008 variables with appropriate CPP guards.
33009 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33010 frame pointer, not the stack pointer. Correct layout comments. Fix test
33011 on resulting framesize and the management of the outregs buffer for pltexit.
33012 Preserve floating point return values across _dl_call_pltexit call.
33013 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33014 framesize and the management of the outregs buffer for pltexit.
33015 Preserve floating point return values across _dl_call_pltexit
33016 call.
33017 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33018 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33019 (print_exit): Fix format string for return register value.
33020
9a07f9d0
JM
330212012-03-10 Joseph Myers <joseph@codesourcery.com>
33022
33023 * sunrpc/Makefile (others): Add rpcgen.
33024 ($(objpfx)rpcgen): Remove special build rule and dependency on
33025 libc.
33026 * sunrpc/rpcgen.c: New file.
33027
547b5e30
PE
330282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33029
c524201a
PE
33030 [BZ #13673]
33031 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33032 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33033 * sysdeps/i386/crti.S: Likewise.
33034 * sysdeps/i386/crtn.S: Likewise.
33035 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33036 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33037 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33038 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33039 * sysdeps/sh/crti.S: Likewise.
33040 * sysdeps/sh/crtn.S: Likewise.
33041 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33042
7b6235f2
PE
33043 [BZ #13673]
33044 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33045 with URL.
33046 * locale/programs/locfile-kw.gperf: Likewise.
33047 * locale/programs/charmap-kw.h: Regenerated.
33048 * locale/programs/locfile-kw.h: Likewise.
33049
547b5e30
PE
33050 [BZ #13673]
33051 * intl/plural.y: Replace FSF snail mail address with URL.
33052 * intl/plural.c: Regenerated.
33053
5f0a5dae
RH
330542012-03-09 Richard Henderson <rth@twiddle.net>
33055
33056 * include/math_private.h: Remove file.
33057 * math/math_private.h: Move file ...
33058 * sysdeps/generic/math_private.h: ... here.
33059
b8c03620
RH
33060 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33061 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33062 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33063
4e234f5d 33064 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33065 and <math_private.h>.
33066 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33067 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33068 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33069 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33070 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33088 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33098 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33100 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33101 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33102 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33103 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33104 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33106 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33107 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33108 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33109 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33110 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33111 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33112 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33113 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33114 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33115 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33116 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33119 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33124 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33127 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33129 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33131 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33158 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33159 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33161 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33162 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33163 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33165 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33166 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33167 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33168 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33169 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33174 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33176 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33177 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33178 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33179 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33180 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33182 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33183 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33184 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33185 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33186 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33187 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33188 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33189 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33190 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33191 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33192 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33193 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33194 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33195 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33196 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33197 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33198 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33199 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33200 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33201 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33202 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33203 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33204 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33205 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33206 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33207 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33209 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33210 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33211 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33212 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33213 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33214 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33215 * sysdeps/ieee754/k_standard.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33267 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33268 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33279 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33280 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33282 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33283 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33284 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33285 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33288 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33289 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33291 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33293 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33295 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33296 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33298 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33299 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33300 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33301 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33302 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33306 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33307 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33308 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33309 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33310 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33311 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33312 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33313 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33314 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33315 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33317 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33319 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33320 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33323 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33324 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33325 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33326 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33327 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33328 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33329 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33330 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33331 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33332 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33333 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33334 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33335 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33337 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33338 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33341 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33343 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33344 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33345 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33346 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33347 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33348 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33349 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33350 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33351 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33352 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33353 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33354 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33355 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33359 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33360 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33362 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33364 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33365 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33366 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33368 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33371 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33372 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33373 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33375 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33376 * sysdeps/ieee754/s_lib_version.c: Likewise.
33377 * sysdeps/ieee754/s_matherr.c: Likewise.
33378 * sysdeps/ieee754/s_signgam.c: Likewise.
33379 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33380 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33381 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33382 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33383 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33384 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33385 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33386 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33387 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33388 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33389 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33390 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33391 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33392 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33393 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33396 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33397 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33398 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33400
1991fa03
JM
334012012-03-09 Joseph Myers <joseph@codesourcery.com>
33402
33403 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33404 * sunrpc/rpc_main.c: Likewise.
33405 * sunrpc/rpc_svcout.c: Likewise.
33406
60d6f5a6
DM
334072012-03-09 David S. Miller <davem@davemloft.net>
33408
33409 * include/math_private.h: New file.
33410
4962050e
JM
334112012-03-09 Joseph Myers <joseph@codesourcery.com>
33412
02a6f887
JM
33413 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33414 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33415 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33416 from <bits/socket_type.h>.
33417 (enum __socket_type): Don't define here.
33418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33420 bits/socket_type.h.
33421
c6e013c1
JM
33422 [BZ #13566]
33423 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33424 checking __USE_GNU.
33425
4962050e
JM
33426 * Makerules ($(inst_includedir)/%.h): New rule.
33427 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33428 (install-others): Remove variable setting.
33429 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33430
38842f45
RH
334312012-03-08 Richard Henderson <rth@twiddle.net>
33432
67bb6da6
RH
33433 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33434 from macro to inline function; merge with the
33435 !__LIBC_INTERNAL_MATH_INLINES version.
33436 (__ieee754_sqrtf): Likewise.
33437
15194b4b
RH
33438 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33439 to inline function.
33440 (__rintf, __floor, __floorf): Likewise.
33441
64e21ede
RH
33442 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33443 macro to inline function.
33444 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33445
38842f45
RH
33446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33447 not <math/math_private.h>.
33448
c64bf5fe
DM
334492012-03-08 David S. Miller <davem@davemloft.net>
33450
33451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33452 copyright year.
33453 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33454
82d86f28
TS
334552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33456
33457 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33458 normalization.
33459 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33460 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33461
aea5d727
UD
334622012-03-08 Ulrich Drepper <drepper@gmail.com>
33463
33464 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33465 be defined individually, they must be defined as a block. Define
33466 S for printing a string instead of hidint the different by using a
33467 macro for adding the 'l'.
33468 * stdio-common/tst-fphex-wide.c: Adjust.
33469
70bca0a3
MP
334702012-03-07 Marek Polacek <polacek@redhat.com>
33471
33472 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33473
65b81130
MP
334742012-03-08 Marek Polacek <polacek@redhat.com>
33475
33476 [BZ #13806]
33477 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33478 * stdio-common/tst-fphex.c: Define a few macros to make the
33479 test reusable. Use them.
33480 * stdio-common/tst-fphex-wide.c: New file.
33481
07037eeb
JM
334822012-03-08 Joseph Myers <joseph@codesourcery.com>
33483
a7a93d50
JM
33484 [BZ #6911]
33485 * manual/macros.texi (gnusystems): New macro.
33486 (nongnusystems): Likewise.
33487 (gnulinuxhurdsystems): Likewise.
33488 (gnuhurdsystems): Likewise..
33489 (gnulinuxsystems): Likewise.
33490 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33491 variants of the GNU system, not "GNU system".
33492 * manual/conf.texi: Likewise.
33493 * manual/errno.texi: Likewise. Update example of errno macro
33494 expansion.
33495 * manual/filesys.texi: Likewise.
33496 (getumask): Document as specific to GNU/Hurd.
33497 * manual/install.texi: Likewise. Reword some references to
33498 GNU/Linux.
33499 * manual/intro.texi: Likewise.
33500 * manual/io.texi: Likewise.
33501 (File Name Portability): Detail which constraints are inapplicable
33502 to all GNU systems and which are only inapplicable to GNU/Hurd.
33503 * manual/job.texi: Likewise.
33504 * manual/llio.texi: Likewise.
33505 (O_NOCTTY): Document as present on GNU/Linux.
33506 * manual/maint.texi: Likewise.
33507 * manual/memory.texi: Likewise.
33508 * manual/pattern.texi: Likewise.
33509 * manual/pipe.texi: Likewise.
33510 * manual/process.texi: Likewise.
33511 * manual/resource.texi: Likewise.
33512 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33513 child on GNU/Hurd.
33514 * manual/setjmp.texi: Likewise.
33515 * manual/signal.texi: Likewise.
33516 * manual/startup.texi: Likewise.
33517 * manual/stdio.texi: Likewise.
33518 * manual/terminal.texi: Likewise.
33519 (ONLCR): Document as POSIX.
33520 (OXTABS): Document availability on GNU/Linux as XTABS.
33521 (ONOEOT): Document availability separately from other bits.
33522 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33523 * manual/time.texi: Likewise.
33524 * manual/users.texi: Likewise.
33525 * INSTALL: Regenerated.
33526 * sysdeps/gnu/errlist.c: Regenerated.
33527
07037eeb
JM
33528 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33529 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33530 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33531 puts.
33532 * configure: Regenerated.
33533
d1d3431a
JM
335342012-03-07 Joseph Myers <joseph@codesourcery.com>
33535
af6a1e37
JM
33536 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33537 default includes instead of AC_HEADER_CHECK.
33538 * sysdeps/i386/configure: Regenerated.
33539
d1d3431a
JM
33540 [BZ #10716]
33541 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33542 * math/s_cacoshf.c (__cacoshf): Likewise.
33543 * math/s_cacoshl.c (__cacoshl): Likewise.
33544 * math/s_casinh.c (__casinh): Set signs of result from argument.
33545 * math/s_casinhf.c (__casinhf): Likewise.
33546 * math/s_casinhl.c (__casinhl): Likewise.
33547 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33548 (casinh_test): Add more tests.
33549 * sysdeps/i386/fpu/libm-test-ulps: Update.
33550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33551
482ff4da
UD
335522012-03-07 Ulrich Drepper <drepper@gmail.com>
33553
872fda05
UD
33554 * po/zh_TW.po: Update from translation team.
33555
a4300c7a
UD
33556 * login/Makefile (distribute): Remove variable.
33557 * catgets/Makefile: Likewise.
33558 * mach/Makefile: Likewise.
33559 * malloc/Makefile: Likewise.
33560 * misc/Makefile: Likewise.
33561 * iconv/Makefile: Likewise.
33562 * nscd/Makefile: Likewise.
33563 * hurd/Makefile: Likewise.
33564 * manual/Makefile: Likewise.
33565 * locale/Makefile: Likewise.
33566 * intl/Makefile: Likewise.
33567 * conform/Makefile: Likewise.
33568 * nss/Makefile: Likewise.
33569 * time/Makefile: Likewise.
33570 * soft-fp/Makefile: Likewise.
33571 * dirent/Makefile: Likewise.
33572 * gmon/Makefile: Likewise.
33573 * po/Makefile: Likewise.
33574 * rt/Makefile: Likewise.
33575 * socket/Makefile: Likewise.
33576 * math/Makefile: Likewise.
33577 * signal/Makefile: Likewise.
33578 * debug/Makefile: Likewise.
33579 * elf/Makefile: Likewise.
33580 * timezone/Makefile: Likewise.
33581 * stdlib/Makefile: Likewise.
33582 * iconvdata/Makefile: Likewise.
33583 * sunrpc/Makefile: Likewise.
33584 * io/Makefile: Likewise.
33585 * argp/Makefile: Likewise.
33586 * inet/Makefile: Likewise.
33587 * hesiod/Makefile: Likewise.
33588 * grp/Makefile: Likewise.
33589 * csu/Makefile: Likewise.
33590 * wctype/Makefile: Likewise.
33591 * crypt/Makefile: Likewise.
33592 * libio/Makefile: Likewise.
33593 * string/Makefile: Likewise.
33594 * nis/Makefile: Likewise.
33595 * resolv/Makefile: Likewise.
33596 * stdio-common/Makefile: Likewise.
33597 * wcsmbs/Makefile: Likewise.
33598 * dlfcn/Makefile: Likewise.
33599 * posix/Makefile: Likewise.
33600
3b7c4e74 33601 [BZ #6959]
482ff4da
UD
33602 * timezone/Makefile: Don't install timezone files, just the programs
33603 and scripts.
33604
f72ed77d
UD
336052012-03-06 Ulrich Drepper <drepper@gmail.com>
33606
a000466f
UD
33607 * nss/databases.def: Add missing gshadow entry.
33608
f72ed77d
UD
33609 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33610
a53b7a4e
MP
336112012-03-06 Marek Polacek <polacek@redhat.com>
33612
33613 [BZ #13726]
33614 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33615 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33616 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33617 * stdio-common/tst-long-dbl-fphex.c: New file.
33618
e9258400
DM
336192012-03-06 David S. Miller <davem@davemloft.net>
33620
33621 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33622 (set_obp_int): New function.
33623 (get_obp_int): New function.
33624 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33625 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33626 Avoid unused variable warnings on 'val' and use builtin_expect.
33627 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33628 __builtin_expect.
e9258400
DM
33629 (INLINE_CLONE_SYSCALL): Likewise.
33630
3bd2c723
DM
336312012-03-05 David S. Miller <davem@davemloft.net>
33632
33633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33634
bbb78d03
AS
336352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33636
884c5db4
AS
33637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33638
bbb78d03
AS
33639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33640 only for |x| >= 40.
33641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33642
1c9f702a 336432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33644
33645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33646 Replace gettimeofday with __vdso_gettimeofday.
33647
7be16f82
RM
33648 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33649 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33650 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33651
33652 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33653 time with __vdso_time.
33654
ed58a00f
JM
336552012-03-05 Joseph Myers <joseph@codesourcery.com>
33656
33657 * manual/lang.texi (size_t): Note types to which size_t may be
33658 equivalent with the GNU C Library, but do not describe when
33659 differences between them are significant.
33660
30ee4ced
AJ
336612012-03-05 Andreas Jaeger <aj@suse.de>
33662
33663 * sysdeps/i386/fpu/libm-test-ulps: Update.
33664
b7cd39e8
JM
336652012-03-05 Joseph Myers <joseph@codesourcery.com>
33666
33667 [BZ #3976]
33668 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33669 (__ieee754_pow): Save and restore rounding mode and use
33670 round-to-nearest for main computations.
33671 * math/libm-test.inc (pow_test_tonearest): New function.
33672 (pow_test_towardzero): Likewise.
33673 (pow_test_downward): Likewise.
33674 (pow_test_upward): Likewise.
33675 (main): Call the new functions.
33676 * sysdeps/i386/fpu/libm-test-ulps: Update.
33677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33678
33679 [BZ #3976]
33680 * math/libm-test.inc (cosh_test_tonearest): New function.
33681 (cosh_test_towardzero): Likewise.
33682 (cosh_test_downward): Likewise.
33683 (cosh_test_upward): Likewise.
33684 (sinh_test_tonearest): Likewise.
33685 (sinh_test_towardzero): Likewise.
33686 (sinh_test_downward): Likewise.
33687 (sinh_test_upward): Likewise.
33688 (main): Call the new functions.
33689 * sysdeps/i386/fpu/libm-test-ulps: Update.
33690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33691
6c6a98c9
TV
336922012-03-05 Tom de Vries <tom@codesourcery.com>
33693
33694 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33695 default stack guard is set in last bytes.
33696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33697
21bb2d2e 336982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33699
21bb2d2e 33700 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33701
21bb2d2e
AJ
33702 [BZ #13656]
33703 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33704 possibly allocate from heap instead of stack.
33705 * stdio-common/bug-vfprintf-nargs.c: New file.
33706 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33707
c6922934
AS
337082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33709
33710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33711
bc957d53
MP
337122012-03-03 Marek Polacek <polacek@redhat.com>
33713
33714 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33715 * math/math_private.h: Likewise.
33716 * stdlib/tst-strtod.c: Likewise.
33717 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33718 * sysdeps/x86_64/bits/atomic.h: Likewise.
33719
6358490d
DM
337202012-03-02 David S. Miller <davem@davemloft.net>
33721
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33726 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33727 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33728 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33729 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33730
01ae168d
RM
337312012-03-02 Roland McGrath <roland@hack.frob.com>
33732
d9a17c07
RM
33733 [BZ #13792]
33734 * manual/examples/README: New file, says the example source files
33735 can be used under GPL>=2.
33736 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33737 line containing just "*/".
33738 * manual/examples/add.c: Add copyright header (GPL>=2).
33739 * manual/examples/argp-ex1.c: Likewise.
33740 * manual/examples/argp-ex2.c: Likewise.
33741 * manual/examples/argp-ex3.c: Likewise.
33742 * manual/examples/argp-ex4.c: Likewise.
33743 * manual/examples/atexit.c: Likewise.
33744 * manual/examples/db.c: Likewise.
33745 * manual/examples/dir.c: Likewise.
33746 * manual/examples/dir2.c: Likewise.
33747 * manual/examples/execinfo.c: Likewise.
33748 * manual/examples/filecli.c: Likewise.
33749 * manual/examples/filesrv.c: Likewise.
33750 * manual/examples/fmtmsgexpl.c: Likewise.
33751 * manual/examples/genpass.c: Likewise.
33752 * manual/examples/inetcli.c: Likewise.
33753 * manual/examples/inetsrv.c: Likewise.
33754 * manual/examples/isockad.c: Likewise.
33755 * manual/examples/longopt.c: Likewise.
33756 * manual/examples/memopen.c: Likewise.
33757 * manual/examples/memstrm.c: Likewise.
33758 * manual/examples/mkfsock.c: Likewise.
33759 * manual/examples/mkisock.c: Likewise.
33760 * manual/examples/mygetpass.c: Likewise.
33761 * manual/examples/pipe.c: Likewise.
33762 * manual/examples/popen.c: Likewise.
33763 * manual/examples/rprintf.c: Likewise.
33764 * manual/examples/search.c: Likewise.
33765 * manual/examples/select.c: Likewise.
33766 * manual/examples/setjmp.c: Likewise.
33767 * manual/examples/sigh1.c: Likewise.
33768 * manual/examples/sigusr.c: Likewise.
33769 * manual/examples/stpcpy.c: Likewise.
33770 * manual/examples/strdupa.c: Likewise.
33771 * manual/examples/strftim.c: Likewise.
33772 * manual/examples/strncat.c: Likewise.
33773 * manual/examples/subopt.c: Likewise.
33774 * manual/examples/swapcontext.c: Likewise.
33775 * manual/examples/termios.c: Likewise.
33776 * manual/examples/testopt.c: Likewise.
33777 * manual/examples/testpass.c: Likewise.
33778 * manual/examples/timeval_subtract.c: Likewise.
33779
01ae168d
RM
33780 [BZ #13792]
33781 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33782 function to ...
33783 * manual/timeval_subtract.c.texi: ... here, new file.
33784
49efa33d
DM
337852012-03-02 David S. Miller <davem@davemloft.net>
33786
33787 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33788
28afd92d
JM
337892012-03-02 Joseph Myers <joseph@codesourcery.com>
33790
804360ed
JM
33791 [BZ #3976]
33792 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33793 (__sin): Save and restore rounding mode and use round-to-nearest
33794 for all computations.
33795 (__cos): Save and restore rounding mode and use round-to-nearest
33796 for all computations.
33797 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33798 <fenv.h>.
33799 (tan): Save and restore rounding mode and use round-to-nearest for
33800 all computations.
33801 * math/libm-test.inc (cos_test_tonearest): New function.
33802 (cos_test_towardzero): Likewise.
33803 (cos_test_downward): Likewise.
33804 (cos_test_upward): Likewise.
33805 (sin_test_tonearest): Likewise.
33806 (sin_test_towardzero): Likewise.
33807 (sin_test_downward): Likewise.
33808 (sin_test_upward): Likewise.
33809 (tan_test_tonearest): Likewise.
33810 (tan_test_towardzero): Likewise.
33811 (tan_test_downward): Likewise.
33812 (tan_test_upward): Likewise.
33813 (main): Call the new functions.
33814 * sysdeps/i386/fpu/libm-test-ulps: Update.
33815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33816
a6d06d7b
JM
33817 [BZ #10135]
33818 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33819 small n, then large n, before computing and testing k+n.
33820 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33822 Likewise.
33823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33824 Likewise.
33825 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33826 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33829 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33830 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33832 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33833 * math/libm-test.inc (scalbn_test): Add more tests.
33834 (scalbln_test): Likewise.
33835
07e12bb3
JM
33836 * manual/filesys.texi (mode_t): Describe constraints on size and
33837 signedness, not exact equivalence to a particular type.
33838 (ino_t): Likewise.
33839 (ino64_t): Likewise.
33840 (dev_t): Likewise.
33841 (nlink_t): Likewise.
33842 (blkcnt_t): Likewise.
33843 (blkcnt64_t): Likewise.
33844 * manual/llio.texi (off_t): Likewise.
33845
28afd92d
JM
33846 [BZ #3976]
33847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33848 (__ieee754_exp): Save and restore rounding mode and use
33849 round-to-nearest for all computations.
33850 * math/libm-test.inc (exp_test_tonearest): New function.
33851 (exp_test_towardzero): Likewise.
33852 (exp_test_downward): Likewise.
33853 (exp_test_upward): Likewise.
33854 (main): Call the new functions.
33855 * sysdeps/i386/fpu/libm-test-ulps: Update.
33856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33857
b1eeb65d
CD
338582012-03-01 Chris Demetriou <cgd@google.com>
33859
33860 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33861 have predictable order.
33862
53362a4b
DM
338632012-03-01 David S. Miller <davem@davemloft.net>
33864
3c969083
DM
33865 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33866
759707de
DM
33867 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33868 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33869 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33870 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33871
dfdb8ff2
DM
33872 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33873 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33874 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33876 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33877 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33878 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33879 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33880 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33881
ead89f96
DM
33882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33883
7f66bd07
DM
33884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33885 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33887
53362a4b
DM
33888 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33889 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33891 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33892 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33893 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33894 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33895 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33896 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33897 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33898 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33899 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33901 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33904 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33905 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33906 * sysdeps/sparc/elf/configure: Regenerated.
33907
7b1902cb
JM
339082012-03-01 Joseph Myers <joseph@codesourcery.com>
33909
bec039bc
JM
33910 * configure.in (AS, LD): Require binutils 2.20 or later.
33911 * configure: Regenerated.
33912 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33913 as required minimum version.
33914 * INSTALL: Regenerated.
33915
7b1902cb
JM
33916 [BZ #2541]
33917 [BZ #4108]
33918 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33919 before squaring exponent.
33920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33921 bottom long double and 27 bits of top long double before squaring
33922 exponent.
33923 * math/libm-test.inc (erfc_test): Add more tests.
33924 * sysdeps/i386/fpu/libm-test-ulps: Update.
33925 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33927
f775c276
KT
339282012-03-01 Kai Tietz <ktietz@redhat.com>
33929
33930 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33931 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33932 containing bit-fields.
33933 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33934 * soft-fp/single.h (_FP_UNION_S): Likewise.
33935 * soft-fp/double.h (_FP_UNION_D): Likewise.
33936
5b8a4d4a
JM
339372012-02-29 Joseph Myers <joseph@codesourcery.com>
33938
0bab47b6
JM
33939 [BZ #13786]
33940 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33941 not include ../strcmp.S.
33942 [USE_AS_STRNCASECMP_L]: Likewise.
33943 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33944 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33945 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33946 (__strncasecmp_l_ia32): Define as alias to
33947 __strncasecmp_l_nonascii.
33948
0fcad3e2
JM
33949 [BZ #5794]
33950 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33951 * sysdeps/i386/fpu/libm-test-ulps: Update.
33952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33953
5b8a4d4a
JM
33954 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33956
8fdceb2e
JL
339572012-02-29 Jeff Law <law@redhat.com>
33958
33959 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33960 out of bounds read.
33961
1f393a11
MP
339622012-02-29 Marek Polacek <polacek@redhat.com>
33963
33964 [BZ #13706]
33965 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33966 * elf/Makefile: Add rules to run tst-unused-dep.out.
33967
8847f037
DM
339682012-02-28 David S. Miller <davem@davemloft.net>
33969
33970 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33971 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33973 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33974 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33975 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33976
169d7f11
JM
339772012-02-29 Joseph Myers <joseph@codesourcery.com>
33978
33979 * math/libm-test.inc (llround_test): Move one test from
33980 lround_test. Use TEST_f_L in moved test.
33981 (lround_test): Move misplaced test to llround_test. Add testcase
33982 from bug 2561.
33983
39adf059
UD
339842012-02-28 Ulrich Drepper <drepper@gmail.com>
33985
33986 * sysdeps/x86_64/fpu/e_expf.S: New file.
33987 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33988
71b5d1c5
SB
339892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33990
33991 [BZ #13637]
33992 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33993 of remain_len that may cause incomplete multi-byte character and
33994 false match.
33995 * posix/bug-regex33.c: New file.
33996 * posix/Makefile (tests): Add bug-regex33.
33997
1f77f049
JM
339982012-02-28 Joseph Myers <joseph@codesourcery.com>
33999
34000 * manual/macros.texi: New file.
34001 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34002 * manual/libc.texinfo: Include macros.texi.
34003 * manual/creatute.texi: Likewise.
34004 * manual/install.texi: Likewise.
34005 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34006 @glibcadj{} in references to the GNU C Library.
34007 * manual/charset.texi: Likewise.
34008 * manual/conf.texi: Likewise.
34009 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34010 when not using those macros.
34011 * manual/creature.texi: Likewise.
34012 * manual/crypt.texi: Likewise.
34013 * manual/errno.texi: Likewise.
34014 * manual/filesys.texi: Likewise.
34015 * manual/header.texi: Likewise.
34016 * manual/install.texi: Likewise.
34017 * manual/intro.texi: Likewise.
34018 * manual/io.texi: Likewise.
34019 * manual/job.texi: Likewise.
34020 * manual/lang.texi: Likewise.
34021 * manual/libc.texiinfo: Likewise.
34022 * manual/llio.texi: Likewise.
34023 * manual/locale.texi: Likewise.
34024 * manual/maint.texi: Likewise.
34025 * manual/math.texi: Likewise.
34026 * manual/memory.texi: Likewise.
34027 * manual/message.texi: Likewise.
34028 * manual/nss.texi: Likewise.
34029 * manual/pattern.texi: Likewise.
34030 * manual/process.texi: Likewise.
34031 * manual/resource.texi: Likewise.
34032 * manual/search.texi: Likewise.
34033 * manual/setjmp.texi: Likewise.
34034 * manual/signal.texi: Likewise.
34035 * manual/socket.texi: Likewise.
34036 * manual/startup.texi: Likewise.
34037 * manual/stdio.texi: Likewise.
34038 * manual/string.texi: Likewise.
34039 * manual/sysinfo.texi: Likewise.
34040 * manual/syslog.texi: Likewise.
34041 * manual/terminal.texi: Likewise.
34042 * manual/time.texi: Likewise.
34043 * manual/users.texi: Likewise.
34044 * INSTALL: Regenerated.
34045 * NOTES: Regenerated.
d40c5d54 34046 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34047
450bf206
AS
340482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34049
34050 * include/dirent.h: Include <dirstream.h> before
34051 <dirent/dirent.h>.
34052
741a235b
DM
340532012-02-28 David S. Miller <davem@davemloft.net>
34054
34055 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34056 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34057 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34058 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34059
d6b5aa58
DM
340602012-02-27 David S. Miller <davem@davemloft.net>
34061
1aff59a3
DM
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34064 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34065 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34066
d6b5aa58
DM
34067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34068 frame pointer instead of stack pointer relative arg slot.
34069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34072
433f48bf
CD
340732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34074
34075 [BZ #3992]
34076 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34077
d674b76d
DM
340782012-02-27 David S. Miller <davem@davemloft.net>
34079
34080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34084 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34085 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34086 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34087 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34088
0e7727f7
JM
340892012-02-27 Joseph Myers <joseph@codesourcery.com>
34090
34091 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34092 later. Allow versions 5-9.
43be4ca2 34093 * configure: Regenerated.
0e7727f7
JM
34094 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34095 required minimum version and 4.6 as recommended version. Do not
34096 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34097 * INSTALL: Regenerated.
0e7727f7 34098
a78bc654
DM
340992012-02-27 David S. Miller <davem@davemloft.net>
34100
428d5830
DM
34101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34105 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34106 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34107 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34108 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34109
a78bc654
DM
34110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34111 manipulate bits before adding and subtracting TWO112[sx].
34112 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34113
4579f81c
RM
341142012-02-27 Roland McGrath <roland@hack.frob.com>
34115
36c8acb4
RM
34116 [BZ #13775]
34117 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34118 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34119 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34120 being in POSIX, because they are in 1003.1-2008.
34121
84ad622b
RM
34122 * rt/tst-aio.c: Include <fcntl.h>.
34123 * rt/tst-aio7.c: Likewise.
34124 * rt/tst-aio64.c: Likewise.
34125
4579f81c
RM
34126 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34127
abd923db
JM
341282012-02-27 Joseph Myers <joseph@codesourcery.com>
34129
34130 * manual/install.texi (--with-headers): Describe headers as
34131 interface headers, not private headers.
34132 (Specific advice for GNU/Linux systems): Describe use of headers
34133 from "make headers_install", not private headers from older
34134 kernels.
43be4ca2 34135 * INSTALL: Regenerated.
abd923db
JM
34136 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34137 Change to 2.6.19.
34138 * sysdeps/unix/sysv/linux/configure: Regenerated.
34139
6664049b
JM
34140 * manual/llio.texi (fclean): Remove documentation.
34141
bb8b6697
JM
34142 * manual/Makefile (libc-texi-generated): New variable. Include
34143 version.texi.
34144 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34145 $(libc-texi-generated), not duplicated list of files.
34146 (version.texi, stamp-version): New rules.
34147 (realclean): Remove $(libc-texi-generated), not individual files
34148 from that list. Do not remove dir-add.texinfo.
34149 * manual/libc.texinfo: Comment out uses of edition numbers and
34150 references to printed manual. Remove last-updated dates.
34151 (EDITION): Comment out.
34152 (ISBN): Likewise.
34153 (VERSION, UPDATED): Remove.
34154 (version.texi): Include.
34155
12e5c3b9
AS
341562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34157
34158 * sysdeps/posix/spawni.c: Include <signal.h>.
34159 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34160 * sysdeps/pthread/aio_fsync.c: Likewise.
34161
4efeffc1 341622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34163
ba63ba08
UD
34164 * conform/Makefile (tests): Run only when not cross-compiling and
34165 when fast-check is not defined.
34166
d94a4670
UD
34167 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34168 * conform/data/limits.h-data: Fixes for POSIX2008.
34169 * conform/run-conformtest.sh: Run all tests.
34170 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34171 headers.
34172 * include/bits/dlfcn.h: Likewise.
34173 * include/langinfo.h: Likewise.
34174 * include/monetary.h: Likewise.
34175 * include/sys/poll.h: Likewise.
34176
34177 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34178 for __USE_GNU.
34179 * posix/spawn.h: Define __need_sigset_t.
34180 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34181 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34182 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34183 to get sigevent_t only.
34184 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34185 only for __USE_GNU.
34186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34187 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34188 process_vm_writev only for __USE_GNU.
34189 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34190
34191 * conform/Makefile: For now ignore errors from run-conformtest.
34192 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34193 POSIX to avoid namespace pollution. Don't prepend headers.
34194 * conform/data/aio.h-data: Fixes for POSIX testing.
34195 * conform/data/fcntl.h-data: Likewise.
34196 * conform/data/glob.h-data: Likewise.
34197 * conform/data/grp.h-data: Likewise.
34198 * conform/data/pthread.h-data: Likewise.
34199 * conform/data/pwd.h-data: Likewise.
34200 * conform/data/signal.h-data: Likewise.
34201 * conform/data/spawn.h-data: Likewise.
34202 * conform/data/stdio.h-data: Likewise.
34203 * conform/data/stdlib.h-data: Likewise.
34204 * conform/data/stropts.h-data: Likewise.
34205 * conform/data/sys/mman.h-data: Likewise.
34206 * conform/data/sys/stat.h-data: Likewise.
34207 * conform/data/sys/types.h-data: Likewise.
34208 * conform/data/sys/wait.h-data: Likewise.
34209 * conform/data/time.h-data: Likewise.
34210 * conform/data/unistd.h-data: Likewise.
34211 * conform/data/utime.h-data: Likewise.
34212
34213 * io/sys/stat.h: fchmod was always in POSIX.
34214 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34215 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34216 * rt/aio.h: Define __need_timespec before including <time.h>.
34217 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34218 struct. Add forward declaration of pthread_attr_t and use it in
34219 sigevent.
34220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34221 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34222 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34223 always remove CLK_TCK definition.
34224
c20105c3
AS
342252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34226
34227 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34228
7a270350
UD
342292012-02-25 Ulrich Drepper <drepper@gmail.com>
34230
31341567
UD
34231 * conform/run-conformtest.sh: New file.
34232 * conform/Makefile: Run run-conformtest for tests.
34233 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34234 support.
34235
34236 * conform/data/uchar.h-data: New file.
34237 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34238 * conform/data/arpa/inet.h-data: Likewise.
34239 * conform/data/assert.h-data: Likewise.
34240 * conform/data/complex.h-data: Likewise.
34241 * conform/data/cpio.h-data: Likewise.
34242 * conform/data/ctype.h-data: Likewise.
34243 * conform/data/dirent.h-data: Likewise.
34244 * conform/data/dlfcn.h-data: Likewise.
34245 * conform/data/errno.h-data: Likewise.
34246 * conform/data/fcntl.h-data: Likewise.
34247 * conform/data/float.h-data: Likewise.
34248 * conform/data/fmtmsg.h-data: Likewise.
34249 * conform/data/fnmatch.h-data: Likewise.
34250 * conform/data/ftw.h-data: Likewise.
34251 * conform/data/glob.h-data: Likewise.
34252 * conform/data/grp.h-data: Likewise.
34253 * conform/data/iconv.h-data: Likewise.
34254 * conform/data/inttypes.h-data: Likewise.
34255 * conform/data/langinfo.h-data: Likewise.
34256 * conform/data/libgen.h-data: Likewise.
34257 * conform/data/limits.h-data: Likewise.
34258 * conform/data/locale.h-data: Likewise.
34259 * conform/data/math.h-data: Likewise.
34260 * conform/data/monetary.h-data: Likewise.
34261 * conform/data/mqueue.h-data: Likewise.
34262 * conform/data/ndbm.h-data: Likewise.
34263 * conform/data/net/if.h-data: Likewise.
34264 * conform/data/netdb.h-data: Likewise.
34265 * conform/data/netinet/in.h-data: Likewise.
34266 * conform/data/nl_types.h-data: Likewise.
34267 * conform/data/poll.h-data: Likewise.
34268 * conform/data/pthread.h-data: Likewise.
34269 * conform/data/pwd.h-data: Likewise.
34270 * conform/data/regex.h-data: Likewise.
34271 * conform/data/sched.h-data: Likewise.
34272 * conform/data/search.h-data: Likewise.
34273 * conform/data/semaphore.h-data: Likewise.
34274 * conform/data/setjmp.h-data: Likewise.
34275 * conform/data/signal.h-data: Likewise.
34276 * conform/data/spawn.h-data: Likewise.
34277 * conform/data/stdarg.h-data: Likewise.
34278 * conform/data/stdio.h-data: Likewise.
34279 * conform/data/stdlib.h-data: Likewise.
34280 * conform/data/string.h-data: Likewise.
34281 * conform/data/strings.h-data: Likewise.
34282 * conform/data/stropts.h-data: Likewise.
34283 * conform/data/sys/ipc.h-data: Likewise.
34284 * conform/data/sys/mman.h-data: Likewise.
34285 * conform/data/sys/msg.h-data: Likewise.
34286 * conform/data/sys/resource.h-data: Likewise.
34287 * conform/data/sys/select.h-data: Likewise.
34288 * conform/data/sys/sem.h-data: Likewise.
34289 * conform/data/sys/shm.h-data: Likewise.
34290 * conform/data/sys/socket.h-data: Likewise.
34291 * conform/data/sys/stat.h-data: Likewise.
34292 * conform/data/sys/statvfs.h-data: Likewise.
34293 * conform/data/sys/time.h-data: Likewise.
34294 * conform/data/sys/timeb.h-data: Likewise.
34295 * conform/data/sys/times.h-data: Likewise.
34296 * conform/data/sys/types.h-data: Likewise.
34297 * conform/data/sys/uio.h-data: Likewise.
34298 * conform/data/sys/un.h-data: Likewise.
34299 * conform/data/sys/utsname.h-data: Likewise.
34300 * conform/data/sys/wait.h-data: Likewise.
34301 * conform/data/syslog.h-data: Likewise.
34302 * conform/data/tar.h-data: Likewise.
34303 * conform/data/termios.h-data: Likewise.
34304 * conform/data/utime.h-data: Likewise.
34305 * conform/data/utmpx.h-data: Likewise.
34306 * conform/data/varargs.h-data: Likewise.
34307 * conform/data/wchar.h-data: Likewise.
34308 * conform/data/wctype.h-data: Likewise.
34309 * conform/data/wordexp.h-data: Likewise.
34310
34311 * include/stropts.h: New file.
34312 * include/uchar.h: New file.
34313 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34314 * include/assert.h: Likewise.
34315 * include/ctype.h: Likewise.
34316 * include/dirent.h: Likewise.
34317 * include/dlfcn.h: Likewise.
34318 * include/fcntl.h: Likewise.
34319 * include/fnmatch.h: Likewise.
34320 * include/glob.h: Likewise.
34321 * include/grp.h: Likewise.
34322 * include/libio.h: Likewise.
34323 * include/locale.h: Likewise.
34324 * include/math.h: Likewise.
34325 * include/net/if.h: Likewise.
34326 * include/netdb.h: Likewise.
34327 * include/netinet/in.h: Likewise.
34328 * include/pthread.h: Likewise.
34329 * include/pwd.h: Likewise.
34330 * include/regex.h: Likewise.
34331 * include/sched.h: Likewise.
34332 * include/search.h: Likewise.
34333 * include/setjmp.h: Likewise.
34334 * include/signal.h: Likewise.
34335 * include/stdio.h: Likewise.
34336 * include/stdlib.h: Likewise.
34337 * include/string.h: Likewise.
34338 * include/sys/cdefs.h: Likewise.
34339 * include/sys/mman.h: Likewise.
34340 * include/sys/msg.h: Likewise.
34341 * include/sys/resource.h: Likewise.
34342 * include/sys/select.h: Likewise.
34343 * include/sys/socket.h: Likewise.
34344 * include/sys/stat.h: Likewise.
34345 * include/sys/statvfs.h: Likewise.
34346 * include/sys/time.h: Likewise.
34347 * include/sys/times.h: Likewise.
34348 * include/sys/uio.h: Likewise.
34349 * include/sys/utsname.h: Likewise.
34350 * include/sys/wait.h: Likewise.
34351 * include/termios.h: Likewise.
34352 * include/time.h: Likewise.
34353 * include/ulimit.h: Likewise.
34354 * include/unistd.h: Likewise.
34355 * include/utime.h: Likewise.
34356 * include/wchar.h: Likewise.
34357 * include/wctype.h: Likewise.
34358 * include/wordexp.h: Likewise.
34359
34360 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34361
7a270350
UD
34362 * time/time.h: TIME_UTC must be a macro.
34363 Make timespec_get available for ISO C11 only as well.
34364
7724defc
UD
343652012-02-24 Ulrich Drepper <drepper@gmail.com>
34366
34367 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34368 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34369
6b1d1d46
JM
343702012-02-24 Joseph Myers <joseph@codesourcery.com>
34371
34372 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34373
0f8bbd69
JM
343742012-02-24 Joseph Myers <joseph@codesourcery.com>
34375
34376 * manual/texinfo.tex: Update to version 2012-01-19.16.
34377
66ab80bc
JM
343782012-02-24 Joseph Myers <joseph@codesourcery.com>
34379
34380 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34381
74981cc5
RM
343822012-02-24 Roland McGrath <roland@hack.frob.com>
34383
ee968201
RM
34384 [BZ #13738]
34385 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34386 * manual/fdl-1.3.texi: New file.
34387 * manual/fdl-1.1.texi: File removed.
34388
74981cc5
RM
34389 [BZ #13738]
34390 * manual/libc.texinfo (FDL_VERSION): New @set.
34391 Use it for mention of FDL in cover text.
34392 (Documentation License): Use it in @include file name.
34393
7bb764bc
JM
343942012-02-22 Joseph Myers <joseph@codesourcery.com>
34395 Roland McGrath <roland@hack.frob.com>
34396
34397 [BZ #5461]
34398 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34399 not LONG_LONG_MAX and LONG_LONG_MIN.
34400 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34401 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34402 name.
34403 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34404
6cbeae47
JM
344052012-02-22 Joseph Myers <joseph@codesourcery.com>
34406
34407 [BZ #2547]
34408 [BZ #11365]
34409 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34410 manipulate bits before adding and subtracting TWO23[sx].
34411 * math/libm-test.inc (nearbyint_test): Add more tests.
34412
fe45ce09
JM
344132012-02-22 Joseph Myers <joseph@codesourcery.com>
34414
34415 [BZ #2548]
34416 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34417 bits before adding and subtracting TWO23[sx].
34418 * math/libm-test.inc (rint_test): Add more tests.
34419 (rint_test_tonearest): Likewise.
34420 (rint_test_towardzero): Likewise.
34421 (rint_test_downward): Likewise.
34422 (rint_test_upward: Likewise.
34423
ff3b3d82
JM
344242012-02-22 Joseph Myers <joseph@codesourcery.com>
34425
34426 [BZ #10110]
34427 * include/stdc-predef.h: New file. Extracted from features.h.
34428 * include/features.h: Include stdc-predef.h.
34429 * Makefile (headers): Add stdc-predef.h.
34430 * CONFORMANCE (Compiler limitations): Update.
34431
ef0aab35
JM
344322012-02-22 Joseph Myers <joseph@codesourcery.com>
34433
34434 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34435
58639409
DM
344362012-02-21 David S. Miller <davem@davemloft.net>
34437
34438 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34439 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34440
c0e70b25
DM
344412012-02-20 David S. Miller <davem@davemloft.net>
34442
34443 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34444 using a normal save/restore sequence, rather than allocating a
34445 dummy stack frame just to store a frame pointer and restore.
34446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34447
fb06851d
JM
344482012-02-21 Joseph Myers <joseph@codesourcery.com>
34449
34450 * manual/install.texi: Fix stray word in line-wrapped comment.
34451
7a8b71c3
DM
344522012-02-20 David S. Miller <davem@davemloft.net>
34453
d510c123
DM
34454 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34455 both binutils and gcc support GOTDATA.
34456
0722d7c2
DM
34457 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34458 "rd %pc" in the PIC register setup sequences.
34459
3d2b3019
DM
34460 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34461 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34462 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34463 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34464 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34467 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34469 (SYSCALL_ERROR_HANDLER): Likewise.
34470 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34471 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34473 (SYSCALL_ERROR_HANDLER): Likewise.
34474
c80098a9
DM
34475 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34476 (HAVE_GCC_GOTDATA): New.
34477 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34478 relocation support in both binutils and gcc.
34479 * sysdeps/sparc/elf/configure: Regenerate.
34480
3a2545a0
DM
34481 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34482 * sysdeps/sparc/sparc32/elf/configure: Delete.
34483 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34484 * sysdeps/sparc/sparc64/elf/configure: Delete.
34485 * sysdeps/sparc/elf/configure.in: New file.
34486 * sysdeps/sparc/elf/configure: Generate.
34487
7a8b71c3
DM
34488 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34489 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34490 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34491 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34492 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34493
f1e86fca
JM
344942012-02-21 Joseph Myers <joseph@codesourcery.com>
34495
34496 * manual/install.texi: Do not mention specific glibc version
34497 numbers.
34498 * manual/libc.texinfo (VERSION, UPDATED): Update.
34499 (@copying): Use @copyright{} and range of years.
34500
0e7dfaef
JM
345012012-02-21 Joseph Myers <joseph@codesourcery.com>
34502
34503 [BZ #13695]
34504 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34505 [crti.S not in sysdirs] (generated): Do not append.
34506 [crti.S not in sysdirs] (omit-deps): Likewise.
34507 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34508 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34509 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34510 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34511 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34512 Likewise.
34513 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34514 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34515 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34516 * csu/defs.awk: Remove file.
34517 * sysdeps/generic/initfini.c: Likewise.
34518 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34519 variable.
34520 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34521 Likewise.
34522
599af3ca
JM
345232012-02-20 Joseph Myers <joseph@codesourcery.com>
34524
34525 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34526 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34527 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34528 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34529 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34530 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34531 <bits/epoll.h>.
34532 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34533 (__EPOLL_PACKED): Define to empty if not defined by
34534 <bits/epoll.h>.
34535 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34537 bits/epoll.h.
34538
0e499750
JM
345392012-02-20 Joseph Myers <joseph@codesourcery.com>
34540
34541 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34542 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34543 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34544 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34545 <bits/timerfd.h>.
34546 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34548 bits/timerfd.h.
34549
5ad91f6e
JM
345502012-02-20 Joseph Myers <joseph@codesourcery.com>
34551
34552 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34553 in C locale.
34554 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34555 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34556 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34558
06b99b02
AJ
345592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34560
34561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34562 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34563
7638c0fd
AS
345642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34565
34566 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34567 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34568 defined.
34569 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34570 Likewise.
34571 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34572 entry for 2.16.
34573
92221550
AJ
345742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34575
34576 * math/w_acos.c: Use non-signaling floating-point comparisons.
34577 * math/w_acosf.c: Likewise.
34578 * math/w_acosh.c: Likewise.
34579 * math/w_acoshf.c: Likewise.
34580 * math/w_acoshl.c: Likewise.
34581 * math/w_acosl.c: Likewise.
34582 * math/w_asin.c: Likewise.
34583 * math/w_asinf.c: Likewise.
34584 * math/w_asinl.c: Likewise.
34585 * math/w_atanh.c: Likewise.
34586 * math/w_atanhf.c: Likewise.
34587 * math/w_atanhl.c: Likewise.
34588 * math/w_exp2.c: Likewise.
34589 * math/w_exp2f.c: Likewise.
34590 * math/w_exp2l.c: Likewise.
34591 * math/w_j0.c: Likewise.
34592 * math/w_j0f.c: Likewise.
34593 * math/w_j0l.c: Likewise.
34594 * math/w_j1.c: Likewise.
34595 * math/w_j1f.c: Likewise.
34596 * math/w_j1l.c: Likewise.
34597 * math/w_jn.c: Likewise.
34598 * math/w_jnf.c: Likewise.
34599 * math/w_log.c: Likewise.
34600 * math/w_log10.c: Likewise.
34601 * math/w_log10f.c: Likewise.
34602 * math/w_log10l.c: Likewise.
34603 * math/w_log2.c: Likewise.
34604 * math/w_log2f.c: Likewise.
34605 * math/w_log2l.c: Likewise.
34606 * math/w_logf.c: Likewise.
34607 * math/w_logl.c: Likewise.
34608 * math/w_sqrt.c: Likewise.
34609 * math/w_sqrtf.c: Likewise.
34610 * math/w_sqrtl.c: Likewise.
34611 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34612 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34613 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34614 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34615 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34616
ebaf36eb
JM
346172012-02-19 Joseph Myers <joseph@codesourcery.com>
34618
34619 [BZ #9739]
34620 * manual/string.texi (strnlen): Use correct parameter name in
34621 equivalent expression.
34622
71c254a6
JM
346232012-02-19 Joseph Myers <joseph@codesourcery.com>
34624
34625 [BZ #11174]
34626 * manual/users.texi (seteuid): Consistently use neweuid for
34627 argument name.
34628
16d2c631
JM
346292012-02-19 Joseph Myers <joseph@codesourcery.com>
34630
34631 [BZ #13704]
34632 * manual/nss.texi (Services in the NSS configuration): Correct
34633 list of services in example configuration file.
34634
cd837b09
NB
346352012-02-19 Nick Bowler <nbowler@draconx.ca>
34636
34637 [BZ #11322]
34638 * manual/arith.texi: Remove statements about negative zero
34639 behaving identically to zero.
34640
02c4bbad
JM
346412012-02-18 Joseph Myers <joseph@codesourcery.com>
34642
34643 [BZ #5993]
34644 * manual/install.texi: Do not document upgrading from libc5.
34645
366842e7
JM
346462012-02-18 Joseph Myers <joseph@codesourcery.com>
34647
34648 [BZ #4596]
34649 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34650
dd54084d
DM
346512012-02-18 David S. Miller <davem@davemloft.net>
34652
34653 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34654 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34655 %o7 across the call.
34656 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34657 instead.
34658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34659 SETUP_PIC_REG_LEAF.
34660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34661 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34662 * sysdeps/sparc/crtn.S: Likewise.
34663
2bcc53a3
UD
346642012-02-17 Ulrich Drepper <drepper@gmail.com>
34665
34666 * aout/Makefile: Remove.
34667
09c093b5
RK
346682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34669
34670 [BZ #13058]
34671 * manual/examples/argp-ex1.c (main): Format definition in GNU
34672 style.
34673 * manual/examples/argp-ex2.c (main): Likewise.
34674 * manual/examples/argp-ex3.c (main): Likewise.
34675 * manual/examples/argp-ex4.c (main): Likewise.
34676 * manual/examples/longopt.c (main): Use new-style prototype
34677 definition.
34678 * manual/examples/strncat.c (main): Specify return type and use
34679 (void) for arguments.
34680 * manual/examples/subopt.c (main): Use char **argv argument.
34681
2ee633a2
JM
346822012-02-17 Joseph Myers <joseph@codesourcery.com>
34683
34684 [BZ #5077]
34685 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34686 rounding modes.
34687
0520adde
FB
346882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34689
34690 [BZ #6907]
34691 * manual/string.texi (strchr): Change when strchrnul is
34692 recommended.
34693
3f4081cd
DGM
346942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34695
34696 [BZ #174]
34697 * manual/locale.texi (setlocale): Document LOCPATH.
34698
d1b10e78
JM
346992012-02-17 Joseph Myers <joseph@codesourcery.com>
34700
34701 [BZ #10210]
34702 * manual/process.texi (execle): Move @dots{} before last argument.
34703
79c6869c
PB
347042012-02-17 Paul Bolle <pebolle@tiscali.nl>
34705
34706 [BZ #12047]
34707 * manual/charset.texi (Generic Charset Conversion): Fix typo
34708 (LC_TYPE -> LC_CTYPE).
34709
cc6e48bc
NB
347102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34711
34712 [BZ #5805]
34713 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34714 (scalbnf): Likewise.
34715 (scalbnl): Likewise.
34716 (scalbln): Likewise.
34717 (scalblnf): Likewise.
34718 (scalblnl): Likewise.
34719 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34720 (vwarnx): Likewise.
34721 (verr): Likewise.
34722 (verrx): Likewise.
34723 * manual/filesys.texi (telldir): Use braces around return type.
34724 * manual/llio.texi (mmap): Add space after comma.
34725 (mmap64): Likewise.
34726 * manual/math.texi (jn): Use @var{} on parameter names.
34727 (jnf): Likewise.
34728 (jnl): Likewise.
34729 (yn): Likewise.
34730 (ynf): Likewise.
34731 (ynl): Likewise.
34732 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34733 line.
34734 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34735 "...".
34736 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34737 (sched_get_priority_max): Likewise.
34738 * manual/signal.texi (sigvec): Add space after comma.
34739 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34740 names.
34741 (if_indextoname): Likewise.
34742 (if_freenameindex): Likewise.
34743 (sendto): Use ',' instead of '.' in prototype.
34744 * manual/startup.texi (syscall): Use @dots{} instead of literal
34745 "...".
34746 * manual/stdio.texi (__fpending): Separate initial words of
34747 paragraph from @deftypefun line.
34748 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34749 "...".
34750 (vsyslog): Use @var{} on parameter names.
34751 * manual/terminal.texi (stty): Use @var{} on parameter names.
34752 * manual/users.texi (getutmp): Use @var{} on parameter names.
34753 (getutmpx): Likewise.
34754
5b23062f
JM
347552012-02-17 Joseph Myers <joseph@codesourcery.com>
34756
34757 [BZ #6884]
34758 * manual/stdio.texi (fopen): Fix typos in description of
34759 ",ccs=STRING".
34760
8dee4833
AJ
347612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34762
34763 [BZ #4026]
34764 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34765 get clock_id definition.
34766
9078ce93
TS
347672012-02-17 Thomas Schwinge <thomas@schwinge.name>
34768
34769 [BZ #4822]
34770 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34771 (madvise): Cast every argument to void on its own.
34772
3835c55f
JM
347732012-02-17 Joseph Myers <joseph@codesourcery.com>
34774
34775 [BZ #9902]
34776 * manual/startup.texi (Exit Status): Fix typo.
34777
35c47e37
JM
347782012-02-17 Joseph Myers <joseph@codesourcery.com>
34779
34780 [BZ #10140]
34781 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34782 * manual/examples/argp-ex2.c: Likewise.
34783 * manual/examples/argp-ex3.c: Likewise.
34784
e3b69ca7
RH
347852012-02-16 Richard Henderson <rth@redhat.com>
34786
34787 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34788 * sysdeps/s390/s390-32/initfini.c: Remove.
34789 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34790 * sysdeps/s390/s390-64/initfini.c: Remove.
34791
df83af67
KK
347922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34793
34794 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34795 compiler output for sysdeps/generic/initfini.c.
34796 * sysdeps/sh/elf/initfini.c: Remove file.
34797
f63f3380
DM
347982012-02-16 David S. Miller <davem@davemloft.net>
34799
fb59b3a4
DM
34800 [BZ #11494]
34801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34802
f63f3380
DM
34803 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34804 * sysdeps/sparc/crti.S: New file.
34805 * sysdeps/sparc/crtn.S: New file.
34806 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34807 * sysdeps/sparc/sparc64/Makefile: Likewise.
34808
df6a4a4a
MF
348092012-02-15 Mike Frysinger <vapier@gentoo.org>
34810
6dd8f3dc 34811 [BZ #3335]
df6a4a4a
MF
34812 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34813
1cac7236
RM
348142012-02-15 Roland McGrath <roland@hack.frob.com>
34815
d2c736f8
RM
34816 [BZ #4822]
34817 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34818
1cac7236
RM
34819 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34820 (write, read, close): Likewise.
34821 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34822
8e475601
JM
348232012-02-15 Joseph Myers <joseph@codesourcery.com>
34824
34825 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34826 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34827 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34828 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34829 <bits/signalfd.h>.
34830 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34832 bits/signalfd.h.
34833
ed656b40
MP
348342012-02-14 Marek Polacek <polacek@redhat.com>
34835
34836 * sysdeps/x86_64/crti.S: New file.
34837 * sysdeps/x86_64/crtn.S: New file.
34838 * sysdeps/x86_64/elf/initfini.c: Remove file.
34839
2a979d3a
JM
348402012-02-13 Joseph Myers <joseph@codesourcery.com>
34841
34842 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34843 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34844 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34845 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34846 <bits/inotify.h>.
34847 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34849 bits/inotify.h.
34850
2a418ac3
JM
348512012-02-13 Joseph Myers <joseph@codesourcery.com>
34852
34853 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34854 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34855 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34856 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34857 <bits/eventfd.h>.
34858 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34860 bits/eventfd.h.
34861
fb779be7
TS
348622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34863
e19e83c5
RM
34864 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34865 __feraiseexcept instead of feraiseexcept.
7c35ffed 34866
fb779be7
TS
34867 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34868 nanosleep invocations.
34869 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34870 strings, and add error checking for a nanosleep invocations.
34871
59ba27a6
PE
348722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34873
34874 Replace FSF snail mail address with URLs, as per GNU coding standards.
34875 Most of the snail mail addresses were wrong anyway, and omitting
34876 them makes the source code easier to maintain. Almost all of the
34877 changes are to license notices and to locale LC_IDENTIFICATION
34878 addresses, except for this one:
34879 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34880 not its snail mail address.
34881
57b957eb
RH
348822012-02-09 Richard Henderson <rth@twiddle.net>
34883
af850b1c
RH
34884 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34885 of kernel-features.h.
34886
57b957eb
RH
34887 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34888
6b73181a
MP
348892012-02-08 Marek Polacek <polacek@redhat.com>
34890
34891 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34892 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34893 * sysdeps/gnu/_G_config.h: Likewise.
34894 * sysdeps/generic/_G_config.h: Likewise.
34895
26ecc33a
AS
348962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34897
6c6dbc63
AS
34898 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34899 tests.
34900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34901
e216c012
AS
34902 * sysdeps/powerpc/powerpc32/crti.S: New file.
34903 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34904 * sysdeps/powerpc/powerpc64/crti.S: New file.
34905 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34906
26ecc33a
AS
34907 * Makeconfig (have-initfini): Don't set.
34908 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34909 * configure.in (nopic_initfini): Don't substitute.
34910 * config.h.in (HAVE_INITFINI): Don't #undef.
34911 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34912 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34913
3add8e13
JM
349142012-02-08 Joseph Myers <joseph@codesourcery.com>
34915
34916 Support crti.S and crtn.S provided directly by architectures.
34917 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34918 [crti.S in sysdirs] (omit-deps): Likewise.
34919 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34920 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34921 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34922 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34923 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34924 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34925 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34926 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34927 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34928 compiler output for sysdeps/generic/initfini.c.
34929 * sysdeps/i386/elf/Makefile: Remove file.
34930 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34931
a22f12b4
MP
349322012-02-07 Marek Polacek <polacek@redhat.com>
34933
34934 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34935 * sysdeps/gnu/_G_config.h: Likewise.
34936 * sysdeps/mach/hurd/_G_config.h: Likewise.
34937
148cf100
MP
349382012-02-07 Marek Polacek <polacek@redhat.com>
34939
34940 * math/Makefile (tests): Add tst-CMPLX2.
34941 * math/tst-CMPLX2.c: New file.
34942
cfdc0dd7
AS
349432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34944
84ba42c4
AS
34945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34946
cfdc0dd7
AS
34947 * math/libm-test.inc (jn_test): Add missing L suffix.
34948
622c86f4
MP
349492012-02-06 Marek Polacek <polacek@redhat.com>
34950
34951 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34952 * sysdeps/i386/fpu/e_powf.S: Likewise.
34953 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34954 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34955 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34956 * sysdeps/i386/fpu/e_pow.S: Likewise.
34957 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34958 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34959 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34960 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34961 * sysdeps/i386/fpu/e_log2.S: Likewise.
34962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34963 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34964 * sysdeps/i386/fpu/e_powl.S: Likewise.
34965 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34966 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34967 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34968 * sysdeps/i386/fpu/e_logl.S: Likewise.
34969 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34970 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34971 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34972 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34973 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34974 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34975 * sysdeps/i386/fpu/e_log.S: Likewise.
34976 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34978 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34979 * sysdeps/i386/fpu/e_logf.S: Likewise.
34980 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34981 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34982 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34983 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34984 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34985 * sysdeps/i386/fpu/e_log10.S: Likewise.
34986 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34987 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34988 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34989 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34991 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34992 * sysdeps/i386/asm-syntax.h: Likewise.
34993 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34994 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34995 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34996 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34997 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34999 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35000 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35002 * sysdeps/powerpc/sysdep.h: Likewise.
35003 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35004 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35005
d4a54ac6
JM
350062012-02-06 Joseph Myers <joseph@codesourcery.com>
35007
35008 [BZ #411]
35009 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35010
314054ea
JM
350112012-02-06 Joseph Myers <joseph@codesourcery.com>
35012
35013 * sysdeps/i386/sysdep.h: Include <features.h>.
35014 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35015 version.
35016
d8e0ca50
JM
350172012-02-05 Joseph Myers <joseph@codesourcery.com>
35018
35019 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35020 Define.
35021 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35022 LOAD_PIC_REG_STR.
35023
b1da7dd9
JM
350242012-02-03 Joseph Myers <joseph@codesourcery.com>
35025
35026 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35027 (SETUP_PIC_REG): Use GET_PC_THUNK.
35028 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35029 macro.
35030
9a1d9254
JM
350312012-02-03 Joseph Myers <joseph@codesourcery.com>
35032
35033 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35034 for non-PIC compilation.
35035 (SETUP_PIC_REG): Add .p2align directive.
35036 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35037 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35038 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35039 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35040 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35041 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35042 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35043 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35044 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35045 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35046 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35047 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35048 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35049 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35050 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35051 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35052 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35053 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35054 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35055 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35056 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35058 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35059 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35060 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35062 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35064 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35065 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35066 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35067 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35068 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35069 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35070 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35071 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35072 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35073 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35074 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35075 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35076 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35077
65dc3b75
JM
350782012-02-03 Joseph Myers <joseph@codesourcery.com>
35079
35080 * math/tst-CMPLX.c: Include <stdio.h>.
35081
d55bf177
JM
350822012-01-31 Joseph Myers <joseph@codesourcery.com>
35083
35084 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35085 float.
35086 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35087 * sysdeps/sparc/bits/mathdef.h: Likewise.
35088
69db4f8f
MP
350892012-01-31 Marek Polacek <polacek@redhat.com>
35090
35091 * libio/libio.h: Don't define _PARAMS.
35092 * locale/programs/config.h: Don't define PARAMS.
35093 * stdlib/strtol_l.c: Likewise.
35094 (__strtol_l): Remove PARAMS from the prototype.
35095
41b81892
UD
350962012-01-31 Ulrich Drepper <drepper@gmail.com>
35097
3b49edc0
UD
35098 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35099 names. Just use the correct names. Remove unnecessary wrapper
35100 functions.
35101 * malloc/arena.c: Likewise.
35102 * malloc/hooks.c: Likewise.
35103
41b81892
UD
35104 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35105 ARENA_TEST says not to. Simplify test for creation of a new arena.
35106 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35107
27a25b6e
UD
351082012-01-30 Ulrich Drepper <drepper@gmail.com>
35109
35110 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35111 into tail calls.
35112 (update_get_addr): New function.
35113 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35114 GET_ADDR_MODULE parameter.
35115
c8a89e7d
JM
351162012-01-30 Joseph Myers <joseph@codesourcery.com>
35117
35118 * crypt/cert.c: Remove __STDC__ conditionals.
35119 * crypt/crypt-entry.c: Likewise.
35120 * crypt/crypt_util.c: Likewise.
35121 * libio/filedoalloc.c: Likewise.
35122 * libio/fileops.c: Likewise.
35123 * libio/genops.c: Likewise.
35124 * libio/iofclose.c: Likewise.
35125 * libio/iofdopen.c: Likewise.
35126 * libio/iofopen.c: Likewise.
35127 * libio/iofopen64.c: Likewise.
35128 * libio/iogetdelim.c: Likewise.
35129 * libio/iopopen.c: Likewise.
35130 * libio/obprintf.c: Likewise.
35131 * libio/oldfileops.c: Likewise.
35132 * libio/oldiofclose.c: Likewise.
35133 * libio/oldiofdopen.c: Likewise.
35134 * libio/oldiofopen.c: Likewise.
35135 * libio/oldiopopen.c: Likewise.
35136 * libio/wfiledoalloc.c: Likewise.
35137 * libio/wgenops.c: Likewise.
35138 * locale/programs/xmalloc.c: Likewise.
35139 * misc/syslog.c: Likewise.
35140 * stdio-common/xbug.c: Likewise.
35141 * string/memchr.c: Likewise.
35142 * string/memcmp.c: Likewise.
35143 * string/memrchr.c: Likewise.
35144 * string/rawmemchr.c: Likewise.
35145 * sysdeps/posix/getcwd.c: Likewise.
35146 * time/strftime_l.c: Likewise.
35147
3b100462
JM
351482012-01-30 Joseph Myers <joseph@codesourcery.com>
35149
35150 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35151 * config.make.in (config-cflags-sse2avx): Define.
35152 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35153 Fix typo.
35154
607998af
CM
351552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35156
35157 * scripts/config.guess: Update from upstream config git repository.
35158 * scripts/config.sub: Likewise.
35159
3601428f
CM
351602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35161
3ac8b282
CM
35162 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35163 (EM_NUM): Update.
35164 (R_TILEPRO_*, R_TILEGX_*): New macros.
35165
e034841e
CM
35166 * scripts/firstversions.awk: Fix bug in version range handling.
35167
540d7568
CM
35168 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35169
3601428f
CM
35170 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35171
463de862
CM
35172 * include/sys/epoll.h: New file.
35173 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35174 libc_hidden_def.
35175
73139a76
UD
351762012-01-28 Ulrich Drepper <drepper@gmail.com>
35177
96bc5b45
UD
35178 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35179 Avoid unnecessary __WORDSIZE == 64 test.
35180 (fmaxf): Use VEX format if possible.
35181 (fmax): Likewise.
35182 (fminf): Likewise.
35183 (fmin): Likewise.
35184
56f6f6a2
UD
35185 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35186 * math/math_private.h: Remove libc_fegetround* and
35187 libc_fesetround*.
35188 * sysdeps/i386/configure.in: Check for -msse2avx.
35189 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35190 also if SSE2AVX is defined.
35191 Remove libc_fegetround* and libc_fesetround*.
35192 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35193 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35194 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35195 of HAS_YMM_USABLE.
35196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35197 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35199 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35201
73139a76
UD
35202 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35203
d73f93a4
AZ
352042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35205
35206 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35207 size is not set.
35208 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35209
6ee65ed6
UD
352102012-01-27 Ulrich Drepper <drepper@gmail.com>
35211
35212 [BZ #13618]
35213 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35214 relocation.
35215 * Makeconfig (libm): Define.
35216 * elf/Makefile: Add rules to build and run tst-relsort1.
35217 * elf/tst-relsort1.c: New file.
35218 * elf/tst-relsort1mod1.c: New file.
35219 * elf/tst-relsort1mod2.c: New file.
35220
8db21882
JM
352212012-01-27 Joseph Myers <joseph@codesourcery.com>
35222
35223 * math/s_ldexp.c: Remove __STDC__ conditionals.
35224 * math/s_ldexpf.c: Likewise.
35225 * math/s_ldexpl.c: Likewise.
35226 * math/s_nextafter.c: Likewise.
35227 * math/s_nexttowardf.c: Likewise.
35228 * math/s_significand.c: Likewise.
35229 * math/s_significandf.c: Likewise.
35230 * math/s_significandl.c: Likewise.
35231 * math/w_jnl.c: Likewise.
35232 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35233 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35234 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35235 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35236 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35239 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35240 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35241 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35242 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35244 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35245 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35246 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35248 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35249 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35253 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35254 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35255 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35256 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35257 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35258 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35259 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35260 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35261 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35262 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35263 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35264 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35265 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35266 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35267 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35268 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35269 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35270 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35271 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35272 * sysdeps/ieee754/k_standard.c: Likewise.
35273 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35275 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35277 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35279 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35284 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35286 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35287 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35289 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35290 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35291 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35292 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35295 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35296 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35297 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35298 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35302 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35303 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35304 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35305 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35306 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35308 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35309 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35310 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35311 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35312 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35313 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35315 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35316 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35318 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35321 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35322 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35323 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35326 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35328 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35329 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35330 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35331 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35332 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35333 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35334 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35335 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35336 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35337 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35338 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35339 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35340 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35341 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35342 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35343 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35348 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35349 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35350 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35352 * sysdeps/ieee754/s_matherr.c: Likewise.
35353 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35354 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35355 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35357
965a54a4
JM
353582012-01-26 Joseph Myers <joseph@codesourcery.com>
35359
35360 * crypt/md5.h: Remove __STDC__ conditionals.
35361 * libio/libioP.h: Likewise.
35362 * locale/programs/config.h: Likewise.
35363 * sysdeps/generic/sysdep.h: Likewise.
35364 * sysdeps/i386/asm-syntax.h: Likewise.
35365 * sysdeps/s390/asm-syntax.h: Likewise.
35366 * sysdeps/unix/sysdep.h: Likewise.
35367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35369
7071ad79
JM
353702012-01-26 Joseph Myers <joseph@codesourcery.com>
35371
35372 * libio/libio.h: Remove __STDC__ conditionals.
35373 * malloc/obstack.h: Likewise.
35374 * math/complex.h: Likewise.
35375 * math/math.h: Likewise.
35376 * sysdeps/generic/_G_config.h: Likewise.
35377 * sysdeps/gnu/_G_config.h: Likewise.
35378 * sysdeps/mach/hurd/_G_config.h: Likewise.
35379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35380 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35381 * sysdeps/sparc/bits/mathdef.h: Likewise.
35382
afc5ed09
UD
353832012-01-26 Ulrich Drepper <drepper@gmail.com>
35384
35385 [BZ #13583]
35386 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35387 Clean up HAS_* macros.
afc5ed09 35388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35389 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35390 possible.
35391 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35392 HAS_AVX.
35393 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35394 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35395 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35396 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35397 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35398
bdb6de1d
JM
353992012-01-25 Joseph Myers <joseph@codesourcery.com>
35400
35401 * elf/tst-unique3.cc (gets): Remove declaration.
35402 * elf/tst-unique3lib.cc (gets): Likewise.
35403 * elf/tst-unique3lib2.cc (gets): Likewise.
35404 * elf/tst-unique4.cc (gets): Likewise.
35405
b15549e6
UD
354062012-01-24 Ulrich Drepper <drepper@gmail.com>
35407
35408 * include/stdio.h: Add C++ protection. Add gets declarations and
35409 definitions.
35410 * debug/tst-chk1.c: Don't declare gets here.
35411 * stdio-common/tst-gets.c: Likewise.
35412
a037381f
JM
354132012-01-24 Joseph Myers <joseph@codesourcery.com>
35414
35415 * posix/glob: Remove directory.
35416
f1d4aa75
JM
354172012-01-24 Joseph Myers <joseph@codesourcery.com>
35418
35419 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35420
81c0c964
PT
354212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35422
35423 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35424 of the non-standard EPFNOSUPPORT.
35425
0ea698ae
ST
354262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35427
35428 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35429 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35430 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35431
d220b117
UD
354322012-01-21 Ulrich Drepper <drepper@gmail.com>
35433
35434 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35435
3e1aa84e
UD
354362012-01-20 Ulrich Drepper <drepper@gmail.com>
35437
35438 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35439 transient errors.
35440 * nscd/grpcache.c (cache_addgr): Likewise.
35441 * nscd/hstcache.c (cache_addhst): Likewise.
35442 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35443 * nscd/pwdcache.c (cache_addpw): Likewise.
35444 * nscd/servicescache.c (cache_addserv): Likewise.
35445
400aa020
UD
354462012-01-16 Ulrich Drepper <drepper@gmail.com>
35447
d77e7869
UD
35448 * malloc/malloc.c: Various cleanups.
35449 * malloc/hooks.c: Likewise.
35450
400aa020
UD
35451 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35452 * stdlib/bug-fmtmsg1.c: New file.
35453
35454 * stdlib/fmtmsg.c (init): Add missing unlock.
35455 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35456
e0a309cf
MP
354572012-01-12 Marek Polacek <polacek@redhat.com>
35458
35459 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35460 and _GNU_SOURCE.
35461
929d11c7
WS
354622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35463
35464 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35465 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35466 macro to ensure uniqueness of label name.
35467 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35468 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35469
41d0e869
UD
354702012-01-11 Ulrich Drepper <drepper@gmail.com>
35471
0cc5ed3b
UD
35472 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35473
41d0e869
UD
35474 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35475 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35476 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35478
a47a831a
UD
354792012-01-10 Ulrich Drepper <drepper@gmail.com>
35480
daa891c0
UD
35481 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35482
35483 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35484 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35485 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35486
e58ef0f2
UD
35487 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35488
a47a831a 35489 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35490 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35491 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35493
35494 * math/bits/math-finite.h: Add ldexp support.
35495
a0bfc9c7
MP
354962012-01-10 Marek Polacek <polacek@redhat.com>
35497
35498 * locale/programs/localedef.h (show_archive_content): Add noreturn
35499 attribute.
35500
d6e97a1d
UD
355012012-01-09 Ulrich Drepper <drepper@gmail.com>
35502
35503 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35504
d5835c26
UD
355052012-01-08 Ulrich Drepper <drepper@gmail.com>
35506
e5f484c6
UD
35507 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35508
d5835c26
UD
35509 * io/Makefile (headers): Add bits/poll2.h.
35510
d1f741e9
WS
355112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35512
35513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35514 typo #include statement.
35515
ec09c1c4
UD
355162012-01-08 Ulrich Drepper <drepper@gmail.com>
35517
35518 * include/sys/cdefs.h: Define __attribute_alloc_size.
35519 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35520 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35521 * elf/pldd.c: Likewise.
35522 * iconv/iconv_charmap.c: Likewise.
35523 * iconv/iconvconfig.c: Likewise.
35524 * iconv/strtab.c: Likewise.
35525 * locale/programs/locale.c: Likewise.
35526 * locale/programs/localedef.h: Likewise.
35527 * locale/programs/simple-hash.c: Likewise.
35528 * nscd/nscd.h: Likewise.
35529 * nss/makedb.c: Likewise.
35530 * sysdeps/generic/ldconfig.h: Likewise.
35531 * locale/programs/localedef.c: Remove xmalloc prototype.
35532 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35533
20b38e03
PP
355342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35535
35536 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35537 appropriate.
35538
a0da5fe1
UD
355392012-01-08 Ulrich Drepper <drepper@gmail.com>
35540
1d5a644a 35541 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35542 * math/tst-CMPLX.c: New file.
1d5a644a 35543
8784a6db
UD
35544 * math/complex.h (CMPLXL): Fix typo.
35545
d9a216c0
UD
35546 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35547 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35548 GLIBC_2.16.
35549 * debug/tst-chk1.c: Add poll and ppoll tests.
35550 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35551 * include/sys/poll.h: Add hidden proto for ppoll.
35552 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35553 * sysdeps/mach/hurd/ppoll.c: Likewise.
35554 * io/ppoll.c: Likewise.
35555 * debug/poll_chk.c: New file.
35556 * debug/ppoll_chk.c: New file.
35557 * include/bits/poll2.h: New file.
35558 * io/bits/poll2.h: New file.
35559
ac097f5c
UD
35560 [BZ #1350]
35561 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35562
2119dcfa
UD
35563 * configure.in: static is always set to yes. Remove.
35564 * config.make.in: Don't set build-static.
35565 * Makeconfig: Remove use of build-static.
35566 * dlfcn/Makefile: Likewise.
35567 * elf/Makefile: Likewise.
35568 * math/Makefile: Likewise.
35569 * misc/Makefile: Likewise.
35570 * nptl/Makefile: Likewise.
35571 * sysdeps/mach/hurd/Makefile: Likewise.
35572
121766a9
UD
35573 * configure.in: PWD_P is not used anymore.
35574 * config.make.in: Remove PWD_P entry.
35575
51a1d39c 35576 * configure.in: Remove last remnants of RANLIB.
8720d066 35577 No need to check for signed size_t anymore.
215f4bdc
UD
35578 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35579 and IA-64.
3857022a 35580 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35581 * aclocal.m4: Likewise.
35582
d3ed7225
UD
35583 * wcsmbs/mbrtoc16.c: Implement using towc function.
35584 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35585 * wcsmbs/wcsmbsload.c: Likewise.
35586 * iconv/gconv_simple.c: Likewise.
35587 * iconv/gconv_int.h: Likewise.
35588 * iconv/gconv_builtin.h: Likewise.
35589 * iconv/iconv_prog.c: Remove CHAR16 handling.
35590
35591 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35592
35593 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35594
a0da5fe1
UD
35595 * configure.in: Remove --with-elf and --enable-bounded options.
35596 Dont set base_machine for ia64. More non-ELF conditions removed.
35597 Remove testing and setting of leading underscore information.
35598 * config.make.in (build-bounded): Set to no.
35599 * config.h.in: Remove NO_UNDERSCORES entry.
35600 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35601 them.
35602 * csu/start.c: Remove !NO_UNDERSCORE code.
35603 * locale/localeinfo.h: Likewise.
35604 * sysdeps/generic/machine-gmon.h: Likewise.
35605 * sysdeps/generic/sysdep.h: Likewise.
35606 * sysdeps/i386/sysdep.h: Likewise.
35607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35608 * sysdeps/mach/sysdep.h: Likewise.
35609 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35611 * sysdeps/sh/sysdep.h: Likewise.
35612 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35613 * sysdeps/unix/i386/sysdep.S: Likewise.
35614 * sysdeps/unix/sparc/start.c: Likewise.
35615 * sysdeps/unix/sparc/sysdep.S: Likewise.
35616 * sysdeps/unix/sparc/sysdep.h: Likewise.
35617 * sysdeps/unix/start.c: Likewise.
35618 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35619 * sysdeps/x86_64/sysdep.h: Likewise.
35620
df78418a
UD
356212012-01-07 Ulrich Drepper <drepper@gmail.com>
35622
a784e502
UD
35623 [BZ #13553]
35624 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35625 for non-gcc.
35626 * argp/argp-fmtstream.h: Use const instead __const.
35627 * argp/argp.h: Likewise.
35628 * assert/assert.h: Likewise.
35629 * bits/fenv.h: Likewise.
35630 * bits/sched.h: Likewise.
35631 * bits/sigset.h: Likewise.
35632 * bits/sigthread.h: Likewise.
35633 * catgets/nl_types.h: Likewise.
35634 * conform/data/pthread.h-data: Likewise.
35635 * crypt/crypt-private.h: Likewise.
35636 * crypt/crypt.h: Likewise.
35637 * crypt/crypt_util.c: Likewise.
35638 * ctype/ctype.h: Likewise.
35639 * debug/execinfo.h: Likewise.
35640 * debug/mbsnrtowcs_chk.c: Likewise.
35641 * debug/mbsrtowcs_chk.c: Likewise.
35642 * debug/wcsnrtombs_chk.c: Likewise.
35643 * debug/wcsrtombs_chk.c: Likewise.
35644 * debug/wcstombs_chk.c: Likewise.
35645 * dirent/dirent.h: Likewise.
35646 * dlfcn/dlfcn.h: Likewise.
35647 * elf/neededtest4.c: Likewise.
35648 * grp/grp.h: Likewise.
35649 * gshadow/gshadow.h: Likewise.
35650 * iconv/gconv.h: Likewise.
35651 * iconv/gconv_int.h: Likewise.
35652 * iconv/gconv_simple.c: Likewise.
35653 * iconv/iconv.h: Likewise.
35654 * iconv/loop.c: Likewise.
35655 * iconv/skeleton.c: Likewise.
35656 * include/aio.h: Likewise.
35657 * include/aliases.h: Likewise.
35658 * include/argz.h: Likewise.
35659 * include/arpa/inet.h: Likewise.
35660 * include/assert.h: Likewise.
35661 * include/dirent.h: Likewise.
35662 * include/dlfcn.h: Likewise.
35663 * include/execinfo.h: Likewise.
35664 * include/fcntl.h: Likewise.
35665 * include/fenv.h: Likewise.
35666 * include/glob.h: Likewise.
35667 * include/grp.h: Likewise.
35668 * include/libintl.h: Likewise.
35669 * include/mntent.h: Likewise.
35670 * include/netdb.h: Likewise.
35671 * include/pwd.h: Likewise.
35672 * include/rpc/netdb.h: Likewise.
35673 * include/sched.h: Likewise.
35674 * include/search.h: Likewise.
35675 * include/shadow.h: Likewise.
35676 * include/signal.h: Likewise.
35677 * include/stdio.h: Likewise.
35678 * include/stdlib.h: Likewise.
35679 * include/string.h: Likewise.
35680 * include/sys/socket.h: Likewise.
35681 * include/sys/stat.h: Likewise.
35682 * include/sys/statfs.h: Likewise.
35683 * include/sys/statvfs.h: Likewise.
35684 * include/sys/syslog.h: Likewise.
35685 * include/sys/time.h: Likewise.
35686 * include/sys/uio.h: Likewise.
35687 * include/time.h: Likewise.
35688 * include/unistd.h: Likewise.
35689 * include/utmp.h: Likewise.
35690 * include/wchar.h: Likewise.
35691 * include/wctype.h: Likewise.
35692 * inet/aliases.h: Likewise.
35693 * inet/arpa/inet.h: Likewise.
35694 * inet/netinet/ether.h: Likewise.
35695 * inet/netinet/in.h: Likewise.
35696 * intl/libintl.h: Likewise.
35697 * io/bits/fcntl2.h: Likewise.
35698 * io/fcntl.h: Likewise.
35699 * io/ftw.h: Likewise.
35700 * io/sys/poll.h: Likewise.
35701 * io/sys/stat.h: Likewise.
35702 * io/sys/statfs.h: Likewise.
35703 * io/sys/statvfs.h: Likewise.
35704 * io/utime.h: Likewise.
35705 * libio/bits/stdio.h: Likewise.
35706 * libio/bits/stdio2.h: Likewise.
35707 * libio/libio.h: Likewise.
35708 * libio/libioP.h: Likewise.
35709 * libio/stdio.h: Likewise.
35710 * locale/lc-ctype.c: Likewise.
35711 * locale/locale.h: Likewise.
35712 * login/utmp.h: Likewise.
35713 * malloc/arena.c: Likewise.
35714 * malloc/malloc.c: Likewise.
35715 * malloc/malloc.h: Likewise.
35716 * malloc/mcheck.c: Likewise.
35717 * malloc/mtrace.c: Likewise.
35718 * math/bits/mathcalls.h: Likewise.
35719 * math/fenv.h: Likewise.
35720 * math/math_private.h: Likewise.
35721 * misc/bits/error.h: Likewise.
35722 * misc/bits/syslog.h: Likewise.
35723 * misc/err.h: Likewise.
35724 * misc/error.h: Likewise.
35725 * misc/fstab.h: Likewise.
35726 * misc/mntent.h: Likewise.
35727 * misc/regexp.h: Likewise.
35728 * misc/search.h: Likewise.
35729 * misc/sgtty.h: Likewise.
35730 * misc/sys/mman.h: Likewise.
35731 * misc/sys/syslog.h: Likewise.
35732 * misc/sys/uio.h: Likewise.
35733 * misc/sys/xattr.h: Likewise.
35734 * misc/ttyent.h: Likewise.
35735 * nis/rpcsvc/ypclnt.h: Likewise.
35736 * nss/nss.h: Likewise.
35737 * posix/bits/unistd.h: Likewise.
35738 * posix/fnmatch.h: Likewise.
35739 * posix/glob.h: Likewise.
35740 * posix/sched.h: Likewise.
35741 * posix/spawn.h: Likewise.
35742 * posix/sys/wait.h: Likewise.
35743 * posix/unistd.h: Likewise.
35744 * posix/wordexp.h: Likewise.
35745 * pwd/pwd.h: Likewise.
35746 * resolv/netdb.h: Likewise.
35747 * resource/sys/resource.h: Likewise.
35748 * rt/aio.h: Likewise.
35749 * rt/bits/mqueue2.h: Likewise.
35750 * rt/mqueue.h: Likewise.
35751 * shadow/shadow.h: Likewise.
35752 * signal/signal.h: Likewise.
35753 * socket/send.c: Likewise.
35754 * socket/sendto.c: Likewise.
35755 * socket/sys/socket.h: Likewise.
35756 * stdio-common/printf.h: Likewise.
35757 * stdlib/bits/stdlib.h: Likewise.
35758 * stdlib/fmtmsg.h: Likewise.
35759 * stdlib/monetary.h: Likewise.
35760 * stdlib/stdlib.h: Likewise.
35761 * stdlib/ucontext.h: Likewise.
35762 * streams/stropts.h: Likewise.
35763 * string/argz.h: Likewise.
35764 * string/bits/string2.h: Likewise.
35765 * string/string.h: Likewise.
35766 * string/strings.h: Likewise.
35767 * sunrpc/rpc/auth.h: Likewise.
35768 * sunrpc/rpc/auth_des.h: Likewise.
35769 * sunrpc/rpc/clnt.h: Likewise.
35770 * sunrpc/rpc/netdb.h: Likewise.
35771 * sunrpc/rpc/pmap_clnt.h: Likewise.
35772 * sunrpc/rpc/xdr.h: Likewise.
35773 * sysdeps/generic/inttypes.h: Likewise.
35774 * sysdeps/generic/net/if.h: Likewise.
35775 * sysdeps/generic/sys/swap.h: Likewise.
35776 * sysdeps/gnu/net/if.h: Likewise.
35777 * sysdeps/gnu/utmpx.h: Likewise.
35778 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35779 * sysdeps/i386/i486/bits/string.h: Likewise.
35780 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35781 * sysdeps/s390/bits/string.h: Likewise.
35782 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35783 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35784 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35785 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35786 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35787 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35788 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35789 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35790 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35791 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35792 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35793 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35794 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35795 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35796 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35797 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35798 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35800 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35801 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35802 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35803 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35804 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35805 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35806 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35807 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35808 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35809 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35810 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35811 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35812 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35813 * sysvipc/sys/ipc.h: Likewise.
35814 * sysvipc/sys/msg.h: Likewise.
35815 * sysvipc/sys/sem.h: Likewise.
35816 * sysvipc/sys/shm.h: Likewise.
35817 * termios/termios.h: Likewise.
35818 * time/sys/time.h: Likewise.
35819 * time/time.h: Likewise.
35820 * wcsmbs/bits/wchar2.h: Likewise.
35821 * wcsmbs/uchar.h: Likewise.
35822 * wcsmbs/wchar.h: Likewise.
35823 * wctype/wctype.h: Likewise.
35824
0269750c
UD
35825 [BZ #13551]
35826 * Makeconfig: Remove all but ELF support including AIX support.
35827 * Makerules: Likewise.
35828 * config.h.in: Likewise.
35829 * config.make.in: Likewise.
35830 * configure: Likewise.
35831 * configure.in: Likewise.
35832 * csu/Makefile: Likewise.
35833 * csu/version.c: Likewise.
35834 * debug/Makefile: Likewise.
35835 * dlfcn/Makefile: Likewise.
35836 * elf/Makefile: Likewise.
35837 * extra-lib.mk: Likewise.
35838 * iconv/Makefile: Likewise.
35839 * include/libc-symbols.h: Likewise.
35840 * include/shlib-compat.h: Likewise.
35841 * resolv/Makefile: Likewise.
35842 * resolv/res_libc.c: Likewise.
35843 * rt/Makefile: Likewise.
35844 * sysdeps/i386/asm-syntax.h: Likewise.
35845 * sysdeps/i386/sysdep.h: Likewise.
35846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35847 * sysdeps/mach/sysdep.h: Likewise.
35848 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35849 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35850 * sysdeps/s390/asm-syntax.h: Likewise.
35851 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35853 * sysdeps/sh/sysdep.h: Likewise.
35854 * sysdeps/unix/sparc/sysdep.h: Likewise.
35855 * sysdeps/wordsize-32/divdi3.c: Likewise.
35856 * sysdeps/x86_64/sysdep.h: Likewise.
35857
00bbd29b
UD
35858 * argp/Versions: Remove _argp_unlock_xxx.
35859
35860 [BZ #13559]
35861 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35862 * abilist/libBrokenLocale.abilist: Likewise.
35863 * abilist/libanl.abilist: Likewise.
35864 * abilist/libc.abilist: Likewise.
35865 * abilist/libcrypt.abilist: Likewise.
35866 * abilist/libdl.abilist: Likewise.
35867 * abilist/libm.abilist: Likewise.
35868 * abilist/libnsl.abilist: Likewise.
35869 * abilist/libpthread.abilist: Likewise.
35870 * abilist/libresolv.abilist: Likewise.
35871 * abilist/librt.abilist: Likewise.
35872 * abilist/libthread_db.abilist: Likewise.
35873 * abilist/libutil.abilist: Likewise.
35874 * abilist/libnss_db.abilist: New file.
35875
35876 * scripts/abilist.awk: Add support for indirect functions.
35877
a2693a0e
UD
35878 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35879
3f05895f
UD
35880 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35881
ecb6fb48
UD
35882 * shlib-versions: Remove entries for ports architectures.
35883
664f8cb9
UD
35884 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35885 files in ports.
35886 * elf/stackguard-macros.h: Remove support for IA-64.
35887 * elf/tst-auditmod1.c: Likewise.
35888 * sysdeps/generic/ldsodefs.h: Likewise.
35889
7ae81d88
UD
35890 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35891 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35892 configure files.
35893
bdeba135
UD
35894 [BZ #13552]
35895 * configure.in: Remove --enable-omitfp support.
35896 * FAQ.in: Adjust.
35897 * config.make.in: Likewise.
35898 * Makeconfig: Likewise.
35899 * manual/install.texi: Likewise.
35900
d75a0a62
UD
35901 In case anyone cares, the IA-64 architecture could move to ports.
35902 * sysdeps/ia64/*: Removed.
35903 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35904 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35905
dcc9756b
UD
35906 [BZ #13555]
35907 * configure.in: Remove entries for unsupported architectures.
35908
d3761ebc 35909 [BZ #13533]
9954432e
UD
35910 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35911 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35912 routines.
35913 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35914 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35915 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35916 fall back to using wcrtomb.
35917 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35918 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35919 renaming.
35920 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35921 * wcsmbs/tst-c16c32-1.c: New file.
35922
35923 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35924 local variable.
35925
c3a87236
UD
35926 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35927
28926a1b
UD
35928 * elf/tst-unique3.cc: Add explicit declaration of gets.
35929 * elf/tst-unique3lib.cc: Likewise.
35930 * elf/tst-unique3lib2.cc: Likewise.
35931 * elf/tst-unique4.cc: Likewise.
35932
df78418a
UD
35933 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35934
8ecd6b2a
JM
359352012-01-06 Joseph Myers <joseph@codesourcery.com>
35936
35937 [BZ #13566]
35938 * assert/assert.h (static_assert): Don't define for C++.
35939 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35940 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35941
9f115170
UD
359422012-01-03 Ulrich Drepper <drepper@gmail.com>
35943
5e0d0300
UD
35944 * iconv/loop.c (single loop): Fix assertion in storing of
35945 remaining bytes.
35946
9f115170
UD
35947 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35948
81fb02b0
UD
359492012-01-01 Ulrich Drepper <drepper@gmail.com>
35950
35951 * posix/getconf.c: Update copyright year.
35952 * nss/getent.c: Likewise.
a316c1f6 35953 * nss/makedb.c: Likewise.
81fb02b0
UD
35954 * iconv/iconvconfig.c: Likewise.
35955 * iconv/iconv_prog.c: Likewise.
35956 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35957 * elf/pldd.c: Likewise.
35958 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35959 * catgets/gencat.c: Likewise.
35960 * csu/version.c: Likewise.
35961 * elf/ldd.bash.in: Likewise.
35962 * elf/sprof.c (print_version): Likewise.
35963 * locale/programs/locale.c: Likewise.
35964 * locale/programs/localedef.c: Likewise.
a316c1f6 35965 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35966 * nscd/nscd.c (print_version): Likewise.
35967 * debug/xtrace.sh: Likewise.
35968 * malloc/memusage.sh: Likewise.
35969 * malloc/mtrace.pl: Likewise.
35970 * debug/catchsegv.sh: Likewise.
35971
2ba92745
JJ
359722011-12-30 Jakub Jelinek <jakub@redhat.com>
35973
35974 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35975 pure attribute.
35976
dadebdae
UD
359772011-12-24 Ulrich Drepper <drepper@gmail.com>
35978
d3761ebc 35979 [BZ #13533]
db6af3eb
UD
35980 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35981 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35982 transformations.
35983 * iconv/gconv_int.h: Likewise.
35984 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35985 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35986 from libc for GLIBC_2.16.
35987 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35988 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35989 * wcsmbs/uchar.h: Really define mbstate_t.
35990 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35991 * wcsmbs/c16rtomb.c: New file.
35992 * wcsmbs/mbrtoc16.c: New file.
35993 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35994 for C/POSIX locale.
35995 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35996 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35997
dadebdae
UD
35998 * wcsmbs/wchar.h: Add missing __restrict.
35999
67371b56
UD
360002011-12-23 Ulrich Drepper <drepper@gmail.com>
36001
74033a25
UD
36002 [BZ #13532]
36003 * time/Makefile (routines): Add timespec_get.
36004 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36005 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36006 timespec for ISO C11.
36007 * time/timespec_get.c: New file.
36008 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36009 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36010
380d7e87
UD
36011 [BZ #13531]
36012 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36013 * stdlib/stdlib.h: Declare aligned_alloc.
36014 * Versions.def: Add GLIBC_2.16 for libc.
36015 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36016
4e9e7a35
UD
36017 [BZ 13527]
36018 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36019 ISO C11.
36020
380d7e87 36021 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36022 code.
36023
03a71829
UD
36024 [BZ #13528]
36025 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36026
839e283e
UD
36027 [BZ #13529]
36028 * assert/assert.h (static_assert): Define.
36029
ce5294e2 36030 * version.h: Update for 2.16 development version.
90fa7312 36031
8d44e150 36032 [BZ #13526]
d7809905
UD
36033 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36034 _ISOC11_SOURCE.
36035
c0da14cd
UD
36036 * version.h (RELEASE): Bump for 2.15 release.
36037 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36038
530a3249
MP
36039 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36040 Patch by Marek Polacek <mpolacek@redhat.com>.
36041
67371b56
UD
36042 * bits/byteswap.h: Protect long long constants with __extension__.
36043 * sysdeps/i386/bits/byteswap.h: Likewise.
36044 * sysdeps/ia64/bits/byteswap.h: Likewise.
36045 * sysdeps/s390/bits/byteswap.h: Likewise.
36046 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36047
15db4de1
LD
360482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36049
36050 [BZ #13540]
bbe315ea
LD
36051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36052 destination buffer.
15db4de1
LD
36053 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36054
2b2596b1
MP
360552011-12-23 Marek Polacek <polacek@redhat.com>
36056
36057 * elf/dl-addr.c (determine_info): Add inline keyword.
36058 * elf/tst-auditmod4b.c (check_avx): Likewise.
36059 * elf/tst-auditmod6b.c (check_avx): Likewise.
36060 * elf/tst-auditmod6c.c (check_avx): Likewise.
36061 * elf/tst-auditmod7b.c (check_avx): Likewise.
36062
70c6c246
UD
360632011-12-23 Ulrich Drepper <drepper@gmail.com>
36064
36065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36066 !__SSE_MATH__.
36067
c044cf14
LD
360682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36069
15db4de1 36070 [BZ #13540]
c044cf14
LD
36071 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36072 processing for last bytes.
36073
6b13d9d9
BH
360742011-08-06 Bruno Haible <bruno@clisp.org>
36075
d455f537
BH
36076 [BZ #13061]
36077 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36078 U+0385, not to U+1FEE.
36079
6b13d9d9
BH
36080 [BZ #13062]
36081 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36082 entry for U+00A5 U+0301.
36083
db910efd
UD
360842011-12-22 Ulrich Drepper <drepper@gmail.com>
36085
27deeafc
UD
36086 [BZ #13166]
36087 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36088 buffer for the output is too small.
36089
aed9d171
UD
36090 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36091 optimization.
36092
db910efd
UD
36093 [BZ #13185]
36094 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36095 SSE flags if possible.
36096
2bd779ae
LD
360972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36098
e7f9dac3 36099 [BZ #13540]
2bd779ae
LD
36100 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36101 processing for last bytes.
36102
154bfc16
JM
361032011-12-22 Joseph Myers <joseph@codesourcery.com>
36104
36105 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36106 (syscall-list-default-options, syscall-list-default-condition)
36107 (syscall-list-includes): Define.
36108 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36109 list of ABIs and options and #if conditions for each ABI. Do not
36110 handle common syscalls between ABIs specially.
36111 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36112 Remove.
36113 (syscall-list-variants, syscall-list-32bit-options)
36114 (syscall-list-32bit-condition, syscall-list-64bit-options)
36115 (syscall-list-64bit-condition): Define.
36116 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36117 (syscall-list-variants, syscall-list-32bit-options)
36118 (syscall-list-32bit-condition, syscall-list-64bit-options)
36119 (syscall-list-64bit-condition): Define.
36120 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36121 Remove.
36122 (syscall-list-variants, syscall-list-32bit-options)
36123 (syscall-list-32bit-condition, syscall-list-64bit-options)
36124 (syscall-list-64bit-condition): Define.
36125 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36126 Remove.
36127 (syscall-list-variants, syscall-list-32bit-options)
36128 (syscall-list-32bit-condition, syscall-list-64bit-options)
36129 (syscall-list-64bit-condition): Define.
36130
21eaf3a5
UD
361312011-12-22 Ulrich Drepper <drepper@gmail.com>
36132
16c6f992
UD
36133 * locale/iso-639.def: Add brx entry.
36134
41043168
UD
36135 [BZ #13328]
36136 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36137 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36138
21eaf3a5
UD
36139 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36140 __feraiseexcept_renamed.
36141
e3a851a2
UD
361422011-12-21 Ulrich Drepper <drepper@gmail.com>
36143
4920765e
UD
36144 [BZ #13538]
36145 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36146 EPOLLET with unsigned values.
36147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36148 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36149
e3a851a2
UD
36150 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36151 to large cancellation.
36152 * math/s_cacoshf.c: Likewise.
36153 * math/s_cacoshl.c: Likewise.
36154
b27e24b8
RK
361552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36156
36157 [BZ #13305]
aebefeee 36158 [BZ #12786]
b27e24b8
RK
36159 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36160 * math/s_cacoshf.c: Likewise.
36161 * math/s_cacoshl.c: Likewise.
36162
ee190f67
UD
361632011-12-21 Ulrich Drepper <drepper@gmail.com>
36164
36165 [BZ #13439]
36166 * iconv/gconv.h: Define __GCONV_SWAP.
36167 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36168 * iconvdata/utf-16.c: Likewise.
36169 * iconvdata/utf-32.c: Likewise.
36170
707f25df
AS
361712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36172
36173 [BZ #13524]
36174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36175 numerator after shifting it by one limb.
36176
d2daaa1e
RÁE
361772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36178
36179 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36180 under [__USE_EXTERN_INLINES].
36181
a4647e72
UD
361822011-12-17 Ulrich Drepper <drepper@gmail.com>
36183
36184 [BZ #13446]
36185 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36186
f0b264f1
AZ
361872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36188
36189 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36190 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36191 optimized code.
36192 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36193 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36194 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36195 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36196 for strncasecmp/strncasecmp_l compilation.
36197 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36198 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36199
8ef4f244
MP
362002011-12-08 Marek Polacek <mpolacek@redhat.com>
36201
36202 [BZ #13484]
36203 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36204 of __asm__.
36205
97ac2654
UD
362062011-12-17 Ulrich Drepper <drepper@gmail.com>
36207
36208 [BZ #13506]
36209 * time/tzfile.c (__tzfile_read): Check values from file header.
36210
91d2a845
WS
362112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36212
36213 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36214 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36215 * powerpc/powerpc32/dl-start.S: Likewise.
36216 * powerpc/powerpc32/elf/start.S: Likewise.
36217 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36218 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36219 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36220 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36221 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36222 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36223 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36224 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36225 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36226 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36227 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36228 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36229 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36230 * powerpc/powerpc32/memset.S: Likewise.
36231 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36232 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36233 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36234 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36235 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36236 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36237 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36238 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36239 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36240 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36241 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36242 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36243 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36244
a1267ba1
AZ
362452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36246
36247 * math/libm-test.inc: Added more nearbyint tests.
36248 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36249 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36251 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36252
ad8ac1bd
RL
362532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36254
36255 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36256 FD_CLOEXEC.
36257
1d3e4b61
UD
362582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36259
36260 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36261 Add wcscpy-ssse3 wcscpy-c.
36262 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36263 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36264 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36265 * sysdeps/x86_64/wcschr.S: New file.
36266 * sysdeps/x86_64/wcsrchr.S: New file.
36267 * string/test-strcmp.c: Remove checking of wcscmp function for
36268 wrong alignments.
36269 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36270 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36271 wcsrchr-sse2 wcsrchr-c.
36272 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36273 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36274 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36275 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36276 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36277 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36278 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36279 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36280 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36281 * wcsmbc/wcschr.c (WCSCHR): New macro.
36282
5b330a2d
UD
362832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36284
36285 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36286 * wcsmbs/test-wcsrchr.c: New file.
36287 * string/test-strrchr.c: Add wcsrchr support.
36288 (WIDE): New macro.
36289 * wcsmbs/test-wcscpy.c: New file.
36290 * string/test-strcpy.c: Add wcscpy support.
36291 (WIDE): New macro.
26428b7c 36292
f039c043
UD
362932011-12-10 Ulrich Drepper <drepper@gmail.com>
36294
36295 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36296 the inner loop.
36297
850fb039
AS
362982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36299
36300 [BZ #13472]
36301 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36302
4efbd5cb
UD
363032011-12-04 Ulrich Drepper <drepper@gmail.com>
36304
52ff5dd0 36305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36306 Minor optimizations.
52ff5dd0 36307
4efbd5cb
UD
36308 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36309 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36310 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36311
8a426e12
UD
363122011-12-03 Ulrich Drepper <drepper@gmail.com>
36313
aff2453d
UD
36314 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36315 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36316 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36317 for gcc to avoid warnings.
36318 * inet/Makefile (tests): Add tst-checks.
36319 * inet/tst-checks.c: New file.
36320
36321 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36322 warning.
36323
36324 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36325 __wmemcmp_sse2.
36326
36327 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36328 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36329
8a426e12
UD
36330 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36331
9bea3473
UD
363322011-12-02 Ulrich Drepper <drepper@gmail.com>
36333
3a965496
UD
36334 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36335 problem.
36336
9bea3473
UD
36337 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36338
f101631b
UD
363392011-11-29 Joseph Myers <joseph@codesourcery.com>
36340
36341 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36342 conditional on GCC version.
36343 (__arch_compare_and_exchange_val_8_acq)
36344 (__arch_compare_and_exchange_val_16_acq)
36345 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36346 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36347 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36348
a98275aa
UD
363492011-12-02 Joseph Myers <joseph@codesourcery.com>
36350
36351 * sysdeps/sh/backtrace.c: New file.
36352
d4cc29a2
AS
363532011-12-02 Andreas Schwab <schwab@redhat.com>
36354
36355 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36356 parenthesis.
36357
6257af2d
AS
363582011-12-01 Andreas Schwab <schwab@redhat.com>
36359
36360 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36361 falling back to utime.
36362
b5f44c1a
AS
363632011-11-30 Andreas Schwab <schwab@redhat.com>
36364
36365 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36366 expectations for float.
36367
f3a6cc0a
AS
363682011-11-29 Andreas Schwab <schwab@redhat.com>
36369
36370 * locale/weight.h (findidx): Add parameter len.
36371 * locale/weightwc.h (findidx): Likewise.
36372 * posix/fnmatch_loop.c (FCT): Adjust caller.
36373 * posix/regcomp.c (build_equiv_class): Likewise.
36374 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36375 * posix/regexec.c (check_node_accept_bytes): Likewise.
36376 * string/strcoll_l.c (STRCOLL): Likewise.
36377 * string/strxfrm_l.c (STRXFRM): Likewise.
36378
9d65ea3a
UD
363792011-11-17 Ulrich Drepper <drepper@gmail.com>
36380
36381 * Makefile.in: Remove CVSOPT handling.
36382 * configure.in: Remove use of AC_REVISION.
36383 * iconvdata/Makefile (distribute): No need to filter out CVS.
36384 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36385 handling.
36386
5583a086
AS
363872011-11-16 Andreas Schwab <schwab@redhat.com>
36388
36389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36390 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36391 [USE_AS_STRNCASECMP_L]: Likewise.
36392 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36393 NO_TLS_DIRECT_SEG_REFS.
36394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36395 Fix argument offsets for non-PIC.
36396 [USE_AS_STRNCASECMP_L]: Likewise.
36397 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36398 NO_TLS_DIRECT_SEG_REFS.
36399
d62a8200
UD
364002011-11-15 Ulrich Drepper <drepper@gmail.com>
36401
9d65ea3a 36402 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36403 O_CLOEXEC.
36404 * locale/loadlocale.c (_nl_load_locale): Likewise.
36405
09f93bd3
AS
364062011-11-15 Andreas Schwab <schwab@redhat.com>
36407
446514f9
AS
36408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36409 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36411 (SYSCALL_GETTIME): Set errno on error.
36412
09f93bd3
AS
36413 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36414 count references to noai6ai_cached.
36415
312be3f9
UD
364162011-11-15 Ulrich Drepper <drepper@gmail.com>
36417
36418 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36419
36420 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36421 FD_CLOEXEC for /proc/self/maps.
36422
36423 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36424 FD_CLOEXEC for /proc/meminfo.
36425
36426 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36427 gai.conf.
36428
36429 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36430 FD_CLOEXEC for given file.
36431
36432 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36433
36434 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36435 FD_CLOEXEC for /etc/hosts.
36436 (_gethtent): Likewise.
36437
36438 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36439
36440 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36441 cancellation and set FD_CLOEXEC for /etc/netgroup.
36442
36443 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36444 reading /etc/publickey.
36445
36446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36447 allow cancellation when reading /etc/group.
36448
36449 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36450 cancellation.
36451 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36452
36453 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36454 when using data file.
36455
36456 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36457
36458 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36459 (write_nis_obj): Use "c" and "e" in fopen.
36460
36461 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36462
36463 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36464
36465 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36466
36467 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36468
36469 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36470 locale.alias.
36471
36472 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36473
36474 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36475
36476 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36477
36478 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36479 file parsing and set FD_CLOEXEC.
36480
82af0fa8
UD
364812011-11-14 Ulrich Drepper <drepper@gmail.com>
36482
36483 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36484
a5fb313c
AS
364852011-11-14 Andreas Schwab <schwab@redhat.com>
36486
36487 * malloc/arena.c (arena_get2): Don't call reused_arena when
36488 _int_new_arena failed.
36489
6abf3465
UD
364902011-11-14 Ulrich Drepper <drepper@gmail.com>
36491
36492 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36493 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36495 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36496 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36497 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36498 to compile strcasecmp and strncasecmp.
36499 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36500 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36501
36502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36503
76e3966e
UD
365042011-11-13 Ulrich Drepper <drepper@gmail.com>
36505
36506 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36507 locale-defines.sym to gen-as-const-headers.
36508 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36509 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36511 to compile strcasecmp and strncasecmp.
36512 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36513 strcasecmp_l and strncasecmp_l.
36514 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36515 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36516 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36517 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36518 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36519 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36520 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36521 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36522 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36523 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36524 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36525
ab26144e
UD
365262011-11-12 Ulrich Drepper <drepper@gmail.com>
36527
7edb22ef
UD
36528 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36529 result of SYSDEP_GETTIME_CPU to retval.
36530 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36531 parameter list to macro. Remove trailing semicolon. Adjust users.
36532
9694fc44
UD
36533 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36534 variable.
36535
8ad89ef8
UD
36536 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36537 mantissa words.
36538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36539
0c822ef9
UD
36540 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36541 from unused variable.
36542
874e0564
UD
36543 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36544 DWARF definitions.
36545 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36546 for assembling.
36547
3a2edc79
UD
36548 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36549 over namespaces.
36550
f3c2577f
UD
36551 * sunrpc/rpc_prot.c (rejected): Fix case value.
36552
294ce126
UD
36553 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36554 unsigned long long int to avoid warnings in shift.
36555
5e2b63c6
UD
36556 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36557 of use of trans.
36558 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36559 variable tmp.
36560
e7f4b08e
UD
36561 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36562 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36563 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36564
ab26144e
UD
36565 * nis/nis_table.c (nis_list): Use variable of correct type for
36566 result of __follow_path call.
36567
8a6d5255
AZ
365682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36569
36570 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36571 of math functions ceil, trunc, floor, round, and sqrt, when
36572 avaliable on the platform.
36573 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36574 name clash.
36575 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36576 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36577 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36578
aaddc98c
MP
365792011-10-30 Marek Polacek <mpolacek@redhat.com>
36580
36581 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36582 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36583
95b7042b
RM
365842011-11-11 Roland McGrath <roland@hack.frob.com>
36585
36586 * include/unistd.h: Fix __readlink return type.
36587 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36588
57769839
UD
365892011-11-11 Ulrich Drepper <drepper@gmail.com>
36590
36591 * stdlib/ucontext.h: Undo last change for makecontext.
36592
edc5984d
AS
365932011-11-11 Andreas Schwab <schwab@redhat.com>
36594
98591e58
AS
36595 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36596
edc5984d
AS
36597 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36598 * setjmp/setjmp.h: Mark functions as non-leaf.
36599 * setjmp/bits/setjmp2.h: Likewise.
36600 * stdlib/ucontext.h: Likewise.
36601
77cdc054
AS
366022011-11-10 Andreas Schwab <schwab@redhat.com>
36603
36604 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36605 (reused_arena): Don't check arena limit.
36606 (arena_get2): Atomically check arena limit.
36607
fe72eebd
UD
366082011-11-08 Ulrich Drepper <drepper@gmail.com>
36609
5f078c32
UD
36610 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36611 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36612
fe72eebd
UD
36613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36614 instructions.
36615
ae1bc2fa
AS
366162011-11-07 Andreas Schwab <schwab@redhat.com>
36617
7583a88d
AS
36618 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36619 handler when locking.
36620
ae1bc2fa
AS
36621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36622 Fix size of allocated buffer.
36623
10fb0bfa
AS
366242011-11-04 Andreas Schwab <schwab@redhat.com>
36625
998832a4
AS
36626 [BZ #10103]
36627 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36628 declarations for long double functions.
36629 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36630
10fb0bfa
AS
36631 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36632
3d7ba52b
AS
366332011-11-03 Andreas Schwab <schwab@redhat.com>
36634
a9ae54a1
AS
36635 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36636 installed.
36637
3d7ba52b
AS
36638 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36639 is disabled.
36640
bc8db248
ST
366412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36642
36643 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36644
45b96dd6
AS
366452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36646
647776f6
AS
36647 * include/alloca.h (stackinfo_alloca_round): Define.
36648 (extend_alloca): Use it.
36649 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36650 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36651 here.
36652
d91a8b93
AS
36653 * scripts/check-local-headers.sh: Ignore libaudit.h.
36654
45b96dd6
AS
36655 * nscd/Makefile (extra-objs): Make recursively expanded.
36656
432d41ce
UD
366572011-11-01 Ulrich Drepper <drepper@gmail.com>
36658
34372fc6
UD
36659 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36661
fadb59f8
UD
36662 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36663 * posix/tst-rfc3484-2.c: Likewise.
36664 * posix/tst-rfc3484-3.c: Likewise.
36665
78239589
UD
36666 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36667 process_vm_writev.
36668 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36669 process_vm_writev.
36670 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36671 process_vm_writev from libc using GLIBC_2.15 version.
36672
432d41ce
UD
36673 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36674
02f9c6cf
PP
366752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36676
36677 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36678 stack usage.
36679
3a2c0242
UD
366802011-10-31 Ulrich Drepper <drepper@gmail.com>
36681
f4ec4833
UD
36682 [BZ #13367]
36683 * nss/getent.c (initgroups_keys): Show error message in case no group
36684 names are given.
36685
3a2c0242
UD
36686 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36687 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36688 __bump_nl_timestamp.
36689 * nscd/connections (nscd_init): When host database is served open
36690 netlink socket and request notification about configuration changes.
36691 (main_loop_poll): Track netlink file descriptor and bump timestamp
36692 in case data becomes available.
36693 (main_loop_epoll): Likewise.
36694 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36695 (database_pers_head): Add extra_data fileds.
36696 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36697 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36698 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36699 Adjust caller.
36700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36701 in6ai data, call __free_in6ai.
36702 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36703 Add -DHAVE_NETLINK.
36704 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36705 interface information. Reuse previous data if netlink timestamp
36706 is not changed.
36707 (__bump_nl_timestamp): New function.
36708 (__free_in6ai): New function.
36709
636064eb
UD
367102011-10-30 Ulrich Drepper <drepper@gmail.com>
36711
36712 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36713 close_not_cancel_no_status here.
36714 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36715
9beb2334
UD
367162011-10-29 Ulrich Drepper <drepper@gmail.com>
36717
6ef76f3b
UD
36718 [BZ #13276]
36719 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36720 return value.
36721
0ffc4f3e 36722 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36723 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36724 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36725
cb95113e
UD
367262011-07-03 Andreas Jaeger <aj@suse.de>
36727
36728 [BZ #10709]
36729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36730 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36731 * math/libm-test.inc (sin_test): Add test case.
36732
a1b560ff
UD
367332011-10-29 Ulrich Drepper <drepper@gmail.com>
36734
c9aaface
UD
36735 [BZ #13337]
36736 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36737 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36738
d272e7f1
UD
36739 * elf/chroot_canon.c (chroot_canon): Cleanups.
36740
1bc33071
UD
36741 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36742
1760874d
TJ
36743 [BZ #13335]
36744 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36745 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36746
51d91b18
UD
36747 * string/test-strchr.c: Make usable for strchrnul testing.
36748 * string/test-strchrnul.c: New file.
36749 * string/Makefile (strop-tests): Add strchrnul.
36750
a1b560ff 36751 * po/it.po: Update from translation team.
b611fb81 36752 * po/es.po: Likewise.
a1b560ff 36753
a5b81e1f
UD
367542011-10-28 Ulrich Drepper <drepper@gmail.com>
36755
fd52bc6d
UD
36756 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36757 the three constants needed as parameters. Drop the others.
36758 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36759 __m128i_strloadu_tolower.
52e4b9eb
UD
36760 Create and initialize variable zero and use it in all the places
36761 where _mm_setzero_si128 was used.
fd52bc6d 36762
a5b81e1f
UD
36763 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36764 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36765 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36766 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36767 anymore.
36768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36769 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36770 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36771 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36772 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36773 __mpranred, __mptan.
36774 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36775 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36776 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36777 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36778 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36779 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36781 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36782 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36783
b4343346
AS
367842011-10-28 Andreas Schwab <schwab@redhat.com>
36785
0c92d8a8
AS
36786 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36787 redefine if SHARED.
36788 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36789
b4343346
AS
36790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36791 wide char related routines to wcsmbs subdir.
36792
3871f58f
AS
367932011-10-27 Andreas Schwab <schwab@redhat.com>
36794
36795 [BZ #13344]
36796 * misc/sys/cdefs.h (__THROWNL): Define.
36797 * posix/unistd.h: Use __THREADNL instead of __THREAD
36798 for memory synchronization functions.
36799
94d44d9f
RM
368002011-10-26 Roland McGrath <roland@hack.frob.com>
36801
21b64b15 36802 [BZ #13349]
94d44d9f
RM
36803 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36804 doesn't exist.
36805 * manual/stdio.texi (Obstack Streams): Node removed.
36806
f6ce9294
AS
368072011-10-26 Andreas Schwab <schwab@redhat.com>
36808
80479147
AS
36809 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36810 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36811 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36812
f6ce9294
AS
36813 * math/math_private.h (math_force_eval): Allow non-addressable
36814 arguments.
36815 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36816
618280a1
UD
368172011-10-25 Ulrich Drepper <drepper@gmail.com>
36818
e0016b11
UD
36819 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36820 file is not needed.
36821
36822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36823 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36829 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36830 Add AVX variants.
36831 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36832 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36833 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36834 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36835 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36836 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36837 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36838 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36839 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36840 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36841 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36842 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36843 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36844 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36845 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36846 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36847 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36848 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36849 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36850
36851 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36852 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36853
618280a1
UD
36854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36855 place. Use VEX encoding when compiling for AVX.
36856
37822576
AS
368572011-10-25 Andreas Schwab <schwab@redhat.com>
36858
1f1e1947
AS
36859 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36860 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36861
37822576
AS
36862 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36863
31ea014d
UD
368642011-10-25 Ulrich Drepper <drepper@gmail.com>
36865
d7826aa1 36866 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36867 useless if() expression.
d7826aa1
UD
36868 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36869 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36870 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36872 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36873 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36874 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36876 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36877 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36878 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36879 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36880 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36881 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36882 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36883 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36886 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36887
31ea014d
UD
36888 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36889
16437fec
AS
368902011-10-25 Andreas Schwab <schwab@redhat.com>
36891
36892 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36893 condition.
36894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36895
31d3cc00
UD
368962011-10-25 Ulrich Drepper <drepper@gmail.com>
36897
36898 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36899 .text section. Avoid duplicate constants.
36900 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36902 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36908 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36909 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36910 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36911 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36912 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36913 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36914 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36915 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36917 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36920 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36921 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36922 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36923 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36924 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36925 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36926 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36927 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36928 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36929 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36930 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36931 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36933 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36934 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36935 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36936 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36938 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36939 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36940 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36942 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36943 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36944 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36945
58985aa9
UD
369462011-10-24 Ulrich Drepper <drepper@gmail.com>
36947
202c9deb
UD
36948 * sysdeps/x86_64/dla.h: Move to ...
36949 * sysdeps/x86_64/fpu/dla.h: ...here.
36950 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36951 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36952
af968f62
UD
36953 * config.make.in: Add have-mfma4 entry.
36954 * configure.in: Substitute libc_cv_cc_fma4.
36955 * math/Makefile (dbl-only-routines): Add sincostab.
36956 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36957 Use __sincostab not sincos.
36958 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36959 name is a macro.
36960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36964 using __copysign.
36965 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36966 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36967 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36968 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36969 and __inv.
36970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36971 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36972 __copysign.
36973 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36974 define aliases when function name is a macro.
36975 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36976 sysdeps/ieee754/dbl-64/sincos.tbl.
36977 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36978 fma4-enabled routines.
36979 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36980 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36981 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36982 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36983 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36984 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36985 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36986 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36987 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36988 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36989 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36990 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36991 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36992 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36993 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36994 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36995 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36996 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36997 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36998 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36999 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37000 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37001 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37002 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37004 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37006 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37008 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37009
58985aa9
UD
37010 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37011 rename.
37012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37020
a201fbcf
AS
370212011-10-24 Andreas Schwab <schwab@redhat.com>
37022
37023 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37024
fc2ee42a
LD
370252011-10-23 Ulrich Drepper <drepper@gmail.com>
37026
bb3129bd
UD
37027 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37028
0275fff8
UD
37029 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37030 prediction.
37031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37032
2fa2ae85
UD
37033 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37034 Remove unused variable magic_bits.
37035 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37036
fc2ee42a
LD
37037 * string/strnlen.c: Define and use STRNLEN macro.
37038 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37039 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37041 * wcsmbs/wcslen.c: Define and use WCSLEN.
37042 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37043 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37044 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37045 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37046 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37047 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37048 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37049
ce7dd29f
LD
370502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37051
37052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37053 strnlen-sse2-no-bsf.
37054 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37056 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37057 Add strnlen support.
37058 (USE_AS_STRNLEN): New macro.
37059 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37061 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37062 * sysdeps/x86_64/wcslen.S: New file.
37063
979c70a3
MZ
370642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37065
37066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37067 XMM-moves are used for copying on small sizes.
37068
2d09f82f
LD
370692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37070
37071 * wcsmbs/Makefile (strop-tests): Add wcschr.
37072 * wcsmbs/test-wcschr.c: New file.
37073 * string/test-strchr.c: Update.
37074 Add wcschr support.
37075 (WIDE): New macro.
37076
619fccca
LD
370772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37078
2d09f82f 37079 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37080 * wcsmbs/test-wcslen.c: New file.
37081 * string/test-strlen.c: Update.
37082 Add wcslen support.
37083 (WIDE): New macro.
37084
09f699ea
UD
370852011-10-23 Ulrich Drepper <drepper@gmail.com>
37086
37087 * po/it.po: Update from translation team.
37088
95584d3b
LD
370892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37090
37091 * sysdeps/x86_64/wcscmp.S: Update.
37092 Fix wrong comparison semantics.
37093 wcscmp shall use signed comparison not unsigned.
37094 Don't use substraction to avoid overflow bug.
37095 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37096 * wcsmbc/wcscmp.c: Likewise.
37097 * string/test-strcmp.c: Likewise.
37098 Add new tests to check cases with negative values.
37099
c8b3296b
UD
371002011-10-23 Ulrich Drepper <drepper@gmail.com>
37101
37102 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37103 * sysdeps/x86_64/dla.h: ...here. New file.
37104 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37113
246ad57a
AS
371142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37115
37116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37117 __ynl_finite aliases.
37118
a1a87169
UD
371192011-10-22 Ulrich Drepper <drepper@gmail.com>
37120
0d355eb7
UD
37121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37122
a1a87169
UD
37123 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37124 define DLA_FMA.
37125 [DLA_FMA] (EMULV): Use DLA_FMA.
37126 [DLA_FMA] (MUL12): Use EMULV.
37127 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37128 that are not needed.
37129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37136
ee2aafe0
AS
371372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37138
37139 * math/s_nan.c: Undef __nan.
37140 * math/s_nanf.c: Undef __nanf.
37141 * math/s_nanl.c: Undef __nanl.
37142 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37143 "math_private.h".
37144
bc62c2fb
UD
371452011-10-22 Ulrich Drepper <drepper@gmail.com>
37146
77425c63
UD
37147 * math/s_catan.c: Add branch predictions.
37148 * math/s_catanf.c: Likewise.
37149 * math/s_catanh.c: Likewise.
37150 * math/s_catanhf.c: Likewise.
37151 * math/s_catanhl.c: Likewise.
37152 * math/s_catanl.c: Likewise.
37153 * math/s_cexp.c: Likewise.
37154 * math/s_cexpf.c: Likewise.
37155 * math/s_cexpl.c: Likewise.
37156 * math/s_clog.c: Likewise.
37157 * math/s_clog10.c: Likewise.
37158 * math/s_clog10f.c: Likewise.
37159 * math/s_clog10l.c: Likewise.
37160 * math/s_clogf.c: Likewise.
37161 * math/s_clogl.c: Likewise.
37162 * math/s_csqrt.c: Likewise.
37163 * math/s_csqrtf.c: Likewise.
37164 * math/s_csqrtl.c: Likewise.
37165 * math/s_ctanf.c: Likewise.
37166 * math/s_ctanh.c: Likewise.
37167 * math/s_ctanhf.c: Likewise.
37168 * math/s_ctanhl.c: Likewise.
37169 * math/s_ctanl.c: Likewise.
37170
bc62c2fb
UD
37171 * math/math_private.h: Define __nan, __nanf, __nanl.
37172 * math/s_cacosh.c: Include <math_private.h>.
37173 * math/s_cacoshl.c: Likewise.
37174 * math/s_casinh.c: Likewise.
37175 * math/s_casinhf.c: Likewise.
37176 * math/s_casinhl.c: Likewise.
37177 * math/s_ccos.c: Rely entire on ccosh.
37178 * math/s_ccosf.c: Rely entire on ccoshf.
37179 * math/s_ccosl.c: Rely entirely on ccoshl.
37180 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37181 Remove tests for FE_INVALID.
37182 * math/s_ccoshf.c: Likewise.
37183 * math/s_ccoshl.c: Likewise.
37184 * math/s_csin.c: Likewise.
37185 * math/s_csinf.c: Likewise.
37186 * math/s_csinh.c Likewise.
37187 * math/s_csinhf.c: Likewise.
37188 * math/s_csinhl.c: Likewise.
37189 * math/s_csinl.c: Likewise.
37190 * math/s_ctan.c: Likewise.
37191 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37192 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37193 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37194
8ec250a4
UD
371952011-10-21 Ulrich Drepper <drepper@gmail.com>
37196
c196fed8
UD
37197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37198 compilation problems.
37199
8ec250a4
UD
37200 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37201 __builtin_expect.
37202
8d4f46c6
UD
372032011-10-20 Ulrich Drepper <drepper@gmail.com>
37204
ed72b654
UD
37205 * sysdeps/i386/configure.in: Test for -mfma4 option.
37206 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37207 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37208 COMMON_CPUID_INDEX_80000001.
37209 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37210 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37211 use it if FMA3 is not supported.
37212 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37213
8d4f46c6
UD
37214 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37215 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37216
d45c60c2
AS
372172011-10-20 Andreas Schwab <schwab@redhat.com>
37218
37219 [BZ #12892]
37220 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37221 it would create a cycle with a link time dependency.
37222
d9a4d2ab
UD
372232011-10-19 Ulrich Drepper <drepper@gmail.com>
37224
855d1560
UD
37225 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37226 instruction.
37227 * string/Makefile (strop-tests): Add rawmemchr.
37228 * string/test-rawmemchr.c: New file.
37229
d9a4d2ab
UD
37230 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37232 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37233 when compiling str{,n}casecmp and when AVX is available. Hook up
37234 new optimized code in initializers.
37235
8f3b1ffe
AS
372362011-10-19 Andreas Schwab <schwab@redhat.com>
37237
37238 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37239 __feraiseexcept instead of feraiseexcept.
37240
d38f1dba
UD
372412011-10-18 Ulrich Drepper <drepper@gmail.com>
37242
d9a8d0ab
UD
37243 * math/math_private.h: Define defaults for libc_fetestexcept and
37244 libc_feupdateenv.
37245 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37246 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37247 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37248 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37249 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37250 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37251 libc_fetestexcept and libc_feupdateenv.
37252
4855e3dd
UD
37253 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37254 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37255 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37256 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37257 libc_feholdexcept_setround.
37258
581d30e3
UD
37259 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37260 Add s_nearbyint-c and s_nearbyintf-c.
37261 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37262 nearbyintf inlines.
37263 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37264 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37265 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37266 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37267
d38f1dba
UD
37268 * math/math_private.h: Define defaults for libc_fegetround,
37269 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37270 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37271 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37272 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37273 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37274 standard functions.
37275 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37276 Remove comments and hacks for old compiler versions.
37277 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37278 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37279 libc_feholdexceptl.
37280
caa6c9d8
AS
372812011-10-18 Andreas Schwab <schwab@redhat.com>
37282
37283 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37284 (__feraiseexcept_renamed): Add __NTH.
37285 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37286 namespace violations.
37287
97c066e6
UD
372882011-10-17 Ulrich Drepper <drepper@gmail.com>
37289
99ce7b04
UD
37290 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37291
1004d182
UD
37292 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37293
228a984d
UD
37294 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37295 recently added interfaces.
37296 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37297
c8553a6a
UD
37298 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37299 about macro parameter expansion.
37300
ed22dcf6
UD
37301 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37302 __NO_MATH_INLINES is defined. Cleanups.
37303
37304 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37305 and __floorf is target has SSE4.1.
37306 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37307 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37308 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37309 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37310
b171c137
UD
37311 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37312 name.
37313 (floorf): Likewise.
37314
97c066e6
UD
37315 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37316
629f62ef
AS
373172011-10-17 Andreas Schwab <schwab@redhat.com>
37318
49a43d80
AS
37319 * misc/sys/cdefs.h: Fix last change.
37320
629f62ef
AS
37321 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37322 database lookup.
37323
e453f6cd
UD
373242011-10-16 Ulrich Drepper <drepper@gmail.com>
37325
aa78043a
UD
37326 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37327
ad0f5cad
UD
37328 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37334 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37335 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37336 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37337 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37338 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37339 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37340 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37341 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37342 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37343 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37344 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37345 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37346 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37347 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37348 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37349 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37350
37351 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37352 ceil, ceilf, floor, floorf.
37353
37354 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37355 Perform IRELATIVE relocations last.
37356
e453f6cd
UD
37357 * elf/do-rel.h: Add another parameter nrelative, replacing the
37358 local variable with the same name. Change name of the function
37359 to end in Rel or Rela (uppercase).
37360 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37361 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37362 elf_dynamic_do_##reloc function.
37363
fd5bdc09
UD
373642011-10-15 Ulrich Drepper <drepper@gmail.com>
37365
79b195b5
UD
37366 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37367 is sufficient, at least on modern CPUs.
37368
d4a28569
UD
37369 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37370
b61099b5
UD
37371 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37372 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37373
bcf01e6d
UD
37374 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37375 __expl_finite.
37376 * math/bits/math-finite.h: Add entries for exp.
37377 * math/e_expl.c: Add __*_finite alias.
37378 * sysdeps/i386/fpu/e_exp.S: Likewise.
37379 * sysdeps/i386/fpu/e_expf.S: Likewise.
37380 * sysdeps/i386/fpu/e_expl.c: Likewise.
37381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37382 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37385 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37386 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37388
ba1a0d59
UD
37389 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37390 is sufficient, at least on modern CPUs.
37391
fd5bdc09
UD
37392 * ctype/ctype-info.c (__ctype_init): Define.
37393 * include/ctype.h (__ctype_init): Declare.
37394 (__ctype_b_loc): The variable is always initialized.
37395 (__ctype_toupper_loc): Likewise.
37396 (__ctype_tolower_loc): Likewise.
37397 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37398 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37399
7872cfb0
AS
374002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37401
b468825a
AS
37402 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37403
7872cfb0
AS
37404 * configure.in: Also look in $cxxmachine/include for C++ system
37405 headers.
37406
be13f7bf
LD
374072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37408
37409 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37410 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37411 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37412 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37413 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37414 (USE_AS_WMEMCMP): New macro.
37415 Fixing indents.
37416 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37417 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37418 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37419 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37421 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37422 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37423 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37424 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37425 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37426 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37427 (USE_AS_WMEMCMP): New macro.
37428 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37429 * sysdeps/string/test-memcmp.c: Update.
37430 Fix simple_wmemcmp.
37431 Add new tests.
37432 * wcsmbs/wmemcmp.c: Update.
37433 (WMEMCMP): New macro.
37434 Fix overflow bug.
37435
556a2007
AJ
374362011-10-12 Andreas Jaeger <aj@suse.de>
37437
37438 [BZ #13268]
37439 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37440
538faaa7
UD
374412011-10-15 Ulrich Drepper <drepper@gmail.com>
37442
ab6737ff
UD
37443 * libio/iofwide.c (do_length): Avoid warning.
37444
538faaa7
UD
37445 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37446
396a21b1
UD
374472011-10-14 Ulrich Drepper <drepper@gmail.com>
37448
cdf2901f
UD
37449 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37450
38ad40ce
UD
37451 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37452 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37453 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37454 * sysdeps/i386/i686/fpu/e_log.S: New file.
37455 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37456 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37457
396a21b1
UD
37458 * ctype/ctype.h: Add support for inlined isXXX functions when
37459 compiling C++ code.
37460
6b1f68c9
AS
374612011-10-14 Andreas Schwab <schwab@redhat.com>
37462
349290c0
AS
37463 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37464
6b1f68c9
AS
37465 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37466
f2282d42
RM
374672011-10-13 Roland McGrath <roland@hack.frob.com>
37468
37469 [BZ #13291]
37470 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37471
5298ffa8
AS
374722011-10-13 Andreas Schwab <schwab@redhat.com>
37473
714fad23
AS
37474 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37475 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37476 feraiseexcept.
37477
81dcc7fb
AS
37478 * sysdeps/x86_64/memrchr.S: Check for zero size.
37479
5298ffa8
AS
37480 * string/stratcliff.c: Add memrchr tests.
37481
951fbcec
LD
374822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37483
37484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37485 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37486 rawmemchr-sse2 rawmemchr-sse2-bsf.
37487 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37488 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37489 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37490 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37491 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37492 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37493 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37494 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37495 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37496 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37497 * string/memrchr.c (MEMRCHR): New macro.
37498
0ac5ae23
UD
374992011-10-12 Ulrich Drepper <drepper@gmail.com>
37500
37501 Add integration with gcc's -ffinite-math-only and optimize wrapper
37502 functions in libm.
37503 * Versions.def: Define GLIBC_2.15 version for libm.
37504 * math/Makefile (headers): Add bits/math-finite.h.
37505 * math/bits/math-finite.h: New file.
37506 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37507 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37508 * math/e_acoshl.c: Add __*_finite alias.
37509 * math/e_acosl.c: Likewise.
37510 * math/e_asinl.c: Likewise.
37511 * math/e_atan2l.c: Likewise.
37512 * math/e_atanhl.c: Likewise.
37513 * math/e_coshl.c: Likewise.
37514 * math/e_exp10.c: Likewise.
37515 * math/e_exp10f.c: Likewise.
37516 * math/e_exp10l.c: Likewise.
37517 * math/e_exp2l.c: Likewise.
37518 * math/e_fmodl.c: Likewise.
37519 * math/e_gammal_r.c: Likewise.
37520 * math/e_hypotl.c: Likewise.
37521 * math/e_j0l.c: Likewise.
37522 * math/e_j1l.c: Likewise.
37523 * math/e_jnl.c: Likewise.
37524 * math/e_lgammal_r.c: Likewise.
37525 * math/e_log10l.c: Likewise.
37526 * math/e_log2l.c: Likewise.
37527 * math/e_logl.c: Likewise.
37528 * math/e_powl.c: Likewise.
37529 * math/e_sinhl.c: Likewise.
37530 * math/e_sqrtl.c: Likewise.
37531 * math/e_scalb.c: Completely rewritten and optimized.
37532 * math/e_scalbf.c: Likewise.
37533 * math/e_scalbl.c: Likewise.
37534 * math/w_acos.c: Likewise.
37535 * math/w_acosf.c: Likewise.
37536 * math/w_acosl.c: Likewise.
37537 * math/w_acosh.c: Likewise.
37538 * math/w_acoshf.c: Likewise.
37539 * math/w_acoshl.c: Likewise.
37540 * math/w_asin.c: Likewise.
37541 * math/w_asinf.c: Likewise.
37542 * math/w_asinl.c: Likewise.
37543 * math/w_atan2.c: Likewise.
37544 * math/w_atan2f.c: Likewise.
37545 * math/w_atan2l.c: Likewise.
37546 * math/w_atanh.c: Likewise.
37547 * math/w_atanhf.c: Likewise.
37548 * math/w_atanhl.c: Likewise.
37549 * math/w_exp10.c: Likewise.
37550 * math/w_exp10f.c: Likewise.
37551 * math/w_exp10l.c: Likewise.
37552 * math/w_fmod.c: Likewise.
37553 * math/w_fmodf.c: Likewise.
37554 * math/w_fmodl.c: Likewise.
37555 * math/w_j0.c: Likewise.
37556 * math/w_j0f.c: Likewise.
37557 * math/w_j0l.c: Likewise.
37558 * math/w_j1.c: Likewise.
37559 * math/w_j1f.c: Likewise.
37560 * math/w_j1l.c: Likewise.
37561 * math/w_jn.c: Likewise.
37562 * math/w_jnf.c: Likewise.
37563 * math/w_log.c: Likewise.
37564 * math/w_logf.c: Likewise.
37565 * math/w_logl.c: Likewise.
37566 * math/w_log10.c: Likewise.
37567 * math/w_log10f.c: Likewise.
37568 * math/w_log10l.c: Likewise.
37569 * math/w_log2.c: Likewise.
37570 * math/w_log2f.c: Likewise.
37571 * math/w_log2l.c: Likewise.
37572 * math/w_pow.c: Likewise.
37573 * math/w_powf.c: Likewise.
37574 * math/w_powl.c: Likewise.
37575 * math/w_remainder.c: Likewise.
37576 * math/w_remainderf.c: Likewise.
37577 * math/w_remainderl.c: Likewise.
37578 * math/w_scalb.c: Likewise.
37579 * math/w_scalbf.c: Likewise.
37580 * math/w_scalbl.c: Likewise.
37581 * math/w_sqrt.c: Likewise.
37582 * math/w_sqrtf.c: Likewise.
37583 * math/w_sqrtl.c: Likewise.
37584 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37585 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37586 used.
37587 * math/math_private.h: Declare __kernel_standard_f.
37588 * math/w_cosh.c: Remove cruft and optimize a bit.
37589 * math/w_coshf.c: Likewise.
37590 * math/w_coshl.c: Likewise.
37591 * math/w_exp2.c: Likewise.
37592 * math/w_exp2f.c: Likewise.
37593 * math/w_exp2l.c: Likewise.
37594 * math/w_hypot.c: Likewise.
37595 * math/w_hypotf.c: Likewise.
37596 * math/w_hypotl.c: Likewise.
37597 * math/w_lgamma.c: Likewise.
37598 * math/w_lgamma_r.c: Likewise.
37599 * math/w_lgammaf.c: Likewise.
37600 * math/w_lgammaf_r.c: Likewise.
37601 * math/w_lgammal.c: Likewise.
37602 * math/w_lgammal_r.c: Likewise.
37603 * math/w_sinh.c: Likewise.
37604 * math/w_sinhf.c: Likewise.
37605 * math/w_sinhl.c: Likewise.
37606 * math/w_tgamma.c: Likewise.
37607 * math/w_tgammaf.c: Likewise.
37608 * math/w_tgammal.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37610 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37611 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37612 Minor optimizations. Pretty printing. Remove cruft.
37613 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37615 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37616 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37617 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37618 * sysdeps/i386/fpu/e_asin.S: Likewise.
37619 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37620 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37621 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37622 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37624 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37625 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37626 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37627 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37628 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37629 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37630 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37631 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37632 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37633 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37634 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37635 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37636 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37637 * sysdeps/i386/fpu/e_log.S: Likewise.
37638 * sysdeps/i386/fpu/e_log10.S: Likewise.
37639 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37640 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37641 * sysdeps/i386/fpu/e_log2.S: Likewise.
37642 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37643 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37644 * sysdeps/i386/fpu/e_logf.S: Likewise.
37645 * sysdeps/i386/fpu/e_logl.S: Likewise.
37646 * sysdeps/i386/fpu/e_pow.S: Likewise.
37647 * sysdeps/i386/fpu/e_powf.S: Likewise.
37648 * sysdeps/i386/fpu/e_powl.S: Likewise.
37649 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37650 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37651 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37653 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37654 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37655 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37656 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37657 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37679 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37680 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37682 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37683 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37684 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37685 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37687 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37689 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37692 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37693 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37694 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37695 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37696 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37697 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37698 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37699 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37738 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37741 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37743 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37744 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37746 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37749 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37751 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37755 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37756 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37757 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37758 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37759 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37760 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37761 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37762 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37763 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37764 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37766 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37767 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37768 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37769 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37770 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37771 (__isnanf): Likewise.
37772 (__isinf_ns): Likewise.
37773 (__isinf_nsf): Likewise.
37774 (__finite): Likewise.
37775 (__finitef): Likewise.
37776 (__ieee754_sqrt): Define as macro.
37777 (__ieee754_sqrtf): Define as macro.
37778 (__ieee754_sqrtl): Define as macro.
37779 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37780 inlined copy.
37781 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37782 __FINITE_MATH_ONLY__ consistent.
37783 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37784
12cc2fcd
AS
377852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37786
a843a204
AS
37787 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37788 of rawmemchr.
37789
12cc2fcd
AS
37790 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37791
c853acd5
UD
377922011-10-09 Ulrich Drepper <drepper@gmail.com>
37793
37794 * po/ja.po: Update from translation team.
37795
c658d255
RM
377962011-10-08 Roland McGrath <roland@hack.frob.com>
37797
110946e4
RM
37798 * locale/programs/locarchive.c (prepare_address_space): New function.
37799 (create_archive, enlarge_archive, open_archive): Use it.
37800
50604220
RM
37801 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37802 inside [SHARED], where it is used.
37803
c658d255
RM
37804 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37805
37806 * nss/getent.c (netgroup_keys): Remove unused variable.
37807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37808
6a621eb7
UD
378092011-10-08 Ulrich Drepper <drepper@gmail.com>
37810
7edb55ce
UD
37811 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37812 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37815 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37816 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37817 * math/Makefile (libm-calls): Add s_isinf_ns.
37818 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37819 * math/multc3.c: Likewise.
37820 * math/s_casin.c: Likewise.
37821 * math/s_casinf.c: Likewise.
37822 * math/s_casinl.c: Likewise.
37823 * math/s_ccos.c: Likewise.
37824 * math/s_ccosf.c: Likewise.
37825 * math/s_ccosl.c: Likewise.
37826 * math/s_ctan.c: Likewise.
37827 * math/s_ctanf.c: Likewise.
37828 * math/s_ctanh.c: Likewise.
37829 * math/s_ctanhf.c: Likewise.
37830 * math/s_ctanhl.c: Likewise.
37831 * math/s_ctanl.c: Likewise.
37832 * math/w_fmod.c: Likewise.
37833 * math/w_fmodf.c: Likewise.
37834 * math/w_fmodl.c: Likewise.
37835 * math/w_remainder.c: Likewise.
37836 * math/w_remainderf.c: Likewise.
37837 * math/w_remainderl.c: Likewise.
37838 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37839 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37840 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37842 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37843 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37844 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37845 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37846
187da0ae
UD
37847 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37848 of the number.
37849 * stdio-common/printf_fphex.c: Likewise.
37850 * stdio-common/printf_size.c: Likewise.
37851
9277c064
UD
37852 * math/e_exp10.c: Include math_private.h using <...> not "...".
37853 * math/e_exp10f.c: Likewise.
37854 * math/e_exp10l.c: Likewise.
37855 * math/e_exp2l.c: Likewise.
37856 * math/e_j0l.c: Likewise.
37857 * math/e_j1l.c: Likewise.
37858 * math/e_jnl.c: Likewise.
37859 * math/e_lgammal_r.c: Likewise.
37860 * math/e_rem_pio2l.c: Likewise.
37861 * math/e_scalb.c: Likewise.
37862 * math/e_scalbf.c: Likewise.
37863 * math/e_scalbl.c: Likewise.
37864 * math/k_cosl.c: Likewise.
37865 * math/k_sinl.c: Likewise.
37866 * math/k_tanl.c: Likewise.
37867 * math/s_cacoshf.c: Likewise.
37868 * math/s_catan.c: Likewise.
37869 * math/s_catanf.c: Likewise.
37870 * math/s_catanh.c: Likewise.
37871 * math/s_catanhf.c: Likewise.
37872 * math/s_catanhl.c: Likewise.
37873 * math/s_catanl.c: Likewise.
37874 * math/s_ccosh.c: Likewise.
37875 * math/s_ccoshf.c: Likewise.
37876 * math/s_ccoshl.c: Likewise.
37877 * math/s_cexp.c: Likewise.
37878 * math/s_cexpf.c: Likewise.
37879 * math/s_cexpl.c: Likewise.
37880 * math/s_clog.c: Likewise.
37881 * math/s_clog10.c: Likewise.
37882 * math/s_clog10f.c: Likewise.
37883 * math/s_clog10l.c: Likewise.
37884 * math/s_clogf.c: Likewise.
37885 * math/s_clogl.c: Likewise.
37886 * math/s_csin.c: Likewise.
37887 * math/s_csinf.c: Likewise.
37888 * math/s_csinh.c: Likewise.
37889 * math/s_csinhf.c: Likewise.
37890 * math/s_csinhl.c: Likewise.
37891 * math/s_csinl.c: Likewise.
37892 * math/s_csqrt.c: Likewise.
37893 * math/s_csqrtf.c: Likewise.
37894 * math/s_csqrtl.c: Likewise.
37895 * math/s_ctan.c: Likewise.
37896 * math/s_ctanf.c: Likewise.
37897 * math/s_ctanh.c: Likewise.
37898 * math/s_ctanhf.c: Likewise.
37899 * math/s_ctanhl.c: Likewise.
37900 * math/s_ctanl.c: Likewise.
37901 * math/s_ldexp.c: Likewise.
37902 * math/s_ldexpf.c: Likewise.
37903 * math/s_ldexpl.c: Likewise.
37904 * math/s_significand.c: Likewise.
37905 * math/s_significandf.c: Likewise.
37906 * math/s_significandl.c: Likewise.
37907 * math/w_acos.c: Likewise.
37908 * math/w_acosf.c: Likewise.
37909 * math/w_acosh.c: Likewise.
37910 * math/w_acoshf.c: Likewise.
37911 * math/w_acoshl.c: Likewise.
37912 * math/w_acosl.c: Likewise.
37913 * math/w_asin.c: Likewise.
37914 * math/w_asinf.c: Likewise.
37915 * math/w_asinl.c: Likewise.
37916 * math/w_atan2.c: Likewise.
37917 * math/w_atan2f.c: Likewise.
37918 * math/w_atan2l.c: Likewise.
37919 * math/w_atanh.c: Likewise.
37920 * math/w_atanhf.c: Likewise.
37921 * math/w_atanhl.c: Likewise.
37922 * math/w_cosh.c: Likewise.
37923 * math/w_coshf.c: Likewise.
37924 * math/w_coshl.c: Likewise.
37925 * math/w_dremf.c: Likewise.
37926 * math/w_exp10.c: Likewise.
37927 * math/w_exp10f.c: Likewise.
37928 * math/w_exp10l.c: Likewise.
37929 * math/w_exp2.c: Likewise.
37930 * math/w_exp2f.c: Likewise.
37931 * math/w_fmod.c: Likewise.
37932 * math/w_fmodf.c: Likewise.
37933 * math/w_fmodl.c: Likewise.
37934 * math/w_hypot.c: Likewise.
37935 * math/w_hypotf.c: Likewise.
37936 * math/w_hypotl.c: Likewise.
37937 * math/w_j0.c: Likewise.
37938 * math/w_j0f.c: Likewise.
37939 * math/w_j0l.c: Likewise.
37940 * math/w_j1.c: Likewise.
37941 * math/w_j1f.c: Likewise.
37942 * math/w_j1l.c: Likewise.
37943 * math/w_jn.c: Likewise.
37944 * math/w_jnf.c: Likewise.
37945 * math/w_jnl.c: Likewise.
37946 * math/w_lgamma.c: Likewise.
37947 * math/w_lgamma_r.c: Likewise.
37948 * math/w_lgammaf.c: Likewise.
37949 * math/w_lgammaf_r.c: Likewise.
37950 * math/w_lgammal.c: Likewise.
37951 * math/w_lgammal_r.c: Likewise.
37952 * math/w_log.c: Likewise.
37953 * math/w_log10.c: Likewise.
37954 * math/w_log10f.c: Likewise.
37955 * math/w_log10l.c: Likewise.
37956 * math/w_log2.c: Likewise.
37957 * math/w_log2f.c: Likewise.
37958 * math/w_log2l.c: Likewise.
37959 * math/w_logf.c: Likewise.
37960 * math/w_logl.c: Likewise.
37961 * math/w_pow.c: Likewise.
37962 * math/w_powf.c: Likewise.
37963 * math/w_powl.c: Likewise.
37964 * math/w_remainder.c: Likewise.
37965 * math/w_remainderf.c: Likewise.
37966 * math/w_remainderl.c: Likewise.
37967 * math/w_scalb.c: Likewise.
37968 * math/w_scalbf.c: Likewise.
37969 * math/w_scalbl.c: Likewise.
37970 * math/w_sinh.c: Likewise.
37971 * math/w_sinhf.c: Likewise.
37972 * math/w_sinhl.c: Likewise.
37973 * math/w_sqrt.c: Likewise.
37974 * math/w_sqrtf.c: Likewise.
37975 * math/w_sqrtl.c: Likewise.
37976 * math/w_tgamma.c: Likewise.
37977 * math/w_tgammaf.c: Likewise.
37978 * math/w_tgammal.c: Likewise.
37979
6a621eb7
UD
37980 * po/ja.po: Update from translation team.
37981
bf582445
AJ
379822011-09-29 Andreas Jaeger <aj@suse.de>
37983
f9efbf3a
AJ
37984 [BZ #13179]
37985 * sunrpc/netname.c (netname2host): Fix logic.
37986
bf582445
AJ
37987 [BZ #6779]
37988 [BZ #6783]
37989 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37990 correctly.
37991 * math/w_remainder.c (__remainder): Likewise.
37992 * math/w_remainderf.c (__remainderf): Likewise.
37993 * math/libm-test.inc (remainder_test): Add test cases.
37994
48693bea
AK
379952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37996
37997 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37998 sdiv_qrnnd.
37999
42622229
LD
380002011-10-07 Ulrich Drepper <drepper@gmail.com>
38001
38002 * string/test-memcmp.c: Avoid unncessary #defines.
38003 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38004
093ecf92
LD
380052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38006
38007 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38008 Use new sse2 version for core i3 - i7 as it's faster
38009 than sse42 version.
38010 (bit_Prefer_PMINUB_for_stringop): New.
38011 * sysdeps/x86_64/rawmemchr.S: Update.
38012 Replace with faster SSE2 version.
38013 * sysdeps/x86_64/memrchr.S: New file.
38014 * sysdeps/x86_64/memchr.S: Update.
38015 Replace with faster SSE2 version.
38016
fde56e5c
MP
380172011-09-12 Marek Polacek <mpolacek@redhat.com>
38018
38019 * elf/dl-load.c (lose): Add cast to avoid warning.
38020
21fd49a9
UD
380212011-10-07 Ulrich Drepper <drepper@gmail.com>
38022
5a06e643
UD
38023 * po/ca.po: Update from translation team.
38024
684ae515
UD
38025 * inet/getnetgrent_r.c: Hook up nscd.
38026 * nscd/Makefile (routines): Add nscd_netgroup.
38027 (nscd-modules): Add netgroupcache.
38028 (CFLAGS-netgroupcache.c): Define.
38029 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38030 (cache_search): Add const to second parameter.
38031 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38032 INNETGR.
38033 (dbs): Add netgrdb entry.
38034 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38035 (verify_persistent_db): Handle netgrdb.
38036 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38037 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38038 GETFDNETGR.
38039 (netgroup_response_header): Define.
38040 (innetgroup_response_header): Define.
38041 (datahead): Add netgroup_response_header and innetgroup_response_header
38042 elements.
38043 * nscd/nscd.conf: Add entries for netgroup cache.
38044 * nscd/nscd.h (dbtype): Add netgrdb.
38045 (_PATH_NSCD_NETGROUP_DB): Define.
38046 (netgroup_iov_disabled): Declare.
38047 (xmalloc, xcalloc, xrealloc): Move declarations here.
38048 (cache_search): Adjust prototype.
38049 Add netgroup-related prototypes.
38050 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38051 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38052 (__nscd_innetgr): Declare.
38053 * nscd/selinux.c (perms): Use access_vector_t as element type and
38054 add netgroup-related initializers.
38055 * nscd/netgroupcache.c: New file.
38056 * nscd/nscd_netgroup.c: New file.
38057 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38058 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38059 For four parameters use innetgr.
38060 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38061 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38062 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38063 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38064
21fd49a9
UD
38065 * nscd/connections.c (register_traced_file): Don't register file
38066 for disabled databases.
38067
054c0457
UD
380682011-10-06 Ulrich Drepper <drepper@gmail.com>
38069
32b63198
UD
38070 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38071
054c0457
UD
38072 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38073 from tree and freeing node.
38074
64031225
JO
380752011-09-25 Jiri Olsa <jolsa@redhat.com>
38076
38077 * nss/nsswitch.c (__nss_database_lookup): Handle
38078 nss_parse_service_list out of memory case.
38079
0490345c
JO
380802011-09-15 Jiri Olsa <jolsa@redhat.com>
38081
38082 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38083 out of memory case.
38084
3a62d00d
AS
380852011-10-04 Andreas Schwab <schwab@redhat.com>
38086
38087 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38088 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38089 pass it down.
38090 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38091 elf_machine_rela, elf_machine_lazy_rel.
38092 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38093 (ELF_DYNAMIC_DO_REL): Likewise.
38094 (ELF_DYNAMIC_DO_RELA): Likewise.
38095 (ELF_DYNAMIC_RELOCATE): Likewise.
38096 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38097 to ELF_DYNAMIC_DO_REL.
38098 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38099 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38100 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38101 elf_machine_rela.
38102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38103 skip_ifunc, don't call ifunc function if non-zero.
38104 (elf_machine_rela): Likewise.
38105 (elf_machine_lazy_rel): Likewise.
38106 (elf_machine_lazy_rela): Likewise.
38107 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38108 (elf_machine_lazy_rel): Likewise.
38109 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38110 Likewise.
38111 (elf_machine_lazy_rel): Likewise.
38112 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38113 Likewise.
38114 (elf_machine_lazy_rel): Likewise.
38115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38116 (elf_machine_lazy_rel): Likewise.
38117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38118 (elf_machine_lazy_rel): Likewise.
38119 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38120 (elf_machine_lazy_rel): Likewise.
38121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38122 (elf_machine_lazy_rel): Likewise.
38123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38124 (elf_machine_lazy_rel): Likewise.
38125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38126 (elf_machine_lazy_rel): Likewise.
38127
68577918
UD
381282011-09-28 Ulrich Drepper <drepper@gmail.com>
38129
38130 * nss/nss_files/files-init.c (_nss_files_init): Use static
38131 initialization for all the *_traced_file variables.
38132
68822d74
AS
381332011-09-28 Andreas Schwab <schwab@redhat.com>
38134
38135 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38136
2056100b
RM
381372011-09-27 Roland McGrath <roland@hack.frob.com>
38138
38139 [BZ #13226]
38140 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38141
32c76b63
AS
381422011-09-27 Andreas Schwab <schwab@redhat.com>
38143
38144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38145 Reread the line before reparsing it.
38146
bf972c9d
AS
381472011-09-26 Andreas Schwab <schwab@redhat.com>
38148
38149 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38150
e057a1b5
JM
381512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38152 Maxim Kuvyrkov <maxim@codesourcery.com>
38153 Joseph Myers <joseph@codesourcery.com>
38154
38155 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38156 if needed for __stack_chk_guard.
38157
bc7e1c36
RM
381582011-09-19 Roland McGrath <roland@hack.frob.com>
38159
ecb1482f
RM
38160 * sysdeps/posix/spawni.c (script_execute): Always define it.
38161 It will be optimized away if unused.
38162 (maybe_script_execute): New function.
38163 (__spawni): Call it.
38164
bc7e1c36
RM
38165 * Makerules: Don't include tls.make.
38166 (config-tls): Always set to thread.
38167 * tls.make.c: File removed.
38168
1c3b002b
MF
381692011-09-19 Mike Frysinger <vapier@gentoo.org>
38170
38171 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38172 * config.make.in (CPPFLAGS-config): New substituted variable.
38173
2840865d
UD
381742011-09-15 Ulrich Drepper <drepper@gmail.com>
38175
88738eb6
UD
38176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38177
cbf645a6 38178 [BZ #13192]
2840865d
UD
38179 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38180 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38181
b402e91a
RM
381822011-09-15 Roland McGrath <roland@hack.frob.com>
38183
38184 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38185 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38187 (CALL_FAIL): Likewise.
38188 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38189 (CALL_FAIL): Macro removed.
38190 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38191
4c1a1f71
UD
381922011-09-15 Ulrich Drepper <drepper@gmail.com>
38193
38194 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38195 for __FINITE_MATH_ONLY__ == 1.
38196
edc121be
AS
381972011-09-15 Andreas Schwab <schwab@redhat.com>
38198
38199 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38200 __ieee754_sqrt instead of sqrt.
38201 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38202 __ieee754_sqrtf instead of sqrtf.
38203 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38204 __floorf instead of floorf.
38205 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38206 __floorf, __truncf instead of floorf, truncf.
38207
cd205654
UD
382082011-09-14 Ulrich Drepper <drepper@gmail.com>
38209
ee4d0315
UD
38210 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38211
cd205654
UD
38212 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38213 __extern_always_inline.
38214 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38215 32-bit.
38216
48b67d71
AS
382172011-09-14 Andreas Schwab <schwab@redhat.com>
38218
38219 * elf/rtld.c (dl_main): Also relocate in dependency order when
38220 doing symbol dependency testing.
38221
1ae12c75
AS
382222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38223
38224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38225 Always define `refsym'.
38226
995a80df
AS
382272011-09-13 Andreas Schwab <schwab@redhat.com>
38228
e529793b
AS
38229 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38230 (__FD_ELT): Renamed from __FDELT.
38231 * misc/bits/select2.h (__FD_ELT): Likewise.
38232 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38233 __FD_MASK instead of __FDELT, __FDMASK.
38234 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38235 Likewise.
38236 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38237 Likewise.
38238
52d4fef8
AS
38239 * elf/Makefile (gen-ldd): Fix pattern.
38240
995a80df
AS
38241 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38242 (init_tls): Likewise.
38243
8682f8b0
UD
382442011-09-12 Ulrich Drepper <drepper@gmail.com>
38245
38246 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38247
de82006d
AS
382482011-09-12 Andreas Schwab <schwab@redhat.com>
38249
a7c8e6a1
AS
38250 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38251 `struct cmsghdr *' instead of `void *'.
38252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38253 Likewise.
38254
0f31fe77
AS
382552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38256
38257 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38258 if non-absolute.
38259 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38260 ldd_rewrite_script.
0f31fe77 38261
32b4c839
UD
382622011-09-11 Ulrich Drepper <drepper@gmail.com>
38263
83cd1420
UD
38264 * configure.in: Remove --with-tls option.
38265 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38266 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38267 out in case it is missing.
38268 * sysdeps/ia64/elf/configure.in: Likewise.
38269 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38270 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38271 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38272 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38273 * sysdeps/sh/elf/configure.in: Likewise.
38274 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38275 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38276 * sysdeps/x86_64/elf/configure.in: Likewise.
38277 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38278 * sysdeps/mach/hurd/tls.h: Likewise.
38279
633f745d
UD
38280 [BZ #13067]
38281 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38282
f318beb8
UD
38283 [BZ #13090]
38284 * configure.in: Fix use of AC_INIT.
38285
32b4c839
UD
38286 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38287
3ce1f295
UD
382882011-09-10 Ulrich Drepper <drepper@gmail.com>
38289
bb016596
UD
38290 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38291 __set_errno.
8e58439c
UD
38292 * malloc/hooks.c: Likewise.
38293
aebae053 38294 [BZ #11929]
02d46fc4
UD
38295 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38296 variables statically.
38297 (narenas): Initialize.
38298 (list_lock): Initialize.
bb016596
UD
38299 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38300 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38301 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38302 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38303 Add initializers to main_arena and mp_.
38304 (malloc_state): Remove pagesize member. Change all users to use
38305 GLRO(dl_pagesize).
38306
38307 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38308 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38309 is always initialized.
38310
22a89187
UD
38311 * malloc/malloc.c: Removed unused configurations and dead code.
38312 * malloc/arena.c: Likewise.
38313 * malloc/hooks.c: Likewise.
02d46fc4 38314 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38315
d063d164
UD
38316 * include/tls.h: Removed. USE___THREAD must always be defined.
38317 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38318 * elf/dl-libc.c: Likewise.
38319 * elf/dl-tsd.c: Likewise.
38320 * include/errno.h: Likewise.
38321 * include/netdb.h: Likewise.
38322 * include/resolv.h: Likewise.
38323 * inet/herrno-loc.c: Likewise.
38324 * inet/herrno.c: Likewise.
38325 * malloc/arena.c: Likewise.
38326 * malloc/hooks.c: Likewise.
38327 * malloc/malloc.c: Likewise.
38328 * resolv/res-state.c: Likewise.
38329 * resolv/res_libc.c: Likewise.
38330 * sysdeps/i386/dl-machine.h: Likewise.
38331 * sysdeps/ia64/dl-machine.h: Likewise.
38332 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38333 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38334 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38335 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38336 * sysdeps/sh/dl-machine.h: Likewise.
38337 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38338 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38339 * sysdeps/unix/i386/sysdep.S: Likewise.
38340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38341 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38346 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38350 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38351 * sysdeps/x86_64/dl-machine.h: Likewise.
38352 * tls.make.c: Likewise.
38353
3ce1f295
UD
38354 * configure.in: Remove --with-__thread option. Make tests for
38355 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38356 tls_model attribute fail if no support is available. Remove
38357 USE_IN_LIBIO.
38358 * Makeconfig: Adjust for dropped configure option. All features are
38359 now mandatory.
38360 * Makerules: Likewise.
38361 * Versions.def: Likewise.
38362 * argp/argp-fmtstream.c: Likewise.
38363 * argp/argp-fmtstream.h: Likewise.
38364 * argp/argp-help.c: Likewise.
38365 * assert/assert.c: Likewise.
38366 * config.h.in: Likewise.
38367 * config.make.in: Likewise.
38368 * configure: Likewise.
38369 * configure.in: Likewise.
38370 * csu/Versions: Likewise.
38371 * csu/init.c: Likewise.
38372 * elf/tst-audit2.c: Likewise.
38373 * elf/tst-tls10.c: Likewise.
38374 * elf/tst-tls10.h: Likewise.
38375 * elf/tst-tls11.c: Likewise.
38376 * elf/tst-tls12.c: Likewise.
38377 * elf/tst-tls14.c: Likewise.
38378 * elf/tst-tlsmod11.c: Likewise.
38379 * elf/tst-tlsmod12.c: Likewise.
38380 * elf/tst-tlsmod13.c: Likewise.
38381 * elf/tst-tlsmod13a.c: Likewise.
38382 * elf/tst-tlsmod14a.c: Likewise.
38383 * elf/tst-tlsmod15b.c: Likewise.
38384 * elf/tst-tlsmod16a.c: Likewise.
38385 * elf/tst-tlsmod16b.c: Likewise.
38386 * elf/tst-tlsmod7.c: Likewise.
38387 * elf/tst-tlsmod8.c: Likewise.
38388 * elf/tst-tlsmod9.c: Likewise.
38389 * gmon/gmon.c: Likewise.
38390 * grp/fgetgrent_r.c: Likewise.
38391 * grp/putgrent.c: Likewise.
38392 * hurd/fopenport.c: Likewise.
38393 * include/libc-symbols.h: Likewise.
38394 * include/tls.h: Likewise.
38395 * intl/gettextP.h: Likewise.
38396 * intl/loadinfo.h: Likewise.
38397 * locale/global-locale.c: Likewise.
38398 * locale/localeinfo.h: Likewise.
38399 * mach/devstream.c: Likewise.
38400 * malloc/arena.c: Likewise.
38401 * malloc/set-freeres.c: Likewise.
38402 * misc/err.c: Likewise.
38403 * misc/getttyent.c: Likewise.
38404 * misc/mntent_r.c: Likewise.
38405 * posix/getopt.c: Likewise.
38406 * posix/wordexp.c: Likewise.
38407 * pwd/fgetpwent_r.c: Likewise.
38408 * resolv/Versions: Likewise.
38409 * resolv/res_hconf.c: Likewise.
38410 * shadow/fgetspent_r.c: Likewise.
38411 * shadow/putspent.c: Likewise.
38412 * stdio-common/printf_fphex.c: Likewise.
38413 * stdio-common/tmpfile.c: Likewise.
38414 * stdlib/abort.c: Likewise.
38415 * stdlib/fmtmsg.c: Likewise.
38416 * sunrpc/auth_unix.c: Likewise.
38417 * sunrpc/clnt_perr.c: Likewise.
38418 * sunrpc/clnt_tcp.c: Likewise.
38419 * sunrpc/clnt_udp.c: Likewise.
38420 * sunrpc/clnt_unix.c: Likewise.
38421 * sunrpc/openchild.c: Likewise.
38422 * sunrpc/svc_simple.c: Likewise.
38423 * sunrpc/svc_tcp.c: Likewise.
38424 * sunrpc/svc_udp.c: Likewise.
38425 * sunrpc/svc_unix.c: Likewise.
38426 * sunrpc/xdr.c: Likewise.
38427 * sunrpc/xdr_array.c: Likewise.
38428 * sunrpc/xdr_rec.c: Likewise.
38429 * sunrpc/xdr_ref.c: Likewise.
38430 * sunrpc/xdr_stdio.c: Likewise.
38431
1248c1c4
PB
384322011-09-09 Ulrich Drepper <drepper@gmail.com>
38433
38434 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38435
384362011-07-03 Andreas Jaeger <aj@suse.de>
38437
38438 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38439 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38440 regenerate with gen-libm-tests.pl.
38441
384422010-05-12 Petr Baudis <pasky@suse.cz>
38443
38444 [BZ #11589]
38445 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38446 around j0() zero points by switching to j1().
38447 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38451
f22e1074
UD
384522011-09-09 Ulrich Drepper <drepper@gmail.com>
38453
f19009c1
UD
38454 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38455 instead of 0.
38456 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38457 instead of 0.
f19009c1
UD
38458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38459 Patch in part by Pavel Roskin <proski@gnu.org>.
38460
3f8cc204
UD
38461 [BZ #13138]
38462 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38463 realloc.
38464 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38465 Free memory block if necessary.
38466
f22e1074
UD
38467 [BZ #12847]
38468 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38469 be NULL. Don't lock in this case.
38470
0a2349f9
RM
384712011-09-09 Roland McGrath <roland@hack.frob.com>
38472
38473 * elf/elf.h (ELFOSABI_GNU): New macro.
38474 (ELFOSABI_LINUX): Define to that.
38475
f3cdd467
DZ
384762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38477
38478 * string/strncat.c (strncat): Undef the symbol in case it has been
38479 defined in bits/string.h.
38480
74718d13
UD
384812011-09-09 Ulrich Drepper <drepper@gmail.com>
38482
633e9e0f
UD
38483 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38484
0a2349f9 38485 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38486 link map.
38487
f9924780
AJ
384882011-08-17 Andreas Jaeger <aj@suse.de>
38489
38490 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38491
7f5517aa
PP
384922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38493 Ian Lance Taylor <iant@google.com>
38494
38495 * math/libm-test.inc (lround_test): New testcase.
38496 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38497
762011fe
UD
384982011-09-08 Ulrich Drepper <drepper@gmail.com>
38499
92963737
UD
38500 * Makefile: Remove support for automatic cvs check-ins.
38501 * Makerules: Likewise.
38502 * config.make.in: Likewise.
38503 * configure.in: Likewise.
38504 * intl/Makefile: Likewise.
38505 * locale/Makefile: Likewise.
38506 * po/Makefile: Likewise.
38507 * posix/Makefile: Likewise.
38508 * sysdeps/gnu/Makefile: Likewise.
38509 * sysdeps/mach/hurd/Makefile: Likewise.
38510 * sysdeps/sparc/sparc32/Makefile: Likewise.
38511
b0727fd8
JS
38512 [BZ #13118]
38513 * posix/Makefile (bug-regex32-ENV): Define.
38514 Patch by John Stanley <jpsinthemix@verizon.net>.
38515
a0f33f99
UD
38516 * misc/Makefile (headers): Add bits/select2.h.
38517 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38518 * misc/bits/select2.h: New file.
38519 * include/bits/select2.h: New file.
38520 * debug/Makefile (routines): Add fdelt_chk.
38521 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38522 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38523 FD_ISSET.
38524 * debug/fdelt_chk.c: New file.
38525
762011fe
UD
38526 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38527 * wcsmbs/test-wmemcmp.c: Likewise.
38528 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38529 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38530
385312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38532
38533 * string/Makefile (strop-tests): Add memcmp.
38534 * string/test-wmemcmp.c: New file.
38535 * string/test-memcmp.c: Add wmemcmp support.
38536
7f513ec8
RM
385372011-09-08 Roland McGrath <roland@hack.frob.com>
38538
0442afb4
RM
38539 [BZ #13153]
38540 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38541 2011-07-19 change.
38542
7f513ec8
RM
38543 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38544 garbage value in a __mach_port_mod_refs call in the cases of the
38545 task-self and thread-self ports.
38546
a12b2239
ST
385472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38548
38549 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38550
610f9ab4
AS
385512011-09-08 Andreas Schwab <schwab@redhat.com>
38552
7f513ec8 38553 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38554
48882a1a
LD
385552011-09-07 Ulrich Drepper <drepper@gmail.com>
38556
b49865be
UD
38557 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38558
fdc86bc9
UD
38559 * elf/dl-libc.c (dlerror_run): Pass back error code from
38560 dl_catch_error.
38561
c966526a
UD
38562 [BZ #13123]
38563 * elf/dl-load.c (lose): Free l_origin if it is valid.
38564
48882a1a
LD
38565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38566 names.
38567 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38570 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38571 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38572 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38573
77a2a8b4
AZ
385742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38575
38576 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38577 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38578 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38579 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38580 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38581 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38582 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38583 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38584 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38585 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38586
24f579d8
AM
385872011-08-15 Alan Modra <amodra@gmail.com>
38588
38589 [BZ #13092]
38590 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38591 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38592 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38593 ppc_mcount to static-only-routines.
38594 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38595 __mcount_internal.
38596 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38597 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38598
3d4837df
UD
385992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38600
38601 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38602 for finite and infinity parameters.
38603
22700377
WS
386042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38605
38606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38607 and add nop instructions for throughput optimization.
38608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38609
5025581e
WS
386102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38611
38612 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38613 aligned copy for power7 with vector-scalar instructions.
38614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38615
08a300c9
L
386162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38617
38618 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38619 AVX check.
38620
59178ef9
AS
386212011-09-07 Andreas Schwab <schwab@redhat.com>
38622
38623 [BZ #13144]
38624 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38625 last change.
38626
e38ba7ab
UD
386272011-09-07 Ulrich Drepper <drepper@gmail.com>
38628
38629 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38630 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38631 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38633 clock_gettime.
38634
d53a73ac
UD
386352011-09-06 Ulrich Drepper <drepper@gmail.com>
38636
fc8bffcc
UD
38637 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38638 Forgot to demangle the pointer.
38639
ceaa0c5d
UD
38640 * sysdeps/i386/sysdep.h: Define atom_text_section.
38641 * sysdeps/x86_64/sysdep.h: Likewise.
38642 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38643 section with atom_text_section.
38644 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38646 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38648 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38649
a77d3c17
UD
38650 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38651 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38652 already be defined. Change to take two parameters and don't assign
38653 result to variable. Adjust all users.
38654 Define INTERNAL_GETTIME if not already defined.
38655 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38656 call.
38657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38658 HAVE_CLOCK_GETTIME_VSYSCALL.
38659 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38660
d53a73ac
UD
38661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38662 gettimeofday vsyscall, just use time.
38663
a8f84144
AS
386642011-09-06 Andreas Schwab <schwab@redhat.com>
38665
38666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38667 <errno.h>.
38668
ef606249
UD
386692011-09-06 Ulrich Drepper <drepper@gmail.com>
38670
38671 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38672 syscall on x86-64.
38673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38674 syscall.
38675 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38676 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38677 syscall if possible.
38678
6585cb60
UD
386792011-09-05 Ulrich Drepper <drepper@gmail.com>
38680
38681 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38682 e_ident. Don't pass to find_mapsXX.
38683 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38684
a5f524e4
LD
386852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38686
38687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38688 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38689 * sysdeps/x86_64/multiarch/strchr.S: Update.
38690 Check bit_slow_BSF bit.
38691 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38692 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38694
554881ef
UD
386952011-09-05 Ulrich Drepper <drepper@gmail.com>
38696
d96de963
UD
38697 [BZ #13134]
38698 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38699 before glibc 2.15.
38700 (tryshell): Define.
38701 (__spawni): Change last parameter to be flag. Test
38702 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38703 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38704 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38705 * posix/spawni.c: Likewise.
38706 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38707 * posix/spawnp.c: Likewise. Change normal version to use
38708 SPAWN_XFLAGS_USE_PATH.
38709 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38710 SPAWN_XFLAGS_TRY_SHELL.
38711
d48e5868
UD
38712 [BZ #13150]
38713 * posix/glob.h: Remove gcc 1.x support.
38714
554881ef
UD
38715 [BZ #13068]
38716 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38717
693fb948
LD
387182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38719
38720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38721 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38722 strrchr-sse2-bsf
38723 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38724 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38725 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38726 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38727 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38728 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38729
1b48c537
UD
387302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38731
49d42c37
UD
38732 * sysdeps/x86_64/wcscmp.S: New file.
38733
1b48c537
UD
38734 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38735 wcscmp-c wcscmp-sse2
38736 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38737 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38738 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38739 * wcsmbs/wcscmp.c: Allow renaming.
38740
15c95c5d
DM
387412011-09-05 David S. Miller <davem@davemloft.net>
38742
38743 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38744 stack slot, rather than the struct return pointer slot.
38745 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38746 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38748 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38749
2f0ad8f3
UD
387502011-09-05 Ulrich Drepper <drepper@gmail.com>
38751
d88ae418
UD
38752 * po/ja.po: Update from translation team.
38753
2f0ad8f3
UD
38754 [BZ #13144]
38755 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38756 kernel in 64-bit binaries.
38757
5f4318d1
DM
387582011-09-01 David S. Miller <davem@davemloft.net>
38759
38760 * elf/elf.h (HWCAP_SPARC_*): Move to..
38761 * sysdeps/sparc/sysdep.h: this new file and add new values.
38762 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38763 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38764 _DL_HWCAP_COUNT to 24.
38765 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38766 entries.
38767 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38768 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38769 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38771 instead of magic constants.
38772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38773
3ba57516
DM
387742011-08-31 David S. Miller <davem@davemloft.net>
38775
38776 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38777 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38778 Reimplement to do errno handling inline.
38779 (SYSCALL_ERROR_HANDLER): New macro.
38780 (__SYSCALL_STRING): Do not do errno handling in asm.
38781 (__CLONE_SYSCALL_STRING): Delete.
38782 (__INTERNAL_SYSCALL_STRING): Delete.
38783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38784 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38785 (PSEUDO): Reimplement to do errno handling inline.
38786 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38787 (SYSCALL_ERROR_HANDLER): New macro.
38788 (__SYSCALL_STRING): Do not do errno handling in asm.
38789 (__CLONE_SYSCALL_STRING): Delete.
38790 (__INTERNAL_SYSCALL_STRING): Delete.
38791 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38792 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38793 i386.
38794 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38795 (inline_syscall*): Add 'err' argument.
38796 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38797 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38798 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38799 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38800
38801 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38802 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38803
2bc17433
AS
388042011-08-30 Andreas Schwab <schwab@redhat.com>
38805
38806 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38807
fbeb5f4d
JO
388082011-08-29 Jiri Olsa <jolsa@redhat.com>
38809
38810 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38811 directive.
38812
ad69cc26
DM
388132011-08-24 David S. Miller <davem@davemloft.net>
38814
38815 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38816
39dd69df
AS
388172011-08-24 Andreas Schwab <schwab@redhat.com>
38818
38819 * elf/Makefile: Add rules to build and run unload8 test.
38820 * elf/unload8.c: New file.
38821 * elf/unload8mod1.c: New file.
38822 * elf/unload8mod1x.c: New file.
38823 * elf/unload8mod2.c: New file.
38824 * elf/unload8mod3.c: New file.
38825
38826 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38827 it wasn't used.
38828
2c0b250a
DM
388292011-08-23 David S. Miller <davem@davemloft.net>
38830
38831 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38832 subtract stack bias.
38833 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38834 %sp not %fp in calculations.
38835 (_JMPBUF_UNWINDS_ADJ): Likewise.
38836
22044b48
DM
38837 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38838 (aio_suspend): Call it to force an exception region around the
38839 AIO_MISC_WAIT() invocation.
38840
2cae4995
AS
388412011-08-23 Andreas Schwab <schwab@redhat.com>
38842
38843 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38844 backslash.
38845
873a772e
AJ
388462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38847
38848 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38849 protection macro.
38850 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38851 and <dl-machine.h>.
38852 (Elf64_FuncDesc): Remove.
38853
25ad0df1
DM
388542011-08-22 David S. Miller <davem@davemloft.net>
38855
38856 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38857 sigaltstack check, add missing cfi directives.
38858 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38859 missing cfi directives, and sigaltstack handling.
38860
e888bcbe
AS
388612011-08-16 Andreas Schwab <schwab@redhat.com>
38862
38863 [BZ #11724]
38864 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38865 object is seen twice.
38866 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38867
38868 * elf/Makefile (distribute): Add tst-initorder2.c.
38869 (tests): Add tst-initorder2.
38870 (modules-names): Add tst-initorder2a tst-initorder2b
38871 tst-initorder2c tst-initorder2d. Add rules to build them.
38872 ($(objpfx)tst-initorder2.out): New rule.
38873 * elf/tst-initorder2.c: New file.
38874 * elf/tst-initorder2.exp: New file.
38875
87162f46
AS
388762011-08-22 Andreas Schwab <schwab@redhat.com>
38877
70538b7f
AS
38878 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38879
f55ffe58
AS
38880 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38881 dependencies back to end of function.
38882
87162f46
AS
38883 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38884 $(elfobjdir)/ld.so.
38885
91b392a4
UD
388862011-08-21 Ulrich Drepper <drepper@gmail.com>
38887
38888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38889 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38891 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38892 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38893 of __vdso_gettimeofday.
38894 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38895 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38896 attribute_hidden.
38897 (_libc_vdso_platform_setup): Remove initialization of
38898 __vdso_gettimeofday and __vdso_time.
38899
5c43483f
UD
389002011-08-20 Ulrich Drepper <drepper@gmail.com>
38901
775a77e7
UD
38902 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38903 and fgetc_unlocked.
38904 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38905 getc_unlocked.
89f447ed 38906
49c74ba9
UD
38907 * elf/dl-open.c (add_to_global): Report additions to the global scope
38908 for LD_DEBUG=scopes.
38909 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38910 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38911
5c43483f
UD
38912 [BZ #13114]
38913 * stdio-common/Makefile (tests): Add bug24.
38914 * stdio-common/bug24.c: New file.
38915
a101b025
AJ
389162011-08-19 Andreas Jaeger <aj@suse.de>
38917
38918 [BZ #13114]
38919 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38920 non-existant file when using close-on-exec mode.
38921
c88f1766
UD
389222011-08-20 Ulrich Drepper <drepper@gmail.com>
38923
0276a718
UD
38924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38925 the very first instruction.
38926
c88f1766
UD
38927 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38928 the CFI state in the end.
38929 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38930 inclusion of dl-trampoline.h.
38931 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38932
51ccffa0
AS
389332011-08-19 Andreas Schwab <schwab@redhat.com>
38934
94d7165f
AS
38935 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38936 expectations for long double.
38937
51ccffa0
AS
38938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38939 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38940
fd708658 389412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38942
38943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38944 artificual limit depends upon the system page size.
38945
44f0a71e
UD
389462011-08-17 Ulrich Drepper <drepper@gmail.com>
38947
38948 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38949 * resolv/Makefile: Define CFLAGS-libresolv.
38950
8de79a24
AS
389512011-08-17 Andreas Schwab <schwab@redhat.com>
38952
38953 * nss/makedb.c (compute_tables): Make variables used in nested
38954 function static.
38955
27724598
UD
389562011-08-17 Ulrich Drepper <drepper@gmail.com>
38957
c5305d88
UD
38958 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38959 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38960 if buffer was too small.
38961
27724598
UD
38962 * elf/pldd.c (main): Attach to all threads in the process.
38963 Rewrite /proc handling to use *at functions.
38964
076fe015
UD
389652011-08-16 Ulrich Drepper <drepper@gmail.com>
38966
174baab3
UD
38967 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38968 specifies first scope to show.
38969 (dl_open_worker): Update callers. Move printing scope of new
38970 object to before the relocation.
44f0a71e 38971 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38972 * sysdeps/generic/ldsodefs.h: Update declaration.
38973
076fe015
UD
38974 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38975 string for the scope number.
38976
a60df2c3
UD
389772011-08-14 Ulrich Drepper <drepper@gmail.com>
38978
38979 * nscd/servicescache.c (cache_addserv): Make sure written is always
38980 initialized.
38981
5e4287d1
RM
389822011-08-14 Roland McGrath <roland@hack.frob.com>
38983
85ae0589
RM
38984 * sysdeps/i386/i486/bits/atomic.h
38985 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38986 statement expression, so as to suppress "set but not used" warning.
38987 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38988
69f63097
RM
38989 * string/strncat.c (STRNCAT): Use prototype definition.
38990
675456ef
RM
38991 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38992 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38993 -Iprograms here.
38994 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38995 (localedef-modules): Add localedef.
38996 (locale-modules): Add locale.
38997
5e4287d1
RM
38998 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38999 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39000 to avoid a warning.
39001
9c96ff23
DM
390022011-08-14 David S. Miller <davem@davemloft.net>
39003
39004 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39005 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39006
f9ddf089
UD
390072011-08-13 Ulrich Drepper <drepper@gmail.com>
39008
44f0a71e 39009 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39010 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39011 * elf/rtld.c (dl_main): Set l_name of vDSO.
39012 Call _dl_show_scope when DL_DEBUG_SCOPES.
39013 (process_dl_debug): Recognize scopes flag and also set it for all.
39014 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39015 Declare _dl_show_scope.
39016
1dc27704
UD
39017 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39018 (do_dlopen): Pass caller_dlopen to dl_open.
39019 (__libc_dlopen_mode): Initialize caller_dlopen.
39020
f9ddf089
UD
39021 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39022 of libc. Make tolower call locale-independent. Optimize a bit by
39023 using isdigit instead of isalnum.
39024 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39025
9ac533d3
UD
390262011-08-12 Ulrich Drepper <drepper@gmail.com>
39027
39028 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39029 was a dependency or dynamically loaded.
39030
89edf2e9
UD
390312011-08-11 Ulrich Drepper <drepper@gmail.com>
39032
8e999d29
UD
39033 * intl/l10nflist.c: Allow architecture-specific pop function.
39034 * sysdeps/x86_64/l10nflist.c: New file.
39035
89edf2e9
UD
39036 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39037 classification.
39038
14d96785
AS
390392011-08-10 Andreas Schwab <schwab@redhat.com>
39040
39041 * include/dirent.h: Add libc_hidden_proto for scandirat and
39042 scandirat64. Don't declare __scandirat64.
39043 * dirent/scandirat.c: Add libc_hidden_def.
39044 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39045 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39046
6761ac04
DM
390472011-08-10 David S. Miller <davem@davemloft.net>
39048
39049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39050 enum.
39051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39054
c55fbd1e
UD
390552011-08-09 Ulrich Drepper <drepper@gmail.com>
39056
39057 * Versions.def [libc]: Add GLIBC_2.15.
39058 * dirent/Makefile (routines): Add scandirat and scandirat64.
39059 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39060 GLIBC_2.15.
39061 * dirent/dirent.h: Declare scandirat and scandirat64.
39062 * dirent/scandirat.c: New file.
39063 * dirent/scandirat64.c: New file.
39064 * sysdeps/wordsize-64/scandirat.c: New file.
39065 * sysdeps/wordsize-64/scandirat64.c: New file.
39066 * dirent/opendir.c: Define opendirat.
39067 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39068 using scandirat.
39069 * dirent/scandir64.c: Adjust for scandir.c change.
39070 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39071 __scandirat64, and __scandir_cancel_handler.
39072 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39073 additional parameter and use openat instead of open (outside of ld.so).
39074 Add new __opendir as wrapper around __opendirat.
39075 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39076 here without requiring old scandirat implementation.
39077
879165f2
UD
390782011-08-08 Ulrich Drepper <drepper@gmail.com>
39079
39080 * dirent/scandir.c (cancel_handler): Renamed to
39081 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39082 defined. Adjust users.
39083 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39084 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39085
cb7e923b
UD
390862011-08-04 Ulrich Drepper <drepper@gmail.com>
39087
16292edd
UD
39088 * string/test-string.h (IMPL): Use __STRING to expand name and then
39089 stringify it.
39090
cb7e923b
UD
39091 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39092 of cleanups.
39093
cff82933
LD
390942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39095
39096 * string/Makefile: Update.
39097 (strop-tests): Append strncat.
39098 * string/test-wcscmp.c: New file.
39099 New comprehensive test for wcscmp.
39100 * string/test-strcmp.c: Update.
39101 (WIDE): New define.
39102
9be9bfcc
AS
391032011-07-22 Andreas Schwab <schwab@redhat.com>
39104
39105 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39106 line.
39107
2e96f1c7
AS
391082011-07-26 Andreas Schwab <schwab@redhat.com>
39109
39110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39111 encoding to ACE if AI_IDN.
39112
85188888
JJ
391132011-08-01 Jakub Jelinek <jakub@redhat.com>
39114
39115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39116 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39117
5fa16e9b
LD
391182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39119
39120 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39121 Fix overflow bug in strncat.
39122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39123
39124 * string/test-strncat.c: Update.
39125 Add new tests for checking overflow bugs.
39126
391272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39128
39129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39130 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39131 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39132 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39133 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39134 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39135 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39136 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39137 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39138
39139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39140 (USE_AS_STRCAT): Define.
39141 Add strcat and strncat support.
39142 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39143
8c1a459f
AS
391442011-07-25 Andreas Schwab <schwab@redhat.com>
39145
39146 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39147 __n bigger than INT_MAX+1.
39148 (__strncmp_g): Likewise.
39149
bba33c28
UD
391502011-07-23 Ulrich Drepper <drepper@gmail.com>
39151
798be72d
UD
39152 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39153 * libio/stido.h: Likewise.
39154
8accd4dc
UD
39155 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39156 (AF_NFC): Define.
39157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39158 (AF_NFC): Define.
39159
cbff0d96
UD
39160 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39162 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39163 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39165
9191c04a
UD
39166 [BZ #13021]
39167 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39168 installed.
39169
bba33c28
UD
39170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39171 typo.
39172 (_dl_x86_64_save_sse): Likewise.
39173
90f139dd
UD
391742011-07-22 Ulrich Drepper <drepper@gmail.com>
39175
1aae088a
UD
39176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39177 OSXSAVE.
39178 (_dl_x86_64_save_sse): Likewise.
39179
8e2045f5
UD
39180 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39181
90f139dd
UD
39182 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39183
1d002f25
AS
391842011-07-21 Andreas Schwab <schwab@redhat.com>
39185
39186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39187 change.
39188 (_dl_x86_64_save_sse): Use correct AVX check.
39189
21137f89
UD
391902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39191
39192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39193 bug in strncpy/strncat.
39194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39195
a65c0b7a
UD
391962011-07-21 Ulrich Drepper <drepper@gmail.com>
39197
39198 * string/tester.c (test_strcat): Add tests for different alignments
39199 of source and destination.
39200 (test_strncat): Likewise.
39201
6986b98a
UD
392022011-07-20 Ulrich Drepper <drepper@gmail.com>
39203
90bb2039
UD
39204 [BZ #12852]
39205 * posix/glob.c (glob): Check passed in values before using them in
39206 expressions to avoid some overflows.
39207 (glob_in_dir): Likewise.
39208
5644ef54
UD
39209 [BZ #13007]
39210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39211 check for AVX enablement so that we don't crash with old kernels and
39212 new hardware.
39213 * elf/tst-audit4.c: Add same checks here.
39214 * elf/tst-audit6.c: Likewise.
39215
39216 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39217
bfc9dc9b
AS
392182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39219
39220 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39221
702e64bb
UD
392222011-07-20 Ulrich Drepper <drepper@gmail.com>
39223
39224 * po/cs.po: Update from translation team.
39225 * po/bg.po: Likewise.
39226
295e904f
MP
392272011-07-12 Marek Polacek <mpolacek@redhat.com>
39228
39229 * misc/sys/cdefs.h: Add support for const attribute.
39230 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39231 to gnu_dev_{major,minor,makedev} functions.
39232
3ff94596
MP
392332011-07-20 Marek Polacek <mpolacek@redhat.com>
39234
39235 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39236
28b59fca
AS
392372011-07-20 Andreas Schwab <schwab@redhat.com>
39238
39239 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39240 strlen results.
39241
19df733e
AK
392422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39243
39244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39245 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39246 register in order to avoid conflicts with the soft frame pointer
39247 being held in r11 when necessary.
39248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39249 (INTERNAL_VSYSCALL_NCS): Likewise.
39250
c8835729
MP
392512011-07-14 Marek Polacek <mpolacek@redhat.com>
39252
39253 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39254 * elf/dl-fini.c (_dl_fini): Adjust caller.
39255 * elf/dl-close.c (_dl_close_worker): Likewise.
39256 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39257
b902330c
MP
392582011-07-15 Marek Polacek <mpolacek@redhat.com>
39259
8991e135
MP
39260 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39261 "aux_cache->nlibs < 0".
39262
b902330c
MP
39263 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39264 in the reload-count case.
39265
99710781
LD
392662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39267
39268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39269 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39270 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39271 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39272 * sysdeps/x86_64/multiarch/strcat.S: New file.
39273 * sysdeps/x86_64/multiarch/strncat.S: New file.
39274 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39275 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39276 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39277 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39278 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39279 (USE_AS_STRCAT): Define.
39280 Add strcat and strncat support.
39281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39283 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39284 * string/strncat.c: Update.
39285 (USE_AS_STRNCAT): Define.
39286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39287 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39288 and i7.
39289 * sysdeps/x86_64/multiarch/init-arch.h
39290 (bit_Prefer_PMINUB_for_stringop): New.
39291 (index_Prefer_PMINUB_for_stringop): Likewise.
39292 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39293 bit_Prefer_PMINUB_for_stringop.
39294
7dc6bd90
UD
392952011-07-19 Ulrich Drepper <drepper@gmail.com>
39296
39297 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39298 buffer64.
39299 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39300 of casting of buffer.
39301 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39302 buffer32 and buffer64.
39303 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39304 writes instead of casting of buffer.
39305 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39306 buffer32.
39307 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39308 casting of buffer.
39309
e0e72284
AS
393102011-07-19 Andreas Schwab <schwab@redhat.com>
39311
39312 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39313
feb1eb0b
UD
393142011-07-19 Ulrich Drepper <drepper@gmail.com>
39315
39316 * nscd/nscd.c (termination_handler): Don't do anything for a database
39317 if it has not yet been initialized.
39318
298711ff
UD
393192011-07-18 Ulrich Drepper <drepper@gmail.com>
39320
39321 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39322
393232011-07-15 Marek Polacek <mpolacek@redhat.com>
39324
39325 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39326
f9d68389
UD
393272011-07-18 Ulrich Drepper <drepper@gmail.com>
39328
39329 * po/nl.po: Update from translation team.
39330 * po/sv.po: Likewise.
39331
db290cf5
RM
393322011-07-16 Roland McGrath <roland@hack.frob.com>
39333
39334 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39335 now disallowed by GCC.
5c550700 39336
fd5e21c7
RM
39337 * configure.in (use-default-link): Default to yes if a test -shared
39338 link meets our qualifications.
39339 * configure: Regenerated.
39340
5c550700
RM
39341 * config.make.in (output-format): New variable.
39342 * configure.in: Check for ld --print-output-format support.
39343 * configure: Regenerated.
39344 * Makerules ($(common-objpfx)format.lds)
39345 [$(output-format) != unknown]: Just use $(output-format),
39346 instead of the linker-script munging.
39347
9fa2c032
RM
393482011-07-14 Roland McGrath <roland@hack.frob.com>
39349
a6928d51
RM
39350 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39351 of $(common-objpfx)shlib.lds.
39352 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39353
661607b3
RM
39354 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39355 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39356
9fa2c032
RM
39357 * configure.in (-z relro check): Adjust test code to add a large
39358 writable data section after it.
39359 * configure: Regenerated.
39360
defe9061
RM
393612011-07-11 Roland McGrath <roland@hack.frob.com>
39362
39363 * configure.in (-z relro check): Fix test code to make the variable
39364 truly const.
39365 * configure: Regenerated.
39366
319b9ad4
UD
393672011-07-11 Ulrich Drepper <drepper@gmail.com>
39368
39369 * nscd/nscd.h (struct traced_file): Define.
39370 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39371 elements. Add traced_files.
39372 (inotify_fd): Declare.
39373 (register_traced_file): Declare.
39374 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39375 (inotify_fd): Export.
39376 (resolv_conf_descr): Remove.
39377 (nscd_init): Move inotify descriptor creation to main.
39378 Don't register files for notification here.
39379 (register_traced_file): New function.
39380 (invalidate_cache): Don't use reset_res to determine whether to call
39381 res_init, go through the list of registered files.
39382 (main_loop_poll): The inotify descriptors are now stored in the
39383 structures for the traced files.
39384 (main_loop_epoll): Likewise
39385 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39386 to __nss_disable_nscd.
39387 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39388 for a database anymore. Check the records for all the registered
39389 files instead.
39390 * nss/Makefile (libnss_files-routines): Add files-init.
39391 (libnss_db-routines): Add db-init.
39392 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39393 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39394 * nss/nss_db/db-init.c: New file.
39395 * nss/nss_files/files-init.c: New file.
39396 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39397 __nss_lookup_function.
39398 (__nss_lookup_function): Call nss_load_library.
39399 (nss_load_all_libraries): New function.
39400 (__nss_disable_nscd): Take parameter with callback function for files
39401 to register. Set is_nscd. Load all the DSOs for the NSS modules
39402 used for the cached services.
39403 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39404 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39405 options for features to all the files in nscd.
39406
39407 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39408
23bee3e8
RM
394092011-07-10 Roland McGrath <roland@hack.frob.com>
39410
39411 * csu/elf-init.c (__libc_csu_init): Comment typo.
39412
46a5b7f0
UD
394132011-07-09 Ulrich Drepper <drepper@gmail.com>
39414
39415 * po/pl.po: Update from translation team.
39416 * po/ja.po: Likewise.
39417 * po/ru.po: Likewise.
39418 * po/ko.po: Likewise.
39419 * po/fr.po: Likewise.
39420
d30cf5bb
RM
394212011-07-09 Roland McGrath <roland@hack.frob.com>
39422
113ddea4
RM
39423 * configure.in (.ctors/.dtors header and trailer check):
39424 Use an empirical test on a built program.
39425 * configure: Regenerated.
39426
574920b4
RM
39427 * configure.in (-z relro check): Use an empirical test on a built DSO.
39428 Detect, but do not require, on ia64.
39429 * configure: Regenerated.
39430
d30cf5bb
RM
39431 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39432 Update tests that use readelf to use $READELF instead.
39433 * configure: Regenerated.
39434
8538fdb3
UD
394352011-07-08 Ulrich Drepper <drepper@gmail.com>
39436
39437 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39438 if the result is not used.
39439
04d08991
AJ
394402011-07-05 Andreas Jaeger <aj@suse.de>
39441
39442 [BZ#9696]
39443 * stdlib/tst-strtod.c: Add testcase.
39444
de283087
AD
394452011-07-07 Ulrich Drepper <drepper@gmail.com>
39446
4e5f31c8 39447 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39448 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39449 The latter has a higher limit. Take additional parameter to pass to
39450 the new function.
39451 (__pathconf): Pass file to __statfs_link_max.
39452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39453 __statfs_link_max.
39454 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39455 __statfs_link_max.
39456
de283087
AD
39457 [BZ #12868]
39458 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39459 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39460 Handle Lustre.
39461 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39462 (__statfs_filesize_max): Likewise.
39463 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39464
c75fa153
AJ
394652011-07-05 Andreas Jaeger <aj@suse.de>
39466
39467 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39468
1a544854
UD
394692011-07-06 Marek Polacek <mpolacek@redhat.com>
39470
39471 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39472 `status' variable.
39473 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39474 Likewise.
39475
6f0eec67
UD
394762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39477
39478 * Makefile (strop-tests): Add strncat.
39479 * string/test-strncat.c: New file.
39480
aae30307
UD
394812011-06-30 Marek Polacek <mpolacek@redhat.com>
39482
39483 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39484
c0cfb5eb
UD
394852011-06-21 Andreas Jaeger <aj@suse.de>
39486
39487 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39488 Copy rule from iconvdata/Makefile.
39489
01636b21
UD
394902011-07-06 Ulrich Drepper <drepper@gmail.com>
39491
39492 [BZ #12922]
39493 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39494 but no long options are defined, just return 'W'.
39495
9895c8bc
UD
394962011-06-22 Marek Polacek <mpolacek@redhat.com>
39497
39498 [BZ #9696]
39499 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39500
5d4cf042
UD
395012011-07-06 Ulrich Drepper <drepper@gmail.com>
39502
39503 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39504 netgroups to read.
960e5535 39505 (innetgr): Likewise.
5d4cf042 39506
751eb97e
RM
395072011-07-05 Roland McGrath <roland@hack.frob.com>
39508
39509 * config.make.in (install_root): Default to $(DESTDIR).
39510
f15f1e45
UD
395112011-07-05 Ulrich Drepper <drepper@gmail.com>
39512
39513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39514
4e34ac6a
RM
395152011-07-02 Roland McGrath <roland@hack.frob.com>
39516
5e9b6af4
RM
39517 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39518
84f9ea0f
RM
39519 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39520 containing directory rather than embedding absolute directory names.
39521
ea5ee9f7
RM
39522 * scripts/check-local-headers.sh: Rewritten using awk.
39523 Match by word, not by line. Print error messages for matches.
39524 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39525
1b74661a
RM
39526 * Makerules [shlib-lds-flags empty]:
39527 ($(common-objpfx)libc_pic.opts): New target.
39528 ($(common-objpfx)libc_pic.os.clean): New target.
39529 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39530
39531 * config.make.in (OBJCOPY): New variable.
39532 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39533 * configure: Regenerated.
39534
f781ef40
RM
39535 * config.make.in (use-default-link): New variable.
39536 * configure.in (use_default_link): Grok --with-default-link to set it.
39537 * configure: Regenerated.
39538 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39539 (shlib-lds, shlib-lds-flags): Define to empty.
39540
2d4fa81e
RM
39541 * Makerules (shlib-lds): New variable.
39542 (shlib-lds-flags): New variable.
39543 (build-shlib, build-moduile, build-module-asneeded): Use it.
39544 ($(common-objpfx)libc.so): Use $(shlib-lds).
39545 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39546 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39547
31fffa6b
RM
39548 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39549 DT_FLAGS/DT_FLAGS_1 with zero flags.
39550
4e34ac6a
RM
39551 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39552 linker script munging.
39553
fcfc776b
UD
395542011-07-02 Ulrich Drepper <drepper@gmail.com>
39555
39556 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39557 as 128-bit value.
39558 * crypt/sha512.c (sha512_process_block): Perform total addition using
39559 128-bit if possible.
39560 (__sha512_finish_ctx): Likewise.
39561 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39562 as 64-bit value.
39563 * crypt/sha256.c (SWAP64): Define.
39564 (sha256_process_block): Perform total addition using 64-bit if
39565 possible.
39566 (__sha256_finish_ctx): Likewise.
39567
99231d9a
UD
395682011-07-01 Ulrich Drepper <drepper@gmail.com>
39569
39570 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39572 * nscd/hstcache.c (cache_addhst): Likewise.
39573 * nscd/grpcache.c (cache_addgr): Likewise.
39574 * nscd/aicache.c (addhstaiX): Likewise
39575 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39576
445b4a53
TK
395772011-07-01 Thorsten Kukuk <kukuk@suse.de>
39578
39579 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39581 * nscd/hstcache.c (cache_addhst): Likewise.
39582 * nscd/grpcache.c (cache_addgr): Likewise.
39583 * nscd/aicache.c (addhstaiX): Likewise
39584
6d4d8e8e
AS
395852011-07-01 Andreas Schwab <schwab@redhat.com>
39586
39587 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39588 domain only when needed.
39589
89f654c5
AS
395902011-06-30 Andreas Schwab <schwab@redhat.com>
39591
39592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39593 is always restored.
39594
cf3b23ff
UD
395952011-06-29 Ulrich Drepper <drepper@gmail.com>
39596
39597 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39598 are re-adding the entry.
39599 * nscd/servicescache.c (cache_addserv): Likewise.
39600
751626f9
AJ
396012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39602
39603 * sysdeps/generic/dl-irel.h: fix protection against multiple
39604 inclusions.
39605 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39606
9113ea1f
UD
396072011-06-28 Ulrich Drepper <drepper@gmail.com>
39608
5c0b8d90
UD
39609 [BZ #12935]
39610 * malloc/memusage.sh: Fix quoting in message.
39611 * debug/xtrace.sh: Likewise.
39612
9113ea1f
UD
39613 * configure.in: Remove support for --experimental-malloc option, make
39614 it the default.
39615 * config.make.in: Likewise.
39616 * malloc/Makefile: Likewise.
39617
a4172181
AS
396182011-06-27 Andreas Schwab <schwab@redhat.com>
39619
39620 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39621 two-byte characters.
39622
78a7eee7
RM
396232011-06-27 Roland McGrath <roland@hack.frob.com>
39624
62bede13
RM
39625 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39626 AC_CACHE_CHECK invocation.
39627 * configure: Regenerated.
39628
78a7eee7
RM
39629 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39630
5ce33a62
UD
396312011-06-27 Ulrich Drepper <drepper@gmail.com>
39632
034807a9
UD
39633 [BZ #12350]
39634 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39635 bit from old_res_options.
39636
4902da17
UD
39637 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39638
5ce33a62
UD
39639 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39640 value type for setfct.
39641
c2344f56
L
396422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39643
39644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39645 __gettimeofday instead of gettimeofday.
39646
68468076
UD
396472011-06-26 Ulrich Drepper <drepper@gmail.com>
39648
39649 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39650
acb0d739
L
396512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39652
39653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39654
39655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39656 info.
39657
8912479f
L
396582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39659
39660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39661 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39662 strcpy-sse2-unaligned strncpy-sse2-unaligned
39663 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39664 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39665 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39666 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39667 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39668 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39670 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39671 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39672 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39673 (STRCPY): Support SSE2 and SSSE3 versions.
39674
d5495a11
UD
396752011-06-24 Ulrich Drepper <drepper@gmail.com>
39676
39677 [BZ #12874]
39678 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39679 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39680 kernels which artificially limit size of requests.
39681
0b1cbaae
L
396822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39683
39684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39685 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39686 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39687 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39688 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39689 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39690 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39691 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39692 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39694 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39695 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39696 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39697 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39698 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39700 Enable unaligned load optimization for Intel Core i3, i5 and i7
39701 processors.
39702 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39703 Define.
39704 (index_Fast_Unaligned_Load): Define.
39705 (HAS_FAST_UNALIGNED_LOAD): Define.
39706
07f494a0
MP
397072011-06-23 Marek Polacek <mpolacek@redhat.com>
39708
39709 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39710
fa3fc0fe
UD
397112011-06-22 Ulrich Drepper <drepper@gmail.com>
39712
39713 [BZ #12907]
39714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39715 until it is clear that the information is realy needed.
39716 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39717
e12df166
AS
397182011-06-22 Andreas Schwab <schwab@redhat.com>
39719
39720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39721
852eb34d
UD
397222011-06-22 Ulrich Drepper <drepper@gmail.com>
39723
84e2a551
UD
39724 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39725 /sys/devices/system/cpu/online if it is usable.
39726
852eb34d
UD
39727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39728 reading the information from the /proc filesystem to once a second.
39729
6e502e19
UD
397302011-06-21 Andreas Jaeger <aj@suse.de>
39731
39732 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39733 NULL after inclusion of kernel headers.
39734
75d39ff2
UD
397352011-06-21 Ulrich Drepper <drepper@gmail.com>
39736
51f9aa6a
UD
39737 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39738 calls to internal_setent.
39739
c0244a9d
UD
39740 [BZ #12885]
39741 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39742 addresses using gethostbyname4_r ignore IPv4 addresses.
39743
c5e3c2ae
UD
39744 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39745 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39746
75d39ff2
UD
39747 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39748
42675c6f
DM
397492011-06-20 David S. Miller <davem@davemloft.net>
39750
39751 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39752 inclusions.
39753 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39754
39755 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39756 (elf_irel): Use it.
39757 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39758 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39759 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39760 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39761 * sysdeps/x86_64/dl-irel.h: Likewise.
39762
39763 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39764 * elf/dl-sym.c: Likewise.
39765
57912a71
UD
397662011-06-15 Ulrich Drepper <drepper@gmail.com>
39767
39768 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39769 need to dereference resplen2.
39770
ee22793d
AS
397712011-06-14 Andreas Schwab <schwab@redhat.com>
39772
39773 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39774
a9e836b0
UD
397752011-06-15 Ulrich Drepper <drepper@gmail.com>
39776
77fb9117
UD
39777 * Makeconfig: Define vardbdir and inst_vardbdir.
39778 * nss/Makefile: Add rules to install db-Makefile.
39779
40c1b22c
UD
39780 * nss/nss_db/db-XXX.c: Cleanup.
39781
9f2da732
UD
39782 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39783 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39784 GLIBC_PRIVATE.
39785 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39786 * nss/makedb.c: Implement -g option to specify that value strings
39787 are generated and should not be added to table iterated over for
39788 get*ent calls.
39789 * nss/nss_db/db-initgroups.c: New file.
39790
82e9a1f7
UD
39791 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39792 interface.
39793
c41af17e
UD
39794 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39795 (internal_getgrouplist): Adjust to name change.
39796 Update use_initgroups_entry if this is not the first call.
39797 * nss/databases.def: Add initgroups entry.
39798
a9e836b0
UD
39799 * nss/makedb.c (compute_tables): Check result of multiple hash table
39800 sizes to minimize maximum chain length.
39801
2666d441
UD
398022011-06-14 Ulrich Drepper <drepper@gmail.com>
39803
39804 * Versions.def: Add entry for libnss_db.
39805 * shlib-versions: Likewise.
39806 * nss/Makefile: Add rules to build libnss_db.
39807 * nss/Versions: Add libnss_db information. Organize libnss_files
39808 entries better.
39809 * nss/db-Makefile: Add gshadow support. Change rules for the new
39810 makedb progra. Some minor improvements to generate smaller files.
39811 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39812 here from...
39813 * nss/makedb.c: ...here.
39814 Improve database format to be smaller and require less memory at
39815 runtime.
39816 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39817 db anymore.
39818 * nss/nss_db/db-netgrp.c: Likewise.
39819 * nss/nss_db/db-open.c: Likewise.
39820 * nss/nss_files/flies-XXX.x: Adjust comments.
39821 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39822 * nss/nss_files/files-grp.c: Likewise.
39823 * nss/nss_files/files-hosts.c: Likewise.
39824 * nss/nss_files/files-network.c: Likewise.
39825 * nss/nss_files/files-proto.c: Likewise.
39826 * nss/nss_files/files-pwd.c: Likewise.
39827 * nss/nss_files/files-rpc.c: Likewise.
39828 * nss/nss_files/files-service.c: Likewise.
39829 * nss/nss_files/files-sgrp.c: Likewise.
39830 * nss/nss_files/files-spwd.c: Likewise.
39831 * nss/nss_db/db-alias.c: Removed.
39832 * nss/nss_db/dummy-db.h: Removed.
39833
9ee76b5a
UD
398342011-06-02 Ulrich Drepper <drepper@gmail.com>
39835
39836 * nss/makedb.c: Rewritten to not use database library.
39837 * nss/Makefile: Update to build new makedb program.
39838
c71ca1f8
AJ
398392011-06-14 Andreas Jaeger <aj@suse.de>
39840
39841 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39842 memset declaration.
39843
3154bfb8
UD
398442011-06-10 Andreas Schwab <schwab@redhat.com>
39845
39846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39847 tmpbuf.
39848
b350afab
RM
398492011-06-10 Roland McGrath <roland@hack.frob.com>
39850
decd4e50
RM
39851 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39852 * elf/Makefile ($(objpfx)ld.so): Likewise.
39853
5615eaf2
RM
39854 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39855 Don't list ld.so twice in dependencies.
39856
39857 * posix/bug-regex31.c: Include <stdlib.h>.
39858
39859 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39860
39861 * nis/nss_compat/compat-spwd.c
39862 (getspent_next_nss_netgr): Remove unused variable.
39863 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39864
39865 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39866 nonmembers" output to use the right array.
39867
39868 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39869
39870 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39871
39872 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39873 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39874 * catgets/gencat.c (read_input_file): Likewise.
39875 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39876
39877 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39878 variable definition inside #if's controlling its use.
39879
39880 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39881
39882 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39883
39884 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39885
39886 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39887 unreachable code.
39888
39889 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39890
b68e08db
RM
39891 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39892 * configure: Regenerated.
39893
b350afab
RM
39894 * Makerules: Revert last change.
39895 * elf/Makefile: Likewise.
39896
28368601
RM
398972011-06-09 Roland McGrath <roland@hack.frob.com>
39898
39899 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39900 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39901 (reloc-link): Likewise.
39902
11988f8f
UD
399032011-06-09 Ulrich Drepper <drepper@gmail.com>
39904
39905 * elf/Makefile: Add rules to build pldd.
39906 * elf/pldd.c: New file.
39907 * elf/pldd-xx.c: New file.
39908
e80fab37
UD
399092011-06-07 Ulrich Drepper <drepper@gmail.com>
39910
39911 * version.h: Update for 2.15 development version.
39912
9b849836
DM
399132011-06-07 David S. Miller <davem@davemloft.net>
39914
39915 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39916 ifuncs.
39917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39918 elf_machine_lazy_rel): Likewise.
39919 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39921 elf_machine_lazy_rel): Likewise.
39922 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39923 dl_hwcap via passed in argument.
39924 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39925 Likewise.
39926
5a31b283
AK
399272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39928
39929 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39930
069e52f8
RM
399312011-06-06 Roland McGrath <roland@hack.frob.com>
39932
39933 [BZ #12849]
39934 * manual/fdl-1.1.texi: New file, verbatim from:
39935 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39936 * manual/lgpl-2.1.texi: New file, verbatim from:
39937 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39938 * manual/Makefile (licenses): New variable, list those new file names.
39939 (texis): Use it.
39940 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39941
39942 * manual/fdl.texi: File removed.
39943 * manual/lesser.texi: File removed.
39944 * manual/libc.texinfo (Copying, Documentation License):
39945 Use new @include file names, put @appendix directive before @include.
39946
f16846a5
JJ
399472011-06-04 Jakub Jelinek <jakub@redhat.com>
39948
39949 [BZ #12841]
39950 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39951 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39952 (mq_open): Add __NTH.
39953
3d29045b
L
399542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39955
39956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39957 Assume Intel Core i3/i5/i7 processor if AVX is available.
39958
8c297311
UD
399592011-05-31 Ulrich Drepper <drepper@gmail.com>
39960
39961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39962 typo.
39963
c8fc0c91
UD
399642011-05-31 Andreas Schwab <schwab@redhat.com>
39965
39966 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39967 memory. Use alloca_account. Fix memory leak when retrying.
39968
5b27a807
UD
399692011-05-31 Ulrich Drepper <drepper@gmail.com>
39970
356f8bc6
UD
39971 * version.h (RELEASE): Bump for 2.14 release.
39972 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39973
5b27a807
UD
39974 * config.make.in (RANLIB): Remove entry.
39975
01f16ab0
UD
399762011-05-30 Ulrich Drepper <drepper@gmail.com>
39977
41fce8bd
UD
39978 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39979 (libc.pot): Work around missing support for .ksh extension in xgettext.
39980
4769ae77
UD
39981 [BZ #12684]
39982 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39983 if both request failed.
39984 (send_dg): In case of server errors clear resplen or *resplen2.
39985
6b1e7d19
UD
39986 [BZ #12454]
39987 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39988 when there are multiple maps.
39989 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39990 (_dl_fini): Remove test here.
39991
01f16ab0
UD
39992 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39993
b1ebd700
UD
399942011-05-29 Ulrich Drepper <drepper@gmail.com>
39995
7ae22829
UD
39996 [BZ #12350]
39997 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39998 bit from old_res_options.
39999 (gaih_inet): Likewise.
40000
553149f6 40001 [BZ #11099]
18a84741 40002 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40003 as signed.
40004
652ffab1
UD
40005 * resolv/res_init.c (res_setoptions): Make the code more compact.
40006
16985fd0
UD
40007 [BZ #11558]
40008 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40009 set RES_USEVC.
40010
0464f746
UD
40011 [BZ #11634]
40012 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40013
7d17596c
UD
40014 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40015
cf6bbbd7
UD
40016 [BZ #11781]
40017 * malloc/malloc.h: Declare malloc hook variables as volatile.
40018
13f1ab36
UD
40019 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40020 in last patch.
40021
b1ebd700
UD
40022 [BZ #11799]
40023 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40024 raise in the comment.
80e2212d
UD
40025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40027 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40028
ce67228d
UD
400292011-05-28 Ulrich Drepper <drepper@gmail.com>
40030
8887a920
UD
40031 [BZ #12811]
40032 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40033 grow the buffers more if it already has to be sufficient.
40034 (build_wcs_upper_buffer): Likewise.
40035 * posix/regexec.c (check_matching): Likewise.
40036 (clean_state_log_if_needed): Likewise.
40037 (extend_buffers): Don't enlarge buffers beyond size of the input
40038 buffer.
40039 Patches mostly by Emil Wojak <emil@wojak.eu>.
40040 * posix/bug-regex32.c: New file.
40041 * posix/Makefile (tests): Add bug-regex32.
40042
4f031072
UD
40043 * locale/findlocale.c (_nl_find_locale): Return right away if
40044 _nl_explode_name failed.
40045 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40046
d0478f0c
UD
40047 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40048
de81b246
UD
40049 * debug/xtrace.sh: Unify messages.
40050 * malloc/memusage.sh: Likewise.
40051
c738465a
UD
40052 [BZ #12813]
40053 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40054 time symbol from vDSO. Substitute with vsyscall if not available.
40055 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40056 __vdso_time.
40057
f1f929d7
UD
40058 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40059 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40060 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40061 Add sendmmsg and internal_sendmmsg.
40062 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40063 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40064 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40065
ce67228d
UD
40066 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40067 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40068 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40069
e57420c6
UD
400702011-05-27 Ulrich Drepper <drepper@gmail.com>
40071
a8509ca5
UD
40072 [BZ #12813]
40073 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40074 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40075 available.
40076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40077 __vdso_getcpu.
40078
e57420c6
UD
40079 [BZ #12814]
40080 * iconvdata/Makefile (tests): Add bug-iconv9.
40081 * iconvdata/bug-iconv9.c: New file.
40082
4d07db15
AS
400832011-05-27 Andreas Schwab <schwab@redhat.com>
40084
40085 [BZ #12814]
40086 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40087
ea486f69
JJ
400882011-05-25 Jakub Jelinek <jakub@redhat.com>
40089
40090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40091 (struct user_regs_struct): Change intcs field back to cs.
40092
6f038433
UD
400932011-05-25 Ulrich Drepper <drepper@gmail.com>
40094
40095 * po/ja.po: Update from translation team.
40096
67f86a25
UD
400972011-05-23 Ulrich Drepper <drepper@gmail.com>
40098
40099 [BZ #12795]
40100 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40101 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40102
def7fbd6
AS
401032011-05-20 Andreas Schwab <schwab@redhat.com>
40104
40105 * stdlib/longlong.h: Update from GCC.
40106
f50ef8f1
AS
401072011-05-23 Andreas Schwab <schwab@redhat.com>
40108
40109 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40110 parameter name.
40111 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40112 Add parameter name.
40113 (__sysconf): Pass it down.
40114
de7ce8f1
UD
401152011-05-22 Ulrich Drepper <drepper@gmail.com>
40116
f2962a71
UD
40117 [BZ #12671]
40118 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40119 some situations.
40120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40121 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40122 add in in __libc_use_alloca calls. Adjust callers.
40123 (glob): Use malloc in some situations.
40124
de7ce8f1
UD
40125 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40126 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40127 pltexit.
40128
aec84f53
UD
401292011-05-21 Ulrich Drepper <drepper@gmail.com>
40130
05bb4a68
UD
40131 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40132 and CLOCK_BOOTTIME_ALARM.
40133
7ea72f99
UD
40134 [BZ #12782]
40135 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40136 is returned.
40137
7e4afad5
UD
40138 * string/_strerror.c (__strerror_r): Print negative errors as signed
40139 numbers.
40140
8e211fec
UD
40141 [BZ #12777]
40142 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40143 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40144 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40145
f7d82dc9
UD
40146 * configure.in: Fix typo in redirection and correct removal of test
40147 files in two cases.
40148
cc9e536d
UD
40149 [BZ #12788]
40150 * locale/setlocale.c (new_composite_name): Fix test to check for
40151 identical name of all categories.
40152
aec84f53
UD
40153 [BZ #12792]
40154 * libio/filedoalloc.c (local_isatty): New function.
40155 (_IO_file_doallocate): Use local_isatty.
40156 * stdio-common/perror.c (perror): In case a new stream is used
40157 forward the stream error.
40158 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40159 error flag.
40160
78e64fdc
RT
401612011-05-20 Ulrich Drepper <drepper@gmail.com>
40162
34a9094f
UD
40163 [BZ #11869]
40164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40165 alloca.
40166 * include/alloca.h (extend_alloca_account): Define.
40167
78e64fdc
RT
40168 [BZ #11857]
40169 * posix/regex.h: Fix comments with documentation of user-accessible
40170 fields after compilation and describe correct free'ing of pattern
40171 after re_compile_pattern.
40172 Patch by Reuben Thomas <rrt@sc3d.org>.
40173
457bddfc
RA
401742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40175
40176 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40177 and -mno-altivec to prevent the compiler from using Altivec and/or
40178 VSX instructions when the corresponding registers are not available.
40179
a4527b51
AS
401802011-05-19 Andreas Schwab <schwab@redhat.com>
40181
40182 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40183
ed690b2f
UD
401842011-05-19 Ulrich Drepper <drepper@gmail.com>
40185
40186 * libio/freopen.c (freopen): Use __dup2, not dup2.
40187 * libio/freopen64.c (freopen64): Likewise.
40188
8db73634
L
401892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40190
40191 [BZ #12775]
40192 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40193 * math/Makefile (tests): Add test-powl.
40194 (CFLAGS-test-powl.c): Define.
40195 * math/test-powl.c: New file.
40196
0a197a9d
L
401972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40198
40199 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40200
ee30c380
UD
402012011-05-17 Ulrich Drepper <drepper@gmail.com>
40202
40203 [BZ #11837]
40204 * iconvdata/gb18030.c: Update to GB18020-2005.
40205
6ce75379
UD
402062011-05-16 Ulrich Drepper <drepper@gmail.com>
40207
a4b89fd8
AR
40208 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40209 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40210 Patch by Aharon Robbins <arnold@skeeve.com>.
40211
ea389b12
UD
40212 [BZ #11892]
40213 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40214 on the stack.
40215
68a3f91f
UD
40216 [BZ #11895]
40217 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40218 through underflows.
40219
15cc7dd1
UD
40220 [BZ #12766]
40221 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40222 point to strings before performing equality test for error_one_per_line
40223 mode.
40224
f3799213
UD
40225 [BZ #11697]
40226 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40227
d79a9c94
UD
40228 [BZ #11820]
40229 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40230 (struct user_fpregs_struct): Avoid __uint*_t types.
40231
56e5eb46
UD
40232 [BZ #6420]
40233 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40234 symbol info. Use it instead of calling _dl_addr locally.
40235 (lock_and_info): New function.
40236 (tr_freehook): Call lock_and_info and pass symbol info as additional
40237 parameter to tr_where.
40238 (tr_mallochook): Likewise.
40239 (tr_reallochook): Likewise.
40240 (tr_memalignhook): Likewise.
40241
6ce75379
UD
40242 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40243 used and couldn't be at all thread-safe.
40244
f8a3b5bf
UD
402452011-05-15 Ulrich Drepper <drepper@gmail.com>
40246
94b7cc37
UD
40247 * libio/freopen.c (freopen): Don't close old file descriptor
40248 before the new one is opened. Instead dup the new file descriptor
40249 to the old one after the new stream is created.
40250 * libio/freopen64.c (freopen64): Likewise.
40251 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40252 * libio/fileops.c (_IO_new_file_close_it): Handle new
40253 _IO_FLAGS2_NOCLOSE flag.
40254 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40255 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40256 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40257 _IO_FLAGS2_NOCLOSE flag.
40258 * include/unistd.h: Add hidden_proto for dup3.
40259 Define __have_dup3.
40260 * io/dup3.c: Define hidden symbol.
40261 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40262
bd25564e
UD
40263 [BZ #7101]
40264 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40265 when an incomplete long option is used.
40266 * posix/tst-getopt_long1.c: New file.
40267 * posix/Makefile (tests): Add tst-getopt_long1.
40268
c84cfef4
UD
40269 [BZ #10138]
40270 * scripts/config.guess: Update from autoconf-2.68.
40271 * scripts/config.sub: Likewise.
40272
3b85df27
UD
40273 [BZ #10157]
40274 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40275 tests into ...
40276 (has_cpuclock): ...this. New function.
40277 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40278 macro here based on has_cpuclock code.
40279
15a856b1
UD
40280 [BZ #10149]
40281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40282 First byte (not low byte) is now always NUL.
40283 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40284
05f399e6
UD
40285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40286 Use non-cancelable interfaces.
40287
10a52685 40288 [BZ #9809]
94ecc67d
UD
40289 * locale/iso-639.def: Add entry for Sorani.
40290
f8a3b5bf
UD
40291 [BZ #11901]
40292 * include/stdlib.h: Move include protection to the right place.
40293 Define abort_msg_s. Declare __abort_msg with it.
40294 * stdlib/abort.c (__abort_msg): Adjust type.
40295 * assert/assert.c (__assert_fail_base): New function. Majority
40296 of code from __assert_fail. Allocate memory for __abort_msg with
40297 mmap.
40298 (__assert_fail): Now call __assert_fail_base.
40299 * assert/assert-perr.c: Remove bulk of implementation. Use
40300 __assert_fail_base.
40301 * include/assert.hL Declare __assert_fail_base.
40302 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40303 mmap.
40304 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40305
1af4e298
UD
403062011-05-14 Ulrich Drepper <drepper@gmail.com>
40307
f8a3b5bf 40308 [BZ #11952]
d26dfc60
MG
40309 [BZ #12453]
40310 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40311 until all modules are registered in the DTV.
40312 * elf/Makefile: Add rules to build and run tst-tls19.
40313 * elf/tst-tls19.c: New file.
40314 * elf/tst-tls19mod1.c: New file.
40315 * elf/tst-tls19mod2.c: New file.
40316 * elf/tst-tls19mod3.c: New file.
40317 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40318
2fc54d6f
UD
40319 [BZ #12083]
40320 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40321 correctly.
40322
98d76b46
UD
40323 [BZ #12601]
40324 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40325 two-byte sequence errors.
40326 * iconvdata/Makefile (tests): Add bug-iconv8.
40327 * iconvdata/bug-iconv8.c: New file.
40328
da3c19ef
UD
40329 [BZ #12626]
40330 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40331 buf2 definition.
40332
ca408c15
UD
40333 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40334
d6f67f7d
UD
40335 [BZ #12432]
40336 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40337 (dummy_getcfa): New function.
40338 (init): Get _Unwind_GetCFA address, use dummy if not found.
40339 (backtrace_helper): In recursion check, also check whether CFA changes.
40340 (__backtrace): Completely initialize arg.
40341
1af4e298 40342 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40343 storing incomplete byte sequence in state object. Avoid testing for
40344 guaranteed too small input if we know there is enough data available.
1af4e298 40345
da62f81b
AS
403462011-05-11 Andreas Schwab <schwab@redhat.com>
40347
40348 * Makeconfig (+link-pie): Indent.
40349 * Rules (binaries-pie): Define if $(have-fpie) and
40350 $(build-shared).
40351 (binaries-shared): Also filter out $(binaries-pie).
40352 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40353 * nscd/Makefile (others-pie): Add nscd.
40354 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40355 ($(objpfx)nscd): Remove command override.
40356 * login/Makefile (others-pie): Add pt_chown.
40357 ($(objpfx)pt_chown): Remove command override.
40358 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40359 remove command overrides.
40360
fcabc0f8
UD
403612011-05-13 Ulrich Drepper <drepper@gmail.com>
40362
20030ae6
UD
40363 * libio/tst_putwc.c: Fix error messages.
40364
fcabc0f8
UD
40365 [BZ #12724]
40366 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40367 currently writing and seek to current position when not.
40368 * libio/Makefile (tests): Add bug-fclose1.
40369 * libio/bug-fclose1.c: New file.
40370
320a5dc0
PB
403712011-05-12 Ulrich Drepper <drepper@gmail.com>
40372
40373 [BZ #12511]
40374 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40375 don't set DF_1_NODELETE here.
40376 (do_lookup_x): When entering new entry test for copy relocation
40377 and if necessary set DF_1_NODELETE flag.
40378 * elf/tst-unique4.cc: New file.
40379 * elf/tst-unique4.h: New file.
40380 * elf/tst-unique4lib.cc: New file.
40381 * elf/Makefile: Add rules to build and run tst-unique4.
40382 Patch by Piotr Bury <pbury@goahead.com>.
40383
22836f52
UD
403842011-05-11 Ulrich Drepper <drepper@gmail.com>
40385
f574184a
UD
40386 [BZ #12052]
40387 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40388
e1fb097f
UD
40389 [BZ #12625]
40390 * misc/mntent_r.c (addmntent): Flush the stream after the output
40391
22836f52
UD
40392 [BZ #12393]
40393 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40394 (is_trusted_path_normalize): Skip initial colon. Append slash
40395 to empty buffer. Duplicate is_trusted_path code but allow
40396 constructed patch to be prefix.
40397 (is_dst): Allow $ORIGIN followed by /.
40398 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40399 Correct testing of result of is_trusted_path_normalize
40400 (decompose_rpath): Fix warning.
40401
7b3b0b2a
UD
404022011-05-10 Ulrich Drepper <drepper@gmail.com>
40403
40404 [BZ #11257]
40405 * grp/initgroups.c (internal_getgrouplist): When we found the service
40406 list through the initgroups entry in nsswitch.conf do not always
40407 continue on a successful lookup. Don't always use the
eac80ce2 40408 __nss_group_database value if it is set.
7b3b0b2a
UD
40409 * nss/nsswitch.conf (initgroups): Change action for successful db
40410 lookup to continue for compatibility.
40411
2a81eaa5
UD
404122011-05-09 Ulrich Drepper <drepper@gmail.com>
40413
be97a69e
UD
40414 [BZ #11532]
40415 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40416 and CP774 modules.
40417 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40418 and CP774 modules.
40419 * iconvdata/tst-tables.sh: Likewise.
40420 * iconvdata/cp770.c: New file.
40421 * iconvdata/cp771.c: New file.
40422 * iconvdata/cp772.c: New file.
40423 * iconvdata/cp773.c: New file.
40424 * iconvdata/cp774.c: New file.
40425 * iconvdata/testdata/CP770: New file.
40426 * iconvdata/testdata/CP770..UTF8: New file.
40427 * iconvdata/testdata/CP771: New file.
40428 * iconvdata/testdata/CP771..UTF8: New file.
40429 * iconvdata/testdata/CP772: New file.
40430 * iconvdata/testdata/CP772..UTF8: New file.
40431 * iconvdata/testdata/CP773: New file.
40432 * iconvdata/testdata/CP773..UTF8: New file.
40433 * iconvdata/testdata/CP774: New file.
40434 * iconvdata/testdata/CP774..UTF8: New file.
40435
40436 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40437 END CHARMAP line.
40438 * iconvdata/gen-8bit-gap.sh: Likewise.
40439 * iconvdata/gen-8bit.sh: Likewise.
40440
c1e9e399
UD
40441 * locale/iso-639.def: Add ary entry.
40442
24c55fb3 40443 [BZ #11258]
96b4b1b0
UD
40444 * locale/C-translit.h.in: Add U20A1 transliteration.
40445
bdc2f971
KB
40446 [BZ #12178]
40447 * locale/iso-639.def: Add wae entry.
40448 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40449
2952b117
UD
40450 [BZ #12545]
40451 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40452 for n.
40453
2a81eaa5
UD
40454 [BZ #12711]
40455 * locale/C-translit.h.in: Add entry for U20B9.
40456 Patch by pravin.d.s@gmail.com.
40457
28377d1b
UD
404582011-05-08 Ulrich Drepper <drepper@gmail.com>
40459
7fb90fb8
UD
40460 [BZ #12713]
40461 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40462 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40463 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40464 in rtld. Use *stat64.
7fb90fb8 40465 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40466 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40467 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40468 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40469 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40470 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40471 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40472 __fstatat64 macros.
7fb90fb8
UD
40473 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40474 * dirent/rewinddir.c: Add libc_hidden_def.
40475 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40476 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40477
28377d1b
UD
40478 * include/dirent.h (__alloc_dir): Add flags parameter.
40479 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40480 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40481 __alloc_dir.
40482 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40483 from fdopendir if O_CLOEXEC is already set.
40484
66bdbaa4
AM
404852011-03-15 Alan Modra <amodra@gmail.com>
40486
40487 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40488 l_tls_firstbyte_offset non-zero. Save padding offset in
40489 l_tls_firstbyte_offset for later use.
40490 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40491 freeing static tls block.
40492
95721191
JN
404932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40494
40495 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40496 where #ifdef was intended. The intent is to prevent ARG_MAX from
40497 being defined by the kernel headers.
40498
f87dfb1f
UD
404992011-05-07 Ulrich Drepper <drepper@gmail.com>
40500
40501 [BZ #12734]
40502 * resolv/resolv.h: Define RES_NOTLDQUERY.
40503 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40504 no-tld-query and set RES_NOTLDQUERY.
40505 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40506 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40507 modern BIND to search name as TLD unless forbidden.
40508
47c3cd7a
UD
405092011-05-07 Petr Baudis <pasky@suse.cz>
40510 Ulrich Drepper <drepper@gmail.com>
40511
40512 [BZ #12393]
40513 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40514 (is_trusted_path): ...to here.
c1e9ea35 40515 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40516 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40517 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40518
8a35c912
PP
405192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40520
40521 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40522 __BEGIN/__END_DECLS.
40523
acd41f47
UD
405242011-05-06 Ulrich Drepper <drepper@gmail.com>
40525
40526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40527 NSS_STATUS_NOTFOUND if no record was found.
40528
597df647
AS
405292011-05-05 Andreas Schwab <schwab@redhat.com>
40530
40531 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40532 (headers-not-in-tirpc): Remove rpc/netdb.h
40533 * resolv/netdb.h: Revert last change.
40534
b9af1301
PP
405352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40536
40537 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40538 circular dependency between libgcc.a and libc.a.
40539
4e34d5f5
AS
405402011-05-05 Andreas Schwab <schwab@redhat.com>
40541
40542 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40543 * nis/Makefile: Don't install rpcsvc/*.
40544 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40545 instead of <rpc/types.h>.
40546 (MAXHOSTNAMELEN): Define.
40547
00ee369c
AS
405482011-05-03 Andreas Schwab <schwab@redhat.com>
40549
40550 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40551
0b592a30
MB
405522011-04-28 Maciej Babinski <mbabinski@google.com>
40553
40554 [BZ #12714]
40555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40556 gethostbyname4_r when IPv6 results are possible.
40557
6e04cbbe
UD
405582011-05-02 Ulrich Drepper <drepper@gmail.com>
40559
40560 [BZ #12723]
40561 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40562 _PC_PIPE_BUF handling.
40563
e4ecafe0
BH
405642011-04-30 Bruno Haible <bruno@clisp.org>
40565
40566 [BZ #12717]
40567 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40568 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40569 to 'int'.
40570 * inet/getnameinfo.c (getnameinfo): Likewise.
40571
125ee683
UD
405722011-04-29 Ulrich Drepper <drepper@gmail.com>
40573
40574 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40575 to groups setting in database lookup.
40576 * nss/nsswitch.conf: Add initgroups entry.
40577
b722481a
EB
405782011-04-22 Ulrich Drepper <drepper@gmail.com>
40579
40580 [BZ #12685]
40581 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40582 mode string.
40583 Patch by Eric Blake <eblake@redhat.com>.
40584
4df46dbd
L
405852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40586
40587 * sunrpc/Makefile (need-export-routines): Add svc_run.
40588 (routines): Remove svc_run.
40589 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40590 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40591 * sunrpc/svc_run.c (svc_run): Likewise.
40592 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40593
e84142d2
UD
405942011-04-21 Ulrich Drepper <drepper@gmail.com>
40595
40596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40597 problem in reallocation in last patch.
40598
877175d8
UD
405992011-04-20 Ulrich Drepper <drepper@gmail.com>
40600
40601 * sunrpc/Makefile: Move inclusion of Rules.
40602
ab8eed78
UD
406032011-04-19 Ulrich Drepper <drepper@gmail.com>
40604
40605 * nss/nss_files/files-initgroups.c: New file.
40606 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40607 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40608 _nss_files_initgroups_dyn.
40609
e3d8f584
RS
406102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40611
40612 * elf/elf.h (R_ARM_IRELATIVE): Define.
40613
af190f45
UD
406142011-04-19 Ulrich Drepper <drepper@gmail.com>
40615
40616 * po/ru.po: Update from translation team.
40617
53cf59ef
UD
406182011-04-17 Ulrich Drepper <drepper@gmail.com>
40619
40620 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40621 dependencies.
40622
4c559bcd
MF
406232011-02-06 Mike Frysinger <vapier@gentoo.org>
40624
40625 [BZ #12653]
40626 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40627 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40630 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40631
4420675c
AS
406322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40633
40634 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40635 differing bytes.
40636 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40637 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40639
75ea32ab
UD
406402011-04-17 Ulrich Drepper <drepper@gmail.com>
40641
40642 [BZ #12420]
40643 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40644 storing it.
40645 * stdlib/bug-getcontext.c: New file.
40646 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40647
27390476
AK
406482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40649
40650 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40651 instructions into .machine "z9-109".
40652 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40653 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40654
10442705
AK
406552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40656
40657 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40658 between environment variables and auxiliary vector.
40659
7b57bfe5
UD
406602011-04-16 Ulrich Drepper <drepper@gmail.com>
40661
40662 * Makefile: Add rules to build linkobj/libc.so.
40663 * include/libc-symbols.h: Define libc_hidden_nolink.
40664 * include/rpc/auth.h: Mark functions which are to be hidden.
40665 * include/rpc/auth_des.h: Likewise.
40666 * include/rpc/auth_unix.h: Likewise.
40667 * include/rpc/clnt.h: Likewise.
40668 * include/rpc/des_crypt.h: Likewise.
40669 * include/rpc/key_prot.h: Likewise.
40670 * include/rpc/pmap_clnt.h: Likewise.
40671 * include/rpc/pmap_prot.h: Likewise.
40672 * include/rpc/pmap_rmt.h: Likewise.
40673 * include/rpc/rpc_msg.h: Likewise.
40674 * include/rpc/svc.h: Likewise.
40675 * include/rpc/svc_auth.h: Likewise.
40676 * include/rpc/xdr.h: Likewise.
40677 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40678 * nss/Makefile: Likewise.
40679 * sunrpc/Makefile: Don't install headers. Build library with normal
40680 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40681 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40682 for the compat linking library. Remove use of INTDEF/INTUSE.
40683 * sunrpc/auth_none.c: Likewise.
40684 * sunrpc/auth_unix.c: Likewise.
40685 * sunrpc/authdes_prot.c: Likewise.
40686 * sunrpc/authuxprot.c: Likewise.
40687 * sunrpc/clnt_gen.c: Likewise.
40688 * sunrpc/clnt_perr.c: Likewise.
40689 * sunrpc/clnt_raw.c: Likewise.
40690 * sunrpc/clnt_simp.c: Likewise.
40691 * sunrpc/clnt_tcp.c: Likewise.
40692 * sunrpc/clnt_udp.c: Likewise.
40693 * sunrpc/clnt_unix.c: Likewise.
40694 * sunrpc/des_crypt.c: Likewise.
40695 * sunrpc/des_soft.c: Likewise.
40696 * sunrpc/get_myaddr.c: Likewise.
40697 * sunrpc/key_call.c: Likewise.
40698 * sunrpc/key_prot.c: Likewise.
40699 * sunrpc/netname.c: Likewise.
40700 * sunrpc/pm_getmaps.c: Likewise.
40701 * sunrpc/pm_getport.c: Likewise.
40702 * sunrpc/pmap_clnt.c: Likewise.
40703 * sunrpc/pmap_prot.c: Likewise.
40704 * sunrpc/pmap_prot2.c: Likewise.
40705 * sunrpc/pmap_rmt.c: Likewise.
40706 * sunrpc/publickey.c: Likewise.
40707 * sunrpc/rpc_cmsg.c: Likewise.
40708 * sunrpc/rpc_common.c: Likewise.
40709 * sunrpc/rpc_dtable.c: Likewise.
40710 * sunrpc/rpc_prot.c: Likewise.
40711 * sunrpc/rpc_thread.c: Likewise.
40712 * sunrpc/rtime.c: Likewise.
40713 * sunrpc/svc.c: Likewise.
40714 * sunrpc/svc_auth.c: Likewise.
40715 * sunrpc/svc_authux.c: Likewise.
40716 * sunrpc/svc_raw.c: Likewise.
40717 * sunrpc/svc_run.c: Likewise.
40718 * sunrpc/svc_simple.c: Likewise.
40719 * sunrpc/svc_tcp.c: Likewise.
40720 * sunrpc/svc_udp.c: Likewise.
40721 * sunrpc/svc_unix.c: Likewise.
40722 * sunrpc/svcauth_des.c: Likewise.
40723 * sunrpc/xcrypt.c: Likewise.
40724 * sunrpc/xdr.c: Likewise.
40725 * sunrpc/xdr_array.c: Likewise.
40726 * sunrpc/xdr_float.c: Likewise.
40727 * sunrpc/xdr_intXX_t.c: Likewise.
40728 * sunrpc/xdr_mem.c: Likewise.
40729 * sunrpc/xdr_rec.c: Likewise.
40730 * sunrpc/xdr_ref.c: Likewise.
40731 * sunrpc/xdr_sizeof.c: Likewise.
40732 * sunrpc/xdr_stdio.c: Likewise.
40733
e6c61494
UD
407342011-04-10 Ulrich Drepper <drepper@gmail.com>
40735
40736 [BZ #12650]
40737 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40738 * sysdeps/ia64/dl-tls.h: Likewise.
40739 * sysdeps/powerpc/dl-tls.h: Likewise.
40740 * sysdeps/s390/dl-tls.h: Likewise.
40741 * sysdeps/sh/dl-tls.h: Likewise.
40742 * sysdeps/sparc/dl-tls.h: Likewise.
40743 * sysdeps/x86_64/dl-tls.h: Likewise.
40744 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40745
34fe483e
AS
407462011-03-14 Andreas Schwab <schwab@redhat.com>
40747
40748 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40749 rpath element also skip the following colon.
40750 (expand_dynamic_string_token): Add is_path parameter and pass
40751 down to DL_DST_REQUIRED and _dl_dst_substitute.
40752 (decompose_rpath): Call expand_dynamic_string_token with
40753 non-zero is_path. Ignore empty rpaths.
40754 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40755 with zero is_path.
40756
f12a32e6
AS
407572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40758
40759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40760 Make cancelable.
40761
38a7d692
UD
407622011-04-09 Ulrich Drepper <drepper@gmail.com>
40763
40764 [BZ #12655]
40765 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40766 Patch by Filipe David Manana <fdmanana@apache.org>.
40767
e451d22b
AS
407682011-04-07 Andreas Schwab <schwab@redhat.com>
40769
40770 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40771 Maintain aligned stack.
40772 (CHECK_RSP): Remove unused macro.
40773
dedc7c7b
UD
407742011-04-03 Ulrich Drepper <drepper@gmail.com>
40775
40776 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40777 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40778
94521213
UD
407792011-04-02 Ulrich Drepper <drepper@gmail.com>
40780
40781 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40782
8cb700c0 40783 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40784
0354e355
L
407852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40786
40787 [BZ #12518]
40788 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40789 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40790 * sysdeps/x86_64/memmove.c: New file.
40791 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40792 (memcpy): Renamed to ...
40793 (__new_memcpy): This.
40794 (memcpy): Provide GLIBC_2_14 memcpy.
40795 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40796 (memcpy): Provide GLIBC_2_2_5 memcpy.
40797
8593482f
UD
407982011-04-01 Ulrich Drepper <drepper@gmail.com>
40799
40800 [BZ #12631]
40801 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40802
81a5726b
AS
408032011-03-30 Andreas Schwab <schwab@redhat.com>
40804
40805 * misc/syncfs.c: New file.
40806 * misc/Makefile (routines): Add syncfs.
40807 * posix/unistd.h: Declare syncfs.
40808 * sysdeps/unix/syscalls.list: Add syncfs.
40809
00e5419f
AS
408102011-04-01 Andreas Schwab <schwab@redhat.com>
40811
40812 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40813 open_by_handle_at.
40814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40817 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40819 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40821
748876bf
UD
408222011-04-01 Ulrich Drepper <drepper@gmail.com>
40823
658e451d
UD
40824 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40825 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40826 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40831
748876bf
UD
40832 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40833 sync_file_range.c with -fexceptions.
40834 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40835 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40836 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40837 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40838 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40839 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40841 sync_file_range as cancellation point
40842 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40843 now a wrapper around __call_sync_file_range with cancellation handling.
40844 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40845 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40846 function name to __call_sync_file_range.
40847 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40848 Add call_sync_file_range.
748876bf 40849
6e63d5e1
AS
408502011-04-01 Andreas Schwab <schwab@redhat.com>
40851
40852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40853 bits/timex.h.
6e63d5e1 40854
46998f74
UD
408552011-04-01 Ulrich Drepper <drepper@gmail.com>
40856
4c1423ed
UD
40857 * iconv/iconv.h: Fix typo in comment.
40858 * io/fcntl.h: Likewise.
40859 * libio/stdio.h: Likewise.
40860 * posix/spawn.h: Likewise.
40861 * posix/unistd.h: Likewise.
40862 * stdlib/stdlib.h: Likewise.
40863 * time/time.h: Likewise.
40864 * wcsmbs/wchar.h: Likewise.
40865
158648c0
UD
40866 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40867 open_by_handle): Add.
40868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40869 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40870 Augment a few comments.
40871 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40876 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40877 open_by_handle.
40878
46998f74
UD
40879 * io/fcntl.h (AT_EMPTY_PATH): Define.
40880
83fe108b
UD
408812011-03-30 Ulrich Drepper <drepper@gmail.com>
40882
40883 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40884 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40885 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40886 to...
40887 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40888 * Versions.def: Add GLIBC_2.14.
40889 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40890 Export.
83fe108b 40891
bb242059
UD
408922011-03-22 Ulrich Drepper <drepper@gmail.com>
40893
40894 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40895 round counter.
40896 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40897
c97a1282
L
408982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40899
40900 [BZ #12597]
40901 * string/test-strncmp.c (do_page_test): New function.
40902 (check2): Likewise.
40903 (test_main): Call check2.
40904 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40905
2a115601
UD
409062011-03-20 Ulrich Drepper <drepper@gmail.com>
40907
40908 [BZ #12587]
40909 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40910 Handle cache information in CPU leaf 4.
40911 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40912
8126d904
UD
409132011-03-18 Ulrich Drepper <drepper@gmail.com>
40914
042c49c6 40915 [BZ #12583]
8126d904
UD
40916 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40917 character representation.
40918 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40919
ccfe366e
RA
409202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40921
40922 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40923 END(__isnan) to END(__isnanf) to match function entry point/label
40924 EALIGN(__isnanf,...).
40925
c6e13027
JJ
409262011-03-10 Jakub Jelinek <jakub@redhat.com>
40927
40928 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40929
33f85a3f
UD
409302011-03-10 Ulrich Drepper <drepper@gmail.com>
40931
028478fa
UD
40932 [BZ #12510]
40933 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40934 copy from the symbol referenced in the relocation to initialize the
40935 used variable.
40936 Patch by Piotr Bury <pbury@goahead.com>.
40937 * elf/Makefile: Add rules to build and tst-unique3.
40938 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40939 * elf/tst-unique3.cc: New file.
40940 * elf/tst-unique3.h: New file.
40941 * elf/tst-unique3lib.cc: New file.
40942 * elf/tst-unique3lib2.cc: New file.
40943
33f85a3f
UD
40944 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40945
03592fc7
MF
409462011-03-10 Mike Frysinger <vapier@gentoo.org>
40947
40948 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40949 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40950 to _start.
03592fc7 40951
6a5ee102
UD
409522011-03-06 Ulrich Drepper <drepper@gmail.com>
40953
40954 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40955 to-be-loaded object along a path to loader is ld.so.
40956
7e4ba49c
HJ
409572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40958 Ulrich Drepper <drepper@gmail.com>
40959
40960 * sysdeps/x86_64/memset.S: After aligning destination, code
40961 branches to different locations depending on the value of
40962 misalignment, when multiarch is enabled. Fix this.
40963
409642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40965
40966 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40967 Set _x86_64_preferred_memory_instruction for AMD processsors.
40968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40969 Set bit_Prefer_SSE_for_memop for AMD processors.
40970
13a804de
UD
409712011-03-04 Ulrich Drepper <drepper@gmail.com>
40972
40973 * libio/fmemopen.c (fmemopen): Optimize a bit.
40974
9d25c392
AS
409752011-03-03 Andreas Schwab <schwab@redhat.com>
40976
40977 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40978
a5543c6a
RM
409792011-03-03 Roland McGrath <roland@redhat.com>
40980
40981 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40982
012d35f7
DM
409832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40984
7e4ba49c 40985 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40986 __bzero_ultra1 instead of __memset_ultra1.
40987
4bff6e01
AS
409882011-02-23 Andreas Schwab <schwab@redhat.com>
40989 Ulrich Drepper <drepper@gmail.com>
40990
40991 [BZ #12509]
40992 * include/link.h (struct link_map): Add l_orig_initfini.
40993 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40994 returning unsuccessfully.
40995 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40996 close of a file loaded at startup, restore the original l_initfini
40997 list.
40998 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40999 list, store the pointer.
41000 * elf/Makefile ($(objpfx)noload-mem): New rule.
41001 (noload-ENV): Define.
41002 (tests): Add $(objpfx)noload-mem.
41003 * elf/noload.c: Include <memcheck.h>.
41004 (main): Call mtrace. Close all opened handles.
41005
f2092faf
AS
410062011-02-17 Andreas Schwab <schwab@redhat.com>
41007
41008 [BZ #12454]
41009 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41010 dependencies are missing.
41011
6c8a2e88
ST
410122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41013
f2092faf 41014 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41015 Hurd needs munmap.
41016 * sysdeps/mach/hurd/ifreq.h: New file.
41017
84a42118
PB
410182011-01-27 Petr Baudis <pasky@suse.cz>
41019 Ulrich Drepper <drepper@gmail.com>
41020
071f805e 41021 [BZ 12445]#
84a42118
PB
41022 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41023 to extend_alloca().
41024 * stdio-common/bug23.c: New file.
41025 * stdio-common/Makefile (tests): Add bug23.
41026
e23fe25b
AS
410272010-09-28 Andreas Schwab <schwab@redhat.com>
41028 Ulrich Drepper <drepper@gmail.com>
41029
41030 [BZ #12489]
41031 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41032 before performing relro protection. At old place add assertion
41033 to make sure nothing changed.
41034
d3f02e10
NS
410352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41036 Glauber de Oliveira Costa <glommer@gmail.com>
41037
41038 * elf/elf.h: Add new ARM TLS relocs.
41039
d55fd7a5
RA
410402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41041
41042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41043 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41044 cast from r3.
41045 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41046 'tests' variable.
41047 * sysdeps/wordsize-64/tst-writev.c: New file.
41048
2206397e
RA
410492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41050
41051 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41052 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41053 insns in _dl_start to prevent a TOC reference before relocs are
41054 resolved.
41055
e9433893
UD
410562011-02-15 Ulrich Drepper <drepper@gmail.com>
41057
41058 [BZ #12469]
41059 * Makeconfig: Remove RANLIB definition.
41060 * Makerules: Don't use RANLIB.
41061 * aclocal.m4: Remove ranlib test.
41062 * configure.in: No need to check for ranlib.
41063 * elf/rtld-Rules: Don't use RANLIB.
41064
f75286c6
ST
410652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41066
8e31c82d
ST
41067 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41068 protection macro.
41069 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41070 inclusion protection macro.
41071
f75286c6
ST
41072 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41073 SIGRTMIN and SIGRTMAX and print information in that case only when
41074 SIGRTMIN is defined.
41075
c1d0e639
JJ
410762011-02-11 Jakub Jelinek <jakub@redhat.com>
41077
41078 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41079 arginfo fn returning -1.
41080
41081 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41082 and thousands string is zero terminated.
41083
edf9294e
AS
410842011-02-03 Andreas Schwab <schwab@redhat.com>
41085
41086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41087 sysdeps/unix/sysv/linux/bits/socket.h.
41088
2b7e92df
ST
410892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41090
edf9294e
AS
41091 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41092 (__CPU_COUNT): Remove old macros.
41093 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41094 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41095 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41096 (__sched_cpualloc, __sched_cpufree): Add declarations.
41097
a4c7ea7b
UD
410982011-02-05 Ulrich Drepper <drepper@gmail.com>
41099
41100 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41101 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41102 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41103 (readdhstai): Return value of addhstaiX call.
41104 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41105 (addgrbyX): Return value returned by cache_addgr.
41106 (readdgrbyname): Return value returned by addgrbyX.
41107 (readdgrbygid): Likewise.
41108 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41109 (addpwbyX): Return value returned by cache_addpw.
41110 (readdpwbyname): Return value returned by addhstbyX.
41111 (readdpwbyuid): Likewise.
41112 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41113 (addservbyX): Return value returned by cache_addserv.
41114 (readdservbyname): Return value returned by addservbyX:
41115 (readdservbyport): Likewise.
41116 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41117 (addhstbyX): Return value returned by cache_addhst.
41118 (readdhstbyname): Return value returned by addhstbyX.
41119 (readdhstbyaddr): Likewise.
41120 (readdhstbynamev6): Likewise.
41121 (readdhstbyaddrv6): Likewise.
41122 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41123 (readdinitgroups): Return value returned by addinitgroupsX.
41124 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41125 (prune_cache): Keep track of timeout value of re-added entries.
41126 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41127 * nscd/nscd.h: Adjust prototypes of readd* functions.
41128
a0bf67cc
RM
411292011-02-04 Roland McGrath <roland@redhat.com>
41130
41131 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41132 (nis_stats): Likewise.
41133 * nis/nis_modify.c (nis_modify): Likewise.
41134 * nis/nis_remove.c (nis_remove): Likewise.
41135 * nis/nis_add.c (nis_add): Likewise.
41136
41137 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41138
41139 * posix/fnmatch_loop.c: Add some consts.
41140
41141 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41142
435b95eb
L
411432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41144
41145 [BZ #12460]
41146 * config.make.in (config-cflags-novzeroupper): Define.
41147 * configure.in: Substitute libc_cv_cc_novzeroupper.
41148 * elf/Makefile (AVX-CFLAGS): Define.
41149 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41150 (CFLAGS-tst-auditmod4a.c): Likewise.
41151 (CFLAGS-tst-auditmod4b.c): Likewise.
41152 (CFLAGS-tst-auditmod6b.c): Likewise.
41153 (CFLAGS-tst-auditmod6c.c): Likewise.
41154 (CFLAGS-tst-auditmod7b.c): Likewise.
41155 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41156
8517b15e
UD
411572011-02-02 Ulrich Drepper <drepper@gmail.com>
41158
41159 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41160 function to the callback.
41161 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41162
10a656fe
AS
411632011-02-02 Andreas Schwab <schwab@redhat.com>
41164
41165 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41166 of errno.
41167
968dad0a
UD
411682011-01-19 Ulrich Drepper <drepper@gmail.com>
41169
9f94d2ea 41170 [BZ #11724]
968dad0a
UD
41171 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41172 of constructors.
41173 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41174 of destructors.
41175 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41176
41177 [BZ #11724]
41178 * elf/Makefile: Add rules to build and run new test.
41179 * elf/tst-initorder.c: New file.
41180 * elf/tst-initorder.exp: New file.
41181 * elf/tst-initordera1.c: New file.
41182 * elf/tst-initordera2.c: New file.
41183 * elf/tst-initordera3.c: New file.
41184 * elf/tst-initordera4.c: New file.
41185 * elf/tst-initorderb1.c: New file.
41186 * elf/tst-initorderb2.c: New file.
41187 * elf/tst-order-a1.c: New file.
41188 * elf/tst-order-a2.c: New file.
41189 * elf/tst-order-a3.c: New file.
41190 * elf/tst-order-a4.c: New file.
41191 * elf/tst-order-b1.c: New file.
41192 * elf/tst-order-b2.c: New file.
41193 * elf/tst-order-main.c: New file.
41194 New test case by George Gensure <werkt0@gmail.com>.
41195
86e92359
UD
411962010-10-01 Andreas Schwab <schwab@redhat.com>
41197
41198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41199 decoding ACE if AI_CANONIDN.
41200
5d5732b0
UD
412012011-01-18 Ulrich Drepper <drepper@gmail.com>
41202
41203 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41204
a77e8cbc
UD
412052011-01-17 Ulrich Drepper <drepper@gmail.com>
41206
6392473f
UD
41207 * version.h (RELEASE): Bump for 2.13 release.
41208 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41209
620a0529
UD
41210 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41211
18ba70a5
UD
41212 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41213 MADV_NOHUGEPAGE.
32465c3e
UD
41214 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41216 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41217 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41220
c0dafcf1
UD
41221 * posix/getconf.c: Update copyright year.
41222 * catgets/gencat.c: Likewise.
41223 * csu/version.c: Likewise.
41224 * debug/catchsegv.sh: Likewise.
41225 * debug/xtrace.sh: Likewise.
41226 * elf/ldconfig.c: Likewise.
41227 * elf/ldd.bash.in: Likewise.
41228 * elf/sprof.c (print_version): Likewise.
41229 * iconv/iconv_prog.c: Likewise.
41230 * iconv/iconvconfig.c: Likewise.
41231 * locale/programs/locale.c: Likewise.
41232 * locale/programs/localedef.c: Likewise.
41233 * malloc/memusage.sh: Likewise.
41234 * malloc/mtrace.pl: Likewise.
41235 * nscd/nscd.c (print_version): Likewise.
41236 * nss/getent.c: Likewise.
41237
a77e8cbc
UD
41238 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41239 PF_CAIF, and PF_ALG.
41240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41241
77e8bddf
AS
412422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41243
1f20b93a
AS
41244 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41245 (modules-names): Use them.
41246 (ifunc-test-modules, ifunc-pie-tests): Define.
41247 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41248 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41249 (test-extras): Likewise.
41250 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41251 $(compile-command.c).
41252 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41253 (all-built-dso): Define.
41254 (check-textrel.out, check-execstack.out): Depend on it.
41255
77e8bddf
AS
41256 * configure.in: Don't override --enable-multi-arch.
41257
bc425b33
UD
412582011-01-15 Ulrich Drepper <drepper@gmail.com>
41259
41260 [BZ #6812]
41261 * nscd/hstcache.c (tryagain): Define.
41262 (cache_addhst): Return tryagain not notfound for temporary errors.
41263 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41264 failed.
41265
794c3ad3
UD
412662011-01-14 Ulrich Drepper <drepper@gmail.com>
41267
70181fdd
UD
41268 [BZ #10563]
41269 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41270 to make the syscall.
41271 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41272
794c3ad3
UD
41273 [BZ #12378]
41274 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41275 and fall back to matching as normal character if the string ends before
41276 the matching ']' is found. This is what POSIX requires.
41277 * posix/testfnm.c: Adjust test result.
41278 * posix/globtest.sh: Adjust test result. Add new test.
41279 * posix/tst-fnmatch.input: Likewise.
41280 * posix/tst-fnmatch2.c: Add new test.
41281
68dc9497
AS
412822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41283
41284 * elf/Makefile (check-execstack): Revert last change. Depend on
41285 check-execstack.h.
41286 (check-execstack.h): New target.
41287 (generated): Add check-execstack.h.
41288 * elf/check-execstack.c: Include "check-execstack.h".
41289 (main): Revert last change.
41290 (handle_file): Return zero if GNU_STACK is absent and
41291 DEFAULT_STACK_PERMS doesn't include PF_X.
41292
451f001b
UD
412932011-01-13 Ulrich Drepper <drepper@gmail.com>
41294
cfa28e56
UD
41295 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41296 in child fails because the descriptor is already closed.
8cf8ce17
UD
41297 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41298 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41299 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41300
1086d70d
UD
41301 [BZ #12397]
41302 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41303 syscall.
41304
451f001b
UD
41305 [BZ #10484]
41306 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41307 temporary buffer used to handle multi lookups locally.
a85b5cb4 41308 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41309
08769175
UD
413102011-01-12 Ulrich Drepper <drepper@gmail.com>
41311
41312 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41313 loader is ld.so.
41314
5e49c52e
UD
413152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41316
41317 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41318 alignment for SSE2.
41319
60522a5f
UD
413202011-01-12 Ulrich Drepper <drepper@gmail.com>
41321
41322 [BZ #12394]
41323 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41324 characters. When rounding increased number of integer digits recompute
41325 number of groups.
41326 * stdio-common/tst-grouping.c: New file.
41327 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41328
f257bbd7
UD
413292011-01-09 Ulrich Drepper <drepper@gmail.com>
41330
41331 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41332 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41333
41334 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41335 void.
41336 * bits/select.h: Likewise.
41337
fa9c15cb
UD
413382011-01-08 Ulrich Drepper <drepper@gmail.com>
41339
41340 * po/ja.po: Update from translation team.
41341
16c2895f
DM
413422011-01-04 David S. Miller <davem@sunset.davemloft.net>
41343
41344 [BZ #11155]
41345 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41346 implementation just like for lxstat, fxstatat, et al.
41347
2543fef2
JM
413482010-12-27 Jim Meyering <meyering@redhat.com>
41349
41350 [BZ #12348]
41351 * posix/regexec.c (build_trtable): Return failure indication upon
41352 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41353
98727dbe
UD
413542010-12-25 Ulrich Drepper <drepper@gmail.com>
41355
5bd6dc5c
UD
41356 [BZ #12201]
41357 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41358 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41359 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41361
97983464
UD
41362 [BZ #12207]
41363 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41364
98727dbe
UD
41365 [BZ #12204]
41366 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41367 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41368
4a531bb0
L
413692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41370
41371 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41372 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41373 script has SORT_BY_INIT_PRIORITY.
41374 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41375 NO_CTORS_DTORS_SECTIONS is defined.
41376 * elf/soinit.c: Likewise.
41377 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41378 NO_CTORS_DTORS_SECTIONS is defined.
41379 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41380 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41381 * sysdeps/sh/init-first.c: Likewise.
41382 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41383
07eb4b71
UD
413842010-12-24 Ulrich Drepper <drepper@gmail.com>
41385
41386 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41387 always use the slow path.
41388
30950a5f
RA
413892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41390
41391 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41392 similar rule which adds the sysdep directories to the header search in
41393 order to pick up the correct platform stackinfo.h.
41394 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41395 perform test if it is, otherwise return successfully without testing.
41396 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41397 DEFAULT_STACK_PERMS define in stackinfo.h.
41398 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41399 defined in stackinfo.h.
41400 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41401 DEFAULT_STACK_PERMS defined in stackinfo.h.
41402 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41403 * sysdeps/ia64/stackinfo.h: Likewise.
41404 * sysdeps/s390/stackinfo.h: Likewise.
41405 * sysdeps/sh/stackinfo.h: Likewise.
41406 * sysdeps/sparc/stackinfo.h: Likewise.
41407 * sysdeps/x86_64/stackinfo.h: Likewise.
41408 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41409 PF_X for powerpc64. Retain PF_X for powerpc32.
41410
db753e2c
UD
414112010-12-19 Ulrich Drepper <drepper@gmail.com>
41412
14b697f7
UD
41413 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41414 accurately.
db753e2c
UD
41415 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41416 GETDENTS_64BIT_ALIGNED.
41417
28300719
UD
414182010-12-14 Ulrich Drepper <dreper@gmail.com>
41419
14b697f7 41420 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41421
4f197237
AS
414222010-12-10 Andreas Schwab <schwab@redhat.com>
41423
dbb0472f
AS
41424 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41425 _GNU_SOURCE.
41426
4f197237
AS
41427 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41428 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41429 Remove __restrict.
41430 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41431 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41432
fb88ac72
UD
414332010-12-09 Ulrich Drepper <drepper@gmail.com>
41434
41435 [BZ #11655]
41436 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41437 are initialized.
41438
42acbb92
JJ
414392010-12-09 Jakub Jelinek <jakub@redhat.com>
41440
41441 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41442
c038d98d
UD
414432010-12-03 Ulrich Drepper <drepper@gmail.com>
41444
41445 * po/it.po: Update from translation team.
41446
3a4a2499
L
414472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41448
41449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41450 unused codes.
41451
1e24cf6e
UD
414522010-11-30 Ulrich Drepper <drepper@gmail.com>
41453
41454 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41455
a7690819
AS
414562010-11-24 Andreas Schwab <schwab@redhat.com>
41457
41458 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41459 specially.
41460 (gaih_getanswer_slice): Likewise.
41461
3bf8d1b1
JJ
414622010-10-20 Jakub Jelinek <jakub@redhat.com>
41463
41464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41465
6db52fbb
PB
414662010-05-31 Petr Baudis <pasky@suse.cz>
41467
41468 [BZ #11149]
41469 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41470 silently even in the chroot mode.
41471
eaca7569
UD
414722010-11-22 Ulrich Drepper <drepper@gmail.com>
41473
41474 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41475 last patch a bit. Pretty printing
41476
3056dcdb
UD
414772010-05-31 Petr Baudis <pasky@suse.cz>
41478
41479 [BZ #10085]
41480 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41481 initialization of skip_initgroups_dyn.
41482
cf7c9078
UD
414832010-11-19 Ulrich Drepper <drepper@gmail.com>
41484
41485 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41487
a1fb5e3e
UD
414882010-11-16 Ulrich Drepper <drepper@gmail.com>
41489
41490 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41491
3540d66b
AS
414922010-11-11 Andreas Schwab <schwab@redhat.com>
41493
41494 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41495 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41496 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41497 ($(objpfx)tst-fnmatch-mem): New rule.
41498 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41499 * posix/tst-fnmatch.c (main): Call mtrace.
41500
13b69574
L
415012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41502
41503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41504 Support Intel processor model 6 and model 0x2c.
41505
da93d214
LM
415062010-11-10 Luis Machado <luisgpm@br.ibm.com>
41507
41508 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41509 signed comparison.
41510
8ca52c6e
L
415112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41512
41513 [BZ #12205]
41514 * string/test-strncasecmp.c (check_result): New function.
41515 (do_one_test): Use it.
41516 (check1): New function.
41517 (test_main): Use it.
41518 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41519 Support strcasecmp and strncasecmp.
41520
69da074d
UD
415212010-11-08 Ulrich Drepper <drepper@gmail.com>
41522
41523 [BZ #12194]
41524 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41525 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41526
ff02d528
L
415272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41528
41529 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41530 IFUNC support.
41531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41532 memset-x86-64.
41533 * sysdeps/x86_64/multiarch/bzero.S: New file.
41534 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41535 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41536 * sysdeps/x86_64/multiarch/memset.S: New file.
41537 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41539 Set bit_Prefer_SSE_for_memop for Intel processors.
41540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41541 Define.
41542 (index_Prefer_SSE_for_memop): Define.
41543 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41544
344d0b54
LM
415452010-11-04 Luis Machado <luisgpm@br.ibm.com>
41546
41547 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41548 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41549
c0dde15b
UD
415502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41551
41552 [BZ #12191]
41553 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41554 (__x86_64_raw_data_cache_size_half): Likewise.
41555 (__x86_64_raw_shared_cache_size): Likewise.
41556 (__x86_64_raw_shared_cache_size_half): Likewise.
41557
41558 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41559 (__x86_64_raw_data_cache_size_half): Likewise.
41560 (__x86_64_raw_shared_cache_size): Likewise.
41561 (__x86_64_raw_shared_cache_size_half): Likewise.
41562 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41563 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41564 and __x86_64_raw_shared_cache_size_half. Round
41565 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41566 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41567 to multiple of 256 bytes.
41568
0e516e0e
MS
415692010-11-03 Ulrich Drepper <drepper@gmail.com>
41570
41571 [BZ #12167]
41572 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41573 of inacessible symlinks. Verify result of symlink before returning it.
41574 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41575 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41576
0e012e87
ER
415772010-10-28 Erich Ritz <erichritz@gmail.com>
41578
41579 * math/math.h (isinf): Fix typo in comment.
41580
de0ff7bc
UD
415812010-11-01 Ulrich Drepper <drepper@gmail.com>
41582
41583 * po/da.po: Update from translation team.
41584
fa41c84d
UD
415852010-10-26 Ulrich Drepper <drepper@gmail.com>
41586
41587 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41588 is added to the list.
41589
f0967738
AK
415902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41591 Ulrich Drepper <drepper@gmail.com>
41592
41593 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41594 the global list here. Move code to...
41595 (_dl_add_to_namespace_list): ...here. New function.
41596 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41597 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41598 * elf/dl-load.c (lose): Don't remove the element from the list.
41599 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41600 (_dl_map_object): Likewise.
41601
416022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41603
41604 [BZ #12159]
41605 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41606 into all bytes of SSE register.
41607 Patch by Richard Li <richardpku@gmail.com>.
41608
f0967738 416092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41610
41611 [BZ #12140]
41612 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41613 perturbing.
41614
d0b9e94f
MB
416152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41616
41617 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41618 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41619 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41622 submachine.
41623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41624
8e9f92e9
AS
416252010-10-22 Andreas Schwab <schwab@redhat.com>
41626
41627 * include/dlfcn.h (__RTLD_SECURE): Define.
41628 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41629 mode & __RTLD_SECURE instead.
41630 (open_path): Rename preloaded parameter to secure.
41631 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41632 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41633 * elf/dl-deps.c (openaux): Likewise.
41634 * elf/rtld.c (struct map_args): Remove is_preloaded.
41635 (map_doit): Don't use it.
41636 (dl_main): Likewise.
41637 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41638 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41639
bc96fbda
AS
416402010-09-09 Andreas Schwab <schwab@redhat.com>
41641
41642 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41643 (sysd-rules-targets): Remove duplicates.
41644 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41645 rtld-%.$o dependency.
41646
22cd1c9b
AS
416472010-10-18 Andreas Schwab <schwab@redhat.com>
41648
41649 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41650 _dl_map_object do it.
41651
18edac48
UD
416522010-10-19 Ulrich Drepper <drepper@gmail.com>
41653
41654 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41655 fast fma builtins, define the macros in the C99 standard.
41656 (FP_FAST_FMAF): Likewise.
41657 (FP_FAST_FMAL): Likewise.
41658 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41659
41660 * bits/mathdef.h: Update copyright year.
41661 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41662
d2050124
MM
416632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41664
41665 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41666 builtins, define the macros in the C99 standard.
41667 (FP_FAST_FMAF): Likewise.
41668 (FP_FAST_FMAL): Likewise.
41669 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41670 multiply/add.
41671 (FP_FAST_FMAF): Likewise.
41672
475facd1
JJ
416732010-10-15 Jakub Jelinek <jakub@redhat.com>
41674
41675 [BZ #3268]
41676 * math/libm-test.inc (fma_test): Some new testcases.
41677 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41679 y and infinite z. Do multiplication by C already in long double.
41680 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41682 y and infinite z. Do bitwise or of inexact bit into u.d.
41683 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41684 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41685 * sysdeps/i386/fpu/s_fma.S: Removed.
41686 * sysdeps/i386/fpu/s_fmal.S: Removed.
41687
7c08a05c
JJ
416882010-10-16 Jakub Jelinek <jakub@redhat.com>
41689
41690 [BZ #3268]
41691 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41693 computation is not scheduled after fetestexcept. Fix value
41694 of minimum denormal long double.
41695
f3f7372d
JJ
416962010-10-14 Jakub Jelinek <jakub@redhat.com>
41697
41698 [BZ #3268]
41699 * math/libm-test.inc (fma_test): Add some more tests.
41700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41701 correctly.
41702
14d43591
AS
417032010-10-15 Andreas Schwab <schwab@redhat.com>
41704
41705 * scripts/data/localplt-s390-linux-gnu.data: New file.
41706 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41707
5e908464
JJ
417082010-10-13 Jakub Jelinek <jakub@redhat.com>
41709
41710 [BZ #3268]
41711 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41712 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41713 instead of dbl-64.
41714 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41715 inlines.
41716 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41718 if one of x and y is very large and the other is subnormal.
41719 * sysdeps/s390/fpu/s_fmaf.c: New file.
41720 * sysdeps/s390/fpu/s_fma.c: New file.
41721 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41722 * sysdeps/powerpc/fpu/s_fma.S: New file.
41723 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41724 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41725 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41726
417272010-10-12 Jakub Jelinek <jakub@redhat.com>
41728
41729 [BZ #3268]
41730 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41731 fma tests.
41732 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41733 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41734 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41735 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41736 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41737 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41739
b833d51f
UD
417402010-10-12 Ulrich Drepper <drepper@redhat.com>
41741
41742 [BZ #12078]
41743 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41744 * posix/bug-regex31.input: Add test case.
41745
1751705d
UD
417462010-10-11 Ulrich Drepper <drepper@gmail.com>
41747
e9b9cbf5
UD
41748 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41749 * posix/bug-regex31.input: New file.
41750
41751 [BZ #12078]
41752 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41753 (parse_sub_exp): Fix last change, use postorder.
41754
ef06edbe
UD
41755 * posix/bug-regex31.c: New file.
41756 * posix/Makefile: Add rules to build and run bug-regex31.
41757
a129c80d
UD
41758 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41759
41760 [BZ #12078]
41761 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41762
b76b818e
UD
41763 [BZ #12108]
41764 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41765 to have entries in sys_siglist.
41766
1751705d
UD
41767 [BZ #12093]
41768 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41769 be NULL.
41770
9ff8d36f
JJ
417712010-10-07 Jakub Jelinek <jakub@redhat.com>
41772
41773 [BZ #3268]
41774 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41775 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41776 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41777 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41778 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41779 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41780 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41781 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41782 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41783 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41784 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41785 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41786 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41787 * math/ftestexcept.c (fetestexcept): Likewise.
41788 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41789 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41790 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41791 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41792 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41793 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41795
af325969
UD
417962010-10-11 Ulrich Drepper <drepper@gmail.com>
41797
c579b202 41798 [BZ #12107]
af325969
UD
41799 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41800 newline.
41801
67a67b95
UD
418022010-10-06 Ulrich Drepper <drepper@gmail.com>
41803
41804 * string/bug-strstr1.c: New file.
41805 * string/Makefile: Add rules to build and run bug-strstr1.
41806
5fb308bc
EB
418072010-10-05 Eric Blake <eblake@redhat.com>
41808
41809 [BZ #12092]
41810 * string/str-two-way.h (two_way_long_needle): Always clear memory
41811 when skipping input due to the shift table.
41812
45db99c7
UD
418132010-10-03 Ulrich Drepper <drepper@gmail.com>
41814
3b111893
UD
41815 [BZ #12005]
41816 * malloc/mcheck.c: Handle large requests.
41817
45db99c7
UD
41818 [BZ #12077]
41819 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41820 for strncmp and strncasecmp.
41821 * string/stratcliff.c: Add tests for strcmp and strncmp.
41822 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41823
cf7a1eb8
NI
418242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41825
41826 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41827 __set_fpscr.
41828
6484ba5e
AJ
418292010-09-30 Andreas Jaeger <aj@suse.de>
41830
41831 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41832 (CGROUP_SUPER_MAGIC): Define.
41833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41834 Handle btrfs and cgroup file systems.
41835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41836 Likewise.
41837
91c42559
LM
418382010-09-27 Luis Machado <luisgpm@br.ibm.com>
41839
41840 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41841 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41842
87a97932
AK
418432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41844
41845 [BZ #12067]
41846 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41847 trying to locate the ELF header.
41848
c21cc9bc
AS
418492010-09-27 Andreas Schwab <schwab@redhat.com>
41850
41851 [BZ #11611]
41852 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41853 Mask out sign-bit copies when constructing f_fsid.
41854
315970f6
PB
418552010-09-24 Petr Baudis <pasky@suse.cz>
41856
41857 * debug/stack_chk_fail_local.c: Add missing licence exception.
41858 * debug/warning-nop.c: Likewise.
41859
1ac7a2c7
JM
418602010-09-15 Joseph Myers <joseph@codesourcery.com>
41861
41862 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41863 implementing getdents64 using getdents syscall, set d_type if
41864 __ASSUME_GETDENTS32_D_TYPE.
41865
56801c50
AS
418662010-09-16 Andreas Schwab <schwab@redhat.com>
41867
41868 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41869 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41870
dda51327
UD
418712010-09-21 Ulrich Drepper <drepper@redhat.com>
41872
41873 [BZ #12037]
41874 * posix/unistd.h: Undo change of feature selection for ftruncate from
41875 2010-01-11.
41876
8ffcee4a
UD
418772010-09-20 Ulrich Drepper <drepper@redhat.com>
41878
a545ecd9 41879 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41880 detection.
41881
e24f0a8b
AS
418822010-09-20 Andreas Schwab <schwab@redhat.com>
41883
41884 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41885 fanotify_mark.
41886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41887
7291c56f
AS
418882010-09-14 Andreas Schwab <schwab@redhat.com>
41889
41890 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41891 variables after CHECK_SP call.
41892 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41893
bc5fb037
AS
418942010-09-13 Andreas Schwab <schwab@redhat.com>
41895 Ulrich Drepper <drepper@redhat.com>
41896
41897 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41898 re-relocationg ld.so.
41899 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41900 _dl_init_paths call.
41901 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41902 here anymore.
41903
e66e7419
UD
419042010-09-14 Ulrich Drepper <drepper@redhat.com>
41905
41906 * resolv/res_init.c (__res_vinit): Count the default server we added.
41907
c044aa75
CLT
419082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41909 Ulrich Drepper <drepper@redhat.com>
41910
41911 [BZ #11968]
41912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41913 (____longjmp_chk): Use %ebx for saving value across system call.
41914 Add unwind info.
41915
32cf4069
AS
419162010-09-06 Andreas Schwab <schwab@redhat.com>
41917
41918 * manual/Makefile: Don't mix pattern rules with normal rules.
41919
817328ee
AS
419202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41921
41922 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41923 operation.
41924 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41925 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41926 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41927 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41929 Likewise.
41930
29fddf61
UD
419312010-09-04 Ulrich Drepper <drepper@redhat.com>
41932
41933 [BZ #11979]
41934 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41935 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41936
0959ffc9
UD
419372010-09-02 Ulrich Drepper <drepper@redhat.com>
41938
41939 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41940 * sysdeps/x86_64/addmul_1.S: Likewise.
41941 * sysdeps/x86_64/lshift.S: Likewise.
41942 * sysdeps/x86_64/mul_1.S: Likewise.
41943 * sysdeps/x86_64/rshift.S: Likewise.
41944 * sysdeps/x86_64/sub_n.S: Likewise.
41945 * sysdeps/x86_64/submul_1.S: Likewise.
41946
ece29840
ST
419472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41948
0959ffc9
UD
41949 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41950 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41951 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41952 * bits/sched.h [__need_schedparam]
ece29840 41953 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41954 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41955 (__defined_schedparam): Define to 1.
ece29840
ST
41956 (__sched_param): New structure, identical to sched_param.
41957 (__need_schedparam): Undefine.
41958
e53a31fe
MF
419592010-08-31 Mike Frysinger <vapier@gentoo.org>
41960
fdc0c10d
MF
41961 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41962 (epoll_create1): Declare.
41963
e53a31fe
MF
41964 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41965
a726d796
AS
419662010-08-31 Andreas Schwab <schwab@redhat.com>
41967
41968 [BZ #7066]
41969 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41970 shifting retval into place.
41971
2f3e3dc7
UD
419722010-09-01 Ulrich Drepper <drepper@redhat.com>
41973
f2933da9
UD
41974 * nis/rpcsvc/nis.h: Update copyright notice.
41975 * nis/rpcsvc/nis.x: Likewise.
41976 * nis/rpcsvc/nis_callback.h: Likewise.
41977 * nis/rpcsvc/nis_callback.x: Likewise.
41978 * nis/rpcsvc/nis_object.x: Likewise.
41979 * nis/rpcsvc/nis_tags.h: Likewise.
41980 * nis/rpcsvc/yp.h: Likewise.
41981 * nis/rpcsvc/yp.x: Likewise.
41982 * nis/rpcsvc/ypupd.h: Likewise.
41983 * nis/yp_xdr.c: Likewise.
41984 * nis/ypupdate_xdr.c: Likewise.
41985
2f3e3dc7
UD
41986 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41987 mainly the body of pmap_getport. Add parameters to specify timeouts.
41988 (pmap_getport): Use __libc_rpc_getport.
41989 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41990 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41991 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41992
f3dcc2f9
AS
419932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41994
41995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41996 fanotify_mark.
41997
6d34eb5b
RM
419982010-08-27 Roland McGrath <roland@redhat.com>
41999
42000 * sysdeps/i386/i686/multiarch/Makefile
42001 (CFLAGS-varshift.c): New variable.
42002
9ea3de11
UD
420032010-08-27 Ulrich Drepper <drepper@redhat.com>
42004
c96d23fc
UD
42005 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42006 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42007
9ea3de11
UD
42008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42009
42010 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42011
623aac7f
L
420122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42013
42014 * sysdeps/x86_64/strlen.S: Unroll the loop.
42015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42016 strlen-sse2 strlen-sse2-bsf.
42017 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42018 __strlen_no_bsf if bit_Slow_BSF is set.
42019 (__strlen_sse42): Removed.
42020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42021 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42022
8b2b7715
RM
420232010-08-25 Roland McGrath <roland@redhat.com>
42024
42025 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42026 * sysdeps/x86_64/multiarch/varshift.c: New file.
42027 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42028 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42029 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42030 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42031
e73015f2
L
420322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42033
42034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42035 strlen-sse2 strlen-sse2-bsf.
42036 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42037 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42038 (__strlen_sse2): Removed.
42039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42042 bit_Slow_BSF for Atom.
42043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42044 (index_Slow_BSF): Define.
42045 (HAS_SLOW_BSF): Define.
42046
df24a73e
UD
420472010-08-25 Ulrich Drepper <drepper@redhat.com>
42048
42049 [BZ #10851]
42050 * resolv/res_init.c (__res_vinit): When no server address at all
42051 is given default to loopback.
42052
f2ac4868
RM
420532010-08-24 Roland McGrath <roland@redhat.com>
42054
09055553
RM
42055 * configure.in: Remove config-name.h generation.
42056 * configure: Regenerated.
42057 * config-name.in: File removed.
42058 * scripts/config-uname.sh: New file.
42059 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42060 ($(objdir)config-name.h): New target.
42061
f2ac4868
RM
42062 * sunrpc/rpc_parse.h: Avoid nested comment.
42063
73f27d5e
RH
420642010-08-24 Richard Henderson <rth@redhat.com>
42065 Ulrich Drepper <drepper@redhat.com>
42066 H.J. Lu <hongjiu.lu@intel.com>
42067
42068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42070 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42071 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42072 _mm_alignr_epi8 with _mm_loadu_si128.
42073 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42074 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42075 (__m128i_shift_right): Removed.
42076 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42077 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42078 * sysdeps/x86_64/multiarch/varshift.h: New file.
42079 * sysdeps/x86_64/multiarch/varshift.S: New file.
42080
84b9230c
MF
420812010-08-21 Mike Frysinger <vapier@gentoo.org>
42082
42083 * configure.in: Move assembler checks to before sysdep dir checking.
42084
9bbd0ddc
PB
420852010-08-20 Petr Baudis <pasky@suse.cz>
42086
42087 * LICENSES: Sync the sunrpc license.
42088
9da4bb31
UD
420892010-08-19 Ulrich Drepper <drepper@redhat.com>
42090
a7ab6ec8
UD
42091 * sunrpc/auth_des.c: Update copyright notice once again.
42092 * sunrpc/auth_none.c: Likewise.
42093 * sunrpc/auth_unix.c: Likewise.
42094 * sunrpc/authdes_prot.c: Likewise.
42095 * sunrpc/authuxprot.c: Likewise.
42096 * sunrpc/bindrsvprt.c: Likewise.
42097 * sunrpc/clnt_gen.c: Likewise.
42098 * sunrpc/clnt_perr.c: Likewise.
42099 * sunrpc/clnt_raw.c: Likewise.
42100 * sunrpc/clnt_simp.c: Likewise.
42101 * sunrpc/clnt_tcp.c: Likewise.
42102 * sunrpc/clnt_udp.c: Likewise.
42103 * sunrpc/clnt_unix.c: Likewise.
42104 * sunrpc/des_crypt.c: Likewise.
42105 * sunrpc/des_soft.c: Likewise.
42106 * sunrpc/get_myaddr.c: Likewise.
42107 * sunrpc/getrpcport.c: Likewise.
42108 * sunrpc/key_call.c: Likewise.
42109 * sunrpc/key_prot.c: Likewise.
42110 * sunrpc/openchild.c: Likewise.
42111 * sunrpc/pm_getmaps.c: Likewise.
42112 * sunrpc/pm_getport.c: Likewise.
42113 * sunrpc/pmap_clnt.c: Likewise.
42114 * sunrpc/pmap_prot.c: Likewise.
42115 * sunrpc/pmap_prot2.c: Likewise.
42116 * sunrpc/pmap_rmt.c: Likewise.
42117 * sunrpc/rpc/auth.h: Likewise.
42118 * sunrpc/rpc/auth_unix.h: Likewise.
42119 * sunrpc/rpc/clnt.h: Likewise.
42120 * sunrpc/rpc/des_crypt.h: Likewise.
42121 * sunrpc/rpc/key_prot.h: Likewise.
42122 * sunrpc/rpc/netdb.h: Likewise.
42123 * sunrpc/rpc/pmap_clnt.h: Likewise.
42124 * sunrpc/rpc/pmap_prot.h: Likewise.
42125 * sunrpc/rpc/pmap_rmt.h: Likewise.
42126 * sunrpc/rpc/rpc.h: Likewise.
42127 * sunrpc/rpc/rpc_des.h: Likewise.
42128 * sunrpc/rpc/rpc_msg.h: Likewise.
42129 * sunrpc/rpc/svc.h: Likewise.
42130 * sunrpc/rpc/svc_auth.h: Likewise.
42131 * sunrpc/rpc/types.h: Likewise.
42132 * sunrpc/rpc/xdr.h: Likewise.
42133 * sunrpc/rpc_clntout.c: Likewise.
42134 * sunrpc/rpc_cmsg.c: Likewise.
42135 * sunrpc/rpc_common.c: Likewise.
42136 * sunrpc/rpc_cout.c: Likewise.
42137 * sunrpc/rpc_dtable.c: Likewise.
42138 * sunrpc/rpc_hout.c: Likewise.
42139 * sunrpc/rpc_main.c: Likewise.
42140 * sunrpc/rpc_parse.c: Likewise.
42141 * sunrpc/rpc_parse.h: Likewise.
42142 * sunrpc/rpc_prot.c: Likewise.
42143 * sunrpc/rpc_sample.c: Likewise.
42144 * sunrpc/rpc_scan.c: Likewise.
42145 * sunrpc/rpc_scan.h: Likewise.
42146 * sunrpc/rpc_svcout.c: Likewise.
42147 * sunrpc/rpc_tblout.c: Likewise.
42148 * sunrpc/rpc_util.c: Likewise.
42149 * sunrpc/rpc_util.h: Likewise.
42150 * sunrpc/rpcinfo.c: Likewise.
42151 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42152 * sunrpc/rpcsvc/key_prot.x: Likewise.
42153 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42154 * sunrpc/rpcsvc/mount.x: Likewise.
42155 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42156 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42157 * sunrpc/rpcsvc/rex.x: Likewise.
42158 * sunrpc/rpcsvc/rstat.x: Likewise.
42159 * sunrpc/rpcsvc/rusers.x: Likewise.
42160 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42161 * sunrpc/rpcsvc/spray.x: Likewise.
42162 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42163 * sunrpc/rtime.c: Likewise.
42164 * sunrpc/svc.c: Likewise.
42165 * sunrpc/svc_auth.c: Likewise.
42166 * sunrpc/svc_authux.c: Likewise.
42167 * sunrpc/svc_raw.c: Likewise.
42168 * sunrpc/svc_run.c: Likewise.
42169 * sunrpc/svc_simple.c: Likewise.
42170 * sunrpc/svc_tcp.c: Likewise.
42171 * sunrpc/svc_udp.c: Likewise.
42172 * sunrpc/svc_unix.c: Likewise.
42173 * sunrpc/svcauth_des.c: Likewise.
42174 * sunrpc/xcrypt.c: Likewise.
42175 * sunrpc/xdr.c: Likewise.
42176 * sunrpc/xdr_array.c: Likewise.
42177 * sunrpc/xdr_float.c: Likewise.
42178 * sunrpc/xdr_mem.c: Likewise.
42179 * sunrpc/xdr_rec.c: Likewise.
42180 * sunrpc/xdr_ref.c: Likewise.
42181 * sunrpc/xdr_sizeof.c: Likewise.
42182 * sunrpc/xdr_stdio.c: Likewise.
42183
9da4bb31
UD
42184 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42185 handling.
42186
bdaa77bc
AS
421872010-08-19 Andreas Schwab <schwab@redhat.com>
42188
42189 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42190
fe2f79db
LM
421912010-08-19 Luis Machado <luisgpm@br.ibm.com>
42192
42193 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42194 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42195 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42196 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42197 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42198 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42199 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42200 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42201 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42202 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42203 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42204 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42205 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42206 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42207
b9b42ee0
AB
422082010-07-26 Anton Blanchard <anton@samba.org>
42209
42210 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42211 * malloc/arena.c (heap_trim): Likewise.
42212
1c06ba31
UD
422132010-08-16 Ulrich Drepper <drepper@redhat.com>
42214
42215 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42216 here. Not...
42217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42218 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42219
f8392f40
L
422202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42221
42222 * sysdeps/i386/elf/Makefile: New file.
42223
3162f12e
AS
422242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42225
42226 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42227 from fanotify_init.
42228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42229 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42230
28c90b2c
UD
422312010-08-15 Ulrich Drepper <drepper@redhat.com>
42232
42233 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42234 of strncasecmp_l.
1feccb6c 42235 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42236
ca6bb004
UD
422372010-08-14 Ulrich Drepper <drepper@redhat.com>
42238
e9f82e0d
UD
42239 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42240 strncase_l-nonascii.
42241 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42242 Add strncase_l-ssse3.
42243 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42244 * sysdeps/x86_64/strcmp.S: Likewise.
42245 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42246 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42247 * sysdeps/x86_64/strncase.S: New file.
42248 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42249 * sysdeps/x86_64/strncase_l.S: New file.
42250 * string/Makefile (strop-tests): Add strncasecmp.
42251 * string/test-strncasecmp.c: New file.
42252
42253 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42254 warning.
42255
ca6bb004
UD
42256 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42257 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42258
052fa7b3
AS
422592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42260
42261 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42262
962dba78
UD
422632010-08-12 Ulrich Drepper <drepper@redhat.com>
42264
42265 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42266 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42267 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42268
bebff237
AM
422692010-05-01 Alan Modra <amodra@gmail.com>
42270
42271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42272 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42273 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42274 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42275 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42276 tidying. Don't tail-call __sigjmp_save for static lib.
42277 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42278 save location.
42279 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42280 (CALL_MCOUNT): Add eh info, and nop after bl.
42281 (TAIL_CALL_SYSCALL_ERROR): New macro.
42282 (PSEUDO_RET): Use it.
42283 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42284 Correct save location of integer regs and cr.
42285 (_dl_profile_resolve): Correct cr save location. Delete nops
42286 after bl when SHARED. Reduce cfi size a little by better
42287 placement of cfi directives.
42288 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42289 make a stack frame. Instead use parm save area as a temp.
42290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42291 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42293 Don't make a stack frame for parent, use parm save area.
42294 Increase child stack frame to 112 bytes. Don't save unused reg,
42295 and adjust reg usage. Set up cfi on error recovery and
42296 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42298 (__makecontext): Add dummy nop after jump to exit.
42299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42300 Use correct parm save area and cr save, reduce stack frame.
42301 Correct cfi for possible PSEUDO_RET frame setup.
42302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42303 Branch to local label emitted by PSEUDO_RET rather than
42304 __syscall_error.
42305
02637374
AS
423062010-08-12 Andreas Schwab <schwab@redhat.com>
42307
42308 [BZ #11904]
42309 * locale/programs/locale.c (print_assignment): New function.
42310 (show_locale_vars): Use it.
42311
c3e2f19b
UD
423122010-08-11 Ulrich Drepper <drepper@redhat.com>
42313
3cdaa6ad
UD
42314 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42315 field.
42316 (struct statfs64): Likewise.
42317 (_STATFS_F_FLAGS): Define.
42318 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42320 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42321 (ST_VALID): Define locally.
42322 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42323 __statvfs_getflags, use the provided value.
42324 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42325 __ASSUME_STATFS_F_FLAGS.
42326
754f7da3
UD
42327 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42328
10b3bedc
UD
42329 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42330 Add sys/fanotify.h.
42331 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42332 fanotify_mask for GLIBC_2.13.
42333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42334 fanotify_init and fanotify_mark.
42335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42336 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42337
c08fb0d7
UD
42338 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42339 Add prlimit.
42340 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42341 prlimit64 for GLIBC_2.13.
42342 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42343 prlimit64.
42344 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42345 syscall.
42346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42348 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42349 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42351 add prlimit alias.
42352 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42353
15bac72b
UD
42354 [BZ #11903]
42355 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42356 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42357
c3e2f19b
UD
42358 * nss/Makefile: Add rules to build and run tst-nss-test1.
42359 * shlib-versions: Add entry for libnss_test1.
42360 * nss/nss_test1.c: New file.
42361 * nss/tst-nss-test1.c: New file.
42362
42363 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42364 (__nss_configure_lookup): Set appropriate entry in
42365 __nss_configure_lookup to true.
42366 * nss/nsswitch.h: Define enum with indeces of databases in
42367 databases and __nss_database_custom arrays. Declare
42368 __nss_database_custom.
42369 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42370 to avoid using nscd when custom rules are installed.
42371 * nss/getXXbyYY_r.c: Likewise.
42372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42373
42374 * nss/nss_files/files-parse.c: Whitespace fixes.
42375
f15ce4d8
UD
423762010-08-09 Ulrich Drepper <drepper@redhat.com>
42377
42378 [BZ #11883]
42379 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42380 * posix/fnmatch_loop.c: Likewise.
42381
d22e4cc9
AK
423822010-07-17 Andi Kleen <ak@linux.intel.com>
42383
42384 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42385 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42386 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42387 * Versions.def [GLIBC_2.13]: Add.
42388
805bc17d
UD
423892010-08-06 Ulrich Drepper <drepper@redhat.com>
42390
42391 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42392 Also fail if tpwd after pwuid call is NULL.
42393
5a42321d
ST
423942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42395
42396 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42397 when converting to ms.
42398
fd3ebeda
ST
423992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42400
42401 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42402 EOPNOTSUPP errors with ENOTTY.
42403 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42404 EOPNOTSUPP errors with ENOTTY.
42405
73507d3a
UD
424062010-07-31 Ulrich Drepper <drepper@redhat.com>
42407
42408 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42409 Add strcasecmp_l-ssse3.
42410 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42411 strcasecmp.
42412 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42413 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42414 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42415
fe36dd02
UD
424162010-07-30 Ulrich Drepper <drepper@redhat.com>
42417
66f6765a
UD
42418 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42419
42e08a54
UD
42420 * string/Makefile (strop-tests): Add strcasecmp.
42421 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42422 strcasecmp_l-nonascii.
42423 (gen-as-const-headers): Add locale-defines.sym.
42424 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42425 * sysdeps/x86_64/strcasecmp.S: New file.
42426 * sysdeps/x86_64/strcasecmp_l.S: New file.
42427 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42428 * sysdeps/x86_64/locale-defines.sym: New file.
42429 * string/test-strcasecmp.c: New file.
42430
fe36dd02
UD
42431 * string/test-strcasestr.c: Test both ends of the range of characters.
42432 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42433
48cbc0d6
RM
424342010-07-29 Roland McGrath <roland@redhat.com>
42435
76e6d6bc 42436 [BZ #11856]
48cbc0d6
RM
42437 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42438
880113d9
UD
424392010-07-27 Ulrich Drepper <drepper@redhat.com>
42440
42441 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42442 for ld.so.
42443
deb9cabb
AS
424442010-07-27 Andreas Schwab <schwab@redhat.com>
42445
42446 * manual/memory.texi (Malloc Tunable Parameters): Document
42447 M_PERTURB.
42448
1c7570ff
RM
424492010-07-26 Roland McGrath <roland@redhat.com>
42450
42451 [BZ #11840]
42452 * configure.in (-fgnu89-inline check): Set and substitute
42453 gnu89_inline, not libc_cv_gnu89_inline.
42454 * configure: Regenerated.
42455 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42456
24fb0f88
UD
424572010-07-26 Ulrich Drepper <drepper@redhat.com>
42458
42459 * string/test-strnlen.c: New file.
42460 * string/Makefile (strop-tests): Add strnlen.
42461 * string/tester.c (test_strnlen): Add a few more test cases.
42462 * string/tst-strlen.c: Better error reporting.
42463
42464 * sysdeps/x86_64/strnlen.S: New file.
42465
8e96b93a
UD
424662010-07-24 Ulrich Drepper <drepper@redhat.com>
42467
42468 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42469 lower-latency instructions.
42470
dbc676d4
UD
424712010-07-23 Ulrich Drepper <drepper@redhat.com>
42472
42473 * string/test-strcasestr.c: New file.
42474 * string/test-strstr.c: New file.
42475 * string/Makefile (strop-tests): Add strstr and strcasestr.
42476 * string/str-two-way.h: Don't undefine MAX.
42477 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42478
f6a31e0e
AS
424792010-07-21 Andreas Schwab <schwab@redhat.com>
42480
42481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42482 strcasestr-nonascii.
42483 (CFLAGS-strcasestr-nonascii.c): Define.
42484 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42485 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42486 Remove unused attribute.
42487
5dbc3b6c
RM
424882010-07-20 Roland McGrath <roland@redhat.com>
42489
42490 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42491 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42492 ld.so.cache was broken. With it, there is no way to disable dsocaps
42493 like LD_HWCAP_MASK can disable hwcaps.
42494
23d101d8
EPM
424952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42496
42497 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42498
cc9f2e47
UD
424992010-07-16 Ulrich Drepper <drepper@redhat.com>
42500
42501 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42502 call in strcasestr.
42503 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42504 __strcasestr_sse42_nonascii.
42505 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42506 strcasestr-nonascii.c.
42507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42508
77c1b069
LM
425092010-06-15 Luis Machado <luisgpm@br.ibm.com>
42510
42511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42512 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42513 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42515
440566c3
UD
425162010-07-09 Ulrich Drepper <drepper@redhat.com>
42517
42518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42519 fcntl.
42520
5be9d05d
AS
425212010-07-06 Andreas Schwab <schwab@redhat.com>
42522
c30b7ee2 42523 [BZ #11577]
5be9d05d
AS
42524 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42525 dl_signal_cerror.
42526
8a492a67
UD
425272010-07-06 Ulrich Drepper <drepper@redhat.com>
42528
42529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42530 _PC_PIPE_BUF using F_GETPIPE_SZ.
42531
713df3d5
RM
425322010-07-05 Roland McGrath <roland@redhat.com>
42533
42534 * manual/arith.texi (Rounding Functions): Fix rint description
42535 implicit in round description.
42536
702e8f14
UD
425372010-07-02 Ulrich Drepper <drepper@redhat.com>
42538
42539 * elf/Makefile: Fix linking for a few tests to make recent linker
42540 happy.
42541
52ed8be9
AS
425422010-06-30 Andreas Schwab <schwab@redhat.com>
42543
42544 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42545 $(common-objpfx)libc_nonshared.a.
42546
f47c9a11
LM
425472010-06-21 Luis Machado <luisgpm@br.ibm.com>
42548
42549 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42550 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42551 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42552 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42553 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42554 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42555 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42556 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42571 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42572 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42573 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42574 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42575 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42576 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42577 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42578 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42579 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42580 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42581 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42582 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42597
6fb8cbcb
L
425982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42599
42600 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42601 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42602 * string/memmove.c (memmove): Renamed to ...
42603 (MEMMOVE): ...this. Default to memmove.
42604 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42605 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42606 (END_CHK): Define.
42607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42608 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42609 mempcpy-ssse3-back memmove-ssse3-back.
42610 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42611 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42613 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42614 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42615 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42616 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42617 * sysdeps/x86_64/multiarch/memmove.c: New file.
42618 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42619 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42620 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42621 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42622 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42623 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42624 Define.
42625 (index_Fast_Copy_Backward): Define.
42626 (HAS_ARCH_FEATURE): Define.
42627 (HAS_FAST_REP_STRING): Define.
42628 (HAS_FAST_COPY_BACKWARD): Define.
42629
4e733bac 426302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42631
42632 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42633 Restore proper fallback handling.
42634
63c4ed22
UD
426352010-06-19 Ulrich Drepper <drepper@redhat.com>
42636
ac2b484c
UD
42637 [BZ #11701]
42638 * posix/group_member.c (__group_member): Correct checking loop.
42639
63c4ed22
UD
42640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42641 OOM in getpwuid_r correctly. Return error number when the caller
42642 should return, otherwise -1.
42643 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42644 call returning > 0 value.
42645 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42646
765ade4b
AS
426472010-06-07 Andreas Schwab <schwab@redhat.com>
42648
42649 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42650 libc_nonshared.a from targets in modules-names.
42651
80da2e09
KS
426522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42653
42654 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42655 requires it.
42656
158db122
LM
426572010-06-10 Luis Machado <luisgpm@br.ibm.com>
42658
42659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42662 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42663
caa78cf8
AS
426642010-06-02 Andreas Schwab <schwab@redhat.com>
42665
42666 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42667
b2ef2c01
UD
426682010-06-14 Ulrich Drepper <drepper@redhat.com>
42669
42670 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42671 and F_GETPIPE_SZ.
42672 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42678
fbd643b6
RM
426792010-06-14 Roland McGrath <roland@redhat.com>
42680
42681 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42682
f32f2869
JJ
426832010-06-07 Jakub Jelinek <jakub@redhat.com>
42684
42685 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42686 __REDIRECT followed by __THROW.
42687 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42688 * posix/getopt.h (getopt): Likewise.
42689
2a50c078
EPM
426902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42691
42692 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42693 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42694 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42695 in AT_FLAGS.
42696 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42697 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42698
eb5ad2eb
LM
426992010-05-28 Luis Machado <luisgpm@br.ibm.com>
42700
42701 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42702
3c88fe1e
L
427032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42704
42705 [BZ #11640]
42706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42707 Properly check family and model.
42708
d2f73151
TY
427092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42710
42711 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42712
ebd2e13d
LM
427132010-05-24 Luis Machado <luisgpm@br.ibm.com>
42714
42715 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42716
b32b8b45
UD
427172010-05-21 Ulrich Drepper <drepper@redhat.com>
42718
42719 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42720 symbol reference.
42721
9acbe24d
AS
427222010-05-19 Andreas Schwab <schwab@redhat.com>
42723
42724 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42725 symbol reference.
42726
f0ccf6ea
AS
427272010-05-21 Andreas Schwab <schwab@redhat.com>
42728
3d04ff3a
AS
42729 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42730 and internal_recvmmsg.
42731 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42732 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42733 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42734 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42735
f0ccf6ea
AS
42736 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42737 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42738 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42739
5b08ac57
AS
427402010-05-20 Andreas Schwab <schwab@redhat.com>
42741
42742 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42743
4828935d
LM
427442010-05-17 Luis Machado <luisgpm@br.ibm.com>
42745
42746 POWER7 optimizations.
42747 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42748 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42749
373d545e
UD
427502010-05-19 Ulrich Drepper <drepper@redhat.com>
42751
42752 * version.h: Update for 2.13 development version.
42753
21a2b1ae
AS
427542010-05-12 Andrew Stubbs <ams@codesourcery.com>
42755
42756 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42757 exceptions. Return 0.
42758
3f7dcb2b
RM
427592010-05-07 Roland McGrath <roland@redhat.com>
42760
42761 * elf/ldconfig.c (main): Add a const.
42762
5f24d53a 427632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42764
a160f8d8
UD
42765 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42766 (args_options): Add no-idn option.
42767 (ahosts_keys_int): Add idn_flags to ai_flags.
42768 (parse_option): Handle 'i' option to clear idn_flags.
42769
5f24d53a
UD
42770 * malloc/malloc.c (_int_free): Possible race in the most recently
42771 added check. Only act on the data if no current modification
42772 happened.
265bb1ce
UD
42773
42774See ChangeLog.17 for earlier changes.