]> sourceware.org Git - glibc.git/blame - ChangeLog
Relax gen-auto-libm-tests may-underflow rules, test log1p in all rounding modes.
[glibc.git] / ChangeLog
CommitLineData
046651c1
JM
12014-03-25 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16357]
4 [BZ #16599]
5 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6 min_plus_half.
7 (fp_formats): Update initializers.
8 (init_fp_formats): Initialize new field.
9 (output_for_one_input_case): Allow underflow for results up to
10 min_plus_half.
11 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12 * math/auto-libm-test-in: Don't mark some underflows from asin and
13 atanh as spurious.
14 * math/auto-libm-test-out: Regenerated.
15 * sysdeps/i386/fpu/libm-test-ulps: Update.
16 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17
003e49ed
AS
182014-03-25 Andreas Schwab <schwab@suse.de>
19
20 * libio/Makefile (tst-ftell-partial-wide-ENV)
21 (tst-ftell-active-handler-ENV): Define.
22
de031874
SL
232014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24
25 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26
55a81e3b
PP
272014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28
29 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30
f3426898
JM
312014-03-24 Joseph Myers <joseph@codesourcery.com>
32
33 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34 * sysdeps/x86_64/fpu/multiarch/e_exp.c
35 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36
a42faf59
PP
372014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
38
39 [BZ #16634]
a42faf59
PP
40 * elf/dl-load.c (open_verify): Add mode parameter.
41 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42 (open_path): Change from boolean 'secure' to complete flag 'mode'
43 (_dl_map_object): Adjust.
44 * elf/Makefile (tests): Add tst-dlopen-aout.
45 * elf/tst-dlopen-aout.c: New test.
46
50936127
SL
472014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
48
49 [BZ #16714]
50 * sysdeps/unix/sysv/linux/s390/bits/stat.h
51 (struct stat): Rename member pad0 to __glibc_reserved0.
52
26011b5c
SL
532014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54
55 [BZ #16712]
56 * sysdeps/s390/s390-32/bits/wordsize.h
57 (__WORDSIZE32_SIZE_ULONG): New define.
58 * sysdeps/s390/s390-64/bits/wordsize.h
59 (__WORDSIZE32_SIZE_ULONG): Likewise.
60 * sysdeps/generic/stdint.h (SIZE_MAX):
61 Define as UL if __WORDSIZE32_SIZE_ULONG.
62
a2d86bf1
SL
632014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
64
65 [BZ #16713]
66 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
67 (__glibc_reserved0): New variable.
68 (sa_flags): Change type to int.
69
78b6eebc
SL
702014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
71
72 * posix/Makefile (before-compile): Use += before-compile instead
73 of a :=.
74
f1399b5a
SL
752014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
76
77 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
78 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
79
a071766e
AS
802014-03-20 Andreas Schwab <schwab@suse.de>
81
82 [BZ #16743]
83 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
84 non-matching result from nscd.
85
27c673b8
SP
862014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
87
88 * scripts/bench.py: Moved to ...
89 * benchtests/scripts/bench.py: ... here.
90 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
91
44152e4b
AS
922014-03-24 Andreas Schwab <schwab@suse.de>
93
94 [BZ #16002]
95 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
96 alloca_account and account alloca use for struct in6ailist.
97
b376a11a
JM
982014-03-24 Joseph Myers <joseph@codesourcery.com>
99
100 [BZ #16284]
101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
102 rounding mode to recompute results that overflow to infinity or
103 underflow to zero.
104 * math/auto-libm-test-in: Don't mark tests as expected to fail for
105 bug 16284.
106 * math/auto-libm-test-out: Regenerated.
107 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
108 (ccosh_test): Likewise.
109 (csin_test_data): Use plus_oflow.
110 (csin_test): Use ALL_RM_TEST.
111 (csinh_test_data): Use plus_oflow.
112 (csinh_test): Use ALL_RM_TEST.
113 * sysdeps/i386/fpu/libm-test-ulps: Update.
114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
115
f7be7376
JM
1162014-03-21 Joseph Myers <joseph@codesourcery.com>
117
1ca2d03e
JM
118 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
119 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
120 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
121
f7be7376
JM
122 [BZ #16731]
123 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
124 when x - 1 is zero.
125 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
126 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
127 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
129 argument is 1.
130 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
131 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
132 zero.
133 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
134 * sysdeps/i386/fpu/libm-test-ulps: Update.
135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
136
fdf4534d
SP
1372014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
138
df26ea53
SP
139 * scripts/bench.pl: Remove file.
140 * scripts/bench.py: New benchmark script.
141 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
142 * benchtests/README: Mention python dependency.
143 * scripts/pylintrc: New file.
144 * scripts/pylint: New file.
145
fdf4534d
SP
146 * bits/mathdef.h: Use #ifdef instead of #if.
147 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
148 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
149 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
150 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
151 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
152 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
153
6f23d093
AZ
1542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
156
157 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
159 and strpbrk-ppc64 objects.
160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
161 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
162 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
163 multiarch strpbrk for POWER7.
164 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
165 multiarch strpbrk for PPC64.
166 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
167 ifunc selector.
168 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
169 strpbrk for POWER7.
170
8c92dfff
JM
1712014-03-20 Joseph Myers <joseph@codesourcery.com>
172
173 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
174 (atan_test): Likewise.
175 (atanh_test_data): Use NO_TEST_INLINE for two tests.
176 (atanh_test): Use ALL_RM_TEST.
177 (atan2_test_data): Likewise.
178 (cabs_test): Likewise.
179 (cacosh_test): Likewise.
180 (carg_test): Likewise.
181 (casin_test): Likewise.
182 (casinh_test): Likewise.
183 (cbrt_test): Likewise.
184 (csqrt_test): Likewise.
185 (erf_test): Likewise.
186 (erfc_test): Likewise.
187 (pow10_test): Likewise.
188 (exp2_test): Likewise.
189 (hypot_test): Likewise.
190 (j0_test): Likewise.
191 (j1_test): Likewise.
192 (lgamma_test): Likewise.
193 (gamma_test): Likewise.
194 (sincos_test): Likewise.
195 (tanh_test): Likewise.
196 (y0_test): Likewise.
197 (y1_test): Likewise.
198 * sysdeps/i386/fpu/libm-test-ulps: Update.
199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
200
6eaf95cb
AZ
2012014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202
a387428c
SP
203 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
205 and strcspn-ppc64 objects.
206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
207 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
208 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
209 multiarch strcspn for POWER7.
210 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
211 multiarch strcspn for PPC64.
212 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
213 ifunc selector.
214 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
215 strcspn for POWER7.
216
ae3a5dff
JM
2172014-03-20 Joseph Myers <joseph@codesourcery.com>
218
219 * math/gen-libm-test.pl (generate_testfile): Expect only function
220 name as argument to AUTO_TESTS_* and pass results for all rounding
221 modes to parse_args.
222 (parse_auto_input): Separate inputs of automatic tests from
223 outputs before storing in %auto_tests.
224 * math/libm-test.inc (acos_test_data): Update call to
225 AUTO_TESTS_f_f.
226 (acos_test): Use ALL_RM_TEST.
227 (acos_tonearest_test_data): Remove.
228 (acos_test_tonearest): Likewise.
229 (acos_towardzero_test_data): Likewise.
230 (acos_test_towardzero): Likewise.
231 (acos_downward_test_data): Likewise.
232 (acos_test_downward): Likewise.
233 (acos_upward_test_data): Likewise.
234 (acos_test_upward): Likewise.
235 (acosh_test_data): Update call to AUTO_TESTS_f_f.
236 (asin_test_data): Likewise.
237 (asin_test): Use ALL_RM_TEST.
238 (asin_tonearest_test_data): Remove.
239 (asin_test_tonearest): Likewise.
240 (asin_towardzero_test_data): Likewise.
241 (asin_test_towardzero): Likewise.
242 (asin_downward_test_data): Likewise.
243 (asin_test_downward): Likewise.
244 (asin_upward_test_data): Likewise.
245 (asin_test_upward): Likewise.
246 (asinh_test_data): Update call to AUTO_TESTS_f_f.
247 (atan_test_data): Likewise.
248 (atanh_test_data): Likewise.
249 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
250 (cabs_test_data): Update call to AUTO_TESTS_c_f.
251 (carg_test_data): Likewise.
252 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
253 (ccos_test_data): Update call to AUTO_TESTS_c_c.
254 (ccosh_test_data): Likewise.
255 (cexp_test_data): Likewise.
256 (clog_test_data): Likewise.
257 (clog10_test_data): Likewise.
258 (cos_test_data): Update call to AUTO_TESTS_f_f.
259 (cos_test): Use ALL_RM_TEST.
260 (cos_tonearest_test_data): Remove.
261 (cos_test_tonearest): Likewise.
262 (cos_towardzero_test_data): Likewise.
263 (cos_test_towardzero): Likewise.
264 (cos_downward_test_data): Likewise.
265 (cos_test_downward): Likewise.
266 (cos_upward_test_data): Likewise.
267 (cos_test_upward): Likewise.
268 (cosh_test_data): Update call to AUTO_TESTS_f_f.
269 (cosh_test): Use ALL_RM_TEST.
270 (cosh_tonearest_test_data): Remove.
271 (cosh_test_tonearest): Likewise.
272 (cosh_towardzero_test_data): Likewise.
273 (cosh_test_towardzero): Likewise.
274 (cosh_downward_test_data): Likewise.
275 (cosh_test_downward): Likewise.
276 (cosh_upward_test_data): Likewise.
277 (cosh_test_upward): Likewise.
278 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
279 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
280 (ctan_test_data): Likewise.
281 (ctan_test): Use ALL_RM_TEST.
282 (ctan_tonearest_test_data): Remove.
283 (ctan_test_tonearest): Likewise.
284 (ctan_towardzero_test_data): Likewise.
285 (ctan_test_towardzero): Likewise.
286 (ctan_downward_test_data): Likewise.
287 (ctan_test_downward): Likewise.
288 (ctan_upward_test_data): Likewise.
289 (ctan_test_upward): Likewise.
290 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
291 (ctanh_test): Use ALL_RM_TEST.
292 (ctanh_tonearest_test_data): Remove.
293 (ctanh_test_tonearest): Likewise.
294 (ctanh_towardzero_test_data): Likewise.
295 (ctanh_test_towardzero): Likewise.
296 (ctanh_downward_test_data): Likewise.
297 (ctanh_test_downward): Likewise.
298 (ctanh_upward_test_data): Likewise.
299 (ctanh_test_upward): Likewise.
300 (erf_test_data): Update call to AUTO_TESTS_f_f.
301 (erfc_test_data): Likewise.
302 (exp_test_data): Likewise.
303 (exp_test): Use ALL_RM_TEST.
304 (exp_tonearest_test_data): Remove.
305 (exp_test_tonearest): Likewise.
306 (exp_towardzero_test_data): Likewise.
307 (exp_test_towardzero): Likewise.
308 (exp_downward_test_data): Likewise.
309 (exp_test_downward): Likewise.
310 (exp_upward_test_data): Likewise.
311 (exp_test_upward): Likewise.
312 (exp10_test_data): Update call to AUTO_TESTS_f_f.
313 (exp10_test): Use ALL_RM_TEST.
314 (exp10_tonearest_test_data): Remove.
315 (exp10_test_tonearest): Likewise.
316 (exp10_towardzero_test_data): Likewise.
317 (exp10_test_towardzero): Likewise.
318 (exp10_downward_test_data): Likewise.
319 (exp10_test_downward): Likewise.
320 (exp10_upward_test_data): Likewise.
321 (exp10_test_upward): Likewise.
322 (exp2_test_data): Update call to AUTO_TESTS_f_f.
323 (expm1_test_data): Likewise.
324 (expm1_test): Use ALL_RM_TEST.
325 (expm1_tonearest_test_data): Remove.
326 (expm1_test_tonearest): Likewise.
327 (expm1_towardzero_test_data): Likewise.
328 (expm1_test_towardzero): Likewise.
329 (expm1_downward_test_data): Likewise.
330 (expm1_test_downward): Likewise.
331 (expm1_upward_test_data): Likewise.
332 (expm1_test_upward): Likewise.
333 (fma_test_data): Update call to AUTO_TESTS_fff_f.
334 (fma_test): Use ALL_RM_TEST.
335 (fma_towardzero_test_data): Remove.
336 (fma_test_towardzero): Likewise.
337 (fma_downward_test_data): Likewise.
338 (fma_test_downward): Likewise.
339 (fma_upward_test_data): Likewise.
340 (fma_test_upward): Likewise.
341 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
342 (j0_test_data): Update call to AUTO_TESTS_f_f.
343 (j1_test_data): Likewise.
344 (jn_test_data): Update call to AUTO_TESTS_if_f.
345 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
346 (log_test_data): Update call to AUTO_TESTS_f_f.
347 (log10_test_data): Likewise.
348 (log1p_test_data): Likewise.
349 (log2_test_data): Likewise.
350 (pow_test_data): Update call to AUTO_TESTS_ff_f.
351 (pow_tonearest_test_data): Likewise.
352 (sin_test_data): Update call to AUTO_TESTS_f_f.
353 (sin_test): Use ALL_RM_TEST.
354 (sin_tonearest_test_data): Remove.
355 (sin_test_tonearest): Likewise.
356 (sin_towardzero_test_data): Likewise.
357 (sin_test_towardzero): Likewise.
358 (sin_downward_test_data): Likewise.
359 (sin_test_downward): Likewise.
360 (sin_upward_test_data): Likewise.
361 (sin_test_upward): Likewise.
362 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
363 (sinh_test_data): Update call to AUTO_TESTS_f_f.
364 (sinh_test): Use ALL_RM_TEST.
365 (sinh_tonearest_test_data): Remove.
366 (sinh_test_tonearest): Likewise.
367 (sinh_towardzero_test_data): Likewise.
368 (sinh_test_towardzero): Likewise.
369 (sinh_downward_test_data): Likewise.
370 (sinh_test_downward): Likewise.
371 (sinh_upward_test_data): Likewise.
372 (sinh_test_upward): Likewise.
373 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
374 (sqrt_test): Use ALL_RM_TEST.
375 (sqrt_tonearest_test_data): Remove.
376 (sqrt_test_tonearest): Likewise.
377 (sqrt_towardzero_test_data): Likewise.
378 (sqrt_test_towardzero): Likewise.
379 (sqrt_downward_test_data): Likewise.
380 (sqrt_test_downward): Likewise.
381 (sqrt_upward_test_data): Likewise.
382 (sqrt_test_upward): Likewise.
383 (tan_test_data): Update call to AUTO_TESTS_f_f.
384 (tan_test): Use ALL_RM_TEST.
385 (tan_tonearest_test_data): Remove.
386 (tan_test_tonearest): Likewise.
387 (tan_towardzero_test_data): Likewise.
388 (tan_test_towardzero): Likewise.
389 (tan_downward_test_data): Likewise.
390 (tan_test_downward): Likewise.
391 (tan_upward_test_data): Likewise.
392 (tan_test_upward): Likewise.
393 (tanh_test_data): Update call to AUTO_TESTS_f_f.
394 (tgamma_test_data): Likewise.
395 (y0_test_data): Likewise.
396 (y1_test_data): Likewise.
397 (yn_test_data): Update call to AUTO_TESTS_if_f.
398 (main): Do not call removed functions.
399
d71aeee8
JM
4002014-03-19 Joseph Myers <joseph@codesourcery.com>
401
402 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
403 (ldexp_test_data): Remove.
404 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
405 scalbn_test_data.
406 (scalb_test): Use ALL_RM_TEST.
407
baaf1ded
AS
4082014-03-19 Andreas Schwab <schwab@suse.de>
409
410 * nscd/nscd.service: Also invalidate netgroup cache on reload.
411
b1115e91
JM
4122014-03-19 Joseph Myers <joseph@codesourcery.com>
413
414 [BZ #16649]
415 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
416 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
417 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
418 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
419 (__ASSUME_PREADV): Undefine.
420 (__ASSUME_PWRITEV): Likewise.
421
0283ecca
RM
4222014-03-18 Roland McGrath <roland@hack.frob.com>
423
7d375303
RM
424 * bits/mman-linux.h: Add comment about non-Linux use.
425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
426 bits/mman-linux.h resting place.
427
0283ecca
RM
428 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
429 * bits/mman-linux.h: ... here.
430
aebe1003
AZ
4312014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
432
433 * conform/conformtest.pl: Add standard definition when calling C
434 preprocessor on data files.
435 (checknamespace): Remove unused variable.
436
b29b6bb8
JM
4372014-03-18 Joseph Myers <joseph@codesourcery.com>
438
439 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
440 minus_oflow, plus_uflow and minus_uflow in expected results.
441 * math/libm-test.inc (scalbn_test_data): Add more tests of
442 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
443 minus_uflow.
444 (scalbn_test): Use ALL_RM_TEST.
445 (scalbln_test_data): Add more tests of negative arguments. Use
446 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
447 (scalbln_test): Use ALL_RM_TEST.
448
c8f8fa15
RM
4492014-03-18 Roland McGrath <roland@hack.frob.com>
450
451 * scripts/abilist.awk: Ignore symbols marked with .hidden.
452
fede7a5f
WN
4532014-03-18 Will Newton <will.newton@linaro.org>
454
455 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
456 inaccurate comment.
457
80cf0a58
JM
4582014-03-18 Joseph Myers <joseph@codesourcery.com>
459
460 * Makerules [!subdir] (check-abi): Exit with error status if a
461 test failed.
462
b3620862
JM
4632014-03-17 Joseph Myers <joseph@codesourcery.com>
464
465 * math/libm-test.inc (nearbyint_test_data): Include all tests used
466 for rint. Include results for all rounding modes.
467 (nearbyint_test): Use ALL_RM_TEST.
468 (rint_test_data): Include all tests used for nearbyint.
469
788bba36
WN
4702014-03-17 Will Newton <will.newton@linaro.org>
471
04ec140a
WN
472 * nptl/sysdeps/pthread/pthread.h: Revert previous
473 change.
474
7579d8d5
WN
475 * sysdeps/generic/ldsodefs.h: Revert previous
476 change.
477
c15cf13a
WN
478 * libio/genops.c: Revert previous change.
479 * libio/libioP.h: Likewise.
480 * stdio-common/vfprintf.c: Likewise.
481
d0ac1324
WN
482 * sysdeps/generic/math_private.h: Revert previous
483 change.
484
9290130a
WN
485 * sysdeps/generic/math_private.h: Check whether
486 HAVE_RM_CTX is defined with #ifdef rather
487 than #if.
488
afb466fc
WN
489 * argp/argp-fmtstream.h: Check whether
490 __STRICT_ANSI__ is defined with #ifdef rather
491 than #if.
492 * argp/argp.h: Likewise.
493
f7efd7c3
WN
494 * libio/genops.c: Check whether
495 _IO_JUMPS_OFFSET is defined with #ifdef rather
496 than #if.
497 * libio/libioP.h: Likewise.
498 * stdio-common/vfprintf.c: Likewise.
499
53f1bed3
WN
500 * sysdeps/generic/ldsodefs.h: Check whether
501 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
502 than #if.
503
788bba36
WN
504 * nptl/sysdeps/pthread/pthread.h: Check
505 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
506 its value.
507
fcd89ebe
SP
5082014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
509
ae42bbc5
SP
510 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
511 setting O_APPEND.
512 * libio/tst-ftell-active-handler.c (do_append_test): Add a
513 test case.
514
ea33158c
SP
515 [BZ #16680]
516 * libio/fileops.c (_IO_file_open): Seek to end of file but
517 don't cache the offset.
518 (get_file_offset): Remove function.
519 (do_ftell): Use cached offset when available.
520 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
521 don't cache the offset.
522 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
523 case.
524 (do_one_test): Call it.
525 (do_ftell_test): Fix up expected old offset for a+ mode.
526 * libio/wfileops.c (do_ftell_wide): Used cached offset when
527 available.
528
b1dbb426
SP
529 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
530 up test status with function return status.
531 (do_write_test): Likewise.
532 (do_append_test): Likewise.
533
fcd89ebe
SP
534 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
535 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
536 Remove.
537
9962a2d3
JM
5382014-03-17 Joseph Myers <joseph@codesourcery.com>
539
540 * math/gen-libm-test.pl (parse_args): Handle results specified for
541 each rounding mode separately.
542 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
543 tests and results from lrint_tonearest_test_data,
544 lrint_towardzero_test_data, lrint_downward_test_data and
545 lrint_upward_test_data.
546 (lrint_test): Use ALL_RM_TEST.
547 (lrint_tonearest_test_data): Remove.
548 (lrint_test_tonearest): Likewise.
549 (lrint_towardzero_test_data): Likewise.
550 (lrint_test_towardzero): Likewise.
551 (lrint_downward_test_data): Likewise.
552 (lrint_test_downward): Likewise.
553 (lrint_upward_test_data): Likewise.
554 (lrint_test_upward): Likewise.
555 (llrint_test_data): Merge in per-rounding-mode tests and results
556 from llrint_tonearest_test_data, llrint_towardzero_test_data,
557 llrint_downward_test_data and llrint_upward_test_data.
558 (llrint_test): Use ALL_RM_TEST.
559 (llrint_tonearest_test_data): Remove.
560 (llrint_test_tonearest): Likewise.
561 (llrint_towardzero_test_data): Likewise.
562 (llrint_test_towardzero): Likewise.
563 (llrint_downward_test_data): Likewise.
564 (llrint_test_downward): Likewise.
565 (llrint_upward_test_data): Likewise.
566 (llrint_test_upward): Likewise.
567 (rint_test_data): Merge in per-rounding-mode tests and results
568 from rint_tonearest_test_data, rint_towardzero_test_data,
569 rint_downward_test_data and rint_upward_test_data. Add
570 per-rounding-mode results for tests not in those arrays.
571 (rint_test): Use ALL_RM_TEST.
572 (rint_tonearest_test_data): Remove.
573 (rint_test_tonearest): Likewise.
574 (rint_towardzero_test_data): Likewise.
575 (rint_test_towardzero): Likewise.
576 (rint_downward_test_data): Likewise.
577 (rint_test_downward): Likewise.
578 (rint_upward_test_data): Likewise.
579 (rint_test_upward): Likewise.
580 (main): Don't call removed functions.
581
5006148e
RM
5822014-03-14 Roland McGrath <roland@hack.frob.com>
583
584 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
585 "Compiled on ..." crapola. It is anti-useful.
586
d6fe5e58
JM
5872014-03-14 Joseph Myers <joseph@codesourcery.com>
588
589 * scripts/evaluate-test.sh: Handle fourth argument to determine
590 whether test run should stop on failure.
591 * Makeconfig (stop-on-test-failure): New variable.
592 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
593 $(stop-on-test-failure).
594 * Makefile (tests): Give a summary of results from testing and
595 exit with failure status if they include an ERROR or FAIL.
596 (xtests): Likewise.
597 * manual/install.texi (Configuring and compiling): Mention
598 stop-on-test-failure=y.
599 * INSTALL: Regenerated.
600
498a2233
RM
6012014-03-14 Roland McGrath <roland@hack.frob.com>
602
22dbc19d
RM
603 * scripts/versionlist.awk: New file.
604 * Makerules [$(build-shared) = yes]
605 (postclean-generated): Add Versions.def, not Versions.def.v and
606 Versions.def.v.i.
607 ($(common-objpfx)Versions.def.v.i): Target removed.
608 ($(common-objpfx)Versions.def): New target.
609 ($(common-objpfx)Versions.all): Depend on that rather that
610 $(common-objpfx)Versions.def.v.
611 * Versions.def: File removed.
612
498a2233
RM
613 * Makeconfig (+gccwarn): Add -Wundef.
614 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
615 a dl-sysdep.h breaking its contract.
616 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
617 * include/stackinfo.h: New file.
618 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
619 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
620 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
621 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
622 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
623 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
624 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
625 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
626 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
627 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
628 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
629 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
630 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
631 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
632 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
633
c7de5025
AZ
6342014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635
636 [BZ #16707]
637 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
638 implementation.
639 * math/libm-test.inc (round_test_data): Add more tests.
640
98fb27a3
AZ
6412014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
642
643 [BZ #16706]
644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
645 implementation.
646 * math/libm-test.inc (nearbyint_test_data): Add more tests.
647
374f7f61
AZ
6482014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
649
650 [BZ #16701]
651 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
652 implementation.
653 * math/libm-test.inc (ceil_test_data): Add more tests.
654
4655c291
AZ
6552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
656
657 * math/libm-test.inc (trunc_test_data): Add more tests related to
658 BZ#16414.
659
d7329d4b
RM
6602014-03-14 Roland McGrath <roland@hack.frob.com>
661
662 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
663 with #if rather than #ifdef.
664 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
665
aa4de9ce
L
6662014-03-14 H.J. Lu <hongjiu.lu@intel.com>
667
668 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
669 first. Disable AVX-512 GCC support if assembler doesn't support
670 it.
671 * sysdeps/x86_64/configure: Regenerated.
672
2e03fae7
CD
6732014-03-13 Carlos O'Donell <carlos@redhat.com>
674
675 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
676 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
677 (__old_pthread_attr_setstack): Likewise.
678 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
679 [!_STACK_GROWS_DOWN]: Likewise.
680
43ca83ec
MF
6812014-03-13 Mike Frysinger <vapier@gentoo.org>
682
683 * config.make.in (have-bash2): Delete.
684 * configure.ac (libc_cv_have_bash2): Delete.
685 * configure: Regenerate.
686 * elf/Makefile (common-ldd-rewrite): Rename to ...
687 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
688 (sh-ldd-rewrite): Delete.
689 (bash-ldd-rewrite): Delete.
690 (have-bash2): Delete checks.
691 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
692
c66e48b4
MF
6932014-03-13 Mike Frysinger <vapier@gentoo.org>
694
695 * config.make.in (have-ksh): Delete.
696 (KSH): Delete.
697 * configure.ac (libc_cv_have_ksh): Delete.
698 * configure: Regenerate.
699
b93834ef
MF
7002014-03-13 Mike Frysinger <vapier@gentoo.org>
701
702 * elf/Makefile: Delete $(have-ksh) check.
703 ($(objpfx)sotruss): Change KSH to BASH.
704 * elf/sotruss.ksh: Rename to ...
705 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
706 function style to match POSIX. Drop ksh vim mode setting.
707
f3a4632a
MF
7082014-03-13 Mike Frysinger <vapier@gentoo.org>
709
710 * manual/time.texi (Specifying the Time Zone with TZ): Change
711 Tuesday to Thursday.
712
5896c8bd
MF
7132014-03-13 Mike Frysinger <vapier@gentoo.org>
714
715 * debug/tst-longjmp_chk2.c: Update header comment.
716 (stackoverflow_handler): Add comment. Call assert on pass value.
717
2d63a517
IZ
7182014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
719
720 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
721 (HAVE_AVX512_ASM_SUPPORT): Likewise.
722 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
723 (La_x86_64_vector): Add zmm.
724 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
725 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
726 ($(objpfx)tst-audit10): New target.
727 ($(objpfx)tst-audit10.out): Likewise.
728 (tst-audit10-ENV): New.
729 (AVX512-CFLAGS): Likewise.
730 (CFLAGS-tst-audit10.c): Likewise.
731 (CFLAGS-tst-auditmod10a.c): Likewise.
732 (CFLAGS-tst-auditmod10b.c): Likewise.
733 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
734 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
735 * sysdeps/x86_64/configure: Regenerated.
736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
737 AVX-512 zmm register support.
738 (_dl_x86_64_save_sse): Likewise.
739 (_dl_x86_64_restore_sse): Likewise.
740 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
741 size vector registers.
742 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
743 (ZMM_SIZE): Likewise.
744 * sysdeps/x86_64/tst-audit10.c: New file.
745 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
746 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
747
44c4e5d5
RM
7482014-03-13 Roland McGrath <roland@hack.frob.com>
749
750 * configure.ac (HAVE_EHDR_START): New check.
751 * configure: Regenerated.
752 * config.h.in (HAVE_EHDR_START): New #undef.
753 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
754 assuming the lowest-addressed segment maps the start of the file.
755
acd6e389
JM
7562014-03-13 Joseph Myers <joseph@codesourcery.com>
757
758 * INSTALL: Regenerated.
759
6f918f36
WN
7602014-03-13 Will Newton <will.newton@linaro.org>
761
762 * manual/setjmp.texi (System V contexts): Improve
763 clarity and grammar of documentation.
764
798212a0
PP
7652014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
766
767 [BZ #16381]
798212a0 768 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 769 (tests-pie): Add tst-pie2.
798212a0
PP
770 * elf/tst-pie2.c: New file.
771 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
772 for ET_EXEC.
773 * elf/rtld.c (map_doit): Load executable as lt_executable.
774 (dl_main): Likewise.
775
abe6d90c
JM
7762014-03-12 Joseph Myers <joseph@codesourcery.com>
777
778 [BZ #16642]
779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
780 (__ASSUME_PSELECT): Undefine.
781
dd3946c6
AZ
7822014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783
784 [BZ #16689]
785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
786 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
787 static build.
788 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
789 selector for static builds.
790
c44496df
SP
7912014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
792
793 [BZ #16695]
794 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
795 key in the buffer.
796
27c7220a
AZ
7972014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798
799 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
800 selector for static builds.
801
600fa361
JM
8022014-03-11 Joseph Myers <joseph@codesourcery.com>
803
76c96cf7
JM
804 * sysdeps/mips/math_private.h [__mips_hard_float]
805 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
806 libc_feresetround_mips_ctx.
807 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
808 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
809 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
810
600fa361
JM
811 [BZ #16677]
812 * math/s_nextafter.c (__nextafter): Do not return value from
813 overflowing computation.
814 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
815 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
817 Likewise.
818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
819 Likewise.
820 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
821 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
822
d7706c32
RM
8232014-03-11 Roland McGrath <roland@hack.frob.com>
824
825 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
826 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
827 Move sfi_sp use from the load-multiple (that no longer sets sp) to
828 the new mov targetting sp.
829
4facea47
AZ
8302014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
831
832 [BZ #16683]
833 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
834 Define it for static builds as well.
835 (NO_BZERO_IMPL): Likewise.
836
e65caf1f
VR
8372014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
838
839 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
840 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
841 multiarch strspn for PPC64.
842 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
843 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
845 (__libc_ifunc_impl_list): Likewise.
846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
847 multiarch optimizations
848 * string/strspn.c (strspn): Using macro to redefine symbol name.
849
ba9cc071
AZ
8502014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
851 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
854 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
855 multiarch strncat for PPC64.
856 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
857 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
859 (__libc_ifunc_impl_list): Likewise.
860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
861 multiarch optimizations
862
8b4ff974
SP
8632014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
864
865 [BZ #16639]
866 * nscd/nscd.service: Make service type forking.
867
54b46a4b
AZ
8682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869
870 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
871 sign in non default rounding modes.
872 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
873
e9996ef7
JM
8742014-03-08 Joseph Myers <joseph@codesourcery.com>
875
876 * math/libm-test.inc (ALL_RM_TEST): New macro.
877 (ceil_test): Use ALL_RM_TEST.
878 (cimag_test): Likewise.
879 (conj_test): Likewise.
880 (copysign_test): Likewise.
881 (cproj_test): Likewise.
882 (creal_test): Likewise.
883 (fabs_test): Likewise.
884 (floor_test): Likewise.
885 (fmax_test): Likewise.
886 (fmin_test): Likewise.
887 (fmod_test): Likewise.
888 (fpclassify_test): Likewise.
889 (frexp_test): Likewise.
890 (ilogb_test): Likewise.
891 (isfinite_test): Likewise.
892 (finite_test): Likewise.
893 (isgreater_test): Likewise.
894 (isgreaterequal_test): Likewise.
895 (isinf_test): Likewise.
896 (isless_test): Likewise.
897 (islessequal_test): Likewise.
898 (islessgreater_test): Likewise.
899 (isnan_test): Likewise.
900 (isnormal_test): Likewise.
901 (issignaling_test): Likewise.
902 (isunordered_test): Likewise.
903 (logb_test): Likewise.
904 (logb_downward_test_data): Remove.
905 (logb_test_downward): Likewise.
906 (lround_test): Use ALL_RM_TEST.
907 (llround_test): Likewise.
908 (modf_test): Likewise.
909 (nexttoward_test): Likewise.
910 (remainder_test): Likewise.
911 (drem_test): Likewise.
912 (remainder_tonearest_test_data): Likewise.
913 (remainder_test_tonearest): Likewise.
914 (drem_test_tonearest): Likewise.
915 (remainder_towardzero_test_data): Likewise.
916 (remainder_test_towardzero): Likewise.
917 (drem_test_towardzero): Likewise.
918 (remainder_downward_test_data): Likewise.
919 (remainder_test_downward): Likewise.
920 (drem_test_downward): Likewise.
921 (remainder_upward_test_data): Likewise.
922 (remainder_test_upward): Likewise.
923 (drem_test_upward): Likewise.
924 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
925 (round_test): Use ALL_RM_TEST.
926 (signbit_test): Likewise.
927 (trunc_test): Likewise.
928 (significand_test): Likewise.
929 (main): Don't call removed functions.
930
bc61d27c
JM
9312014-03-07 Joseph Myers <joseph@codesourcery.com>
932
5c780849
JM
933 [BZ #16674]
934 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
935 || __USE_XOPEN2K8].
936 (ILL_ILLOPN): Likewise.
937 (ILL_ILLADR): Likewise.
938 (ILL_ILLTRP): Likewise.
939 (ILL_PRVOPC): Likewise.
940 (ILL_PRVREG): Likewise.
941 (ILL_COPROC): Likewise.
942 (ILL_BADSTK): Likewise.
943 (FPE_INTDIV): Likewise.
944 (FPE_INTOVF): Likewise.
945 (FPE_FLTDIV): Likewise.
946 (FPE_FLTOVF): Likewise.
947 (FPE_FLTUND): Likewise.
948 (FPE_FLTRES): Likewise.
949 (FPE_FLTINV): Likewise.
950 (FPE_FLTSUB): Likewise.
951 (SEGV_MAPERR): Likewise.
952 (SEGV_ACCERR): Likewise.
953 (BUS_ADRALN): Likewise.
954 (BUS_ADRERR): Likewise.
955 (BUS_OBJERR): Likewise.
956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
957 (TRAP_TRACE): Likewise.
958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
959 __USE_XOPEN2K8].
960 (CLD_KILLED): Likewise.
961 (CLD_DUMPED): Likewise.
962 (CLD_TRAPPED): Likewise.
963 (CLD_STOPPED): Likewise.
964 (CLD_CONTINUED): Likewise.
965 (POLL_IN): Likewise.
966 (POLL_OUT): Likewise.
967 (POLL_MSG): Likewise.
968 (POLL_ERR): Likewise.
969 (POLL_PRI): Likewise.
970 (POLL_HUP): Likewise.
971 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
972 Likewise.
973 (ILL_ILLOPN): Likewise.
974 (ILL_ILLADR): Likewise.
975 (ILL_ILLTRP): Likewise.
976 (ILL_PRVOPC): Likewise.
977 (ILL_PRVREG): Likewise.
978 (ILL_COPROC): Likewise.
979 (ILL_BADSTK): Likewise.
980 (FPE_INTDIV): Likewise.
981 (FPE_INTOVF): Likewise.
982 (FPE_FLTDIV): Likewise.
983 (FPE_FLTOVF): Likewise.
984 (FPE_FLTUND): Likewise.
985 (FPE_FLTRES): Likewise.
986 (FPE_FLTINV): Likewise.
987 (FPE_FLTSUB): Likewise.
988 (SEGV_MAPERR): Likewise.
989 (SEGV_ACCERR): Likewise.
990 (BUS_ADRALN): Likewise.
991 (BUS_ADRERR): Likewise.
992 (BUS_OBJERR): Likewise.
993 (BUS_MCEERR_AR): Likewise.
994 (BUS_MCEERR_AO): Likewise.
995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
996 (TRAP_TRACE): Likewise.
997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
998 __USE_XOPEN2K8].
999 (CLD_KILLED): Likewise.
1000 (CLD_DUMPED): Likewise.
1001 (CLD_TRAPPED): Likewise.
1002 (CLD_STOPPED): Likewise.
1003 (CLD_CONTINUED): Likewise.
1004 (POLL_IN): Likewise.
1005 (POLL_OUT): Likewise.
1006 (POLL_MSG): Likewise.
1007 (POLL_ERR): Likewise.
1008 (POLL_PRI): Likewise.
1009 (POLL_HUP): Likewise.
1010 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1011 (ILL_ILLOPN): Likewise.
1012 (ILL_ILLADR): Likewise.
1013 (ILL_ILLTRP): Likewise.
1014 (ILL_PRVOPC): Likewise.
1015 (ILL_PRVREG): Likewise.
1016 (ILL_COPROC): Likewise.
1017 (ILL_BADSTK): Likewise.
1018 (FPE_INTDIV): Likewise.
1019 (FPE_INTOVF): Likewise.
1020 (FPE_FLTDIV): Likewise.
1021 (FPE_FLTOVF): Likewise.
1022 (FPE_FLTUND): Likewise.
1023 (FPE_FLTRES): Likewise.
1024 (FPE_FLTINV): Likewise.
1025 (FPE_FLTSUB): Likewise.
1026 (SEGV_MAPERR): Likewise.
1027 (SEGV_ACCERR): Likewise.
1028 (BUS_ADRALN): Likewise.
1029 (BUS_ADRERR): Likewise.
1030 (BUS_OBJERR): Likewise.
1031 (BUS_MCEERR_AR): Likewise.
1032 (BUS_MCEERR_AO): Likewise.
1033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1034 (TRAP_TRACE): Likewise.
1035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1036 __USE_XOPEN2K8].
1037 (CLD_KILLED): Likewise.
1038 (CLD_DUMPED): Likewise.
1039 (CLD_TRAPPED): Likewise.
1040 (CLD_STOPPED): Likewise.
1041 (CLD_CONTINUED): Likewise.
1042 (POLL_IN): Likewise.
1043 (POLL_OUT): Likewise.
1044 (POLL_MSG): Likewise.
1045 (POLL_ERR): Likewise.
1046 (POLL_PRI): Likewise.
1047 (POLL_HUP): Likewise.
1048 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1049 Likewise.
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 (ILL_BADIADDR): Likewise.
1058 (ILL_BREAK): Likewise.
1059 (FPE_INTDIV): Likewise.
1060 (FPE_INTOVF): Likewise.
1061 (FPE_FLTDIV): Likewise.
1062 (FPE_FLTOVF): Likewise.
1063 (FPE_FLTUND): Likewise.
1064 (FPE_FLTRES): Likewise.
1065 (FPE_FLTINV): Likewise.
1066 (FPE_FLTSUB): Likewise.
1067 (FPE_DECOVF): Likewise.
1068 (FPE_DECDIV): Likewise.
1069 (FPE_DECERR): Likewise.
1070 (FPE_INVASC): Likewise.
1071 (FPE_INVDEC): Likewise.
1072 (SEGV_MAPERR): Likewise.
1073 (SEGV_ACCERR): Likewise.
1074 (SEGV_PSTKOVF): Likewise.
1075 (BUS_ADRALN): Likewise.
1076 (BUS_ADRERR): Likewise.
1077 (BUS_OBJERR): Likewise.
1078 (BUS_MCEERR_AR): Likewise.
1079 (BUS_MCEERR_AO): Likewise.
1080 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1081 (TRAP_TRACE): Likewise.
1082 (TRAP_BRANCH): Likewise.
1083 (TRAP_HWBKPT): Likewise.
1084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1085 __USE_XOPEN2K8].
1086 (CLD_KILLED): Likewise.
1087 (CLD_DUMPED): Likewise.
1088 (CLD_TRAPPED): Likewise.
1089 (CLD_STOPPED): Likewise.
1090 (CLD_CONTINUED): Likewise.
1091 (POLL_IN): Likewise.
1092 (POLL_OUT): Likewise.
1093 (POLL_MSG): Likewise.
1094 (POLL_ERR): Likewise.
1095 (POLL_PRI): Likewise.
1096 (POLL_HUP): Likewise.
1097 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1098 (ILL_ILLOPN): Likewise.
1099 (ILL_ILLADR): Likewise.
1100 (ILL_ILLTRP): Likewise.
1101 (ILL_PRVOPC): Likewise.
1102 (ILL_PRVREG): Likewise.
1103 (ILL_COPROC): Likewise.
1104 (ILL_BADSTK): Likewise.
1105 (FPE_INTDIV): Likewise.
1106 (FPE_INTOVF): Likewise.
1107 (FPE_FLTDIV): Likewise.
1108 (FPE_FLTOVF): Likewise.
1109 (FPE_FLTUND): Likewise.
1110 (FPE_FLTRES): Likewise.
1111 (FPE_FLTINV): Likewise.
1112 (FPE_FLTSUB): Likewise.
1113 (SEGV_MAPERR): Likewise.
1114 (SEGV_ACCERR): Likewise.
1115 (BUS_ADRALN): Likewise.
1116 (BUS_ADRERR): Likewise.
1117 (BUS_OBJERR): Likewise.
1118 (BUS_MCEERR_AR): Likewise.
1119 (BUS_MCEERR_AO): Likewise.
1120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1121 (TRAP_TRACE): Likewise.
1122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1123 __USE_XOPEN2K8].
1124 (CLD_KILLED): Likewise.
1125 (CLD_DUMPED): Likewise.
1126 (CLD_TRAPPED): Likewise.
1127 (CLD_STOPPED): Likewise.
1128 (CLD_CONTINUED): Likewise.
1129 (POLL_IN): Likewise.
1130 (POLL_OUT): Likewise.
1131 (POLL_MSG): Likewise.
1132 (POLL_ERR): Likewise.
1133 (POLL_PRI): Likewise.
1134 (POLL_HUP): Likewise.
1135 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1136 (ILL_ILLOPN): Likewise.
1137 (ILL_ILLADR): Likewise.
1138 (ILL_ILLTRP): Likewise.
1139 (ILL_PRVOPC): Likewise.
1140 (ILL_PRVREG): Likewise.
1141 (ILL_COPROC): Likewise.
1142 (ILL_BADSTK): Likewise.
1143 (FPE_INTDIV): Likewise.
1144 (FPE_INTOVF): Likewise.
1145 (FPE_FLTDIV): Likewise.
1146 (FPE_FLTOVF): Likewise.
1147 (FPE_FLTUND): Likewise.
1148 (FPE_FLTRES): Likewise.
1149 (FPE_FLTINV): Likewise.
1150 (FPE_FLTSUB): Likewise.
1151 (SEGV_MAPERR): Likewise.
1152 (SEGV_ACCERR): Likewise.
1153 (BUS_ADRALN): Likewise.
1154 (BUS_ADRERR): Likewise.
1155 (BUS_OBJERR): Likewise.
1156 (BUS_MCEERR_AR): Likewise.
1157 (BUS_MCEERR_AO): Likewise.
1158 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1159 (TRAP_TRACE): Likewise.
1160 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1161 __USE_XOPEN2K8].
1162 (CLD_KILLED): Likewise.
1163 (CLD_DUMPED): Likewise.
1164 (CLD_TRAPPED): Likewise.
1165 (CLD_STOPPED): Likewise.
1166 (CLD_CONTINUED): Likewise.
1167 (POLL_IN): Likewise.
1168 (POLL_OUT): Likewise.
1169 (POLL_MSG): Likewise.
1170 (POLL_ERR): Likewise.
1171 (POLL_PRI): Likewise.
1172 (POLL_HUP): Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1174 (ILL_ILLOPN): Likewise.
1175 (ILL_ILLADR): Likewise.
1176 (ILL_ILLTRP): Likewise.
1177 (ILL_PRVOPC): Likewise.
1178 (ILL_PRVREG): Likewise.
1179 (ILL_COPROC): Likewise.
1180 (ILL_BADSTK): Likewise.
1181 (FPE_INTDIV): Likewise.
1182 (FPE_INTOVF): Likewise.
1183 (FPE_FLTDIV): Likewise.
1184 (FPE_FLTOVF): Likewise.
1185 (FPE_FLTUND): Likewise.
1186 (FPE_FLTRES): Likewise.
1187 (FPE_FLTINV): Likewise.
1188 (FPE_FLTSUB): Likewise.
1189 (SEGV_MAPERR): Likewise.
1190 (SEGV_ACCERR): Likewise.
1191 (BUS_ADRALN): Likewise.
1192 (BUS_ADRERR): Likewise.
1193 (BUS_OBJERR): Likewise.
1194 (BUS_MCEERR_AR): Likewise.
1195 (BUS_MCEERR_AO): Likewise.
1196 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1197 (TRAP_TRACE): 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/tile/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 (ILL_DBLFLT): Likewise.
1220 (ILL_HARDWALL): Likewise.
1221 (FPE_INTDIV): Likewise.
1222 (FPE_INTOVF): Likewise.
1223 (FPE_FLTDIV): Likewise.
1224 (FPE_FLTOVF): Likewise.
1225 (FPE_FLTUND): Likewise.
1226 (FPE_FLTRES): Likewise.
1227 (FPE_FLTINV): Likewise.
1228 (FPE_FLTSUB): Likewise.
1229 (SEGV_MAPERR): Likewise.
1230 (SEGV_ACCERR): Likewise.
1231 (BUS_ADRALN): Likewise.
1232 (BUS_ADRERR): Likewise.
1233 (BUS_OBJERR): Likewise.
1234 (BUS_MCEERR_AR): Likewise.
1235 (BUS_MCEERR_AO): Likewise.
1236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1237 (TRAP_TRACE): Likewise.
1238 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1239 __USE_XOPEN2K8].
1240 (CLD_KILLED): Likewise.
1241 (CLD_DUMPED): Likewise.
1242 (CLD_TRAPPED): Likewise.
1243 (CLD_STOPPED): Likewise.
1244 (CLD_CONTINUED): Likewise.
1245 (POLL_IN): Likewise.
1246 (POLL_OUT): Likewise.
1247 (POLL_MSG): Likewise.
1248 (POLL_ERR): Likewise.
1249 (POLL_PRI): Likewise.
1250 (POLL_HUP): Likewise.
1251 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1252 (ILL_ILLOPN): Likewise.
1253 (ILL_ILLADR): Likewise.
1254 (ILL_ILLTRP): Likewise.
1255 (ILL_PRVOPC): Likewise.
1256 (ILL_PRVREG): Likewise.
1257 (ILL_COPROC): Likewise.
1258 (ILL_BADSTK): Likewise.
1259 (FPE_INTDIV): Likewise.
1260 (FPE_INTOVF): Likewise.
1261 (FPE_FLTDIV): Likewise.
1262 (FPE_FLTOVF): Likewise.
1263 (FPE_FLTUND): Likewise.
1264 (FPE_FLTRES): Likewise.
1265 (FPE_FLTINV): Likewise.
1266 (FPE_FLTSUB): Likewise.
1267 (SEGV_MAPERR): Likewise.
1268 (SEGV_ACCERR): Likewise.
1269 (BUS_ADRALN): Likewise.
1270 (BUS_ADRERR): Likewise.
1271 (BUS_OBJERR): Likewise.
1272 (BUS_MCEERR_AR): Likewise.
1273 (BUS_MCEERR_AO): Likewise.
1274 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1275 (TRAP_TRACE): Likewise.
1276 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1277 __USE_XOPEN2K8].
1278 (CLD_KILLED): Likewise.
1279 (CLD_DUMPED): Likewise.
1280 (CLD_TRAPPED): Likewise.
1281 (CLD_STOPPED): Likewise.
1282 (CLD_CONTINUED): Likewise.
1283 (POLL_IN): Likewise.
1284 (POLL_OUT): Likewise.
1285 (POLL_MSG): Likewise.
1286 (POLL_ERR): Likewise.
1287 (POLL_PRI): Likewise.
1288 (POLL_HUP): Likewise.
1289 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1290 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1291
bc61d27c
JM
1292 [BZ #16670]
1293 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1294 before #include of <time.h>.
1295 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1296 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1297 (test-xfail-UNIX98/sched.h/conform): Likewise.
1298
302949e2
MS
12992014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1300
1301 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1302 error absence of trapping exception support.
1303 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1304
a00f522a
JM
13052014-03-07 Joseph Myers <joseph@codesourcery.com>
1306
6f99f280
JM
1307 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1308 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1309 * timezone/Makefile (testdata): Move definition above include of
1310 Rules.
1311 (test-zones): New variable.
1312 (tests-special): Add zone files.
1313 (build-testdata): Use $(evaluate-test).
1314
0b20a9e8
JM
1315 * elf/Makefile (tests-special): Rename tests to end with .out.
1316 ($(objpfx)noload-mem): Likewise.
1317 ($(objpfx)tst-leaks1-mem): Likewise.
1318 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1319 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1320 $(objpfx)test-iconvconfig.out.
1321 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1322 set -e inside subshell and redirect output to file.
1323 * iconvdata/Makefile (generated): Rename tests to end with .out.
1324 Correct type.
1325 (tests-special): Rename tests to end with .out.
1326 ($(objpfx)mtrace-tst-loading): Likewise.
1327 * intl/Makefile (generated): Likewise.
1328 (tests-special): Likewise.
1329 ($(objpfx)mtrace-tst-gettext): Likewise.
1330 * misc/Makefile (generated): Likewise.
1331 (tests-special): Likewise.
1332 ($(objpfx)tst-error1-mem): Likewise.
1333 * nptl/Makefile (tests-special): Likewise.
1334 ($(objpfx)tst-stack3-mem): Likewise.
1335 (generated): Likewise.
1336 * posix/Makefile (generated): Likewise.
1337 (tests-special): Likewise.
1338 (xtests-special): Likewise.
1339 ($(objpfx)tst-fnmatch-mem): Likewise.
1340 ($(objpfx)bug-regex2-mem): Likewise.
1341 ($(objpfx)bug-regex14-mem): Likewise.
1342 ($(objpfx)bug-regex21-mem): Likewise.
1343 ($(objpfx)bug-regex31-mem): Likewise.
1344 ($(objpfx)tst-vfork3-mem): Likewise.
1345 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1346 ($(objpfx)tst-pcre-mem): Likewise.
1347 ($(objpfx)tst-boost-mem): Likewise.
1348 ($(objpfx)bug-ga2-mem): Likewise.
1349 ($(objpfx)bug-glob2-mem): Likewise.
1350 * resolv/Makefile (generate): Likewise.
1351 (tests-special): Likewise.
1352 (xtests-special): Likewise.
1353 (generated): Likewise.
1354 ($(objpfx)mtrace-tst-leaks): Likewise.
1355 ($(objpfx)mtrace-tst-leaks2): Likewise.
1356
265d52ab
JM
1357 * scripts/merge-test-results.sh: New file.
1358 * Makefile (tests-special-notdir): New variable.
1359 (tests): Run merge-test-results.sh.
1360 (xtests): Likewise.
1361 * Rules (tests-special-notdir): New variable.
1362 (xtests-special-notdir): Likewise.
1363 (tests): Run merge-test-results.sh
1364 (xtests): Likewise.
1365
54ee292d
JM
1366 * Makeconfig (test-xfail-name): New variable.
1367 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1368 compute variable name for expected failures.
1369 * conform/Makefile (conformtest-headers-data): New variable.
1370 (conformtest-standards): Likewise.
1371 (conformtest-headers-ISO): Likewise.
1372 (conformtest-headers-ISO99): Likewise.
1373 (conformtest-headers-ISO11): Likewise.
1374 (conformtest-headers-POSIX): Likewise.
1375 (conformtest-headers-XPG3): Likewise.
1376 (conformtest-headers-XPG4): Likewise.
1377 (conformtest-headers-UNIX98): Likewise.
1378 (conformtest-headers-XOPEN2K): Likewise.
1379 (conformtest-headers-POSIX2008): Likewise.
1380 (conformtest-headers-XOPEN2K8): Likewise.
1381 (conformtest-header-list-base): Likewise.
1382 (conformtest-header-list-tests): Likewise.
1383 (conformtest-header-base): Likewise.
1384 (conformtest-header-tests): Likewise.
1385 (tests-special): Add $(conformtest-header-list-tests). If
1386 [$(fast-check) && !$(cross-compiling)], add
1387 $(conformtest-header-tests) instead of
1388 $(objpfx)run-conformtest.out.
1389 (generated): Add $(conformtest-header-list-base). If
1390 [$(fast-check) && !$(cross-compiling)], add
1391 $(conformtest-header-base). Remove previous setting.
1392 ($(conformtest-header-list-tests)): New target.
1393 (test-xfail-run-conformtest): Remove variable.
1394 ($(objpfx)run-conformtest.out): Remove target.
1395 (test-xfail-ISO11/complex.h/conform): New variable.
1396 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1397 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1398 (test-xfail-XPG3/varargs.h/conform): Likewise.
1399 (test-xfail-XPG4/varargs.h/conform): Likewise.
1400 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1401 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1402 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1403 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1404 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1405 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1406 (test-xfail-XPG3/ftw.h/conform): Likewise.
1407 (test-xfail-XPG3/grp.h/conform): Likewise.
1408 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1409 (test-xfail-XPG3/limits.h/conform): Likewise.
1410 (test-xfail-XPG3/pwd.h/conform): Likewise.
1411 (test-xfail-XPG3/search.h/conform): Likewise.
1412 (test-xfail-XPG3/signal.h/conform): Likewise.
1413 (test-xfail-XPG3/stdio.h/conform): Likewise.
1414 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1415 (test-xfail-XPG3/string.h/conform): Likewise.
1416 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1417 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1418 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1419 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1420 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1421 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1422 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1423 (test-xfail-XPG3/termios.h/conform): Likewise.
1424 (test-xfail-XPG3/time.h/conform): Likewise.
1425 (test-xfail-XPG3/unistd.h/conform): Likewise.
1426 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1427 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1428 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1429 (test-xfail-XPG4/netdb.h/conform): Likewise.
1430 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1431 (test-xfail-XPG4/signal.h/conform): Likewise.
1432 (test-xfail-XPG4/stdio.h/conform): Likewise.
1433 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1434 (test-xfail-XPG4/stropts.h/conform): Likewise.
1435 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1436 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1437 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1438 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1439 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1440 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1441 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1442 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1443 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1444 (test-xfail-XPG4/termios.h/conform): Likewise.
1445 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1446 (test-xfail-XPG4/unistd.h/conform): Likewise.
1447 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1448 (test-xfail-POSIX/sched.h/conform): Likewise.
1449 (test-xfail-POSIX/signal.h/conform): Likewise.
1450 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1451 (test-xfail-POSIX/tar.h/conform): Likewise.
1452 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1453 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1454 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1455 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1456 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1457 (test-xfail-UNIX98/sched.h/conform): Likewise.
1458 (test-xfail-UNIX98/signal.h/conform): Likewise.
1459 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1460 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1461 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1462 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1463 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1464 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1465 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1466 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1467 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1468 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1469 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1470 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1471 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1472 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1473 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1474 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1475 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1476 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1477 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1478 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1479 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1480 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1481 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1482 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1483 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1484 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1485 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1486 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1487 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1488 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1489 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1490 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1491 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1492 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1493 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1494 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1495 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1496 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1497 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1498 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1499 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1500 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1501 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1502 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1503 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1504 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1505 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1506 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1507 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1508 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1509 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1510 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1511 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1512 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1513 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1514 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1515 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1516 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1517 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1518 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1519 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1520 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1521 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1522 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1523 (conformtest-cc-flags): Likewise.
1524 ($(conformtest-header-tests): New target.
1525 * conform/check-header-lists.sh: New file.
1526 * conform/run-conformtest.sh: Remove.
1527
a00f522a
JM
1528 * conform/conformtest.pl: Allow ' and \ in values given for
1529 constants.
1530 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1531 inclusion.
1532 [POSIX] (sys/types.h): Likewise.
1533 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1534 inclusion.
1535 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1536 inclusion.
1537 * conform/data/signal.h-data (SIGIO): Remove expectation.
1538 [XPG3] (SIGBUS): Do not expect.
1539 [POSIX || XPG3] (SIGPOLL): Likewise.
1540 [POSIX || XPG3] (SIGPROF): Likewise.
1541 [POSIX || XPG3] (SIGSYS): Likewise.
1542 [XPG3] (SIGTRAP): Likewise.
1543 [POSIX || XPG3] (SIGURG): Likewise.
1544 [POSIX || XPG3] (SIGVTALRM): Likewise.
1545 [POSIX || XPG3] (SIGXCPU): Likewise.
1546 [POSIX || XPG3] (SIGXFSZ): Likewise.
1547 [POSIX] (SA_SIGINFO): Expect.
1548 [XPG3] (siginfo_t): Do not expect type or contents.
1549 [POSIX] (si_pid): Do not expect element.
1550 [POSIX] (si_uid): Likewise.
1551 [POSIX] (si_addr): Likewise.
1552 [POSIX] (si_status): Likewise.
1553 [POSIX] (si_band): Likewise.
1554 [XPG4] (si_value): Likewise.
1555 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1556 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1557 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1558 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1559 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1560 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1561 [POSIX || XPG3] (ILL_COPROC): Likewise.
1562 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1563 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1564 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1565 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1566 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1567 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1568 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1569 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1570 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1571 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1572 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1573 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1574 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1575 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1576 [POSIX || XPG3] (CLD_EXITED): Likewise.
1577 [POSIX || XPG3] (CLD_KILLED): Likewise.
1578 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1579 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1580 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1581 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1582 [POSIX || XPG3] (POLL_IN): Likewise.
1583 [POSIX || XPG3] (POLL_OUT): Likewise.
1584 [POSIX || XPG3] (POLL_MSG): Likewise.
1585 [POSIX || XPG3] (POLL_ERR): Likewise.
1586 [POSIX || XPG3] (POLL_PRI): Likewise.
1587 [POSIX || XPG3] (POLL_HUP): Likewise.
1588 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1589 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1590 (SIG*): Do not allow.
1591 [XPG3] (si_*): Likewise.
1592 [XPG3] (SI_*): Likewise.
1593 [XPG3 || XPG4] (sigev_*): Likewise.
1594 [XPG3 || XPG4] (SIGEV_*): Likewise.
1595 [XPG3 || XPG4] (sival_*): Likewise.
1596 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1597 [POSIX || XPG3] (BUS_*): Likewise.
1598 [POSIX || XPG3] (CLD_*): Likewise.
1599 [POSIX || XPG3] (FPE_*): Likewise.
1600 [POSIX || XPG3] (ILL_*): Likewise.
1601 [POSIX || XPG3] (POLL_*): Likewise.
1602 [POSIX || XPG3] (SEGV_*): Likewise.
1603 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1604 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1605 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1606 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1607 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1608 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1609 Specify type and value.
1610 (TVERSLEN): Likewise.
1611 (REGTYPE): Likewise.
1612 (AREGTYPE): Likewise.
1613 (LNKTYPE): Likewise.
1614 (SYMTYPE): Likewise.
1615 (CHRTYPE): Likewise.
1616 (BLKTYPE): Likewise.
1617 (DIRTYPE): Likewise.
1618 (FIFOTYPE): Likewise.
1619 (CONTTYPE): Likewise.
1620 (TSUID): Likewise.
1621 (TSGID): Likewise.
1622 (TSVTX): Likewise.
1623 (TUREAD): Likewise.
1624 (TUWRITE): Likewise.
1625 (TUEXEC): Likewise.
1626 (TGREAD): Likewise.
1627 (TGWRITE): Likewise.
1628 (TGEXEC): Likewise.
1629 (TOREAD): Likewise.
1630 (TOWRITE): Likewise.
1631 (TOEXEC): Likewise.
1632 [POSIX] (TSVTX): Expect constant.
1633
aa97dee1
JM
16342014-03-06 Joseph Myers <joseph@codesourcery.com>
1635
f214606a
JM
1636 * Makefile (tests): Change dependencies to ....
1637 (tests-special): ... additions to this variable.
1638 (tests): Depend on $(tests-special).
1639 * Makerules (check-abi-list): New variable.
1640 (check-abi): Depend on $(check-abi-list).
1641 [$(subdir) = elf] (tests-special): Add
1642 $(objpfx)check-abi-libc.out.
1643 [$(build-shared) = yes && subdir] (tests-special): Add
1644 $(check-abi-list).
1645 [$(build-shared) = yes && subdir] (tests): Do not depend on
1646 check-abi.
1647 * Rules (tests): Depend on $(tests-special).
1648 (xtests): Depend on $(xtests-special).
1649 * catgets/Makefile (tests): Change dependencies to ....
1650 (tests-special): ... additions to this variable.
1651 * conform/Makefile (tests): Change dependencies to ....
1652 (tests-special): ... additions to this variable.
1653 * elf/Makefile (tests): Change dependencies to ....
1654 (tests-special): ... additions to this variable.
1655 * grp/Makefile (tests): Change dependencies to ....
1656 (tests-special): ... additions to this variable.
1657 * iconv/Makefile (xtests): Change dependencies to ....
1658 (xtests-special): ... additions to this variable.
1659 * iconvdata/Makefile (tests): Change dependencies to ....
1660 (tests-special): ... additions to this variable.
1661 * intl/Makefile (tests): Change dependencies to ....
1662 (tests-special): ... additions to this variable. Also add
1663 $(objpfx)tst-gettext.out.
1664 * io/Makefile (tests): Change dependencies to ....
1665 (tests-special): ... additions to this variable.
1666 * libio/Makefile (tests): Change dependencies to ....
1667 (tests-special): ... additions to this variable.
1668 * malloc/Makefile (tests): Change dependencies to ....
1669 (tests-special): ... additions to this variable.
1670 * misc/Makefile (tests): Change dependencies to ....
1671 (tests-special): ... additions to this variable.
1672 * nptl/Makefile (tests): Change dependencies to ....
1673 (tests-special): ... additions to this variable.
1674 * nptl_db/Makefile (tests): Change dependencies to ....
1675 (tests-special): ... additions to this variable.
1676 * posix/Makefile (tests): Change dependencies to ....
1677 (tests-special): ... additions to this variable.
1678 (xtests): Change dependencies to ....
1679 (xtests-special): ... additions to this variable.
1680 * resolv/Makefile (tests): Change dependencies to ....
1681 (tests-special): ... additions to this variable.
1682 (xtests): Change dependencies to ....
1683 (xtests-special): ... additions to this variable.
1684 * stdio-common/Makefile (tests): Change dependencies to ....
1685 (tests-special): ... additions to this variable.
1686 (do-tst-unbputc): Remove target.
1687 (do-tst-printf): Likewise.
1688 * stdlib/Makefile (tests): Change dependencies to ....
1689 (tests-special): ... additions to this variable.
1690 * string/Makefile (tests): Change dependencies to ....
1691 (tests-special): ... additions to this variable.
1692 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1693 (tests-special): ... additions to this variable.
1694
81700b53
JM
1695 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1696 whole file.
1697 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1698 whole file.
1699 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1700 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1701
2ea18461
JM
1702 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1703 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1704 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1705 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1706 * conform/data/libgen.h-data [XPG3]: Likewise.
1707 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1708 * conform/data/ndbm.h-data [XPG3]: Likewise.
1709 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1710 * conform/data/netdb.h-data [XPG3]: Likewise.
1711 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1712 * conform/data/poll.h-data [XPG3]: Likewise.
1713 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1714 * conform/data/strings.h-data [XPG3]: Likewise.
1715 * conform/data/stropts.h-data [XPG3]: Likewise.
1716 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1717 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1718 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1719 Likewise.
1720 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1721 * conform/data/sys/time.h-data [XPG3]: Likewise.
1722 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1723 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1724 * conform/data/sys/un.h-data [XPG3]: Likewise.
1725 * conform/data/syslog.h-data [XPG3]: Likewise.
1726 * conform/data/ucontext.h-data [XPG3]: Likewise.
1727 * conform/data/utmpx.h-data [XPG3]: Likewise.
1728 * conform/data/varargs.h-data [UNIX98]: Enable file.
1729
355bc986
JM
1730 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1731
215db402
JM
1732 * math/libm-test.inc (struct test_f_f_data): Move expected results
1733 into structure for each rounding mode.
1734 (struct test_ff_f_data): Likewise.
1735 (struct test_ff_f_data_nexttoward): Likewise.
1736 (struct test_fi_f_data): Likewise.
1737 (struct test_fl_f_data): Likewise.
1738 (struct test_if_f_data): Likewise.
1739 (struct test_fff_f_data): Likewise.
1740 (struct test_c_f_data): Likewise.
1741 (struct test_f_f1_data): Likewise.
1742 (struct test_fF_f1_data): Likewise.
1743 (struct test_ffI_f1_data): Likewise.
1744 (struct test_c_c_data): Likewise.
1745 (struct test_cc_c_data): Likewise.
1746 (struct test_f_i_data): Likewise.
1747 (struct test_ff_i_data): Likewise.
1748 (struct test_f_l_data): Likewise.
1749 (struct test_f_L_data): Likewise.
1750 (struct test_fFF_11_data): Likewise.
1751 (RM_): New macro.
1752 (RM_FE_DOWNWARD): Likewise.
1753 (RM_FE_TONEAREST): Likewise.
1754 (RM_FE_TOWARDZERO): Likewise.
1755 (RM_FE_UPWARD): Likewise.
1756 (RUN_TEST_LOOP_f_f): Update references to expected results.
1757 (RUN_TEST_LOOP_2_f): Likewise.
1758 (RUN_TEST_LOOP_fff_f): Likewise.
1759 (RUN_TEST_LOOP_c_f): Likewise.
1760 (RUN_TEST_LOOP_f_f1): Likewise.
1761 (RUN_TEST_LOOP_fF_f1): Likewise.
1762 (RUN_TEST_LOOP_fI_f1): Likewise.
1763 (RUN_TEST_LOOP_ffI_f1): Likewise.
1764 (RUN_TEST_LOOP_c_c): Likewise.
1765 (RUN_TEST_LOOP_cc_c): Likewise.
1766 (RUN_TEST_LOOP_f_i): Likewise.
1767 (RUN_TEST_LOOP_f_i_tg): Likewise.
1768 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1769 (RUN_TEST_LOOP_f_b): Likewise.
1770 (RUN_TEST_LOOP_f_b_tg): Likewise.
1771 (RUN_TEST_LOOP_f_l): Likewise.
1772 (RUN_TEST_LOOP_f_L): Likewise.
1773 (RUN_TEST_LOOP_fFF_11): Likewise.
1774 * math/gen-libm-test.pl (parse_args): Output four copies of
1775 expected results for each test.
1776
67737b8f
JM
1777 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1778 (__ASSUME_UTIMES): Remove.
1779 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1780 (__ASSUME_UTIMES): Likewise.
1781
aa97dee1
JM
1782 * math/gen-auto-libm-tests.c: Update comment on output format.
1783 (output_for_one_input_case): Generate before-rounding and
1784 after-rounding information as conditions on output flags not
1785 floating-point format.
1786 * math/auto-libm-test-out: Regenerated.
1787 * math/gen-libm-test.pl (cond_value): New function.
1788 (or_cond_value): Use cond_value.
1789 (generate_testfile): Handle conditional exceptions.
1790
e6b6a857
JM
17912014-03-05 Joseph Myers <joseph@codesourcery.com>
1792
2f0a0f44
JM
1793 * math/libm-test.inc (max_valid_error): New variable.
1794 (init_max_error): Take new argument specifying whether function
1795 results are exactly determined. Set max_valid_error and bound
1796 other variables for errors based on this argument.
1797 (set_max_error): Do not record results above max_valid_error.
1798 (check_float_internal): Only accept errors of up to 0.5ulps if
1799 also at most max_valid_error.
1800 (START): Take new argument EXACT and pass it to init_max_error.
1801 (acos_test): Update call to START.
1802 (acos_test_tonearest): Likewise.
1803 (acos_test_towardzero): Likewise.
1804 (acos_test_downward): Likewise.
1805 (acos_test_upward): Likewise.
1806 (acosh_test): Likewise.
1807 (asin_test): Likewise.
1808 (asin_test_tonearest): Likewise.
1809 (asin_test_towardzero): Likewise.
1810 (asin_test_downward): Likewise.
1811 (asin_test_upward): Likewise.
1812 (asinh_test): Likewise.
1813 (atan_test): Likewise.
1814 (atanh_test): Likewise.
1815 (atan2_test): Likewise.
1816 (cabs_test): Likewise.
1817 (cacos_test): Likewise.
1818 (cacosh_test): Likewise.
1819 (carg_test): Likewise.
1820 (casin_test): Likewise.
1821 (casinh_test): Likewise.
1822 (catan_test): Likewise.
1823 (catanh_test): Likewise.
1824 (cbrt_test): Likewise.
1825 (ccos_test): Likewise.
1826 (ccosh_test): Likewise.
1827 (ceil_test): Likewise.
1828 (cexp_test): Likewise.
1829 (cimag_test): Likewise.
1830 (clog_test): Likewise.
1831 (clog10_test): Likewise.
1832 (conj_test): Likewise.
1833 (copysign_test): Likewise.
1834 (cos_test): Likewise.
1835 (cos_test_tonearest): Likewise.
1836 (cos_test_towardzero): Likewise.
1837 (cos_test_downward): Likewise.
1838 (cos_test_upward): Likewise.
1839 (cosh_test): Likewise.
1840 (cosh_test_tonearest): Likewise.
1841 (cosh_test_towardzero): Likewise.
1842 (cosh_test_downward): Likewise.
1843 (cosh_test_upward): Likewise.
1844 (cpow_test): Likewise.
1845 (cproj_test): Likewise.
1846 (creal_test): Likewise.
1847 (csin_test): Likewise.
1848 (csinh_test): Likewise.
1849 (csqrt_test): Likewise.
1850 (ctan_test): Likewise.
1851 (ctan_test_tonearest): Likewise.
1852 (ctan_test_towardzero): Likewise.
1853 (ctan_test_downward): Likewise.
1854 (ctan_test_upward): Likewise.
1855 (ctanh_test): Likewise.
1856 (ctanh_test_tonearest): Likewise.
1857 (ctanh_test_towardzero): Likewise.
1858 (ctanh_test_downward): Likewise.
1859 (ctanh_test_upward): Likewise.
1860 (erf_test): Likewise.
1861 (erfc_test): Likewise.
1862 (exp_test): Likewise.
1863 (exp_test_tonearest): Likewise.
1864 (exp_test_towardzero): Likewise.
1865 (exp_test_downward): Likewise.
1866 (exp_test_upward): Likewise.
1867 (exp10_test): Likewise.
1868 (exp10_test_tonearest): Likewise.
1869 (exp10_test_towardzero): Likewise.
1870 (exp10_test_downward): Likewise.
1871 (exp10_test_upward): Likewise.
1872 (pow10_test): Likewise.
1873 (exp2_test): Likewise.
1874 (expm1_test): Likewise.
1875 (expm1_test_tonearest): Likewise.
1876 (expm1_test_towardzero): Likewise.
1877 (expm1_test_downward): Likewise.
1878 (expm1_test_upward): Likewise.
1879 (fabs_test): Likewise.
1880 (fdim_test): Likewise.
1881 (floor_test): Likewise.
1882 (fma_test): Likewise.
1883 (fma_test_towardzero): Likewise.
1884 (fma_test_downward): Likewise.
1885 (fma_test_upward): Likewise.
1886 (fmax_test): Likewise.
1887 (fmin_test): Likewise.
1888 (fmod_test): Likewise.
1889 (fpclassify_test): Likewise.
1890 (frexp_test): Likewise.
1891 (hypot_test): Likewise.
1892 (ilogb_test): Likewise.
1893 (isfinite_test): Likewise.
1894 (finite_test): Likewise.
1895 (isgreater_test): Likewise.
1896 (isgreaterequal_test): Likewise.
1897 (isinf_test): Likewise.
1898 (isless_test): Likewise.
1899 (islessequal_test): Likewise.
1900 (islessgreater_test): Likewise.
1901 (isnan_test): Likewise.
1902 (isnormal_test): Likewise.
1903 (issignaling_test): Likewise.
1904 (isunordered_test): Likewise.
1905 (j0_test): Likewise.
1906 (j1_test): Likewise.
1907 (jn_test): Likewise.
1908 (ldexp_test): Likewise.
1909 (lgamma_test): Likewise.
1910 (gamma_test): Likewise.
1911 (lrint_test): Likewise.
1912 (lrint_test_tonearest): Likewise.
1913 (lrint_test_towardzero): Likewise.
1914 (lrint_test_downward): Likewise.
1915 (lrint_test_upward): Likewise.
1916 (llrint_test): Likewise.
1917 (llrint_test_tonearest): Likewise.
1918 (llrint_test_towardzero): Likewise.
1919 (llrint_test_downward): Likewise.
1920 (llrint_test_upward): Likewise.
1921 (log_test): Likewise.
1922 (log10_test): Likewise.
1923 (log1p_test): Likewise.
1924 (log2_test): Likewise.
1925 (logb_test): Likewise.
1926 (logb_test_downward): Likewise.
1927 (lround_test): Likewise.
1928 (llround_test): Likewise.
1929 (modf_test): Likewise.
1930 (nearbyint_test): Likewise.
1931 (nextafter_test): Likewise.
1932 (nexttoward_test): Likewise.
1933 (pow_test): Likewise.
1934 (pow_test_tonearest): Likewise.
1935 (pow_test_towardzero): Likewise.
1936 (pow_test_downward): Likewise.
1937 (pow_test_upward): Likewise.
1938 (remainder_test): Likewise.
1939 (drem_test): Likewise.
1940 (remainder_test_tonearest): Likewise.
1941 (drem_test_tonearest): Likewise.
1942 (remainder_test_towardzero): Likewise.
1943 (drem_test_towardzero): Likewise.
1944 (remainder_test_downward): Likewise.
1945 (drem_test_downward): Likewise.
1946 (remainder_test_upward): Likewise.
1947 (drem_test_upward): Likewise.
1948 (remquo_test): Likewise.
1949 (rint_test): Likewise.
1950 (rint_test_tonearest): Likewise.
1951 (rint_test_towardzero): Likewise.
1952 (rint_test_downward): Likewise.
1953 (rint_test_upward): Likewise.
1954 (round_test): Likewise.
1955 (scalb_test): Likewise.
1956 (scalbn_test): Likewise.
1957 (scalbln_test): Likewise.
1958 (signbit_test): Likewise.
1959 (sin_test): Likewise.
1960 (sin_test_tonearest): Likewise.
1961 (sin_test_towardzero): Likewise.
1962 (sin_test_downward): Likewise.
1963 (sin_test_upward): Likewise.
1964 (sincos_test): Likewise.
1965 (sinh_test): Likewise.
1966 (sinh_test_tonearest): Likewise.
1967 (sinh_test_towardzero): Likewise.
1968 (sinh_test_downward): Likewise.
1969 (sinh_test_upward): Likewise.
1970 (sqrt_test): Likewise.
1971 (sqrt_test_tonearest): Likewise.
1972 (sqrt_test_towardzero): Likewise.
1973 (sqrt_test_downward): Likewise.
1974 (sqrt_test_upward): Likewise.
1975 (tan_test): Likewise.
1976 (tan_test_tonearest): Likewise.
1977 (tan_test_towardzero): Likewise.
1978 (tan_test_downward): Likewise.
1979 (tan_test_upward): Likewise.
1980 (tanh_test): Likewise.
1981 (tgamma_test): Likewise.
1982 (trunc_test): Likewise.
1983 (y0_test): Likewise.
1984 (y1_test): Likewise.
1985 (yn_test): Likewise.
1986 (significand_test): Likewise.
1987
e6b6a857
JM
1988 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1989 individual tests in comment.
1990 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1991 (prev_max_error): New variable.
1992 (prev_real_max_error): Likewise.
1993 (prev_imag_max_error): Likewise.
1994 (compare_ulp_data): Don't refer to test names in comment.
1995 (find_test_ulps): Remove function.
1996 (find_function_ulps): Likewise.
1997 (find_complex_function_ulps): Likewise.
1998 (init_max_error): Take function name as argument. Look up ulps
1999 for that function.
2000 (print_ulps): Remove function.
2001 (print_max_error): Use prev_max_error instead of calling
2002 find_function_ulps.
2003 (print_complex_max_error): Use prev_real_max_error and
2004 prev_imag_max_error instead of calling find_complex_function_ulps.
2005 (check_float_internal): Take max_ulp parameter instead of calling
2006 find_test_ulps. Don't call print_ulps.
2007 (check_float): Update call to check_float_internal.
2008 (check_complex): Update calls to check_float_internal.
2009 (START): Pass argument to init_max_error.
2010 * math/gen-libm-test.pl (%results): Don't include "kind"
2011 information.
2012 (parse_ulps): Don't handle ulps of individual tests.
2013 (print_ulps_file): Likewise.
2014 (output_ulps): Likewise.
2015 * math/README.libm-test: Update.
2016 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2017 individual tests.
2018 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2019 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2020 * sysdeps/arm/libm-test-ulps: Likewise.
2021 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2022 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2023 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2024 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2025 * sysdeps/microblaze/libm-test-ulps: Likewise.
2026 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2027 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2028 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2029 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2030 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2031 * sysdeps/sh/libm-test-ulps: Likewise.
2032 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2033 * sysdeps/tile/libm-test-ulps: Likewise.
2034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2035
45adef3c
JM
20362014-03-04 Joseph Myers <joseph@codesourcery.com>
2037
2038 * math/libm-test.inc (print_complex_max_error): Check separately
2039 whether real and imaginary errors are within allowed range and
2040 pass 0 to print_complex_function_ulps instead of value within
2041 allowed range.
2042
000232b9
SP
20432014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2044
d4b17258
SP
2045 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2046 formatting.
2047 (get_handles_fopen): Likewise.
2048 (do_write_test): Likewise.
2049
091eff71
SP
2050 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2051
fa3cd248
SP
2052 * libio/fileops.c (do_ftell): Use cached offset when
2053 available.
2054 * libio/iofwide.c (do_ftell_wide): Likewise.
2055 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2056 _IO_file_attach.
2057 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2058
000232b9
SP
2059 [BZ #16532]
2060 * libio/libioP.h (get_file_offset): New function.
2061 * libio/fileops.c (get_file_offset): Likewise.
2062 (do_ftell): Likewise.
2063 (_IO_new_file_seekoff): Split out ftell logic.
2064 * libio/wfileops.c (do_ftell_wide): Likewise.
2065 (_IO_wfile_seekoff): Split out ftell logic.
2066 * libio/tst-ftell-active-handler.c: New test case.
2067 * libio/Makefile (tests): Add it.
2068
116f4d1a
RM
20692014-03-03 Roland McGrath <roland@hack.frob.com>
2070
2071 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2072 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2073
532a6035
SP
20742014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2075
2076 [BZ #16639]
2077 * nscd/connections.c (nscd_init): Call do_exit.
2078 (start_threads): Call do_exit and notify_parent.
2079 (begin_drop_privileges): Call do_exit.
2080 (finish_drop_privileges): Likewise.
2081 * nscd/selinux.c (preserve_capabilities): Likewise.
2082 (install_real_capabilities): Likewise.
2083 (nscd_selinux_enabled): Likewise.
2084 (avc_create_thread): Likewise.
2085 (avc_alloc_lock): Likewise.
2086 (nscd_avc_init): Likewise.
2087 * nscd/nscd.c (parent_fd): New static variable.
2088 (main): Create a pipe between parent and child processes.
2089 Skip closing parent_fd.
2090 (monitor_child): New function.
2091 (do_exit): Likewise.
2092 (notify_parent): Likewise.
2093 * nscd/nscd.h (notify_parent): Likewise.
2094 (do_exit): Likewise.
2095
d6285c9f
CD
20962014-03-03 Carlos O'Donell <carlos@redhat.com>
2097
2098 * malloc/malloc.c (__libc_calloc): Revert last change.
2099
2b85d2a0
AZ
21002014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2103
c7debbdf
RS
21042014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2105
2106 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2108 implementation.
2109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2110 (__libc_ifunc_impl_list): Likewise.
2111 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2112 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2113 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2114 * string/strrchr.c: Define STRRCHR.
2115
235eed86
OB
21162014-02-28 Ondřej Bílka <neleai@seznam.cz>
2117
2118 * benchtest/bench-strtok.c (simple_strtok): Delete.
2119 (strtok_string): Use as benchmark.
2120 * string/strtok (STRTOK): New macro.
2121
8e25d1e7
CD
21222014-02-28 Carlos O'Donell <carlos@redhat.com>
2123
ef563f92
CD
2124 * manual/threads.texi: Add header and standard comments to all
2125 functions.
2126
8e25d1e7
CD
2127 * elf/dl-lookup.c (check_match): New function.
2128 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2129 (do_lookup_x): Remove nested function check_match. Use non-nested
2130 function check_match.
2131
ff71cc37
RM
21322014-02-28 Roland McGrath <roland@hack.frob.com>
2133
f08e9a26
RM
2134 * csu/Makefile (generated, before-compile): Use += rather than =.
2135 * catgets/Makefile (generated, generated-dirs): Likewise.
2136 * debug/Makefile (generated): Likewise.
2137 * dlfcn/Makefile (generated): Likewise.
2138 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2139 * iconvdata/Makefile (before-compile, generated): Likewise.
2140 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2141 * libio/Makefile (generated): Likewise.
2142 * malloc/Makefile (generated): Likewise.
2143 * manual/Makefile (generated, generated-dirs): Likewise.
2144 * misc/Makefile (generated): Likewise.
2145 * posix/Makefile (generated): Likewise.
2146 * resolv/Makefile (generated): Likewise.
2147 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2148 * timezone/Makefile (generated, generated-dirs): Likewise.
2149
ff71cc37
RM
2150 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2151
fe13a20c
AZ
21522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2155 implementation.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2157 POWER8 llround ifunc implementation.
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2159 POWER8 implementation.
2160 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2161 POWER8 llround implementation.
2162
1ad8950a
AZ
21632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2164
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2166 implementation.
2167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2168 POWER8 llrint ifunc implementation.
2169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2170 POWER8 implementation.
2171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2172 POWER8 llrint implementation.
2173
cac626d6
AZ
21742014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175
2176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2177 implementation.
2178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2179 POWER8 finite ifunc implementation.
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2181 POWER8 implementation.
2182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2183 Likewise.
2184 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2185 POWER8 finite implementation.
2186 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2187
4393fc11
AZ
21882014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2191 implementation.
2192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2193 POWER8 isinf ifunc implementation.
2194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2195 POWER8 implementation.
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2197 Likewise.
2198 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2199 POWER8 isinf implementation.
2200 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2201
487972ae
AZ
22022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2205 Add hwcap2 initialization.
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2207 implementation.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2209 POWER8 isnan ifunc implementation.
2210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2211 POWER8 implementation.
2212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2213 Likewise.
2214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2215 POWER8 isnan implementation.
2216 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2217
7d92b787
JY
22182014-02-27 Joey Ye <joey.ye@arm.com>
2219
2220 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2221 (_FP_NANFRAC_Q): Set to zero.
2222
1cadc858
SP
22232014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2224
2225 [BZ #16623]
2226 * math/auto-libm-test-in: New test inputs.
2227 * math/auto-libm-test-out: Regenerate.
2228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2229 and DA.
2230 (__cos): Likewise.
2231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2232
f8c17e79
JM
22332014-02-27 Joseph Myers <joseph@codesourcery.com>
2234
2235 * scripts/evaluate-test.sh: Take new argument indicating whether
2236 failure is expected.
2237 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2238 indicating whether failure is expected.
2239 * conform/Makefile (test-xfail-run-conformtest): New variable.
2240 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2241 level.
2242 * posix/Makefile (test-xfail-annexc): New variable.
2243 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2244
a5f891ac
JM
22452014-02-26 Joseph Myers <joseph@codesourcery.com>
2246
2247 * argp/Makefile: Include Makeconfig immediately after defining
2248 subdir.
2249 * assert/Makefile: Likewise.
2250 * benchtests/Makefile: Likewise.
2251 * catgets/Makefile: Likewise.
2252 * conform/Makefile: Likewise.
2253 * crypt/Makefile: Likewise.
2254 * csu/Makefile: Likewise.
2255 (all): Remove target.
2256 * ctype/Makefile: Include Makeconfig immediately after defining
2257 subdir.
2258 * debug/Makefile: Likewise.
2259 * dirent/Makefile: Likewise.
2260 * dlfcn/Makefile: Likewise.
2261 * gmon/Makefile: Likewise.
2262 * gnulib/Makefile: Likewise.
2263 * grp/Makefile: Likewise.
2264 * gshadow/Makefile: Likewise.
2265 * hesiod/Makefile: Likewise.
2266 * hurd/Makefile: Likewise.
2267 (all): Remove target.
2268 * iconvdata/Makefile: Include Makeconfig immediately after
2269 defining subdir.
2270 * inet/Makefile: Likewise.
2271 * intl/Makefile: Likewise.
2272 * io/Makefile: Likewise.
2273 * libio/Makefile: Likewise.
2274 (all): Remove target.
2275 * locale/Makefile: Include Makeconfig immediately after defining
2276 subdir.
2277 * login/Makefile: Likewise.
2278 * mach/Makefile: Likewise.
2279 (all): Remove target.
2280 * malloc/Makefile: Include Makeconfig immediately after defining
2281 subdir.
2282 (all): Remove target.
2283 * manual/Makefile: Include Makeconfig immediately after defining
2284 subdir.
2285 * math/Makefile: Likewise.
2286 * misc/Makefile: Likewise.
2287 * nis/Makefile: Likewise.
2288 * nss/Makefile: Likewise.
2289 * po/Makefile: Likewise.
2290 (all): Remove target.
2291 * posix/Makefile: Include Makeconfig immediately after defining
2292 subdir.
2293 * pwd/Makefile: Likewise.
2294 * resolv/Makefile: Likewise.
2295 * resource/Makefile: Likewise.
2296 * rt/Makefile: Likewise.
2297 * setjmp/Makefile: Likewise.
2298 * shadow/Makefile: Likewise.
2299 * signal/Makefile: Likewise.
2300 * socket/Makefile: Likewise.
2301 * soft-fp/Makefile: Likewise.
2302 * stdio-common/Makefile: Likewise.
2303 * stdlib/Makefile: Likewise.
2304 * streams/Makefile: Likewise.
2305 * string/Makefile: Likewise.
2306 * sunrpc/Makefile: Likewise.
2307 (all): Remove target.
2308 * sysvipc/Makefile: Include Makeconfig immediately after defining
2309 subdir.
2310 * termios/Makefile: Likewise.
2311 * time/Makefile: Likewise.
2312 * timezone/Makefile: Likewise.
2313 (all): Remove target.
2314 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2315 subdir.
2316 * wctype/Makefile: Likewise.
2317
5b456e9d
SE
23182014-02-26 Steve Ellcey <sellcey@mips.com>
2319
2320 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2321 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2322 (libc_feholdexcept_setround_mips): Ditto.
2323 (libc_feholdsetround): New.
2324 (libc_feholdsetroundf): New.
2325 (libc_feholdsetroundl): New.
2326 (libc_feupdateenv_test_mips): New.
2327 (libc_feupdateenv_test): New.
2328 (libc_feupdateenv_testf): New.
2329 (libc_feupdateenv_testl): New.
2330 (libc_feresetround): New.
2331 (libc_feresetroundf): New.
2332 (libc_feresetroundl): New.
2333 (libc_fetestexcept_mips): New.
2334 (libc_fetestexcept): New.
2335 (libc_fetestexceptf): New.
2336 (libc_fetestexceptl): New.
2337 (HAVE_RM_CTX): New.
2338 (libc_feholdexcept_setround_mips_ctx): New.
2339 (libc_feholdexcept_setround_ctx): New.
2340 (libc_feholdexcept_setroundf_ctx): New.
2341 (libc_feholdexcept_setroundl_ctx): New.
2342 (libc_fesetenv_mips_ctx): New.
2343 (libc_fesetenv_ctx): New.
2344 (libc_fesetenv_ctxf): New.
2345 (libc_fesetenv_ctxl): New.
2346 (libc_feupdateenv_mips_ctx): New.
2347 (libc_feupdateenv_ctx): New.
2348 (libc_feupdateenvf_ctx): New.
2349 (libc_feupdateenvl_ctx): New.
2350 (libc_feholdsetround_mips_ctx): New.
2351 (libc_feholdsetround_ctx): New.
2352 (libc_feholdsetroundf_ctx): New.
2353 (libc_feholdsetroundl_ctx): New.
2354 (libc_feresetround_mips_ctx): New.
2355 (libc_feresetround_ctx): New.
2356 (libc_feresetroundf_ctx): New.
2357 (libc_feresetroundl_ctx): New.
2358
085d0e35
CD
23592014-02-26 Carlos O'Donell <carlos@redhat.com>
2360
f067bf1f
CD
2361 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2362
085d0e35
CD
2363 * manual/ipc.texi: New file.
2364 * manual/Makefile (chapters): Add ipc.
2365 * manual/job.texi: Add "Inter-Process Communication" to next.
2366 * manual/process.texi: Add "Inter-Process Communication" to prev.
2367
86e58c08
AZ
23682014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369
2370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2371
4248f0da
OB
23722014-02-26 Ondřej Bílka <neleai@seznam.cz>
2373
2374 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2375
cf822e3c
OB
2376 * manual/arith.texi: Fix spaces after sentences.
2377 * manual/charset.texi: Likewise.
2378 * manual/errno.texi: Likewise.
2379 * manual/install.texi: Likewise.
2380 * manual/llio.texi: Likewise.
2381 * manual/locale.texi: Likewise.
2382 * manual/maint.texi: Likewise.
2383 * manual/math.texi: Likewise.
2384 * manual/memory.texi: Likewise.
2385 * manual/message.texi: Likewise.
2386 * manual/probes.texi: Likewise.
2387 * manual/resource.texi: Likewise.
2388 * manual/signal.texi: Likewise.
2389 * manual/socket.texi: Likewise.
2390 * manual/stdio.texi: Likewise.
2391 * manual/string.texi: Likewise.
2392 * manual/time.texi: Likewise.
2393 * manual/users.texi: Likewise.
2394
ade40b10
CD
23952014-02-25 Carlos O'Donell <carlos@redhat.com>
2396
2397 [BZ #16632]
2398 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2399 _DEFAULT_SOURCE is defined.
2400
d0503676
CD
24012014-02-25 Ulrich Drepper <drepper@gmail.com>
2402 Carlos O'Donell <carlos@redhat.com>
2403
2404 [BZ #16613]
2405 * elf/dl-tls.c (_dl_count_modids): New function.
2406 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2407 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2408 audit library and increment generation counter.
2409 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2410 * elf/tst-audit9.c: New file.
2411 * elf/tst-auditmod9a.c: New file.
2412 * elf/tst-auditmod9b.c: New file.
2413 * elf/Makefile: Add rules to build and run tst-audit9.
2414
4cbf380c
FW
24152014-02-25 Florian Weimer <fweimer@redhat.com>
2416
2417 [BZ #15347]
2418 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2419
80a56cc3
WN
24202014-02-25 Will Newton <will.newton@linaro.org>
2421
2422 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2423 (__longjmp): Restore sp and lr before restoring callee
2424 saved registers. Add longjmp and longjmp_target
2425 SystemTap probe point.
2426 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2427 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2428 Define to zero to match jmpbuf layout.
2429 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2430 (__sigsetjmp): Save sp and lr before saving callee
2431 saved registers. Add setjmp SystemTap probe point.
2432
3ea0f74e
SL
24332014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2434
2435 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2436
b04acb26
AS
24372014-02-24 Andreas Schwab <schwab@suse.de>
2438
2439 [BZ #15804]
2440 * elf/pldd.c (wait_for_ptrace_stop): New function.
2441 (main): Call it after attaching.
2442
098ad55c
RM
24432014-02-22 Roland McGrath <roland@hack.frob.com>
2444
d4ec6ae1
RM
2445 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2446 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2447 Versions files is now verboten.
2448 * hurd/Versions (libc: GLIBC_2.0):
2449 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2450 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2451 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2452 * mach/Versions: Likewise.
2453
098ad55c
RM
2454 * csu/Versions: Remove unused %include.
2455 * resolv/Versions: Likewise.
2456
acd7f096
JM
24572014-02-21 Joseph Myers <joseph@codesourcery.com>
2458
f0881698
JM
2459 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2460 ($(objpfx)check-local-headers.out): Likewise.
2461 ($(objpfx)begin-end-check.out): Likewise.
2462 * Makerules (check-abi-%.out): Likewise.
2463 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2464 ($(objpfx)test2.cat): Likewise.
2465 ($(objpfx)de/libc.cat): Likewise.
2466 ($(objpfx)test-gencat.out): Likewise.
2467 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2468 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2469 ($(objpfx)noload-mem): Likewise.
2470 ($(objpfx)tst-pathopt.out): Likewise.
2471 ($(objpfx)tst-rtld-load-self.out): Likewise.
2472 ($(objpfx)tst-array1-cmp.out): Likewise.
2473 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2474 ($(objpfx)tst-array2-cmp.out): Likewise.
2475 ($(objpfx)tst-array3-cmp.out): Likewise.
2476 ($(objpfx)tst-array4-cmp.out): Likewise.
2477 ($(objpfx)tst-array5-cmp.out): Likewise.
2478 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2479 ($(objpfx)check-textrel.out): Likewise.
2480 ($(objpfx)check-execstack.out): Likewise.
2481 ($(objpfx)check-localplt.out): Likewise.
2482 ($(objpfx)order2-cmp.out): Likewise.
2483 ($(objpfx)tst-leaks1-mem): Likewise.
2484 ($(objpfx)tst-leaks1-static-mem): Likewise.
2485 ($(objpfx)tst-initorder-cmp.out): Likewise.
2486 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2487 ($(objpfx)tst-unused-dep.out): Likewise.
2488 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2489 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2490 * iconv/Makefile (test-iconvconfig): Likewise.
2491 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2492 ($(objpfx)iconv-test.out): Likewise.
2493 ($(objpfx)tst-tables.out): Likewise.
2494 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2495 ($(objpfx)tst-gettext.out): Likewise.
2496 ($(objpfx)tst-translit.out): Likewise.
2497 ($(objpfx)tst-gettext2.out): Likewise.
2498 ($(objpfx)tst-gettext4.out): Likewise.
2499 ($(objpfx)tst-gettext6.out): Likewise.
2500 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2501 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2502 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2503 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2504 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2505 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2506 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2507 ($(objpfx)wordexp-tst.out): Likewise.
2508 ($(objpfx)annexc.out): Likewise.
2509 ($(objpfx)tst-fnmatch-mem): Likewise.
2510 ($(objpfx)bug-regex2-mem): Likewise.
2511 ($(objpfx)bug-regex14-mem): Likewise.
2512 ($(objpfx)bug-regex21-mem): Likewise.
2513 ($(objpfx)bug-regex31-mem): Likewise.
2514 ($(objpfx)tst-vfork3-mem): Likewise.
2515 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2516 ($(objpfx)tst-pcre-mem): Likewise.
2517 ($(objpfx)tst-boost-mem): Likewise.
2518 ($(objpfx)tst-getconf.out): Likewise.
2519 ($(objpfx)bug-ga2-mem): Likewise.
2520 ($(objpfx)bug-glob2-mem): Likewise.
2521 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2522 ($(objpfx)mtrace-tst-leaks2): Likewise.
2523 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2524 ($(objpfx)tst-printf.out): Likewise.
2525 ($(objpfx)tst-setvbuf1.out): Likewise.
2526 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2527 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2528 ($(objpfx)tst-fmtmsg.out): Likewise.
2529 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2530 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2531
acd7f096
JM
2532 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2533 * bits/sigaction.h [__USE_MISC]: Likewise.
2534 * bits/waitstatus.h: Update #endif comments.
2535 * ctype/ctype.h: Likewise.
2536 * dirent/dirent.h: Likewise.
2537 [__USE_MISC]: Remove redundant conditionals.
2538 * grp/grp.h: Update #endif comments.
2539 [__USE_GNU]: Remove redundant conditionals.
2540 [__USE_MISC]: Likewise.
2541 * inet/netinet/in.h [__USE_GNU]: Likewise.
2542 * io/sys/stat.h [__USE_MISC]: Likewise.
2543 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2544 * libio/bits/stdio.h: Update #endif comments.
2545 [__USE_MISC]: Remove redundant conditionals.
2546 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2547 * libio/stdio.h: Update #endif comments.
2548 [__USE_MISC]: Remove redundant conditionals.
2549 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2550 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2551 * math/math.h: Update #else and #endif comments.
2552 [__USE_MISC]: Remove redundant conditionals.
2553 * misc/sys/uio.h: Update #endif comments.
2554 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2555 * posix/glob.h [__USE_MISC]: Likewise.
2556 * posix/sys/types.h: Update #endif comments.
2557 [__USE_MISC]: Remove redundant conditionals.
2558 * posix/sys/wait.h: Update #endif comments.
2559 [__USE_MISC]: Remove redundant conditionals.
2560 * posix/unistd.h: Update #endif comments.
2561 [__USE_MISC]: Remove redundant conditionals.
2562 * pwd/pwd.h [__USE_GNU]: Likewise.
2563 [__USE_MISC]: Likewise.
2564 * resolv/netdb.h [__USE_GNU]: Likewise.
2565 * signal/signal.h: Update #endif comments.
2566 [__USE_MISC]: Remove redundant conditionals.
2567 * stdlib/stdlib.h: Update #else and #endif comments.
2568 [__USE_MISC]: Remove redundant conditionals.
2569 [__USE_GNU]: Likewise.
2570 * string/bits/string2.h [__USE_MISC]: Likewise.
2571 * string/string.h: Update #endif comments.
2572 [__USE_MISC]: Remove redundant conditionals.
2573 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2574 Likewise.
2575 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2576 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2577 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2578 Likewise.
2579 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2580 Likewise.
2581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2582 comments.
2583 [__USE_MISC]: Remove redundant conditionals.
2584 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2585 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2586 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2587 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2588 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2589 Likewise.
2590 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2591 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2592 Likewise.
2593 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2594 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2595 Likewise.
2596 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2597 Likewise.
2598 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2599 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2600 Likewise.
2601 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2602 Likewise.
2603 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2604 * sysdeps/x86/bits/string.h: Update #endif comments.
2605 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2606 conditionals.
2607 * time/sys/time.h: Update #endif comments.
2608 * time/time.h: Likewise.
2609 [__USE_MISC]: Remove redundant conditionals.
2610
a5d82e4e
YG
26112014-02-21 Yury Gribov <y.gribov@samsung.com>
2612
2613 [BZ #16600]
2614 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2615
9a80491d
AS
26162014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2617
2618 * Versions.def (librt): Add GLIBC_2.17.
2619
105fa381
AC
26202014-02-21 Adam Conrad <adconrad@0c3.net>
2621
2622 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2623 synonym for _SYS_AUXV_H to allow direct inclusion.
2624 * sysdeps/sparc/bits/hwcap.h: Likewise.
2625 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2626 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2627 * sysdeps/sparc/sysdep.h: Likewise.
2628
b8cd1c4e
SP
26292014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2630
2631 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2632
bd939d23
RS
26332014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2634
2635 * benchtests/bench-strrchr.c: Print length instead of position.
2636
5d7b57ca
JM
26372014-02-20 Joseph Myers <joseph@codesourcery.com>
2638
bc688c10
JM
2639 [BZ #16611]
2640 * sysdeps/unix/sysv/linux/kernel-features.h
2641 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2642 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2643 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2644 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2645 Likewise.
2646 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2647 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2648 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2649 (__ASSUME_SENDMMSG): Define instead of using previous
2650 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2651 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2652 (__ASSUME_SENDMMSG_SYSCALL): Define.
2653 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2654 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2655 Likewise.
2656 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2657 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2658 Likewise.
2659 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2660 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2661 Likewise.
2662 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2663 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2664 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2665 [__ASSUME_SENDMMSG]: Change conditionals to
2666 [__ASSUME_SENDMMSG_SOCKETCALL].
2667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2668 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2669 Define.
2670 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2671 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2672 Likewise.
2673 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2674 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2675 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2676 [!__ASSUME_SENDMMSG]: Change conditional to
2677 [!__ASSUME_SENDMMSG_SOCKETCALL].
2678 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2679 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2680 Define.
2681
0e31b18c
JM
2682 [BZ #16610]
2683 * sysdeps/unix/sysv/linux/kernel-features.h
2684 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2685 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2686 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2687 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2688 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2689 [__i386__ || __sparc__]
2690 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2691 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2692 (__ASSUME_RECVMMSG): Define instead of using previous
2693 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2694 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2695 (__ASSUME_RECVMMSG_SYSCALL): Define.
2696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2698 Likewise.
2699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2701 Likewise.
2702 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2703 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2704 Likewise.
2705 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2706 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2707 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2708 [__ASSUME_RECVMMSG]: Change condition to
2709 [__ASSUME_RECVMMSG_SOCKETCALL].
2710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2711 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2712 Define.
2713 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2714 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2716 Likewise.
2717 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2718 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2719 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2720 [!__ASSUME_RECVMMSG]: Change condition to
2721 [!__ASSUME_RECVMMSG_SOCKETCALL].
2722 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2723 (__ASSUME_RECVMMSG_SYSCALL): Define.
2724
dd481ccf
JM
2725 [BZ #16609]
2726 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2727 __powerpc__ || __s390__ || __sh__ || __sparc__]
2728 (__ASSUME_SOCKETCALL): Define.
2729 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2730 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2731 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2732 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2733 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2734 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2735 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2736 (__ASSUME_ACCEPT4): Define instead of using previous
2737 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2738 __powerpc__ || __sparc__ || __s390__)] condition.
2739 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2740 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2741 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2742 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2743 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2744 [!__ASSUME_ACCEPT4]: Change condition to
2745 [!__ASSUME_ACCEPT4_SOCKETCALL].
2746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2747 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2748 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2750 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2751 __ASSUME_ACCEPT4_SYSCALL.
2752 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2753 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2754 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2755 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2756 __ASSUME_ACCEPT4_SYSCALL.
2757 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2758 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2759 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2760 [__ASSUME_ACCEPT4]: Change condition to
2761 [__ASSUME_ACCEPT4_SOCKETCALL].
2762 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2763 (__ASSUME_SOCKETCALL): Define.
2764 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2766 (__ASSUME_SOCKETCALL): Define.
2767 (__ASSUME_ACCEPT4): Remove.
2768 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2769 Define.
2770 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2771 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2772 Likewise.
2773 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2774 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2775
5d7b57ca
JM
2776 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2777 macro.
2778 (HWCAP_ARM_LPAE): Likewise.
2779 (HWCAP_ARM_EVTSTRM): Likewise.
2780 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2781 Add vpfd32, lpae and evtstrm.
2782 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2783 Increase to 22.
2784
63689d61
JM
27852014-02-19 Joseph Myers <joseph@codesourcery.com>
2786
2787 * math/auto-libm-test-in: Add tests of clog10.
2788 * math/auto-libm-test-out: Regenerated.
2789 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2790 * sysdeps/i386/fpu/libm-test-ulps: Update.
2791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2792
ab09bf61
AS
27932014-02-18 Andreas Schwab <schwab@suse.de>
2794
2795 [BZ #16574]
2796 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2797 Store non-zero if the second buffer was newly allocated.
2798 (send_dg): Likewise.
2799 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2800 to send_vc and send_dg.
2801 (res_nsend): Pass NULL for ansp2_malloced.
2802 * resolv/res_query.c (__libc_res_nquery): Add parameter
2803 answerp2_malloced and pass it down to __libc_res_nsend.
2804 (res_nquery): Pass additional NULL to __libc_res_nquery.
2805 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2806 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2807 second answer buffer if answerp2_malloced was set.
2808 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2809 (__libc_res_nquerydomain): Add parameter
2810 answerp2_malloced and pass it down to __libc_res_nquery.
2811 (res_nquerydomain): Pass additional NULL to
2812 __libc_res_nquerydomain.
2813 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2814 additional NULL to __libc_res_nsend and __libc_res_nquery.
2815 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2816 additional NULL to __libc_res_nsearch.
2817 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2818 parameter of __libc_res_nsearch to check for separately allocated
2819 second buffer.
2820 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2821 __libc_res_nquery.
2822 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2823 additional NULL to __libc_res_nquery.
2824 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2825 __libc_res_nsearch.
2826 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2827 * include/resolv.h: Update prototypes of __libc_res_nquery,
2828 __libc_res_nsearch, __libc_res_nsend.
2829
a4fb7861
JM
28302014-02-18 Joseph Myers <joseph@codesourcery.com>
2831
c6af2d89
JM
2832 * math/auto-libm-test-in: Add tests of fma.
2833 * math/auto-libm-test-out: Regenerated.
2834 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2835 (fma_towardzero_test_data): Likewise.
2836 (fma_downward_test_data): Likewise.
2837 (fma_upward_test_data): Likewise.
2838 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2839 mpc_mode.
2840 (rounding_modes): Add values for new field.
2841 (func_calc_method): Add value mpfr_fff_f.
2842 (func_calc_desc): Add mpfr_fff_f union field.
2843 (test_function): Add field exact_args.
2844 (FUNC): Add macro argument EXACT_ARGS.
2845 (FUNC_mpfr_f_f): Update call to FUNC.
2846 (FUNC_mpfr_f_f): Likewise.
2847 (FUNC_mpfr_ff_f): Likewise.
2848 (FUNC_mpfr_if_f): Likewise.
2849 (FUNC_mpc_c_f): Likewise.
2850 (FUNC_mpc_c_c): Likewise.
2851 (test_functions): Add fma. Update calls to FUNC.
2852 (handle_input_arg): Add argument exact_args.
2853 (add_test): Update call to handle_input_arg.
2854 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2855 (output_for_one_input_case): Update call to calc_generic_results.
2856 Recalculate exact zero results in each rounding mode.
2857
a4fb7861
JM
2858 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2859 non-negative before setting low bit.
2860 * math/auto-libm-test-in: Mark one asin test possibly having
2861 spurious underflow.
2862 * math/auto-libm-test-out: Regenerated.
2863 * sysdeps/i386/fpu/libm-test-ulps: Update.
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2865
ef114eaf
DH
28662014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2867
2b7f4f2c
SP
2868 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2869 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2870 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2871 * README: Add missing listing for microblaze*-*-linux-gnu.
2872
c70a4b1d
MF
28732014-02-16 Mike Frysinger <vapier@gentoo.org>
2874
2875 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2876 * sysdeps/unix/sysv/linux/ia64: Move directory from
2877 ports/sysdeps/unix/sysv/linux/ia64.
2878 * README: Update listing for ia64-*-linux-gnu.
2879
591aeaf7
TD
28802014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2881 Joseph Myers <joseph@codesourcery.com>
2882
2883 * Makeconfig (test-name): New variable.
2884 (evaluate-test): Likewise.
2885 * Makerules (do-test-clean): Remove .test-result files.
2886 (common-mostlyclean): Likewise.
2887 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2888 * scripts/evaluate-test.sh: New file.
2889
6e89caf1
JM
28902014-02-14 Joseph Myers <joseph@codesourcery.com>
2891
7f98f180
JM
2892 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2893 separate $(objpfx)tst-fopenloc-cmp.out and
2894 $(objpfx)tst-fopenloc-mem.out targets.
2895 (tests): Update dependencies.
2896 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2897 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2898 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2899 (tst-rxspencer-no-utf8-ARGS): New variable.
2900 (tst-rxspencer-no-utf8-ENV): Likewise.
2901 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2902 instead of $(objpfx)tst-rxspencer-mem.
2903 ($(objpfx)tst-rxspencer-mem): Change target to
2904 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2905 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2906 * posix/tst-rxspencer-no-utf8.c: New file.
2907
6e89caf1
JM
2908 * elf/Makefile ($(objpfx)order.out): Remove rule.
2909 [$(run-built-tests) = yes] (tests): Depend on
2910 $(objpfx)order-cmp.out.
2911 ($(objpfx)order-cmp.out): New rule.
2912 [$(run-built-tests) = yes] (tests): Depend on
2913 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2914 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2915 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2916 $(objpfx)tst-array5-static-cmp.out.
2917 ($(objpfx)tst-array1.out): Remove rule.
2918 ($(objpfx)tst-array1-cmp.out): New rule.
2919 ($(objpfx)tst-array1-static.out): Remove rule.
2920 ($(objpfx)tst-array1-static-cmp.out): New rule.
2921 ($(objpfx)tst-array2.out): Remove rule.
2922 ($(objpfx)tst-array2-cmp.out): New rule.
2923 ($(objpfx)tst-array3.out): Remove rule.
2924 ($(objpfx)tst-array3-cmp.out): New rule.
2925 ($(objpfx)tst-array4.out): Remove rule.
2926 ($(objpfx)tst-array4-cmp.out): New rule.
2927 ($(objpfx)tst-array5.out): Remove rule.
2928 ($(objpfx)tst-array5-cmp.out): New rule.
2929 ($(objpfx)tst-array5-static.out): Remove rule.
2930 ($(objpfx)tst-array5-static-cmp.out): New rule.
2931 [$(run-built-tests) = yes] (tests): Depend on
2932 $(objpfx)order2-cmp.out.
2933 ($(objpfx)order2.out): Remove rule.
2934 ($(objpfx)order2-cmp.out): New rule.
2935 ($(objpfx)tst-initorder.out): Remove rule.
2936 [$(run-built-tests) = yes] (tests): Depend on
2937 $(objpfx)tst-initorder-cmp.out.
2938 ($(objpfx)tst-initorder-cmp.out): New rule.
2939 ($(objpfx)tst-initorder2.out): Remove rule.
2940 [$(run-built-tests) = yes] (tests): Depend on
2941 $(objpfx)tst-initorder2-cmp.out.
2942 ($(objpfx)tst-initorder2-cmp.out): New rule.
2943 [$(run-built-tests) = yes] (tests): Depend on
2944 $(objpfx)tst-unused-dep-cmp.out.
2945 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2946 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2947 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2948 on $(objpfx)tst-setvbuf1-cmp.out.
2949 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2950 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2951 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2952 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2953 ($(objpfx)tst-svc.out): Remove rule.
2954 ($(objpfx)tst-svc-cmp.out): New rule.
2955
ed9a38e2
JM
29562014-02-13 Joseph Myers <joseph@codesourcery.com>
2957
2958 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2959 * ctype/ctype.h [__USE_MISC]: Likewise.
2960 * dirent/dirent.h [__USE_MISC]: Likewise.
2961 * grp/grp.h [__USE_MISC]: Likewise.
2962 * io/fcntl.h [__USE_MISC]: Likewise.
2963 * io/sys/stat.h [__USE_MISC]: Likewise.
2964 * libio/stdio.h [__USE_MISC]: Likewise.
2965 * posix/unistd.h [__USE_MISC]: Likewise.
2966 * pwd/pwd.h [__USE_MISC]: Likewise.
2967 * stdlib.h [__USE_MISC]: Likewise.
2968 * string/bits/string2.h [__USE_MISC]: Likewise.
2969 * string/string.h [__USE_MISC]: Likewise.
2970 * time/time.h [__USE_MISC]: Likewise.
2971
d6680619
AS
29722014-02-13 Andreas Schwab <schwab@suse.de>
2973
2974 [BZ #16574]
2975 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2976 second answer buffer if it was separately allocated.
2977
ace614b8
JM
29782014-02-12 Joseph Myers <joseph@codesourcery.com>
2979
743151ae
JM
2980 * sysdeps/mips/math-tests.h: Include <features.h>.
2981 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2982 (ROUNDING_TESTS_long_double): Do not define.
2983 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2984 (EXCEPTION_TESTS_long_double): Likewise.
2985 * sysdeps/mips/mips64/libm-test-ulps: Update.
2986
498afc54
JM
2987 * include/features.h (__USE_BSD): Remove macro definitions.
2988 (__USE_SVID): Likewise.
2989 (_BSD_SOURCE): Likewise.
2990 (_SVID_SOURCE): Likewise.
2991 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2992 from definition of _DEFAULT_SOURCE.
2993 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2994 [_DEFAULT_SOURCE].
2995 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2996 * bits/mman.h [__USE_BSD]: Likewise.
2997 * bits/termios.h [__USE_BSD]: Likewise.
2998 * bits/waitstatus.h [__USE_BSD]: Likewise.
2999 * ctype/ctype.h [__USE_SVID]: Likewise.
3000 * dirent/dirent.h [__USE_BSD]: Likewise.
3001 * grp/grp.h [__USE_SVID]: Likewise.
3002 [__USE_BSD]: Likewise.
3003 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3004 * io/fcntl.h [__USE_BSD]: Likewise.
3005 * io/ftw.h [__USE_BSD]: Likewise.
3006 * io/sys/stat.h [__USE_BSD]: Likewise.
3007 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3008 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3009 * libio/stdio.h [__USE_SVID]: Likewise.
3010 [__USE_BSD]: Likewise.
3011 * math/math.h [__USE_SVID]: Likewise.
3012 [__USE_BSD]: Likewise.
3013 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3014 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3015 * misc/search.h [__USE_SVID]: Likewise.
3016 * misc/sys/mman.h [__USE_BSD]: Likewise.
3017 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3018 * misc/sys/uio.h [__USE_BSD]: Likewise.
3019 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3020 * posix/glob.h [__USE_BSD]: Likewise.
3021 * posix/regex.h [__USE_BSD]: Likewise.
3022 * posix/sys/types.h [__USE_BSD]: Likewise.
3023 [__USE_SVID]: Likewise.
3024 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3025 * posix/sys/wait.h [__USE_BSD]: Likewise.
3026 [__USE_SVID]: Likewise.
3027 * posix/unistd.h [__USE_BSD]: Likewise.
3028 [__USE_SVID]: Likewise.
3029 * pwd/pwd.h [__USE_SVID]: Likewise.
3030 * resolv/netdb.h [__USE_BSD]: Likewise.
3031 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3032 * signal/signal.h [__USE_BSD]: Likewise.
3033 [__USE_SVID]: Likewise.
3034 * socket/sys/socket.h [__USE_BSD]: Likewise.
3035 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3036 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3037 [__USE_SVID]: Likewise.
3038 * string/bits/string2.h [__USE_BSD]: Likewise.
3039 [__USE_SVID]: Likewise.
3040 * string/bits/string3.h [__USE_BSD]: Likewise.
3041 * string/endian.h [__USE_BSD]: Likewise.
3042 * string/string.h [__USE_SVID]: Likewise.
3043 [__USE_BSD]: Likewise.
3044 * string/strings.h [__USE_BSD]: Likewise.
3045 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3046 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3047 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3048 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3049 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3050 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3051 Likewise.
3052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3053 Likewise.
3054 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3055 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3056 Likewise.
3057 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3058 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3059 Likewise.
3060 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3061 Likewise.
3062 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3063 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3065 Likewise.
3066 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3067 Likewise.
3068 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3069 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3070 * termios/termios.h [__USE_BSD]: Likewise.
3071 * time/sys/time.h [__USE_BSD]: Likewise.
3072 * time/time.h [__USE_BSD]: Likewise.
3073 [__USE_SVID]: Likewise.
3074
dd7b064c
JM
3075 * Makefile (subdir_targets): Remove subdir_lint.out.
3076
a2c4c199
JM
3077 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3078 (do-tst-printf): Likewise.
3079 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3080 $(objpfx)tst-printf.out.
3081
8756f740
JM
3082 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3083
1b6dd3f1
JM
3084 * Makerules (check-abi-%): Change target to
3085 $(objpfx)check-abi-%.out.
3086 (check-abi target): Update dependencies.
3087 (check-abi-pattern variable): Redirect output of diff to $@.
3088 (check-abi variable): Likewise.
3089 * elf/Makefile (check-abi): Update dependencies.
3090
ace614b8
JM
3091 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3092 unused.
3093 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3094 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3095 subnormal range.
3096 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3097 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3098 value has largest subnormal exponent.
3099 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3100 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3101 * sysdeps/aarch64/soft-fp/sfp-machine.h
3102 (_FP_TININESS_AFTER_ROUNDING): New macro.
3103 * sysdeps/alpha/soft-fp/sfp-machine.h
3104 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3105 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3106 Likewise.
3107 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3108 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3109 * sysdeps/mips/soft-fp/sfp-machine.h
3110 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3111 * sysdeps/powerpc/soft-fp/sfp-machine.h
3112 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3113 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3114 Likewise.
3115 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3116 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3117 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3118 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3119 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3120 Likewise.
3121
fbfdf9cb
DAS
31222014-02-12 Dylan Alex Simon <dylan@dylex.net>
3123
3124 [BZ #16545]
3125 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3126 model 1.
3127
68b7efaa
RH
31282014-02-12 Richard Henderson <rth@redhat.com>
3129
c70a4b1d 3130 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3131 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3132 * sysdeps/unix/sysv/linux/alpha: Move directory from
3133 ports/sysdeps/unix/sysv/linux/alpha.
3134 * README: Update listing for alpha-*-linux-gnu.
3135
cb4a2928
JM
31362014-02-11 Joseph Myers <joseph@codesourcery.com>
3137
c941736c
JM
3138 * include/features.h: Update comment documenting feature test
3139 macros.
3140 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3141 _DEFAULT_SOURCE.
3142 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3143 (_SVID_SOURCE): Likewise.
3144 (_DEFAULT_SOURCE): Update description of default features.
3145 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3146 with _GNU_SOURCE.
3147 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3148 (S_ISVTX): Likewise.
3149 * manual/math.texi (Mathematical Constants): Likewise.
3150 * manual/signal.texi (Interrupted Primitives): Likewise.
3151 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3152 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3153 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3154 Don't refer to _SVID_SOURCE in warning text.
3155
e8d8d7ec
JM
3156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3157
cb4a2928
JM
3158 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3159 already defined.
3160 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3161 * sysdeps/mips/dl-lookup.c: Remove.
3162 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3163
7e6424e3
AK
31642014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3165
3166 [BZ #16447]
3167 * math/auto-libm-test-in: Add testcase for expl.
3168 * math/auto-libm-test-out: Regenerate.
3169 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3170 calculation of unsafe.
3171 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3172
75eff3fe
MS
31732014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3174
3175 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3176 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3177 ports/sysdeps/unix/sysv/linux/aarch64.
3178 * README: Update listing for aarch64*-*-linux-gnu.
3179
d35f1e80
WN
31802014-02-11 Will Newton <will.newton@linaro.org>
3181
3182 * manual/probes.texi (Mathematical Function Probes): Use
3183 "triggered" instead of "hit".
3184
7b3436d4
WN
31852014-02-11 Will Newton <will.newton@linaro.org>
3186
3187 * manual/probes.texi (Internal Probes): Add documentation
3188 of setjmp, longjmp and longjmp_target probes.
3189
b4f12ca3
WN
31902014-02-11 Will Newton <will.newton@linaro.org>
3191
3192 * include/stap-probe.h: Add comment about probe argument
3193 format.
3194
c13a72b7
WN
31952014-02-11 Will Newton <will.newton@linaro.org>
3196
3197 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3198 definition. (tr_where, tr_freehook, tr_mallochook,
3199 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3200
195b8165
DM
32012014-02-11 David S. Miller <davem@davemloft.net>
3202
3203 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3204 processing int_tests.
3205
2ad7600b
JM
32062014-02-10 Joseph Myers <joseph@codesourcery.com>
3207
3208 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3209 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3210 * sysdeps/unix/sysv/linux/mips: Move directory from
3211 ports/sysdeps/unix/sysv/linux/mips.
3212 * README: Update listing for mips-*-linux-gnu and
3213 mips64-*-linux-gnu.
3214
73588a72
AS
32152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3216
3217 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3218 * sysdeps/unix/sysv/linux/m68k: Move directory from
3219 ports/sysdeps/unix/sysv/linux/m68k.
3220 * README: Update listing for m68k-*-linux-gnu.
3221
4372980f
CM
32222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3223
3224 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3225 * sysdeps/unix/sysv/linux/generic: Move directory from
3226 ports/sysdeps/unix/sysv/linux/generic.
3227 * sysdeps/unix/sysv/linux/tile: Move directory from
3228 ports/sysdeps/unix/sysv/linux/tile.
3229 * README: Update listing for tile*-*-linux-gnu.
3230
a1ffb40e
OB
32312014-02-10 Ondřej Bílka <neleai@seznam.cz>
3232
3233 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3234 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3235 * catgets/open_catalog.c (__open_catalog): Likewise.
3236 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3237 * debug/confstr_chk.c: Likewise.
3238 * debug/fread_chk.c (__fread_chk): Likewise.
3239 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3240 * debug/getgroups_chk.c: Likewise.
3241 * debug/mbsnrtowcs_chk.c: Likewise.
3242 * debug/mbsrtowcs_chk.c: Likewise.
3243 * debug/mbstowcs_chk.c: Likewise.
3244 * debug/memcpy_chk.c: Likewise.
3245 * debug/memmove_chk.c: Likewise.
3246 * debug/mempcpy_chk.c: Likewise.
3247 * debug/memset_chk.c: Likewise.
3248 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3249 * debug/strcat_chk.c (__strcat_chk): Likewise.
3250 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3251 * debug/strncat_chk.c (__strncat_chk): Likewise.
3252 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3253 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3254 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3255 * debug/wcpncpy_chk.c: Likewise.
3256 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3257 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3258 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3259 * debug/wcsncpy_chk.c: Likewise.
3260 * debug/wcsnrtombs_chk.c: Likewise.
3261 * debug/wcsrtombs_chk.c: Likewise.
3262 * debug/wcstombs_chk.c: Likewise.
3263 * debug/wmemcpy_chk.c: Likewise.
3264 * debug/wmemmove_chk.c: Likewise.
3265 * debug/wmempcpy_chk.c: Likewise.
3266 * debug/wmemset_chk.c: Likewise.
3267 * dirent/scandirat.c (SCANDIRAT): Likewise.
3268 * dlfcn/dladdr1.c (dladdr1): Likewise.
3269 * dlfcn/dladdr.c (dladdr): Likewise.
3270 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3271 * dlfcn/dlerror.c (__dlerror): Likewise.
3272 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3273 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3274 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3275 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3276 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3277 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3278 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3279 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3280 Likewise.
3281 * elf/dl-conflict.c: Likewise.
3282 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3283 * elf/dl-dst.h: Likewise.
3284 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3285 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3286 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3287 * elf/dl-init.c (call_init, _dl_init): Likewise.
3288 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3289 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3290 _dl_map_object_from_fd, open_verify, open_path,
3291 _dl_map_object): Likewise.
3292 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3293 Likewise.
3294 * elf/dl-minimal.c (__libc_memalign): Likewise.
3295 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3296 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3297 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3298 * elf/dl-sym.c (do_sym): Likewise.
3299 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3300 _dl_tls_get_addr_soft): Likewise.
3301 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3302 * elf/dl-writev.h (_dl_writev): Likewise.
3303 * elf/ldconfig.c (search_dir): Likewise.
3304 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3305 dl_main): Likewise.
3306 * elf/setup-vdso.h (setup_vdso): Likewise.
3307 * grp/compat-initgroups.c (compat_call): Likewise.
3308 * grp/fgetgrent.c (fgetgrent): Likewise.
3309 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3310 * grp/putgrent.c (putgrent): Likewise.
3311 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3312 Likewise.
3313 * hurd/hurdinit.c: Likewise.
3314 * iconvdata/8bit-gap.c (struct): Likewise.
3315 * iconvdata/ansi_x3.110.c : Likewise.
3316 * iconvdata/big5.c : Likewise.
3317 * iconvdata/big5hkscs.c : Likewise.
3318 * iconvdata/cp1255.c: Likewise.
3319 * iconvdata/cp1258.c : Likewise.
3320 * iconvdata/cp932.c : Likewise.
3321 * iconvdata/euc-cn.c: Likewise.
3322 * iconvdata/euc-jisx0213.c : Likewise.
3323 * iconvdata/euc-jp.c: Likewise.
3324 * iconvdata/euc-jp-ms.c : Likewise.
3325 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3326 * iconvdata/gb18030.c : Likewise.
3327 * iconvdata/gbbig5.c (const): Likewise.
3328 * iconvdata/gbgbk.c: Likewise.
3329 * iconvdata/gbk.c : Likewise.
3330 * iconvdata/ibm1364.c : Likewise.
3331 * iconvdata/ibm930.c : Likewise.
3332 * iconvdata/ibm932.c: Likewise.
3333 * iconvdata/ibm933.c : Likewise.
3334 * iconvdata/ibm935.c : Likewise.
3335 * iconvdata/ibm937.c : Likewise.
3336 * iconvdata/ibm939.c : Likewise.
3337 * iconvdata/ibm943.c: Likewise.
3338 * iconvdata/iso_11548-1.c: Likewise.
3339 * iconvdata/iso-2022-cn.c : Likewise.
3340 * iconvdata/iso-2022-cn-ext.c : Likewise.
3341 * iconvdata/iso-2022-jp-3.c: Likewise.
3342 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3343 * iconvdata/iso-2022-kr.c : Likewise.
3344 * iconvdata/iso646.c (gconv_end): Likewise.
3345 * iconvdata/iso_6937-2.c : Likewise.
3346 * iconvdata/iso_6937.c : Likewise.
3347 * iconvdata/iso8859-1.c: Likewise.
3348 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3349 * iconvdata/shift_jisx0213.c : Likewise.
3350 * iconvdata/sjis.c : Likewise.
3351 * iconvdata/t.61.c : Likewise.
3352 * iconvdata/tcvn5712-1.c : Likewise.
3353 * iconvdata/tscii.c: Likewise.
3354 * iconvdata/uhc.c : Likewise.
3355 * iconvdata/unicode.c (gconv_end): Likewise.
3356 * iconvdata/utf-16.c (gconv_end): Likewise.
3357 * iconvdata/utf-32.c (gconv_end): Likewise.
3358 * iconvdata/utf-7.c (base64): Likewise.
3359 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3360 * iconv/gconv_close.c (__gconv_close): Likewise.
3361 * iconv/gconv_open.c (__gconv_open): Likewise.
3362 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3363 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3364 internal_ucs4le_loop_single, ucs4le_internal_loop,
3365 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3366 * iconv/iconv.c (iconv): Likewise.
3367 * iconv/iconv_close.c: Likewise.
3368 * iconv/loop.c (SINGLE): Likewise.
3369 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3370 * include/atomic.h: Likewise.
3371 * inet/inet6_option.c (option_alloc): Likewise.
3372 * intl/bindtextdom.c (set_binding_values): Likewise.
3373 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3374 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3375 * intl/localealias.c (read_alias_file): Likewise.
3376 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3377 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3378 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3379 * libio/fmemopen.c (fmemopen): Likewise.
3380 * libio/iofgets.c (_IO_fgets): Likewise.
3381 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3382 * libio/iofgetws.c (fgetws): Likewise.
3383 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3384 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3385 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3386 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3387 * locale/findlocale.c (_nl_find_locale): Likewise.
3388 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3389 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3390 Likewise.
3391 * locale/setlocale.c (setlocale): Likewise.
3392 * login/programs/pt_chown.c (main): Likewise.
3393 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3394 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3395 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3396 mmap, mmap64, mremap, munmap): Likewise.
3397 * math/e_exp2l.c: Likewise.
3398 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3399 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3400 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3401 * math/s_catan.c (__catan): Likewise.
3402 * math/s_catanf.c (__catanf): Likewise.
3403 * math/s_catanh.c (__catanh): Likewise.
3404 * math/s_catanhf.c (__catanhf): Likewise.
3405 * math/s_catanhl.c (__catanhl): Likewise.
3406 * math/s_catanl.c (__catanl): Likewise.
3407 * math/s_ccosh.c (__ccosh): Likewise.
3408 * math/s_ccoshf.c (__ccoshf): Likewise.
3409 * math/s_ccoshl.c (__ccoshl): Likewise.
3410 * math/s_cexp.c (__cexp): Likewise.
3411 * math/s_cexpf.c (__cexpf): Likewise.
3412 * math/s_cexpl.c (__cexpl): Likewise.
3413 * math/s_clog10.c (__clog10): Likewise.
3414 * math/s_clog10f.c (__clog10f): Likewise.
3415 * math/s_clog10l.c (__clog10l): Likewise.
3416 * math/s_clog.c (__clog): Likewise.
3417 * math/s_clogf.c (__clogf): Likewise.
3418 * math/s_clogl.c (__clogl): Likewise.
3419 * math/s_csin.c (__csin): Likewise.
3420 * math/s_csinf.c (__csinf): Likewise.
3421 * math/s_csinh.c (__csinh): Likewise.
3422 * math/s_csinhf.c (__csinhf): Likewise.
3423 * math/s_csinhl.c (__csinhl): Likewise.
3424 * math/s_csinl.c (__csinl): Likewise.
3425 * math/s_csqrt.c (__csqrt): Likewise.
3426 * math/s_csqrtf.c (__csqrtf): Likewise.
3427 * math/s_csqrtl.c (__csqrtl): Likewise.
3428 * math/s_ctan.c (__ctan): Likewise.
3429 * math/s_ctanf.c (__ctanf): Likewise.
3430 * math/s_ctanh.c (__ctanh): Likewise.
3431 * math/s_ctanhf.c (__ctanhf): Likewise.
3432 * math/s_ctanhl.c (__ctanhl): Likewise.
3433 * math/s_ctanl.c (__ctanl): Likewise.
3434 * math/w_pow.c: Likewise.
3435 * math/w_powf.c: Likewise.
3436 * math/w_powl.c: Likewise.
3437 * math/w_scalb.c (sysv_scalb): Likewise.
3438 * math/w_scalbf.c (sysv_scalbf): Likewise.
3439 * math/w_scalbl.c (sysv_scalbl): Likewise.
3440 * misc/error.c (error_tail): Likewise.
3441 * misc/pselect.c (__pselect): Likewise.
3442 * nis/nis_callback.c (__nis_create_callback): Likewise.
3443 * nis/nis_call.c (__nisfind_server): Likewise.
3444 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3445 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3446 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3447 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3448 * nis/nis_lookup.c (nis_lookup): Likewise.
3449 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3450 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3451 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3452 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3453 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3454 internal_getgrgid_r): Likewise.
3455 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3456 Likewise.
3457 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3458 internal_getpwuid_r): Likewise.
3459 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3460 internal_getspnam_r): Likewise.
3461 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3462 _nss_nis_getaliasbyname_r): Likewise.
3463 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3464 _nss_nis_getntohost_r): Likewise.
3465 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3466 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3467 Likewise.
3468 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3469 internal_nis_gethostent_r, internal_gethostbyname2_r,
3470 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3471 _nss_nis_gethostbyname4_r): Likewise.
3472 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3473 initgroups_netid): Likewise.
3474 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3475 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3476 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3477 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3478 _nss_nis_getprotobynumber_r): Likewise.
3479 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3480 _nss_nis_getsecretkey): Likewise.
3481 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3482 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3483 Likewise.
3484 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3485 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3486 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3487 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3488 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3489 _nss_nis_getspnam_r): Likewise.
3490 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3491 Likewise.
3492 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3493 _nss_nisplus_getntohost_r): Likewise.
3494 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3495 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3496 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3497 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3498 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3499 Likewise.
3500 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3501 _nss_nisplus_getnetbyaddr_r): Likewise.
3502 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3503 _nss_nisplus_getprotobynumber_r): Likewise.
3504 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3505 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3506 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3507 Likewise.
3508 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3509 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3510 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3511 _nss_nisplus_getspnam_r): Likewise.
3512 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3513 * nscd/aicache.c (addhstaiX): Likewise.
3514 * nscd/cache.c (cache_search, prune_cache): Likewise.
3515 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3516 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3517 * nscd/grpcache.c (addgrbyX): Likewise.
3518 * nscd/hstcache.c (addhstbyX): Likewise.
3519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3520 * nscd/mem.c (gc, mempool_alloc): Likewise.
3521 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3522 Likewise.
3523 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3524 Likewise.
3525 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3526 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3528 Likewise.
3529 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3530 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3531 * nscd/nscd_helper.c (__readvall, open_socket,
3532 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3533 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3534 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3535 * nscd/pwdcache.c (addpwbyX): Likewise.
3536 * nscd/selinux.c (preserve_capabilities): Likewise.
3537 * nscd/servicescache.c (addservbyX): Likewise.
3538 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3539 * posix/fnmatch.c (fnmatch): Likewise.
3540 * posix/getopt.c (_getopt_internal_r): Likewise.
3541 * posix/glob.c (glob, glob_in_dir): Likewise.
3542 * posix/wordexp.c (exec_comm_child): Likewise.
3543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3544 gaih_getanswer_slice): Likewise.
3545 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3546 * resolv/res_init.c: Likewise.
3547 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3548 * resolv/res_query.c (__libc_res_nquery): Likewise.
3549 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3550 Likewise.
3551 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3552 * stdio-common/perror.c (perror): Likewise.
3553 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3554 * stdio-common/tmpnam.c (tmpnam): Likewise.
3555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3556 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3557 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3558 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3559 * stdlib/putenv.c (putenv): Likewise.
3560 * stdlib/setenv.c (__add_to_environ): Likewise.
3561 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3562 * stdlib/strtol_l.c (INTERNAL): Likewise.
3563 * string/memmem.c (memmem): Likewise.
3564 * string/strerror.c (strerror): Likewise.
3565 * string/strnlen.c (__strnlen): Likewise.
3566 * string/test-memmem.c (simple_memmem): Likewise.
3567 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3568 * sunrpc/pm_getport.c (__get_socket): Likewise.
3569 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3570 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3571 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3572 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3573 Likewise.
3574 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3575 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3577 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3578 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3579 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3581 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3582 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3583 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3584 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3585 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3587 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3588 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3589 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3590 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3591 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3592 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3593 Likewise.
3594 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3595 Likewise.
3596 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3597 Likewise.
3598 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3599 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3600 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3601 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3602 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3603 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3604 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3608 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3613 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3614 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3615 Likewise.
3616 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3617 Likewise.
3618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3619 Likewise.
3620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3622 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3623 Likewise.
3624 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3625 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3626 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3627 * sysdeps/posix/sleep.c: Likewise.
3628 * sysdeps/posix/tempname.c: Likewise.
3629 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3630 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3631 Likewise.
3632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3633 elf_machine_rela): Likewise.
3634 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3636 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3637 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3638 Likewise.
3639 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3641 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3642 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3643 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3644 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3645 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3646 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3647 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3648 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3650 elf_machine_lazy_rel): Likewise.
3651 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3653 elf_machine_lazy_rel): Likewise.
3654 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3655 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3656 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3657 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3658 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3659 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3660 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3664 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3665 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3666 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3667 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3668 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3669 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3670 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3671 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3672 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3673 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3676 (__posix_fallocate64_l64): Likewise.
3677 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3678 (posix_fallocate): Likewise.
3679 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3680 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3681 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3682 getifaddrs_internal): Likewise.
3683 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3684 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3685 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3686 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3687 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3688 (__posix_fallocate64_l64): Likewise.
3689 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3690 Likewise.
3691 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3695 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3696 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3698 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3699 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3700 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3701 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3702 Likewise.
3703 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3704 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3705 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3706 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3707 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3708 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3709 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3710 Likewise.
3711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3712 (posix_fallocate): Likewise.
3713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3714 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3715 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3716 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3717 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3718 Likewise.
3719 * time/asctime.c (asctime_internal): Likewise.
3720 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3721 * time/tzset.c (__tzset_parse_tz): Likewise.
3722 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3723 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3724 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3725 * wcsmbs/wcsmbsload.h: Likewise.
3726
f3d338c9
OB
37272014-02-10 Ondřej Bílka <neleai@seznam.cz>
3728
3729 [BZ #15894]
3730 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3731
bdfe308a
OB
37322014-02-10 Ondřej Bílka <neleai@seznam.cz>
3733
3734 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3735 arena_get2): Remove THREAD_STATS conditionals.
3736 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3737 __malloc_stats, int): Likewise.
3738
d674667c
MF
37392014-02-08 Mike Frysinger <vapier@gentoo.org>
3740
3741 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3742 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3743
6349768c
MF
37442014-02-08 Mike Frysinger <vapier@gentoo.org>
3745
3746 * manual/setjmp.texi: Fix typos/grammar errors.
3747
0b7c7473
MF
37482014-02-08 Mike Frysinger <vapier@gentoo.org>
3749
3750 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3751 Only return early when n is <= 0. Delete unused return statement.
3752
ac8cc9e3
MF
37532014-02-08 Mike Frysinger <vapier@gentoo.org>
3754
3755 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3756 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3757 * debug/tst-longjmp_chk3.c: New file.
3758
c5bb8e23
MF
37592014-02-08 Mike Frysinger <vapier@gentoo.org>
3760
3761 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3762 (test_main): Replace code with set_fortify_handler call.
3763 * debug/test-strcpy_chk.c: Likewise.
3764 * debug/tst-chk1.c: Likewise.
3765 * debug/tst-longjmp_chk.c: Likewise.
3766 * test-skeleton.c: Include fcntl.h & paths.h
3767 (set_fortify_handler): Define.
3768
10444e42
MF
37692014-02-08 Mike Frysinger <vapier@gentoo.org>
3770
3771 * debug/tst-longjmp_chk.c: Add header comment and include
3772 ../test-skeleton.c.
3773 (do_test): Mark static.
3774 (TEST_FUNCTION): Define.
3775
1e805e8d
MF
37762014-02-08 Mike Frysinger <vapier@gentoo.org>
3777
3778 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3779 (IP_PMTUDISC_INTERFACE): Likewise.
3780 (IP_MULTICAST_IF): Likewise.
3781 (IP_MULTICAST_TTL): Likewise.
3782 (IP_MULTICAST_LOOP): Likewise.
3783 (IP_ADD_MEMBERSHIP): Likewise.
3784 (IP_DROP_MEMBERSHIP): Likewise.
3785 (IP_UNBLOCK_SOURCE): Likewise.
3786 (IP_BLOCK_SOURCE): Likewise.
3787 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3788 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3789 (IP_MSFILTER): Likewise.
3790 (MCAST_JOIN_GROUP): Likewise.
3791 (MCAST_BLOCK_SOURCE): Likewise.
3792 (MCAST_UNBLOCK_SOURCE): Likewise.
3793 (MCAST_LEAVE_GROUP): Likewise.
3794 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3795 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3796 (MCAST_MSFILTER): Likewise.
3797 (IP_MULTICAST_ALL): Likewise.
3798 (IP_UNICAST_IF): Likewise.
3799
73f79bb7
MF
38002014-02-08 Mike Frysinger <vapier@gentoo.org>
3801
3802 * timezone/Makefile: Delete $(have-ksh) check.
3803 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3804 * timezone/tzselect.ksh: Add +x mode bits.
3805
8da79b60
MF
38062014-02-08 Mike Frysinger <vapier@gentoo.org>
3807
3808 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3809 (ANON_INODE_FS_MAGIC): Likewise.
3810 (BDEVFS_MAGIC): Likewise.
3811 (BINFMTFS_MAGIC): Likewise.
3812 (BTRFS_TEST_MAGIC): Likewise.
3813 (CRAMFS_MAGIC_WEND): Likewise.
3814 (DEBUGFS_MAGIC): Likewise.
3815 (ECRYPTFS_SUPER_MAGIC): Likewise.
3816 (EXT3_SUPER_MAGIC): Likewise.
3817 (EXT4_SUPER_MAGIC): Likewise.
3818 (FUTEXFS_SUPER_MAGIC): Likewise.
3819 (HOSTFS_SUPER_MAGIC): Likewise.
3820 (HUGETLBFS_MAGIC): Likewise.
3821 (MINIX3_SUPER_MAGIC): Likewise.
3822 (MTD_INODE_FS_MAGIC): Likewise.
3823 (NILFS_SUPER_MAGIC): Likewise.
3824 (OPENPROM_SUPER_MAGIC): Likewise.
3825 (PIPEFS_MAGIC): Likewise.
3826 (PSTOREFS_MAGIC): Likewise.
3827 (QNX6_SUPER_MAGIC): Likewise.
3828 (RAMFS_MAGIC): Likewise.
3829 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3830 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3831 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3832 (SECURITYFS_MAGIC): Likewise.
3833 (SELINUX_MAGIC): Likewise.
3834 (SMACK_MAGIC): Likewise.
3835 (SOCKFS_MAGIC): Likewise.
3836 (SQUASHFS_MAGIC): Likewise.
3837 (STACK_END_MAGIC): Likewise.
3838 (TMPFS_MAGIC): Likewise.
3839 (USBDEVICE_SUPER_MAGIC): Likewise.
3840 (V9FS_MAGIC): Likewise.
3841 (XENFS_SUPER_MAGIC): Likewise.
3842 (CRAMFS_MAGIC): Fix typo in comment.
3843 (EXT2_SUPER_MAGIC): Update comment.
3844 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3845
464263cc
JM
38462014-02-08 Joseph Myers <joseph@codesourcery.com>
3847
c6bfe5c4
JM
3848 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3849 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3850 * sysdeps/unix/sysv/linux/arm: Move directory from
3851 ports/sysdeps/unix/sysv/linux/arm.
3852 * README: Update listing for arm-*-linux-gnueabi.
3853
464263cc
JM
3854 * README: Remove mention of am33.
3855
32749f6c
RM
38562014-02-07 Roland McGrath <roland@hack.frob.com>
3857
3858 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3859 than the comma operator, to avoid "rhs of comma has no effect"
3860 compiler warnings.
3861 (__sigfillset, __sigandset, __sigorset): Likewise.
3862 * include/signal.h (__sigemptyset): Likewise.
3863 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3864
d5b396c1
AM
38652014-02-07 Allan McRae <allan@archlinux.org>
3866
3867 * version.h (RELEASE): Set to "development".
3868 (VERSION): Set to "2.19.90"
3869 * NEWS: Add 2.20 section.
3870
3bfff2ed
CD
38712014-02-06 Carlos O'Donell <carlos@redhat.com>
3872
3873 [BZ #16529]
3874 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3875
ee7cc385
SP
38762014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3877
3878 * manual/contrib.texi: Update entry for Carlos O'Donell,
3879 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3880
f877c4f2
CD
38812014-02-05 Carlos O'Donell <carlos@rehdat.com>
3882
27e839f6
CD
3883 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3884
f877c4f2
CD
3885 * sysdeps/unix/sysv/linux/kernel-features.h
3886 [__LINUX_KERNEL_VERSION >= 0x020621]
3887 (__ASSUME_PROC_PID_TASK_COMM): Define.
3888
68159946
SP
38892014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3890
ba17cdbd
SP
3891 [BZ #16398]
3892 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3893 conversion when destination buffer does not have enough space.
3894 * libio/tst-ftell-partial-wide.c: New test case.
3895 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3896
68159946
SP
3897 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3898 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3899 Leonard and Allan McRae.
3900
2b528732
DM
39012014-02-04 David S. Miller <davem@davemloft.net>
3902
3903 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3904 32-bit.
3905
0ff82463
AZ
39062014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3907
c01603f7
AZ
3908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3909 file
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3911 New file
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3913 file.
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3915 file.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3917 New file.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3919 file.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3921 file.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3923 New file.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3925 New file.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3927 New file.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3929 New file.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3931 New file.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3933 New file.
3934
39352014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936
0ff82463
AZ
3937 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3938 * shlib-versions: Likewise.
3939
1695c773
AZ
39402014-02-04 Roland McGrath <roland@hack.frob.com>
3941 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3942
3943 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3944 (abilist-pattern): New variable, set to %-le.abilist.
3945
3946 * Makerules (abilist-pattern): New variable.
3947 (vpath): Use $(abilist-pattern) in place of %.abilist.
3948 (check-abi-% pattern rule): Likewise.
3949 (check-abi, update-abi): Likewise.
3950
6c0ce4b4
EW
39512014-02-04 Eric Wong <normalperson@yhbt.net>
3952
3953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3954
dc98b8f5
EW
39552014-02-04 Eric Wong <normalperson@yhbt.net>
3956
3957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3958
481e3524
CD
39592014-02-03 Carlos O'Donell <carlos@redhat.com>
3960
3961 * manual/startup.texi: Add next, previous, and top entries for
3962 the `Program Arguments' and `Environment Variables' nodes.
3963
375592d3
AO
39642014-02-03 Alexandre Oliva <aoliva@redhat.com>
3965
3966 * manual/macros.texi: Add comments before MTASC-safety macros.
3967
f54838ba
AO
3968 * manual/users.texi: Document MTASC-safety properties.
3969
909e12ad
AO
3970 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3971 pthread_getspecific, pthread_setspecific): Format with
3972 @deftypefun, and add @safety note.
3973 * manual/signal.texi: Move comments that analyze the above
3974 functions to their home place.
3975
fd3daba4
AM
39762014-02-03 Allan McRae <allan@archlinux.org>
3977
3978 * po/sl.po: Update Slovenian translation from translation project.
3979
597636d7
AO
39802014-02-02 Alexandre Oliva <aoliva@redhat.com>
3981
3982 * manual/time.texi (timegm): Add missing blank after @c.
3983 Reported by Joseph Myers <joseph@codesourcery.com>.
3984
ee196e3c
AO
39852014-02-01 Alexandre Oliva <aoliva@redhat.com>
3986
3987 * manual/check-safety.sh: New.
3988 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3989
f8d529d5
AO
3990 * manual/terminal.texi: Document MTASC-safety properties.
3991
de55fdf4
AO
3992 * manual/filesys.texi: Document MTASC-safety properties.
3993
c3299c08
AO
3994 * manual/errno.texi: Document MTASC-safety properties.
3995
06e90b14
AO
3996 * manual/intro.texi: Document safety identifiers and
3997 conditionals.
3998
1acd4371
AO
3999 * manual/string.texi (wcstok): Fix prototype.
4000 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4001
23e5b8cb
AO
4002 * manual/time.texi: Document MTASC-safety properties.
4003
11087373
AO
4004 * manual/string.texi: Document MTASC-safety properties.
4005
5da2c93d
AO
4006 * manual/threads.texi: Document MTASC-safety properties.
4007
171e9210
AO
4008 * manual/stdio.texi: Document MTASC-safety properties.
4009
d9e02532
AO
4010 * manual/syslog.texi: Document MTASC-safety properties.
4011
6af8bab7
AO
4012 * manual/sysinfo.texi: Document MTASC-safety properties.
4013
663b02d7
AO
4014 * manual/startup.texi: Document MTASC-safety properties.
4015
973f180b
AO
4016 * manual/socket.texi: Document MTASC-safety properties.
4017
8f3c25c8
AO
4018 * manual/signal.texi: Document MTASC-safety properties.
4019
542210fb
AO
40202014-01-31 Alexandre Oliva <aoliva@redhat.com>
4021
4022 * manual/setjmp.texi: Document MTASC-safety properties.
4023
433c45a2
AO
4024 * manual/search.texi: Document MTASC-safety properties.
4025
c8ce789c
AO
4026 * manual/resource.texi: Document MTASC-safety properties.
4027
19f5d29c
AO
4028 * manual/process.texi: Document MTASC-safety properties.
4029
e2dfb7f4
AO
4030 * manual/platform.texi: Document MTASC-safety properties.
4031
8c1413f5
AO
4032 * manual/pipe.texi: Document MTASC-safety properties.
4033
03483ada
AO
4034 * manual/pattern.texi: Document MTASC-safety properties.
4035
29e7e2df
AO
4036 * manual/message.texi: Document MTASC-safety properties.
4037
9f529d7c
AO
4038 [BZ #12751]
4039 * manual/memory.texi: Document MTASC-safety properties.
4040
27aaa791
AO
4041 * manual/math.texi: Document MTASC-safety properties.
4042
f2d58726
AO
4043 * manual/locale.texi: Document MTASC-safety properties.
4044
2cc3615c
AO
4045 * manual/llio.texi: Document MTASC-safety properties.
4046
d9f0ec97
AO
4047 * manual/libdl.texi: New.
4048
e7c4409a
AO
4049 * manual/lang.texi: Document MTASC-safety properties.
4050
27bdc63c
AO
4051 * manual/job.texi: Document MTASC-safety properties.
4052
a7b90ea9
AO
4053 * manual/getopt.texi: Document MTASC-safety properties.
4054
c49130e3
AO
4055 * manual/ctype.texi: Document MTASC-safety properties.
4056
0d23a5c1
MR
40572014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4058
4059 [BZ #16046]
4060 * csu/libc-tls.c (static_map): Remove variable.
4061 (__libc_setup_tls): Use main executable's link map for TLS data.
4062 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4063 casing for LM_ID_BASE and GL(dl_nns).
4064 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4065 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4066 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4067 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4068 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4069 member.
4070 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4071 l_phnum members.
4072
0037bb60
AO
40732014-01-30 Alexandre Oliva <aoliva@redhat.com>
4074
4075 * manual/debug.texi: Document MTASC-safety properties.
4076
409e00bd
L
40772014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 [BZ #16510]
4080 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4081 of __x86_64__ when disabling x87 inline functions.
4082
86e60666
AO
40832014-01-29 Alexandre Oliva <aoliva@redhat.com>
4084
4085 * manual/charset.texi: Document MTASC-safety properties.
4086
76167637
AO
4087 * manual/crypt.texi: Document MTASC-safety properties.
4088
e567f2a0
AO
4089 * manual/conf.texi: Document MTASC-safety properties.
4090
b719dafd
AO
4091 * manual/arith.texi: Document MTASC-safety properties.
4092
4a16c662
AO
4093 * manual/argp.texi: Document MTASC-safety properties.
4094
0a57b83e
AO
4095 * manual/macros.texi: Introduce macros to document multi
4096 thread, asynchronous signal and asynchronous cancellation
4097 safety properties.
4098 * manual/intro.texi: Introduce the properties themselves.
4099
feab2397
KK
41002014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4101
4102 * sysdeps/sh/sh4/Makefile: New file.
4103
1c0d11bc
AS
41042014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4105
4106 * math/gen-libm-test.pl ($srcdir): New variable.
4107 ($auto_input): Use it.
4108
af37a8a3
SP
41092014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4110
d7b00f98
SP
4111 [BZ #16506]
4112 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4113 access beyond array bounds when parsing netgroups file.
4114
af37a8a3
SP
4115 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4116 the old buffer before realloc.
4117
0c00f062
AM
41182014-01-27 Allan McRae <allan@archlinux.org>
4119
4120 * po/fr.po: Update French translation from translation project.
4121
7d69a1b0
KK
41222014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4123
4124 * sysdeps/sh/libm-test-ulps: Regenerate.
4125
6e697ff7
DM
41262014-01-24 David S. Miller <davem@davemloft.net>
4127
4128 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4129
9cadb35c
KK
41302014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4131
4132 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4133 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4134
5d41dadf
SP
41352013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4136
4137 [BZ #16474]
4138 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4139 string pointers after reallocation.
4140
0bad441c
KK
41412014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4142
4143 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4144 __SH4A__ instead of __SH_FPU_ANY__.
4145
7007c661
KK
41462014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4147
4148 * sysdeps/sh/fpu_control.h: New file.
4149 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4150 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4151 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4152 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4153 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4154 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4155 * sysdeps/sh/sys/ucontext.h: Remove.
4156 * sysdeps/sh/sys: Remove directory.
4157
0f0c35e4
AK
41582014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4159
4160 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4161 s390/sys/ucontext.h.
4162 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4164
4959e284
L
41652014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 [BZ #15605]
4168 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4169
d98720e0
AZ
41702014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171
4172 [BZ#16431]
4173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4174 Adjust the vDSO correctly for internal calls.
4175 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4176
91cbd0bc
AM
41772014-01-20 Allan McRae <allan@archlinux.org>
4178
4179 * po/ca.po: Update Catalan translation from translation project.
4180
7a02cfad
MF
41812014-01-16 Mike Frysinger <vapier@gentoo.org>
4182
4183 * sysdeps/s390/sotruss-lib.c: New file.
4184
736c304a
AZ
41852014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4186
4187 [BZ#16430]
6e077ee5 4188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4189 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4190 local calls issues by not having a PLT stub required for IFUNC calls.
4191 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4192
94d0cea0
JM
41932014-01-16 Joseph Myers <joseph@codesourcery.com>
4194
4195 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4196 * math/test-fpucw-static.c: Likewise.
4197
980cb518
SP
41982013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4199
4200 [BZ #16453]
4201 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4202
2393fc01
AZ
42032014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4204
4205 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4206 implementation for powerpc.
4207
d359bcc2
OB
42082014-01-15 Ondřej Bílka <neleai@seznam.cz>
4209
4210 [BZ #14782]
4211 * sysdeps/posix/system.c (__libc_system): Do not enable
4212 asynchronous cancellation.
4213
7beb48cb
AK
42142014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4215
4216 [BZ #16427]
4217 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4218 handling only for numbers special also in the IEEE case.
4219
c20d5bf5
AK
42202014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4221
4222 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4223
e83bd4ee
AM
42242014-01-11 Allan McRae <allan@archlinux.org>
4225
76d0ea69
AM
4226 * po/bg.po: Update Bulgarian translation from translation project.
4227
e83bd4ee
AM
4228 * po/de.po: Update German translation from translation project.
4229
bc2ba20a
RM
42302014-01-10 Roland McGrath <roland@hack.frob.com>
4231
4232 * sysdeps/generic/gcc-compat.h: New file.
4233
649ecea2
SP
42342014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4235
4236 * benchtests/asin-inputs: Correct slow inputs.
4237 * benchtests/acos-inputs: Likewise.
4238
1b19c006
AM
42392014-01-10 Allan McRae <allan@archlinux.org>
4240
a46dab08
AM
4241 * po:sv.po: Update Swedish translation from translation project.
4242
421df74a
AM
4243 * po/vi.po: Update Vietnamese translation from translation project.
4244
d61c51a7
AM
4245 * po/eo.po: Update Esperanto translation from translation project.
4246
0339a319
AM
4247 * po/cs.po: Update Czech translation from translation project.
4248
94ad3e99
AM
4249 * po/nl.po: Update Dutch translation from translation project.
4250
e349ca71
AM
4251 * po/pl.po: Update Polish translation from translation project.
4252
ddf930c1
AM
4253 * po/ru.po: Update Russian translation from translation project.
4254
1b19c006
AM
4255 * po/uk.po: Update Ukrainian translation from translation project.
4256
9f236c49
BM
42572014-01-08 Brooks Moses <bmoses@google.com>
4258
4259 * elf/dl-load.c: Fix comment typo.
4260
cd6701cf
CD
42612014-01-08 Carlos O'Donell <carlos@redhat.com>
4262
4263 * po/header.pot: Rename to...
4264 * po/pot.header: ... this.
4265 * po/Makefile: Use pot.header.
4266
66671c84
YK
42672014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4268 Maxim Kuvyrkov <maxim@kugelworks.com>
4269
4270 [BZ #16394]
cd6701cf
CD
4271 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4272 SRC and DEST against LEN.
66671c84 4273
38f34581
AZ
42742014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4275
4276 [BZ #16414]
4277 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4278 implementation.
4279 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4280
42812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4282
4283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4284
4c327f2a
JM
42852014-01-08 Joseph Myers <joseph@codesourcery.com>
4286
4287 [BZ #16408]
4288 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4289 for large positive arguments.
4290
b821f414
JM
42912014-01-07 Joseph Myers <joseph@codesourcery.com>
4292
1f0f2067
JM
4293 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4294
a5a326f6
JM
4295 * math/auto-libm-test-in: Mark various tests with
4296 xfail-rounding:ldbl-128ibm.
4297 * math/auto-libm-test-out: Regenerated.
4298
b821f414
JM
4299 [BZ #16407]
4300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4301 Increase overflow threshold.
4302
94c8a4bc
OB
43032014-01-07 Ondřej Bílka <neleai@seznam.cz>
4304
4305 [BZ #14286]
4306 * stdio-common/vfprintf.c: Check for integer overflow.
4307
87ded0c3
AK
43082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4309
4310 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4311 the first argument and return value of __tls_get_addr_internal.
4312
c5eebdd0
AK
43132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4314
4315 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4316 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4317
05d138ef
AK
43182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4319
4320 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4321 * sysdeps/s390/rtld-global-offsets.sym: New file.
4322 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4323 GLIBC_2.19 symbol.
4324 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4325 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4326 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4327 ... this.
4328 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4329 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4330 ... this.
4331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4332 Regenerate.
4333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4334 Regenerate.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4336 halfs of GPRs for high_gprs contexts.
4337 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4338 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4339 field.
4340 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4341 uc_flags field.
4342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4343 64 bit versions:
4344 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4345 for high GPRs (uc_high_gprs) and for future extensions
4346 (__reserved).
4347 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4348 for future extensions (__reserved).
4349 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4350 64 bit versions:
4351 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4352 SC_HIGHGPRS offset definition.
4353 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4354 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4355
93a45ff1
AK
43562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4357
4358 * Versions.def: Add GLIBC_2.19 for libpthread.
4359 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4360 siglongjmp for libpthread with GLIBC_2.19 symver.
4361 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4362 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4363 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4364 * sysdeps/s390/__longjmp.c: New file.
4365 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4366 * sysdeps/s390/longjmp.c: New file.
4367 * sysdeps/s390/setjmp.S: New file.
4368 * sysdeps/s390/sigjmp.S: New file.
4369 * sysdeps/s390/v1-longjmp.c: New file.
4370 * sysdeps/s390/v1-setjmp.h: New file.
4371 * sysdeps/s390/v1-sigjmp.c: New file.
4372 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4373 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4374 GLIBC_2.19 version.
4375 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4376 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4377 versioned symbols for ____longjmp_chk.
4378 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4379 Likewise.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4381 Regenerate.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4383 Regenerate.
4384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4385 Regenerate.
4386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4387 Regenerate.
4388 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4389 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4390 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4391 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4392 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4393 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4394 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4395 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4396 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4397 * sysdeps/s390/rtld-__longjmp.c: New file.
4398 * sysdeps/s390/rtld-setjmp.S: New file.
4399
eb3fc44b
JM
44002014-01-06 Joseph Myers <joseph@codesourcery.com>
4401
4402 [BZ #16400]
4403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4404 Return -__logl (x) for small positive arguments without evaluating
4405 a polynomial.
4406
9341dde4
MF
44072014-01-06 Mike Frysinger <vapier@gentoo.org>
4408
4409 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4410 Rename to ...
4411 (__ptrace_peeksiginfo_args): ... this.
4412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4415
4cff0293
AM
44162014-01-06 Allan McRae <allan@archlinux.org>
4417
4418 * inet/netinet/in.h: Fix typo in comment.
4419
75595dcf
AJ
44202014-01-05 Andreas Jaeger <aj@suse.de>
4421
4422 * sysdeps/i386/fpu/libm-test-ulps: Update.
4423
79c1e109
AM
44242014-01-05 Allan McRae <allan@archlinux.org>
4425
dd804818
AM
4426 * po/libc.pot: Regenerated.
4427
79c1e109
AM
4428 * malloc/memusagestat.c: Fix gettext call formatting.
4429
0c813d1f
SK
44302014-01-04 Sami Kerola <kerolasa@iki.fi>
4431
4432 * nscd/nscd.c: Improve usage() output.
4433
20f4a8d9
MF
44342014-01-04 Mike Frysinger <vapier@gentoo.org>
4435
4436 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4437 * sysdeps/unix/sysv/linux/configure: Regenerated.
4438 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4439 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4440
22562bb2
JM
44412014-01-03 Joseph Myers <joseph@codesourcery.com>
4442
4443 [BZ #16390]
4444 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4445 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4446
d7ad2d9b
AZ
44472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448
4449 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4450 extra tokens at end of #undef directive.
4451 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4452 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4453 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4454
7dd009d8
JM
44552014-01-03 Joseph Myers <joseph@codesourcery.com>
4456
24db925a
JM
4457 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4458
7dd009d8
JM
4459 * math/auto-libm-test-in: Mark various tests with
4460 xfail-rounding:ldbl-128ibm.
4461 * math/auto-libm-test-out: Regenerated.
4462
396e3ecf
JM
44632014-01-02 Joseph Myers <joseph@codesourcery.com>
4464
819e5d50
JM
4465 [BZ #16386]
4466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4467 numbers with subnormal high part when calculating exponent.
4468
90b6a1e5
JM
4469 [BZ #16385]
4470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4471 fabs.
4472
396e3ecf
JM
4473 [BZ #16384]
4474 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4475 M_LN2l.
4476 (__ieee754_acoshl): Use __log1pl not __log1p.
4477
6c8dbf00
OB
44782013-01-02 Ondřej Bílka <neleai@seznam.cz>
4479
4480 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4481 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4482 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4483 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4484 Convert to GNU style.
4485 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4486 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4487 memalign_check, __malloc_set_state): Likewise.
4488 * malloc/mallocbug.c (main): Likewise.
4489 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4490 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4491 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4492 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4493 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4494 * malloc/malloc.h: Likewise.
4495 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4496 memalignhook, reallochook, mabort): Likewise.
4497 * malloc/mcheck.h: Likewise.
4498 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4499 mmap64, mremap, munmap, dest): Likewise.
4500 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4501 * malloc/morecore.c (__default_morecore): Likewise.
4502 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4503 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4504 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4505 print_and_abort): Likewise.
4506 * malloc/obstack.h: Likewise.
4507 * malloc/set-freeres.c (__libc_freeres): Likewise.
4508 * malloc/tst-mallocstate.c (main): Likewise.
4509 * malloc/tst-mtrace.c (main): Likewise.
4510 * malloc/tst-realloc.c (do_test): Likewise.
4511
d4124212
SP
45122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4513
9a3c6a6f
SP
4514 [BZ #16366]
4515 * nscd/netgroupcache.c (do_notfound): New function.
4516 (addgetnetgrentX): Use it.
4517
d4124212
SP
4518 [BZ # 16365]
4519 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4520 NSS_STATUS_NOTFOUND.
4521
97b9a009
JM
45222014-01-01 Joseph Myers <joseph@codesourcery.com>
4523
4524 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4526
d4697bc9
AM
45272014-01-01 Allan McRae <allan@archlinux.org>
4528
ddb3687f
AM
4529 * scripts/update-copyrights: Update configure input file suffix.
4530
88726d48
AM
4531 * NEWS: Update copyright year.
4532 * catgets/gencat.c: Likewise.
4533 * csu/version.c: Likewise.
4534 * debug/catchsegv.sh: Likewise.
4535 * debug/pcprofiledump.c: Likewise.
4536 * debug/xtrace.sh: Likewise.
4537 * elf/ldconfig.c: Likewise.
4538 * elf/ldd.bash.in: Likewise.
4539 * elf/pldd.c: Likewise.
4540 * elf/sotruss.ksh: Likewise.
4541 * elf/sprof.c: Likewise.
4542 * iconv/iconv_prog.c: Likewise.
4543 * iconv/iconvconfig.c: Likewise.
4544 * locale/programs/locale.c: Likewise.
4545 * locale/programs/localedef.c: Likewise.
4546 * login/programs/pt_chown.c: Likewise.
4547 * malloc/memusage.sh: Likewise.
4548 * malloc/memusagestat.c: Likewise.
4549 * malloc/mtrace.pl: Likewise.
4550 * manual/libc.texinfo: Likewise.
4551 * nscd/nscd.c: Likewise.
4552 * nss/getent.c: Likewise.
4553 * nss/makedb.c: Likewise.
4554 * posix/getconf.c: Likewise.
4555 * scripts/test-installation.pl: Likewise.
4556
d4697bc9
AM
4557 * All files with FSF copyright notices: Update copyright dates
4558 using scripts/update-copyrights.
4559 * intl/plural.c: Regenerated.
4560 * locale/programs/charmap-kw.h: Likewise.
4561 * locale/programs/locfile-kw.h: Likewise.
4562
c8590f9d
MF
45632013-12-31 Mike Frysinger <vapier@gentoo.org>
4564
4565 * sysdeps/unix/sysv/linux/configure: Regenerated.
4566 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4567 the linux/fanotify.h header.
4568 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4569 HAVE_LINUX_FANOTIFY_H is defined.
4570
b19221b9
SP
45712013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4572
dd1d85e5
SP
4573 * benchtests/cos-inputs: New inputs.
4574 * benchtests/sin-inputs: Likewise.
4575
1acbb90f
SP
4576 * benchtests/atan-inputs: New inputs. Fix name of multiple
4577 precision fallback inputs.
4578
4c012ed3
SP
4579 * benchtests/atanh-inputs: New inputs.
4580 * benchtests/tanh-inputs: Likewise.
4581
eff98324
SP
4582 * benchtests/acosh-inputs: New inputs.
4583 * benchtests/asinh-inputs: Likewise.
4584
ce641152
SP
4585 * benchtests/cosh-inputs: New inputs.
4586 * benchtests/sinh-inputs: Likewise.
4587
b19221b9
SP
4588 * benchtests/acos-inputs: Add more inputs.
4589 * benchtests/asin-inputs: Likewise.
4590
030a4976 45912013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4592
030a4976 4593 [BZ #16375]
9dcc8f11
VS
4594 * manual/arith.texi: Fix spelling.
4595 * manual/charset.texi: Likewise.
4596 * manual/errno.texi: Likewise.
4597 * manual/filesys.texi: Likewise.
4598 * manual/lang.texi: Likewise.
4599 * manual/llio.texi: Likewise.
4600 * manual/locale.texi: Likewise.
4601 * manual/message.texi: Likewise.
4602 * manual/resource.texi: Likewise.
4603 * manual/search.texi: Likewise.
4604 * manual/setjmp.texi: Likewise.
4605 * manual/stdio.texi: Likewise.
4606 * manual/string.texi: Likewise.
4607 * manual/sysinfo.texi: Likewise.
4608 * manual/time.texi: Likewise.
4609
11520a57
CD
46102013-12-27 Carlos O'Donell <carlos@redhat.com>
4611
4612 * po/sl.po: New file.
4613
471103ae
MF
46142013-12-27 Mike Frysinger <vapier@gentoo.org>
4615
4616 * .gitignore: Add core/.gdbinit/.gdb_history.
4617
6c9642ed
AM
46182013-12-27 Allan McRae <allan@archlinux.org>
4619
4620 [BZ #16369]
4621 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4622 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4623
3f637079
BM
46242013-12-24 Brooks Moses <bmoses@google.com>
4625
4626 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4627 all compilers that claim C++98 compliance, not just GCC.
4628 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4629 Likewise.
4630
abc26e99
MK
46312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4632
4633 * NEWS: Restore accidentally deleted bug-fix entries.
4634
362b47fe
MK
46352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4636 Ondřej Bílka <neleai@seznam.cz>
4637
4638 [BZ #15073]
4639 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4640 have_lock.
362b47fe 4641
b9bcbbcb
OB
46422013-12-23 Ondřej Bílka <neleai@seznam.cz>
4643
4644 [BZ #12986]
4645 * manual/stdio.texi (String Input Conversions): Clarify that character
4646 classes are not supported.
4647
fb55fcd2
AZ
46482013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649
4650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4651
ef7344f0
JM
46522013-12-22 Joseph Myers <joseph@codesourcery.com>
4653
4f40e4b3
JM
4654 [BZ #16337]
4655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4656 Calculate results for small negative arguments directly rather
4657 than using reflection formula with special underflow handling.
4658
ef7344f0
JM
4659 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4660 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4661 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4662 (fchflags): Likewise.
4663 (revoke): Likewise.
4664 (setlogin): Likewise.
4665 (sigaltstack): Likewise.
4666 (wait4): Likewise.
4667 (sigblock): Remove.
4668 (sigsetmask): Likewise.
4669 (wait3): Likewise.
4670 (waitpid): Likewise.
4671 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4672 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4673 file.
4674 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4675 * sysdeps/unix/bsd/Makefile: ... here.
4676 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4677 * sysdeps/unix/bsd/Versions: ... here.
4678 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4679 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4680 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4681 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4682 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4683 * sysdeps/unix/bsd/sigblock.c: ... here.
4684 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4685 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4686 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4687 * sysdeps/unix/bsd/sigvec.c: ... here.
4688 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4689 * sysdeps/unix/bsd/tcdrain.c: ... here.
4690 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4691 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4692 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4693 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4694 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4695 * sysdeps/unix/bsd/wait.c: ... here.
4696 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4697 * sysdeps/unix/bsd/wait3.c: ... here.
4698 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4699 * sysdeps/unix/bsd/waitpid.c: ... here.
4700
5b0626b9
JM
47012013-12-21 Joseph Myers <joseph@codesourcery.com>
4702
4703 [BZ #16356]
4704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4705 round-to-nearest for [!USE_AS_EXPM1L].
4706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4707 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4708 more tests of exp and exp10. Expect some exp10 tests to miss
4709 exceptions or fail in directed rounding modes.
4710 * math/auto-libm-test-out: Regenerated.
4711 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4712 (exp10_test_tonearest): New function.
4713 (exp10_towardzero_test_data): New array.
4714 (exp10_test_towardzero): New function.
4715 (exp10_downward_test_data): New array.
4716 (exp10_test_downward): New function.
4717 (exp10_upward_test_data): New array.
4718 (exp10_test_upward): New function.
4719 (main): Call the new functions.
4720 * sysdeps/i386/fpu/libm-test-ulps: Update.
4721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722
7fda5682
JM
47232013-12-20 Joseph Myers <joseph@codesourcery.com>
4724
31e3a405
JM
4725 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4726 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4727 * math/auto-libm-test-out: Regenerated.
4728 * math/libm-test.inc (acosh_test_data): Add more tests.
4729 (atanh_test_data): Likewise.
4730 (ceil_test_data): Likewise.
4731 (copysign_test_data): Likewise.
4732 * sysdeps/i386/fpu/libm-test-ulps: Update.
4733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734
85bff96a
JM
4735 * timezone/checktab.awk: Update from tzcode 2013i.
4736 * timezone/private.h: Likewise.
4737 * timezone/scheck.c: Likewise.
4738 * timezone/tzfile.h: Likewise.
4739 * timezone/tzselect.ksh: Likewise.
4740 * timezone/zdump.c: Likewise.
4741 * timezone/zic.c: Likewise.
4742
b7867a3b
JM
4743 * math/auto-libm-test-in: Add tests of cpow.
4744 * math/auto-libm-test-out: Regenerated.
4745 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4746 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4747 mpc_cc_c.
4748 (func_calc_desc): Add mpc_cc_c union field.
4749 (test_functions): Add cpow.
4750 (special_fill_2pi): New function.
4751 (special_real_inputs): Add 2pi.
4752 (calc_generic_results): Handle mpc_cc_c.
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4755
7fda5682
JM
4756 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4757 csqrt, ctan and ctanh.
4758 * math/auto-libm-test-out: Regenerated.
4759 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4760 (TEST_COND_x86): Likewise.
4761 (ccos_test_data): Use AUTO_TESTS_c_c.
4762 (ccosh_test_data): Likewise.
4763 (cexp_test_data): Likewise.
4764 (clog_test_data): Likewise.
4765 (csqrt_test_data): Likewise.
4766 (ctan_test_data): Likewise.
4767 (ctan_tonearest_test_data): Likewise.
4768 (ctan_towardzero_test_data): Likewise.
4769 (ctan_downward_test_data): Likewise.
4770 (ctan_upward_test_data): Likewise.
4771 (ctanh_test_data): Likewise.
4772 (ctanh_tonearest_test_data): Likewise.
4773 (ctanh_towardzero_test_data): Likewise.
4774 (ctanh_downward_test_data): Likewise.
4775 (ctanh_upward_test_data): Likewise.
4776 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4777 mpc_c_c.
4778 (func_calc_desc): Add mpc_c_c union field.
4779 (FUNC_mpc_c_c): New macro.
4780 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4781 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4782 ctanh.
4783 (special_fill_min_subnorm_p120): New function.
4784 (special_real_inputs): Add min_subnorm_p120.
4785 (calc_generic_results): Handle mpc_c_c.
4786 * sysdeps/i386/fpu/libm-test-ulps: Update.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4788
5ff8d60e
SP
47892013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4790
392dd2de
SP
4791 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4792 do_sin_slow): New functions.
4793 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4794 cslow2, csloww1, csloww2): Use the new functions.
4795
84ba214c
SP
4796 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4797 Use M to change sign of result instead of X. Assume X is
4798 positive.
4799 (csloww1): Likewise.
4800 (__sin): Adjust.
4801 (__cos): Adjust.
4802
975195e4
SP
4803 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4804 arguments A and DA.
4805 (__sin): Adjust.
4806 (__cos): Likewise.
4807
5ff8d60e
SP
4808 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4809 (__cos): Likewise.
4810 (sloww1): Don't adjust sign of DX.
4811 (csloww1): Likewise.
4812 (sloww2): Use X directly and don't adjust sign of DX.
4813 (csloww2): Likewise.
4814
eb983568
JM
48152013-12-19 Joseph Myers <joseph@codesourcery.com>
4816
64a17f1a
JM
4817 * math/auto-libm-test-in: Add tests of cabs and carg.
4818 * math/auto-libm-test-out: Regenerated.
4819 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4820 (carg_test_data): Likewise.
4821 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4822 mpc_c_f.
4823 (func_calc_desc): Add mpc_c_f union field.
4824 (test_functions): Add cabs and carg.
4825 (calc_generic_results): Handle mpc_c_f.
4826
eb983568
JM
4827 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4828 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4829 as a macro and a compat symbol.
4830 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4831 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4832 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4833 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4834 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4835 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4836 not use .hidden.
4837 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4838 Likewise.
4839 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4840 Likewise.
4841 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4842 Likewise.
4843 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4844 Likewise.
4845 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4846 Likewise.
4847 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4848 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4849 from GLIBC_2.3.2.
4850
6eeb678a
AZ
48512013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4852
4853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4854
6f6fc482
JM
48552013-12-19 Joseph Myers <joseph@codesourcery.com>
4856
21fea2e2
JM
4857 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4858 trailing whitespace removed.
4859 * scripts/config.guess: Update to version 2013-11-29.
4860 * scripts/config.sub: Update to version 2013-10-01.
4861
6f6fc482
JM
4862 * math/auto-libm-test-in: Add tests of sincos.
4863 * math/auto-libm-test-out: Regenerated.
4864 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4865 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4866 mpfr_f_11.
4867 (func_calc_desc): Add mpfr_f_11 union field.
4868 (test_functions): Add sincos.
4869 (calc_generic_results): Handle mpfr_f_11.
4870 * sysdeps/i386/fpu/libm-test-ulps: Update.
4871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4872
83f5c32d
AS
48732013-12-19 Andreas Schwab <schwab@suse.de>
4874
4875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4876 CALL_MCOUNT.
4877 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4878 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4879 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4880
c688b419
JM
48812013-12-19 Joseph Myers <joseph@codesourcery.com>
4882
335ee092
JM
4883 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4884 * sysdeps/i386/fpu/libm-test-ulps: Update.
4885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4886
f88acd39
JM
4887 [BZ #16293]
4888 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4889 round-to-nearest mode when using frndint.
4890 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4891 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4892 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4893 Likewise.
4894 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4895 sinh test to fail.
4896 * math/auto-libm-test-out: Regenerated.
4897 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4898 (TEST_COND_x86): Likewise.
4899 (expm1_tonearest_test_data): New array.
4900 (expm1_test_tonearest): New function.
4901 (expm1_towardzero_test_data): New array.
4902 (expm1_test_towardzero): New function.
4903 (expm1_downward_test_data): New array.
4904 (expm1_test_downward): New function.
4905 (expm1_upward_test_data): New array.
4906 (expm1_test_upward): New function.
4907 (main): Run the new test functions.
4908 * sysdeps/i386/fpu/libm-test-ulps: Update.
4909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4910
c688b419
JM
4911 * include/features.h: Update comment documenting feature test
4912 macros. Mention _DEFAULT_SOURCE in comment.
4913 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4914 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4915 _BSD_SOURCE and _SVID_SOURCE.
4916 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4917 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4918 !_SVID_SOURCE]: Likewise.
4919 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4920 (__USE_POSIX_IMPLICITLY): Define.
4921 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4922 (_POSIX_SOURCE): Undefine and redefine.
4923 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4924 (_POSIX_C_SOURCE): Likewise.
4925 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4926 (Feature Test Macros): Update documentation of default features.
4927
9f6e964c
RS
49282013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4929
4930 * benchtests/Makefile: Add bench-strtok.
4931 * benchtests/bench-strtok.c: New file: strtok benchtest.
4932
ee0a148a
AM
49332013-12-19 Allan McRae <allan@archlinux.org>
4934
4935 * manual/install.texi: Suppress menu for plain text output.
4936 * INSTALL: Regenerated.
4937
b9ab448f
BM
49382013-12-18 Brooks Moses <bmoses@google.com>
4939
4940 [BZ #15846]
4941 * misc/getauxval.c: Include errno.h.
4942 (__getauxval): Set errno to ENOENT if the requested type is not
4943 found.
4944 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4945 don't declare with __attribute_const__.
4946 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4947 * manual/startup.texi: Document that getauxval sets errno.
4948
23776487
JM
49492013-12-18 Joseph Myers <joseph@codesourcery.com>
4950
f889953b
JM
4951 * math/auto-libm-test-in: Add tests of jn and yn.
4952 * math/auto-libm-test-out: Regenerated.
4953 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4954 (yn_test_data): Likewise.
4955 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4956 mpfr_if_f.
4957 (func_calc_desc): Add mpfr_if_f union field.
4958 (FUNC_mpfr_if_f): New macro.
4959 (test_functions): Add jn and yn.
4960 (calc_generic_results): Assert type of second input for
4961 mpfr_ff_f. Handle mpfr_if_f.
4962 (output_for_one_input_case): Disable all checking for arguments
4963 fitting floating-point types in case of an integer argument.
4964 * sysdeps/i386/fpu/libm-test-ulps: Update.
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4966
23776487
JM
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4968 Don't expect fegetround reference in libm.so.
4969
cb756c6d
MS
49702013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4971
4972 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4973 $(config-cflags-nofma).
4974
2dec468f
JM
49752013-12-18 Joseph Myers <joseph@codesourcery.com>
4976
5953eb3a
JM
4977 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4978 * math/auto-libm-test-out: Regenerated.
4979
2dec468f
JM
4980 [BZ #16338]
4981 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4982 to determine exponent and adjust argument to have exponent of -1.
4983 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4984 log2.
4985 * math/auto-libm-test-out: Regenerated.
4986 * sysdeps/i386/fpu/libm-test-ulps: Update.
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988
4d84e6ad
OB
49892013-12-18 Ondřej Bílka <neleai@seznam.cz>
4990
4991 * manual/probes.texi: Remove cases when per-thread arenas are
4992 disabled.
4993
1818483b
AS
49942013-12-18 Andreas Schwab <schwab@suse.de>
4995
4996 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4997 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4998 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4999 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5000 * sysdeps/i386/i686/multiarch/Makefile: Update.
5001 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5002
25de95bf
JM
50032013-12-17 Joseph Myers <joseph@codesourcery.com>
5004
5005 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5006 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5007
674762d9
PE
50082013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5009
ed27ed83 5010 [BZ #15968]
0748546f
PE
5011 Support TZ transition times < 00:00:00.
5012 This is needed for version-3 tz-format files; it supports time
5013 stamps past 2037 for America/Godthab (the only entry in the tz
5014 database for which this change is relevant).
5015 * manual/time.texi (TZ Variable): Document transition times
5016 from -167:59:59 through -00:00:01.
5017 * time/tzset.c (tz_rule): Time of day is now signed.
5018 (__tzset_parse_tz): Parse negative time of day.
5019
4480e934
PE
5020 Document TZ transition times >= 25:00:00.
5021 * manual/time.texi (TZ Variable): Document transition times from
5022 25:00:00 through 167:59:59. These are already supported, and this
5023 support will help with version-3 tz-format files.
5024
69947401
PE
5025 * manual/time.texi (TZ Variable): Modernize North America example
5026 to reflect current (i.e., 2007-and-later) daylight saving rules.
5027
674762d9
PE
5028 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5029
7011c262
JM
50302013-12-17 Joseph Myers <joseph@codesourcery.com>
5031
2fc6557e
JM
5032 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5033 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5034 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5036 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5037 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5038 * sysdeps/unix/bsd/clock.c: Likewise.
5039 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5040 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5041 * sysdeps/unix/bsd/init-posix.c: Likewise.
5042 * sysdeps/unix/bsd/poll.c: Likewise.
5043 * sysdeps/unix/bsd/ptsname.c: Likewise.
5044 * sysdeps/unix/bsd/seekdir.c: Likewise.
5045 * sysdeps/unix/bsd/setegid.c: Likewise.
5046 * sysdeps/unix/bsd/seteuid.c: Likewise.
5047 * sysdeps/unix/bsd/setgid.c: Likewise.
5048 * sysdeps/unix/bsd/setrgid.c: Likewise.
5049 * sysdeps/unix/bsd/setruid.c: Likewise.
5050 * sysdeps/unix/bsd/setsid.c: Likewise.
5051 * sysdeps/unix/bsd/setuid.c: Likewise.
5052 * sysdeps/unix/bsd/sigaction.c: Likewise.
5053 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5054 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5055 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5056 * sysdeps/unix/bsd/telldir.c: Likewise.
5057 * sysdeps/unix/bsd/times.c: Likewise.
5058 * sysdeps/unix/bsd/usleep.c: Likewise.
5059
029c7b25
JM
5060 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5061 ($(objpfx)libbsd-compat.a): Remove rule.
5062
7011c262
JM
5063 * include/features.h (__FAVOR_BSD): Do not define.
5064 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5065 features conflicting with POSIX.
5066 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5067 (_BSD_SOURCE): Remove description of not being a subset of other
5068 feature test macros.
5069 * manual/job.texi (getpgrp): Do not document BSD version.
5070 (getpgid): Do not document by reference to BSD getpgrp.
5071 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5072 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5073 * signal/signal.h [__FAVOR_BSD]: Likewise.
5074 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5075 instead of making contents conditional on [__FAVOR_BSD].
5076 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5077
affb6f78
AZ
50782013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5079
5080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5081
c88769dd
JM
50822013-12-17 Joseph Myers <joseph@codesourcery.com>
5083
6432a540
JM
5084 [BZ #16314]
5085 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5086 values below 2**-450, not 2**-500.
5087 * math/auto-libm-test-in: Don't allow spurious underflow from
5088 hypot.
5089 * math/auto-libm-test-out: Regenerated.
5090
c88769dd
JM
5091 [BZ #16316]
5092 [BZ #16330]
5093 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5094 values of ha and hb and sort them after adjusting subnormal
5095 arguments.
5096 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5097 Likewise.
5098 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5099 values of ea and eb and sort them after adjusting subnormal
5100 arguments.
5101 * math/auto-libm-test-in: Do not expect some hypot tests of
5102 subnormals to fail. Add more hypot tests.
5103 * math/auto-libm-test-out: Regenerated.
5104
29618f6b
KK
51052013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5106
5107 [BZ #13304]
5108 * sysdeps/sh/s_fma.c: New file.
5109 * sysdeps/sh/s_fmaf.c: New file.
5110 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5111 version.
5112 * sysdeps/sh/Implies: Add sh/soft-fp.
5113
eacfdfbf
RM
51142013-12-16 Roland McGrath <roland@hack.frob.com>
5115
5116 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5117 level of indirection to members `objname', `errstring', `malloced'.
5118 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5119 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5120 it as the __longjmp argument (just pass 1 instead).
5121 (_dl_catch_error): Initialize C with argument pointers and address of
5122 volatile local ERRCODE rather than copying values out of C at return.
5123
ff362e5b
JM
51242013-12-16 Joseph Myers <joseph@codesourcery.com>
5125
5126 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5127 * math/auto-libm-test-out: Regenerated.
5128 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5129 (hypot_test_data): Likewise.
5130 (pow_test_data): Likewise.
5131 (pow_tonearest_test_data): Likewise.
5132 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5133 mpfr_ff_f.
5134 (func_calc_desc): Add mpfr_ff_f union field.
5135 (FUNC_mpfr_ff_f): New macro.
5136 (test_functions): Add atan2, hypot and pow.
5137 (special_fill_min): New function.
5138 (special_fill_minus_min): Likewise.
5139 (special_fill_min_subnorm): Likewise.
5140 (special_fill_minus_min_subnorm): Likewise.
5141 (special_real_inputs): Add min, -min, min_subnorm and
5142 -min_subnorm.
5143 (calc_generic_results): Handle mpfr_ff_f.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146
5764c27f
WN
51472013-12-16 Will Newton <will.newton@linaro.org>
5148
5149 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5150 (Aligned Memory Blocks): Add documentation for aligned_alloc
5151 and suggest it as an alternative to posix_memalign.
5152 (Hooks for Malloc): Document __memalign_hook is also called
5153 for aligned_alloc. (Summary of Malloc): Add summary for
5154 aligned alloc. Document __memalign_hook is also called
5155 for aligned_alloc.
5156
0a096e44
WN
51572013-12-16 Will Newton <will.newton@linaro.org>
5158
5159 * manual/memory.texi (Malloc Examples): Clarify default
5160 alignment documentation. Suggest posix_memalign rather
5161 than memalign or valloc.
5162 (Aligned Memory Blocks): Remove suggestion to use memalign
5163 or valloc. Remove obsolete comment about BSD.
5164 Document memalign errno values and mark the function obsolete.
5165 Document posix_memalign returned error codes. Mark valloc
5166 as obsolete. (Hooks for Malloc): __memalign_hook is also
5167 called for posix_memalign and valloc.
5168 (Summary of Malloc): Add posix_memalign to function summary.
5169 __memalign_hook is also called for posix_memalign and valloc.
5170
8d561986
SP
51712013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5172
5173 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5174 TAYLOR_SIN.
5175 (__sin): Adjust.
5176 (__cos): Likewise.
5177 (sloww): Use mynumber union. Expand ternary operator into
5178 if-else statements.
5179 (cslow): use mynumber union.
5180
73616a74
AM
51812013-12-16 Allan McRae <allan@archlinux.org>
5182
9e8ac24b
AM
5183 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5184 * configure: Regenerated.
5185
6f8e37eb
AM
5186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5187
8894bad3
AM
5188 [BZ #14120]
5189 * configure.ac: Added --enable-maintainer-mode. Check for
5190 autoconf when enabled.
5191 * configure: Regenerated.
5192
73616a74
AM
5193 * nscd/nscd.service: New file.
5194 * nscd/nscd.tmpfiles: New file.
5195
584b18eb
OB
51962013-12-14 Ondřej Bílka <neleai@seznam.cz>
5197
5198 [BZ #12100]
5199 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5200 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5201 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5202 (strstr): Add __strstr_sse2_unaligned ifunc.
5203 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5204 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5205 (strcasestr): Remove __strcasestr_sse42 ifunc.
5206 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5209
8a5c7897
KK
52102013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5211
5212 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5213 * sysdeps/sh/bits/fenv.h: ... here.
5214 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5215
fd712ef3
AZ
52162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5219
42fcb46c
AZ
52202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5223 hypotf multiarch implementations.
5224 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5226 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5227 multiarch hypot for PPC64.
5228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5231 multiarch hypotf for PPC64.
5232
83efded4
AZ
52332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5236 modff multiarch implementations.
5237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5240 multiarch modf for PPC64.
5241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5244 multiarch modff for PPC64.
5245
43e246d2
AZ
52462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5249 and logl multiarch implementations.
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5253 multiarch logb for PPC64.
5254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5257 multiarch logb for PPC64.
5258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5261 multiarch logb for PPC64.
5262
8fdad123
AZ
52632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5264
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5266 isinff multiarch implementation.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5268 file.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5271 multiarch isinf for PPC64.
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5273 file.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5275 multiarch isinff for PPC64.
5276
1481d706
AZ
52772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5278
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5280 finitef multiarch implementation.
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5282 file.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5285 multiarch finite for PPC64.
5286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5287 file.
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5289 multiarch finitef for PPC64.
5290
5ccd5fc8
AZ
52912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5292
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5294 lrint multiarch implementation.
5295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5296 file.
5297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5299 multiarch llrint for PPC64.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5301 multiarch lrint for PPC64.
5302
2568f3fa
AZ
53032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5304
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5306 copysignf multiarch implementation.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5308 file.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5310 file.
5311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5312 multiarch copysign for PPC64.
5313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5314 multiarch copysignf for PPC64.
5315
1cb341fd
AZ
53162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5319 multiarch implementation.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5321 file.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5323 file.
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5325 file.
5326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5327 file.
5328 multiarch llround for PPC64.
5329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5330 multiarch trunc for PPC64.
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5332 multiarch truncf for PPC64.
5333
59a3e194
AZ
53342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5335
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5337 multiarch implementation.
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5339 file.
5340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5341 file.
5342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5343 file.
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5345 file.
5346 multiarch llround for PPC64.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5348 multiarch round for PPC64.
5349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5350 multiarch roundf for PPC64.
5351
357fd3b4
AZ
53522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
5354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5355 multiarch implementation.
5356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5357 file.
5358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5359 file.
5360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5361 file.
5362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5363 file.
5364 multiarch llround for PPC64.
5365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5366 multiarch floor for PPC64.
5367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5368 multiarch floorf for PPC64.
5369
96770f12
AZ
53702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5373 multiarch implementation.
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5375 file.
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5377 file.
5378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5379 file.
5380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5381 file.
5382 multiarch llround for PPC64.
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5384 multiarch ceil for PPC64.
5385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5386 multiarch ceilf for PPC64.
5387
c3627f6e
AZ
53882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5389
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5391 multiarch implementation.
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5393 file.
5394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5395 file.
5396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5397 file.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5399 multiarch llround for PPC64.
5400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5401 multiarch lround for PPC64.
5402
b2284ad7
AZ
54032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404
5405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5406 multiarch implementation.
5407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5410 file.
5411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5414 multiarch isnan for PPC64.
5415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5416 multiarch isnanf for PPC64.
5417
69bbc63d
AZ
54182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5419
5420 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5421 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5422 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5423 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5424 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5426
c24517c9
AZ
54272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428
5429 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5430 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5433
a52374e8
AZ
54342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5435
5436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5437 multiarch implementations.
5438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5439 (__libc_ifunc_impl_list): Likewise.
5440 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5441 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5442 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5443 multiarch stpcpy for PPC64.
5444
7f5ec113
AZ
54452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
5447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5448 multiarch implementations.
5449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5450 (__libc_ifunc_impl_list): Likewise.
5451 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5452 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5453 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5454 multiarch strcpy for PPC64.
5455
e28bcd42
AZ
54562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5457
5458 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5459 redefine function name.
5460 (_wordcopy_fwd_dest_aligned): Likewise.
5461 (_wordcopy_bwd_aligned): Likewise.
5462 (_wordcopy_bwd_dest_aligned): Likewise.
5463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5464 multiarch implementations.
5465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5466 (__libc_ifunc_impl_list): Likewise.
5467 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5468 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5469 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5470 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5471 multiarch wcscpy for PPC64.
5472
92cacfce
AZ
54732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5474
5475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5476 multiarch implementations.
5477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5478 (__libc_ifunc_impl_list): Likewise.
5479 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5480 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5481 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5483 multiarch wcscpy for PPC64.
5484
7b714620
AZ
54852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5486
5487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5488 multiarch implementations.
5489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5490 (__libc_ifunc_impl_list): Likewise.
5491 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5492 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5493 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5494 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5495 multiarch wcsrchr for PPC64.
5496
16fd2ae3
AZ
54972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5498
5499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5500 multiarch implementations.
5501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5502 (__libc_ifunc_impl_list): Likewise.
5503 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5504 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5505 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5506 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5507 multiarch wcschr for PPC64.
5508
9ee2969b
AZ
55092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5510
5511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5512 multiarch implementations.
5513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5514 (__libc_ifunc_impl_list): Likewise.
5515 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5516 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5517 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5518 multiarch strchrnul for PPC64.
5519
372dc060
AZ
55202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521
5522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5523 implementations.
5524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5525 (__libc_ifunc_impl_list): Likewise.
5526 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5527 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5528 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5529 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5530 strchr for PPC64.
5531
24c2c3b9
AZ
55322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533
5534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5535 implementations.
5536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5537 (__libc_ifunc_impl_list): Likewise.
5538 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5539 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5540 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5541 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5542 strncmp for PPC64.
5543
1c92d9a0
AZ
55442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5545
5546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5547 multiarch implementations.
5548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5549 (__libc_ifunc_impl_list): Likewise.
5550 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5551 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5552 strncasecmp for PPC64.
5553 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5554 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5555 multiarch strncasecmp_l for PPC64.
5556
17de3ee3
AZ
55572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5558
5559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5560 multiarch implementations.
5561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5562 (__libc_ifunc_impl_list): Likewise.
5563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5565 multiarch strcasecmp for PPC64.
5566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5567 file.
5568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5569 multiarch strcasecmp_l for PPC64.
5570
62982bf9
AZ
55712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572
5573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5574 implementations.
5575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5576 (__libc_ifunc_impl_list): Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5578 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5579 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5580 strnlen for PPC64.
5581
a65f4904
AZ
55822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583
5584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5585 implementations.
5586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5587 (__libc_ifunc_impl_list): Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5589 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5590 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5591 strlen for PPC64.
5592
1fd005ad
AZ
55932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5594
5595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5596 implementations.
5597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5598 (__libc_ifunc_impl_list): Likewise.
5599 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5600 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5601 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5602 rawmemrchr for PPC64.
5603
cd05ba91
AZ
56042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5605
5606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5607 implementation.
5608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5609 (__libc_ifunc_impl_list): Likewise.
5610 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5611 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5612 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5613 memrchr for PPC64.
5614
870f8676
AZ
56152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5618 implementation.
5619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5620 (__libc_ifunc_impl_list): Likewise.
5621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5622 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5623 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5624 memchr for PPC64.
5625
f00be62b
AZ
56262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5627
5628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5629 implementation.
5630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5631 (__libc_ifunc_impl_list): Likewise.
5632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5633 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5634 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5635 mempcpy for PPC64.
5636
8a29a3d0
AZ
56372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638
5639 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5640 avoid cretion of __bzero symbol.
5641 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5642 Likewise.
5643 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5644 Likewise.
5645 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5646 Likewise.
5647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5648 multiarch implementations.
5649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5650 (__libc_ifunc_impl_list): Likewise.
5651 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5652 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5653 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5654 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5655 bzero for PPC32.
5656 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5657 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5658 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5659 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5660 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5661 memset for PPC64.
5662 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5663
07253fcf
AZ
56642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5665
5666 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5668 implementations.
5669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Likewise.
5671 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5672 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5673 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5674 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5675 memcmp for PPC64.
5676
b5beafbc
AZ
56772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5678
5679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5680 multiarch for POWER/PPC64.
5681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5682 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5685 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5686 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5687 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5689 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5690 memcpy for PPC64.
5691
5e6a4d4b
AZ
56922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5693
5694 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5695 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5696 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5697 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5698 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5699 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5700 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5701 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5702 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5703 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5704 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5705 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5706 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5707 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5708 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5716
ddfab6dc
KK
57172013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5718
5719 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5720
19b5525e
SP
57212013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5722
5723 * benchtests/Makefile (bench): Add exp2 and log2.
5724 (LDLIBS-bench-exp2): Add -lm.
5725 (LDLIBS-bench-log2): Likewise.
5726 * benchtests/exp2-inputs: New inputs file.
5727 * benchtests/log2-inputs: New inputs file.
5728 * benchtests/log-inputs: Add new inputs.
5729 * benchtests/tan-inputs: Likewise.
5730
196f7f5d
SP
57312013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5732
7a74607f
SP
5733 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5734 definition...
5735 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5736 csloww1, csloww2): ... from here.
5737
196f7f5d
SP
5738 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5739 instead of structures.
5740 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5741 (POLYNOMIAL): Likewise.
5742 (TAYLOR_SLOW): Likewise.
5743 (__sin): Likewise.
5744 (__cos): Likewise.
5745 (slow1): Likewise.
5746 (slow2): Likewise.
5747 (sloww): Likewise.
5748 (sloww1); Likewise.
5749 (sloww2): Likewise.
5750 (bsloww1): Likewise.
5751 (bsloww2): Likewise.
5752 (cslow2): Likewise.
5753 (csloww): Likewise.
5754 (csloww1): Likewise.
5755 (csloww2): Likewise.
5756
0dfa665c
OB
57572013-12-10 Ondřej Bílka <neleai@seznam.cz>
5758
5759 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5760 (__malloc_assert, __libc_realloc, __libc_calloc,
5761 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5762 memcpy and memset.
5763 * malloc/hooks.c (realloc_check): Likewise.
5764
5782a80f
OB
57652013-12-10 Ondřej Bílka <neleai@seznam.cz>
5766
5767 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5768 * malloc/arena.c: Remove PER_THREAD conditional.
5769 [!PER_THREAD]: Remove code.
5770 (ptmalloc_unlock_all2): Likewise.
5771 (ptmalloc_init): Likewise.
5772 (_int_new_arena): Likewise.
5773 (arena_get2): Likewise.
5774 * malloc/hooks.c (__malloc_get_state): Likewise.
5775 (__malloc_set_state): Likewise.
5776 * malloc/malloc.c: Likewise.
5777 (struct malloc_state): Likewise.
5778 (struct malloc_par): Likewise.
5779 (__libc_realloc): Likewise.
5780 (__libc_mallopt): Likewise.
5781
aeb95445
AZ
57822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5783
5784 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5785
e8349efd
OB
57862013-12-09 Ondřej Bílka <neleai@seznam.cz>
5787
5788 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5789 macro to a function. Check for zero perturb_byte.
5790 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5791
f3eeb3fc
OB
57922013-12-09 Ondřej Bílka <neleai@seznam.cz>
5793
5794 * malloc/malloc.c: (force_reg): Remove.
5795 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5796 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5797 force_reg by atomic_forced_read.
5798 * malloc/arena.c (ptmalloc_init): Likewise.
5799 * malloc/hooks.c (top_check): Likewise.
5800
be2f9009
AZ
58012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802
5803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5804
e7b914bd
MT
58052013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5806
5807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5808
9f0be4f8
JM
58092013-12-08 Joseph Myers <joseph@codesourcery.com>
5810
5811 * math/auto-libm-test-in: Add tests of lgamma.
5812 * math/auto-libm-test-out: Regenerated.
5813 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5814 (M_LOG_2_SQRT_PIl): Likewise.
5815 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5816 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5817 mpfr_f_f1.
5818 (func_calc_desc): Add mpfr_f_f1 union field.
5819 (ARGS1): New macro.
5820 (ARGS2): Likewise.
5821 (ARGS3): Likewise.
5822 (ARGS4): Likewise.
5823 (RET1): Likewise.
5824 (RET2): Likewise.
5825 (CALC): Likewise.
5826 (FUNC): Likewise.
5827 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5828 (test_functions): Add lgamma.
5829 (calc_generic_results): Handle mpfr_f_f1.
5830 * sysdeps/i386/fpu/libm-test-ulps: Update.
5831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5832
24eeafdb
AZ
58332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5834
5835 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5836 __mpn_add_n for PowerPC64/POWER7.
5837 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5838 __mpn_sub_n for PowerPC64/POWER7.
5839
4a2c0fd4
AZ
58402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5841
5842 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5843 __mpn_addmul_1 for PowerPC64.
5844 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5845 __mpn_submul_1 for PowerPC64.
5846 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5847 for PowerPC64.
5848 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5849 for PowerPC64.
5850
4b5b548c
FS
58512013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5852
5853 [BZ #15089]
5854 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5855
0a3ac0aa
AZ
58562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5857
5858 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5859
ccdc8438
AZ
58602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861
5862 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5863 add multiarch folders.
5864 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5865 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5866 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5867 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5868 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5869 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5870 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5871 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5872 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5873 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5874 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5881
2e973d99
AZ
58822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883
5884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5885 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5887 New file.
5888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5889 New file.
5890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5891 multiarch __ieee754_hypot for PowerPC32.
5892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5893 New file.
5894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5895 New file.
5896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5897 multiarch __ieee754_hypotf for PowerPC32.
5898
2d9470b2
AZ
58992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900
5901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5902 long_double_symbol only if __logbl is defined.
5903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5904 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5906 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5908 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5909 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5910 path for implementation.
5911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5912 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5914 logb, and logbl multiarch implementations for PowerPC32.
5915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5916 file.
5917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5918 file.
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5920 multiarch logb for PowerPC32.
5921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5922 file.
5923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5924 file.
5925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5926 multiarch logbf for PowerPC32.
5927 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5929 file.
5930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5931 multiarch logbl implementation for PowerPC32.
5932
5212ffce
AZ
59332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934
5935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5936 and modff multiarch implementations.
5937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5938 New file.
5939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5940 New file.
5941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5942 multiarch modf for PowerPC32.
5943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5944 New file.
5945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5946 New file.
5947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5948 multiarch modff for PowerPC32.
5949
79dccf31
AZ
59502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951
5952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5953 and lrintf multiarch implementations.
5954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5955 New file.
5956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5957 New file.
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5959 multiarch lrint for PowerPC32.
5960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5961 file: multiarch lrintf for PowerPC32.
5962
deb66480
AZ
59632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5964
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5966 and lroundf multiarch implementations.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5968 New file.
5969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5970 New file.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5972 New file.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5974 multiarch lround for PowerPC32.
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5976 file: multiarch lroundf for PowerPC32.
5977
264b036b
AZ
59782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5979
5980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5981 copysign and copysignf multiarch implementations.
5982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5983 New file.
5984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5985 New file.
5986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5987 file: multiarch copysign for PowerPC32.
5988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5989 file: multiarch copysignf for PowerPC32.
5990
d47db6c9
AZ
59912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5994 and truncf multiarch implementations.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5996 New file.
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5998 file.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6000 multiarch trunc for PowerPC32.
6001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6002 New file.
6003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6004 New file.
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6006 multiarch truncf for PowerPC32.
6007
ddb60b5a
AZ
60082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6011 and roundf multiarch implementations.
6012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6013 New file.
6014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6015 file.
6016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6017 multiarch round for PowerPC32.
6018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6019 New file.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6021 New file.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6023 multiarch roundf for PowerPC32.
6024
bedcf49b
AZ
60252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6028 and floorf multiarch implementations.
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6030 New file.
6031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6032 file.
6033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6034 multiarch floor for PowerPC32.
6035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6036 New file.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6038 New file.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6040 multiarch floorf for PowerPC32.
6041
35ae5b40
AZ
60422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6045 and ceilf multiarch implementations.
6046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6047 New file.
6048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6049 file.
6050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6051 multiarch ceil for PowerPC32.
6052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6053 New file.
6054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6055 file.
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6057 multiarch ceilf for PowerPC32.
6058
ae1a4cd9
AZ
60592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6060
6061 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6062 is defined.
6063 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6064 FINITEF is defined.
6065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6066 and finitef multiarch implementations.
6067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6068 New file.
6069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6070 file.
6071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6072 multiarch finite for PowerPC32.
6073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6074 New file.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6076 file: multiarch finitef for PowerPC32.
6077
64fffd65
AZ
60782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079
6080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6081 and isinff multiarch implementations.
6082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6083 file.
6084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6085 file.
6086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6087 multiarch isinf for PowerPC32.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6089 New file.
6090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6091 multiarch isinff for PowerPC32.
6092
8e4e7ba2
AZ
60932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094
6095 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6096 alias when __isnan is defined.
6097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6098 and isnanf multiarch implementations.
6099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6100 file.
6101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6102 file.
6103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6104 file.
6105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6106 file.
6107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6108 multiarch isnan for PowerPC32.
6109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6110 New file.
6111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6112 New file.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6114 multiarch isnanf for PowerPC32.
6115
ddba588e
AZ
61162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6119 and sqrtf multiarch implementations.
6120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6121 file.
6122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6123 file.
6124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6125 multiarch sqrt for PowerPC32.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6127 file.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6129 file.
6130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6131 multiarch sqrtf for PowerPC32.
6132
0f96a2f0
AZ
61332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6134
6135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6136 and llroundf multiarch implementations.
6137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6138 New file.
6139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6140 New file.
6141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6142 New file.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6144 file: multiarch llround for PowerPC32.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6146 file: multiarch llroundf for PowerPC32.
6147
c9b5d79e
AZ
61482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149
6150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6151 multiarch PowerPC32 fpu implementations.
6152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6153 New file.
6154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6155 New file.
6156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6157 multiarch llrint for PowerPC32.
6158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6159 New file.
6160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6161 New file.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6163 file.
6164
9cbb3aab
AZ
61652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6168
ea5a72f8
AZ
61692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170
6171 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6172 file.
6173 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6174 file.
6175 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6176 file.
6177 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6178 multiarch wordcopy for PPC32.
6179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6180 wordcopy objects.
6181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6182 (__libc_ifunc_impl_list): Likewise.
6183 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6184 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6185 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6186 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6187 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6188 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6189
93be09e7
AZ
61902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191
6192 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6194 file.
6195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6196 file.
6197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6198 file.
6199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6200 multiarch wcscpy for PPC32.
6201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6202 multiarch objects.
6203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6204 (__libc_ifunc_impl_list): Likewise.
6205 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6206 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6207 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6208 sysdeps/powerpc/power6/wcscpy.c.
6209
bb04e529
AZ
62102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211
6212 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6214 file.
6215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6216 file.
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6218 file.
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6220 multiarch wcsrchr for PPC32.
6221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6222 multiarch objects.
6223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6224 (__libc_ifunc_impl_list): Likewise.
6225 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6226 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6227 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6228 sysdeps/powerpc/power6/wcsrchr.c.
6229
05b5cd1c
AZ
62302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6233 file.
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6235 file.
6236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6238 multiarch wcschr for PPc32.
6239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6240 multiarch objects.
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6242 (__libc_ifunc_impl_list): Likewise.
6243 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6244 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6245 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6246 sysdeps/powerpc/power6/wcschr.c.
6247
ba964147
AZ
62482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6249
6250 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6251 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6252 file.
6253 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6254 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6255 file: multiarch strchr for PPC32.
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6257 multiarch objects.
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6259 (__libc_ifunc_impl_list): Likewise.
6260
31c81aaa
AZ
62612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6264 name.
6265 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6266 file.
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6268 file.
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6270 multiarch strchrnul for PPC32.
6271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6272 multiarch objects.
6273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6274 (__libc_ifunc_impl_list): Likewise.
6275
0d0607d9
AZ
62762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277
6278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6279 file.
6280 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6281 multiarch strncasecmp for PPC32.
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6283 file.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6285 multiarch strncasecmp_l for PPC32.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6287 strncasecmp multiarch objects.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6289 (__libc_ifunc_impl_list): Likewise.
6290
4dfd5c86
AZ
62912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6294 file.
6295 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6296 multiarch strncasecmp for PPC32.
6297 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6298 New file.
6299 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6300 multiarch strcasecmp_l for PPC32.
6301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6302 multiarch objects.
6303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6304 (__libc_ifunc_impl_list): Likewise.
6305
a19e01a3
AZ
63062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6307
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6309 file.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6311 file.
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6313 multiarch strncmp for PPC32.
6314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6315 multiarch objects.
6316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6317 (__libc_ifunc_impl_list): Likewise.
6318
ae9cf7a2
AZ
63192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6322 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6323 file.
6324 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6327 multiarch objects.
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6329 (__libc_ifunc_impl_list): Likewise.
6330
3148bb7d
AZ
63312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332
6333 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6334 file.
6335 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6336 file.
6337 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6339 multiarch objects.
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6341 (__libc_ifunc_impl_list): Likewise.
6342
7af8b946
AZ
63432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6346 file.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6348 file.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6350 multiarch rawmemchr for PPC32.
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6352 multiarch objects.
6353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6354 (__libc_ifunc_impl_list): Likewise.
6355
03a6aa6a
AZ
63562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6359 file.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6361 file.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6363 file: memrchr multiarch for PPC32.
6364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6365 multiarch objects.
6366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6367 (__libc_ifunc_impl_list): Likewise.
6368
1c62e6d9
AZ
63692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370
6371 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6372 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6373 file.
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6375 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6376 multiarch memchr for PPC32.
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6378 multiarch objects.
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6380 (__libc_ifunc_impl_list): Likewise.
6381
87da8bdb
AZ
63822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6383
6384 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6385 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6386 file.
6387 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6388 file.
6389 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6390 file: multiarch mempcpy for PPC32.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6392 multiarch objects.
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6394 (__libc_ifunc_impl_list): Likewise.
6395
20ed4714
AZ
63962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6400 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6402 multiarch bzero for PPC32.
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6404 file.
6405 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6406 file.
6407 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6408 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6409 file: multiarch memset for PPC32.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6412 memset multiarch objects.
6413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6414 (__libc_ifunc_impl_list): Likewise.
6415
ab3e3a46
AZ
64162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417
6418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6419 file.
6420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6422 memcmp for PPC32.
6423 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6425 multiarch objects.
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6427 (__libc_ifunc_impl_list): Likewise.
6428
930de6f0
AZ
64292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6434 file.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6436 file.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6438 file.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6440 multiarch memcpy for PPC32.
6441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6442 multiarch objects.
6443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6444 (__libc_ifunc_impl_list): Likewise.
6445
4c628e00
AZ
64462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6447
6448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6449 support multiarch for POWER/PPC32.
6450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6451 Likewise.
6452 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6454 Implies file to make multiarch folder appers before the fpu and
6455 default folder for power4 configuration.
6456
f4479220
SP
64572013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6458
6459 * scripts/bench.pl: Append volatile keyword to type.
6460
8517800f
KK
64612013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6462
6463 * sysdeps/sh/sotruss-lib.c: New file.
6464 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6465
180138f1
AZ
64662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6469
bbf37bdc
JM
64702013-12-05 Joseph Myers <joseph@codesourcery.com>
6471
e47cc4e0
JM
6472 [BZ #6810]
6473 * math/w_tgamma.c: Include <errno.h>.
6474 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6475 * math/w_tgammaf.c: Include <errno.h>.
6476 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6477 * math/w_tgammal.c: Include <errno.h>.
6478 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6479 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6480 underflow. Add more tgamma tests.
6481 * math/auto-libm-test-out: Regenerated.
6482 * sysdeps/i386/fpu/libm-test-ulps: Update.
6483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6484
bbf37bdc
JM
6485 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6486 sin, sinh, tan, tanh, tgamma, y0 and y1.
6487 * math/auto-libm-test-out: Regenerated.
6488 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6489 (TEST_COND_x86): Likewise.
6490 (M_E2l): Remove macro.
6491 (M_E3l): Likewise.
6492 (M_2_SQRT_PIl): Likewise.
6493 (M_SQRT_PIl): Likewise.
6494 (M_1_DIV_El): Likewise.
6495 (log_test_data): Use AUTO_TESTS_f_f.
6496 (log10_test_data): Likewise.
6497 (log1p_test_data): Likewise.
6498 (log2_test_data): Likewise.
6499 (sin_test_data): Likewise.
6500 (sin_tonearest_test_data): Likewise.
6501 (sin_towardzero_test_data): Likewise.
6502 (sin_downward_test_data): Likewise.
6503 (sin_upward_test_data): Likewise.
6504 (sinh_test_data): Likewise.
6505 (sinh_tonearest_test_data): Likewise.
6506 (sinh_towardzero_test_data): Likewise.
6507 (sinh_downward_test_data): Likewise.
6508 (sinh_upward_test_data): Likewise.
6509 (tan_test_data): Likewise.
6510 (tan_tonearest_test_data): Likewise.
6511 (tan_towardzero_test_data): Likewise.
6512 (tan_downward_test_data): Likewise.
6513 (tan_upward_test_data): Likewise.
6514 (tanh_test_data): Likewise.
6515 (tgamma_test_data): Likewise.
6516 (y0_test_data): Likewise.
6517 (y1_test_data): Likewise.
6518 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6519 (special_real_inputs): Add pi/4.
6520 * sysdeps/i386/fpu/libm-test-ulps: Update.
6521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6522
eb5ad6b9
AZ
65232013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6524
6525 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6526 "longjmp_target" static probes.
6527 (__longjmp): Rename to __longjmp_symbol.
6528 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6529 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6530 on which longjmp to generate.
6531 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6532 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6533 probe.
6534 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6535 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6536 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6537 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6538 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6539 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6541 __longjmp_symbol based on which __longjmp to generate.
6542 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6543 probe.
6544 (setjmp): Rename to setjmp_symbol.
6545 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6546 (_setjmp): Rename to _setjmp_symbol.
6547 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6548 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6549 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6550 which setjmp to generate.
6551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6552 "longjmp_target" static probes.
6553
d136c6dc
SP
65542013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
9298ecba
SP
6556 * benchtests/README: Add note about output arguments.
6557 * benchtests/bench-sincos.c: Remove file.
6558 * benchtests/sincos-inputs: New file.
6559 * scripts/bench.pl: Identify output arguments and define
6560 static variables for them.
6561
232983e9
SP
6562 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6563
d136c6dc
SP
6564 [BZ #15941]
6565 * Makefile (INSTALL): Add install-plain.texi as the primary
6566 dependency.
6567 * manual/install-plain.texi: New file.
6568 * manual/install.texi: Include node directive only for
6569 non-plaintext output.
6570
699ff837
JM
65712013-12-04 Joseph Myers <joseph@codesourcery.com>
6572
ab07cea8
JM
6573 * stdlib/longlong.h: Update from GCC.
6574
699ff837
JM
6575 [BZ #6807]
6576 [BZ #15901]
6577 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6578 * math/w_j0f.c (y0f): Likewise.
6579 * math/w_j0l.c (__y0l): Likewise.
6580 * math/w_j1.c (y1): Likewise.
6581 * math/w_j1f.c (y1f): Likewise.
6582 * math/w_j1l.c (__y1l): Likewise
6583 * math/w_jn.c (yn): Likewise.
6584 * math/w_jnf.c (ynf): Likewise.
6585 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6586 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6587 value for Bessel function domain errors outside _SVID_ mode.
6588 Adjust sign of return value for yn (negative integer, 0).
6589 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6590 by zero in return for negative x and set sign appropriately for
6591 negative n.
6592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6593 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6594 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6595 expectations in error cases.
6596 (y1_test_data): Likewise.
6597 (yn_test_data): Likewise.
6598 * sysdeps/i386/fpu/libm-test-ulps: Update.
6599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6600
5b118558
UW
66012013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6602
6603 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6604 "64" to "64-v1". Add "64-v2".
6605 (abi-64-options): Rename to ...
6606 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6607 (abi-64-condition): Rename to ...
6608 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6609 (abi-64-ld-soname): Rename to ...
6610 (abi-64-v1-ld-soname): ... this.
6611 (abi-64-v2-options): Define.
6612 (abi-64-v2-condition): Likewise.
6613 (abi-64-v2-ld-soname): Likewise.
6614 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6615 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6619
61cd8fe4
UW
66202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6621 Alan Modra <amodra@gmail.com>
6622
6623 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6624 New versions for use with the ELFv2 ABI.
6625 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6626 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6627 declaration.
6628 (struct La_ppc64v2_retval): Likewise.
6629 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6630 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6631 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6632 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6633 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6634 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6635 Do not save or restore CR.
6636 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6637 (_dl_profile_resolve): Do no save or restore CR. Support extended
6638 return values for ELFv2 ABI. Fix location of FPR return registers.
6639 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6640 updated values for _CALL_ELF == 2.
6641 (La_regs, La_retval, int_retval): Likewise.
6642
8b8a692c
UW
66432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6644
6645 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6646 (FRAME_MIN_SIZE_PARM): Likewise.
6647 (FRAME_BACKCHAIN): Likewise.
6648 (FRAME_CR_SAVE): Likewise.
6649 (FRAME_LR_SAVE): Likewise.
6650 (FRAME_TOC_SAVE): Likewise.
6651 (FRAME_PARM_SAVE): Likewise.
6652 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6653 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6654 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6655 (call_mcount_parm_offset): New macro.
6656 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6657 (PROF): Use symbolic stack frame offsets.
6658 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6660 Redefine in terms of FRAME_MIN_SIZE.
6661 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6662 (_dl_profile_resolve): Likewise. Update comment.
6663 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6664 symbols stack frame offsets.
6665 (__sigsetjmp): Likewise.
6666 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6667 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6668 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6669 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6670
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6672 (FRAME_BACKCHAIN): Remove.
6673 (FRAME_CR_SAVE): Likewise.
6674 (FRAME_LR_SAVE): Likewise.
6675 (FRAME_COMPILER_DW): Likewise.
6676 (FRAME_LINKER_DW): Likewise.
6677 (FRAME_TOC_SAVE): Likewise.
6678 (FRAME_PARM_SAVE): Likewise.
6679 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6680 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6681 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6683 (CHECK_SP): Use symbolic stack frame offsets.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6685 zone" instead of caller's parameter save area for temp storage.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6687 Likewise. Also, use symbolic stack frame offsets.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6689 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6690 our own stack frame instead of the caller's.
6691 (__socket): Use symbolic stack frame offsets.
6692
122b66de
UW
66932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6694 Alan Modra <amodra@gmail.com>
6695
6696 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6697 Define.
6698 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6699 PPC64_LOCAL_ENTRY_OFFSET): Define.
6700 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6701 New function.
6702 (elf_machine_fixup_plt): Call it.
6703 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6704 reloc arguments.
6705 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6706 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6707 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6708 r2 before calling target.
6709
696caf1d
UW
67102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6711 Alan Modra <amodra@gmail.com>
6712
6713 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6714 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6715 versions of macros to support ELFv2 ABI.
6716 (LOCALENTRY): New macro.
6717 (ENTRY, EALIGN): Use it.
6718 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6719 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6720 fall through into ENTRY entry point.
6721 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6722 Only define if _CALL_ELF != 2.
6723
6724 (elf_machine_matches_host): Verify ABI version matches.
6725 (RTLD_START): Use LOCALENTRY.
6726 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6727 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6728 (PLT_ENTRY_WORDS): New macro.
6729 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6730 (elf_machine_runtime_setup): Support ELFv2 ABI.
6731 (elf_machine_fixup_plt): Likewise.
6732 (elf_machine_plt_conflict): Likewise.
6733 (resolve_ifunc): Likewise.
6734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6735 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6736 Likewise.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6738 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6740 (makecontext): Support ELFv2 ABI.
6741 * elf/elf.h (EF_PPC64_ABI): Define.
6742
d31beafa
UW
67432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6744
6745 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6746 New assembler macro.
6747 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6748 [ASSEMBLER] (ENTRY): ... but instead here ...
6749 [ASSEMBLER] (EALIGN): ... and here.
6750 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6751 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6752 [!ASSEMBLER] (ENTRY_2): Use it.
6753 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6754 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6755 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6756 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6757 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6759 Use PPC64_LOAD_FUNCPTR.
6760
b525166b
UW
67612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6762
6763 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6764
7ec07d9a
AM
67652013-12-04 Alan Modra <amodra@gmail.com>
6766
6767 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6768 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6769 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6770 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6771
6772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6773 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6774 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6775 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6776 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6777 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6778
5162e7dd
UW
67792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6780
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6782 (__makecontext): Fix incorrect CFI when backtracing out of
6783 context created via makecontext.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6785 (__setcontext): Fix incorrect CFI during switch to new context.
6786 (__novec_setcontext): Likewise.
6787
19e3372b
OB
67882013-12-04 Ondřej Bílka <neleai@seznam.cz>
6789
6790 [BZ #4772]
6791 * time/strptime_l.c (__strptime_internal): Allow modifiers
6792 in strptime.
6793 * time/tst-strptime.c (day_tests): Add testcase.
6794
6795
ecaf142d
SP
67962013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6797
6798 * scripts/bench.pl: Skip over blank lines.
6799
fbf964ae
PE
68002013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6801
6802 [BZ #926]
6803 * manual/time.texi (Calendar Time): Clarify what timezone functions
6804 use.
6805
fa60a674
AZ
68062013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807
6808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6809
d674f0ef
OB
68102013-12-04 Ondřej Bílka <neleai@seznam.cz>
6811
6812 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6813 implementation.
6814 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6815 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6816 * debug/memset_chk.c (__memset_chk): Likewise.
6817 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6818 * debug/strncpy_chk.c: Likewise.
6819
17dea188
JM
68202013-12-03 Joseph Myers <joseph@codesourcery.com>
6821
749008ff
JM
6822 [BZ #15268]
6823 [BZ #15425]
6824 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6825 (__ieee754_exp): For possibly underflowing results, check size of
6826 result and force underflow exception if required.
6827 * math/auto-libm-test-in: Add more tests of exp.
6828 * math/auto-libm-test-out: Regenerated.
6829 * sysdeps/i386/fpu/libm-test-ulps: Update.
6830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6831
17dea188
JM
6832 [BZ #16283]
6833 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6834 * math/w_exp2f.c (__exp2f): Likewise.
6835 * math/w_exp2l.c (__exp2l): Likewise.
6836 * math/auto-libm-test-in: Do not allow missing errno on exp2
6837 underflow.
6838 * math/auto-libm-test-out: Regenerated.
6839
b20de2c3
OB
68402013-12-03 Ondřej Bílka <neleai@seznam.cz>
6841
6842 [BZ #16274]
6843 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6844 handle filename validation.
6845 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6846 (do_open): Delete.
6847
d8e2dbe3
JM
68482013-12-03 Joseph Myers <joseph@codesourcery.com>
6849
34e16df5
JM
6850 [BZ #6786]
6851 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6852 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6853 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6854 <float.h>.
6855 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6856 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6857 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6859 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6860 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6861 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6862 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6863 Add more erfc tests.
6864 * math/auto-libm-test-out: Regenerated.
6865 * sysdeps/i386/fpu/libm-test-ulps: Update.
6866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6867
d8e2dbe3
JM
6868 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6869 exp2, expm1, j0 and j1.
6870 * math/auto-libm-test-out: Regenerated.
6871 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6872 (erfc_test_data): Likewise.
6873 (exp_test_data): Likewise.
6874 (exp_tonearest_test_data): Likewise.
6875 (exp_towardzero_test_data): Likewise.
6876 (exp_downward_test_data): Likewise.
6877 (exp_upward_test_data): Likewise.
6878 (exp10_test_data): Likewise.
6879 (exp2_test_data): Likewise.
6880 (expm1_test_data): Likewise.
6881 (j0_test_data): Likewise.
6882 (j1_test_data): Likewise.
6883 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6884 (input_flag_type): Add flag_xfail_rounding.
6885 (input_flags): Add xfail-rounding.
6886 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6887 (output_for_one_input_case): Handle flag_xfail_rounding.
6888 * sysdeps/i386/fpu/libm-test-ulps: Update.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6890
18d14251
AJ
68912013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6892
3d2e6075 6893 [BZ #16289]
18d14251
AJ
6894 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6895 division by 0.
6896
520d437b
SP
68972013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6898
6899 [BZ #16195]
6900 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6901 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6902 (STAP_PROBE0): New macro.
6903 (STAP_PROBE1): Likewise.
6904 (STAP_PROBE2): Likewise.
6905 (STAP_PROBE3): Likewise.
6906 (STAP_PROBE4): Likewise.
6907
416e0145
OB
69082013-12-02 Ondřej Bílka <neleai@seznam.cz>
6909
6910 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6911
9d17796a
SE
69122013-12-02 Steve Ellcey <sellcey@mips.com>
6913
6914 * benchtests/Makefile (bench): Add sqrt.
6915 (LDLIBS-bench-sqrt): New.
6916 * benchtests/sqrt-input: New.
6917
f524d6a8
PS
69182013-12-02 Pavel Simerda <psimerda@redhat.com>
6919
639a0ef8
PS
6920 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6921 (GAIH_EAI): Likewise.
6922 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6923 (gaih_inet): Likewise.
6924 (getaddrinfo): Don't use GAIH_EAI.
6925
f524d6a8
PS
6926 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6927 (struct gaih): Remove definition.
6928
df3aedaf
SP
69292013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6930
6931 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6932 Use HERRNOP directly.
6933
1ab19dec
AZ
69342013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935
b42ad38d 6936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6937
176b0c79
JM
69382013-11-30 Joseph Myers <joseph@codesourcery.com>
6939
6940 * math/gen-auto-libm-tests.c (test_functions): Add more
6941 single-argument functions.
6942 (special_fill_pi_2): New function.
6943 (special_fill_minus_pi_2): Likewise.
6944 (special_fill_pi_6): Likewise.
6945 (special_fill_minus_pi_6): Likewise.
6946 (special_fill_pi_3): Likewise.
6947 (special_fill_2pi_3): Likewise.
6948 (special_fill_e): Likewise.
6949 (special_fill_1_e): Likewise.
6950 (special_fill_e_minus_1): Likewise.
6951 (special_real_inputs): Add more special inputs.
6952 (output_for_one_input_case): Do not require ERANGE on underflow to
6953 zero if round-to-nearest result does not underflow to zero, unless
6954 exact results required.
6955 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6956 atan, atanh, cbrt, cos and cosh.
6957 * math/auto-libm-test-out: Regenerated.
6958 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6959 (acos_tonearest_test_data): Likewise.
6960 (acos_towardzero_test_data): Likewise.
6961 (acos_downward_test_data): Likewise.
6962 (acos_upward_test_data): Likewise.
6963 (acosh_test_data): Likewise.
6964 (asin_test_data): Likewise.
6965 (asin_tonearest_test_data): Likewise.
6966 (asin_towardzero_test_data): Likewise.
6967 (asin_upward_test_data): Likewise.
6968 (asinh_test_data): Likewise.
6969 (atan_test_data): Likewise.
6970 (atanh_test_data): Likewise.
6971 (cbrt_test_data): Likewise.
6972 (cos_test_data): Likewise.
6973 (cos_tonearest_test_data): Likewise.
6974 (cos_towardzero_test_data): Likewise.
6975 (cos_downward_test_data): Likewise.
6976 (cos_upward_test_data): Likewise.
6977 (cosh_test_data): Likewise.
6978 (cosh_tonearest_test_data): Likewise.
6979 (cosh_towardzero_test_data): Likewise.
6980 (cosh_downward_test_data): Likewise.
6981 (cosh_upward_test_data): Likewise.
6982 * sysdeps/i386/fpu/libm-test-ulps: Update.
6983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6984
ffb536d0
JM
69852013-11-29 Joseph Myers <joseph@codesourcery.com>
6986
2a77a467
JM
6987 [BZ #6787]
6988 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6989 * math/w_exp10f.c (__exp10f): Likewise.
6990 * math/w_exp10l.c (__exp10l): Likewise.
6991 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6992 errno settings in existing tests.
6993
ea3bc4e8
JM
6994 [BZ #14032]
6995 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6996 precision control set to double precision.
6997 * sysdeps/i386/fpu/w_sqrt.c: New file.
6998 * math/auto-libm-test-in: Add more tests.
6999 * math/auto-libm-test-out: Update.
7000
0712c9d8
JM
7001 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7002 (sqrt_test_tonearest): New function.
7003 (sqrt_towardzero_test_data): New variable.
7004 (sqrt_test_towardzero): New function.
7005 (sqrt_downward_test_data): New variable.
7006 (sqrt_test_downward): New function.
7007 (sqrt_upward_test_data): New variable.
7008 (sqrt_test_upward): New function.
7009 (main): Call the new functions.
7010
ffb536d0
JM
7011 * math/gen-auto-libm-tests.c: New file.
7012 * math/auto-libm-test-in: Likewise.
7013 * math/auto-libm-test-out: New generated file.
7014 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7015 variables.
7016 (%beautify): Add generated representations of zero.
7017 (top level): Set $auto_input and call parse_auto_input.
7018 (beautify): Remove trailing "f" from hex float constants.
7019 (parse_args): Handle XFAIL_TEST.
7020 (convert_condition): New function.
7021 (or_value): Likewise.
7022 (or_cond_value): Likewise.
7023 (generate_testfile): Handle AUTO_TESTS_* lines.
7024 (parse_auto_input): New function.
7025 * math/libm-test.inc (XFAIL_TEST): New macro.
7026 (ERRNO_UNCHANGED): Update value.
7027 (ERRNO_EDOM): Likewise.
7028 (ERRNO_ERANGE): Likewise.
7029 (IGNORE_RESULT): Likewise.
7030 (TEST_COND_flt_32): New macro.
7031 (TEST_COND_dbl_64): Likewise.
7032 (TEST_COND_ldbl_96_intel): Likewise.
7033 (TEST_COND_ldbl_96_m68k): Likewise.
7034 (TEST_COND_ldbl_128): Likewise.
7035 (TEST_COND_ldbl_128ibm): Likewise.
7036 (TEST_COND_long32): Likewise.
7037 (TEST_COND_long64): Likewise.
7038 (TEST_COND_before_rounding): Likewise.
7039 (TEST_COND_after_rounding): Likewise.
7040 (enable_test): Handle XFAIL_TEST flag.
7041 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7042 with finite results.
7043 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7044 auto-libm-test-out.
7045
acd98a8e
AK
70462013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7047 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7048
7049 [BZ #16214]
7050 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7051 __tls_get_addr_internal instead of __tls_get_offset in order to
7052 avoid GOT pointer dependency. Make rtld export
7053 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7054 __tls_get_addr since we are a __tls_get_offset platform.
7055 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7056 GOT pointer being set up before.
7057 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7058
3c1c46a6
JM
70592013-11-28 Joseph Myers <joseph@codesourcery.com>
7060
7475aef5
JM
7061 * manual/math.texi (Errors in Math Functions): Document accuracy
7062 goals.
7063
8bca7cd8
JM
7064 [BZ #15004]
7065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7066 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7067 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7069 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7070 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7071 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7072 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7081
91a1f3fe
JM
7082 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7083 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7084 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7085 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7086 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7087 Likewise.
7088 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7089 Likewise.
7090 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7091 Likewise.
7092 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7093 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7094 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7095 atomic-feupdateenv and flt-rounds.
7096 * sysdeps/powerpc/nofpu/Versions (libc): Add
7097 __atomic_feholdexcept, __atomic_feclearexcept,
7098 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7099 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7100 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7101 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7102 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7103 here.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7105 Update.
7106
c5df7609
JM
7107 * manual/arith.texi (FP Exceptions): Document that exceptions may
7108 not be raised when matherr is used.
7109 (Math Error Reporting): Document overflow in directed rounding
7110 modes. Document that errno may not be set when finite values are
7111 returned on overflow. Document intent to set errno on underflow
7112 only for underflow to zero.
7113
3c1c46a6
JM
7114 [BZ #16271]
7115 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7116 round-to-nearest then adjust result for other rounding modes.
7117 * include/fenv.h (fegetround): Use libm_hidden_proto.
7118 * math/fegetround.c (fegetround): Use libm_hidden_def.
7119 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7120 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7121 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7122 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7123 Likewise.
7124 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7125 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7126 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7127 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7128
5a4c6d53
SP
71292013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7130
7131 [BZ #16077]
7132 * nss/Versions (libnss_files): Add
7133 _nss_files_gethostbyname3_r.
7134 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7135 New function.
7136 (HOST_DB_LOOKUP): Remove macro.
7137 (_nss_files_gethostbyname_r): Implement function without the
7138 HOST_DB_LOOKUP macro.
7139 (_nss_files_gethostbyname2_r): Likewise.
7140
897b98ba
OB
71412013-11-28 Ondřej Bílka <neleai@seznam.cz>
7142
7143 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7144
6f476861
UB
71452013-11-26 Uros Bizjak <ubizjak@gmail.com>
7146
7147 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7148 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7149 warning.
7150
bd12ab55
AZ
71512013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7152
7153 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7154 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7155 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7156 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7157 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7158 __fe_nomask_env_priv and attribute_hidden.
7159 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7160 (libc_feupdateenv_test_ppc): Likewise.
7161 (libc_feresetround_ppc): Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7163 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7164 compat_symbol macro.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7166 (__fe_nomask_env): Likewise.
7167 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7168
52bb6543
OB
71692013-11-26 Ondřej Bílka <neleai@seznam.cz>
7170
7171 * string/Makefile: Remove ifunc tests.
7172 * string/test-string.h: Define TEST_IFUNC.
7173 * string/test-bcopy-ifunc.c: Remove.
7174 * string/test-bzero-ifunc.c: Likewise.
7175 * string/test-memccpy-ifunc.c: Likewise.
7176 * string/test-memchr-ifunc.c: Likewise.
7177 * string/test-memcmp-ifunc.c: Likewise.
7178 * string/test-memcpy-ifunc.c: Likewise.
7179 * string/test-memmem-ifunc.c: Likewise.
7180 * string/test-memmove-ifunc.c: Likewise.
7181 * string/test-mempcpy-ifunc.c: Likewise.
7182 * string/test-memrchr-ifunc.c: Likewise.
7183 * string/test-memset-ifunc.c: Likewise.
7184 * string/test-rawmemchr-ifunc.c: Likewise.
7185 * string/test-stpcpy-ifunc.c: Likewise.
7186 * string/test-stpncpy-ifunc.c: Likewise.
7187 * string/test-strcasecmp-ifunc.c: Likewise.
7188 * string/test-strcasestr-ifunc.c: Likewise.
7189 * string/test-strcat-ifunc.c: Likewise.
7190 * string/test-strchr-ifunc.c: Likewise.
7191 * string/test-strchrnul-ifunc.c: Likewise.
7192 * string/test-strcmp-ifunc.c: Likewise.
7193 * string/test-strcpy-ifunc.c: Likewise.
7194 * string/test-strcspn-ifunc.c: Likewise.
7195 * string/test-strlen-ifunc.c: Likewise.
7196 * string/test-strncasecmp-ifunc.c: Likewise.
7197 * string/test-strncat-ifunc.c: Likewise.
7198 * string/test-strncmp-ifunc.c: Likewise.
7199 * string/test-strncpy-ifunc.c: Likewise.
7200 * string/test-strnlen-ifunc.c: Likewise.
7201 * string/test-strpbrk-ifunc.c: Likewise.
7202 * string/test-strrchr-ifunc.c: Likewise.
7203 * string/test-strspn-ifunc.c: Likewise.
7204 * string/test-strstr-ifunc.c: Likewise.
7205
ab260039 72062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7207
7208 * benchtests/Makefile: Remove ifunc tests.
7209 * benchtests/bench-string.h: Define TEST_IFUNC.
7210 * benchtests/bench-bcopy-ifunc.c: Remove.
7211 * benchtests/bench-bzero-ifunc.c: Likewise.
7212 * benchtests/bench-memccpy-ifunc.c: Likewise.
7213 * benchtests/bench-memchr-ifunc.c: Likewise.
7214 * benchtests/bench-memcmp-ifunc.c: Likewise.
7215 * benchtests/bench-memcpy-ifunc.c: Likewise.
7216 * benchtests/bench-memmem-ifunc.c: Likewise.
7217 * benchtests/bench-memmove-ifunc.c: Likewise.
7218 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7219 * benchtests/bench-memrchr-ifunc.c: Likewise.
7220 * benchtests/bench-memset-ifunc.c: Likewise.
7221 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7222 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7223 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7224 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7225 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7226 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7227 * benchtests/bench-strcat-ifunc.c: Likewise.
7228 * benchtests/bench-strchr-ifunc.c: Likewise.
7229 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7230 * benchtests/bench-strcmp-ifunc.c: Likewise.
7231 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7232 * benchtests/bench-strcpy-ifunc.c: Likewise.
7233 * benchtests/bench-strcspn-ifunc.c: Likewise.
7234 * benchtests/bench-strlen-ifunc.c: Likewise.
7235 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7236 * benchtests/bench-strncat-ifunc.c: Likewise.
7237 * benchtests/bench-strncmp-ifunc.c: Likewise.
7238 * benchtests/bench-strncpy-ifunc.c: Likewise.
7239 * benchtests/bench-strnlen-ifunc.c: Likewise.
7240 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7241 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7242 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7243 * benchtests/bench-strspn-ifunc.c: Likewise.
7244 * benchtests/bench-strstr-ifunc.c: Likewise.
7245
72462013-11-26 Ondřej Bílka <neleai@seznam.cz>
7247
ab260039
OB
7248 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7249
d1d9eaf4 72502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7251
d1d9eaf4
OB
7252 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7253 * rt/aio.h: Likewise.
7254 * sysdeps/gnu/bits/utmp.h: Likewise.
7255 * sysdeps/gnu/bits/utmpx.h: Likewise.
7256 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7257 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7258 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7259 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7260 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7261 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7262 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7263 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7264 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7265 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7266 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7267 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7268 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7271 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7272 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7273 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7274 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7275 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7276 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7277 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7278 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7279 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7285 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7286 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7288 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7289 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7292 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7293 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7294 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7295 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7296 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7297 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7298
a7624ed9
CD
72992013-11-25 Carlos O'Donell <carlos@redhat.com>
7300
7301 [BZ #16245]
7302 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7303 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7304
63cfe52b
JM
73052013-11-25 Joseph Myers <joseph@codesourcery.com>
7306
7307 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7308 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7309 Likewise.
7310
41e8926a
AZ
73112013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7312
7313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7314 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7315 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7316 (__fesetround): Remove define.
7317 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7318 rounding and exceptions handling.
7319 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7320 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7321 (__fe_nomask_env): Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7323 __fegetround instead of fegetround.
7324 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7326
6851bd4d
RM
73272013-11-21 Roland McGrath <roland@hack.frob.com>
7328
070906ff
RM
7329 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7330 it's there.
7331
6851bd4d
RM
7332 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7333
84ae135d
MI
73342013-11-21 Meador Inge <meadori@codesourcery.com>
7335
7336 [BZ #11157]
7337 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7338 (encrypt_r): Likewise.
7339 * malloc/obstack.h (obstack_free): Likewise.
7340 * posix/unistd.h (encrypt): Likewise.
7341
daf75146
GM
73422013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7343
7344 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7345 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7346 DL_CALL_DT_FINI() that call the functions directly.
7347 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7348 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7349 * elf/dl-fini.c: Likewise.
7350
10ad46bc
OB
73512013-11-20 Ondřej Bílka <neleai@seznam.cz>
7352
7353 * malloc/hooks.c (memalign_check): Add alignment rounding.
7354 * malloc/malloc.c (_mid_memalign): New function.
7355 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7356 Implement by calling _mid_memalign.
7357 * manual/probes.texi (Memory Allocation Probes): Remove
7358 memory_valloc_retry and memory_pvalloc_retry.
7359
f3fd2628
SP
73602013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7361
4712799f
SP
7362 * locale/programs/locarchive.c (open_archive): Add const
7363 qualifier to ARCHIVEFNAME and copy default fname to
7364 DEFAULT_FNAME.
7365
0417b20f
SP
7366 [BZ #15601]
7367 * libio/tst-widetext.input: Rename Oriya to Odia.
7368 * locale/iso-639.def: Likewise.
7369
f3fd2628
SP
7370 * manual/probes.texi (Mathematical Function Probes): Add
7371 documentation for sin, cos, asin and acos probes.
7372 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7373 (__sin32): Add slowasin probe.
7374 (__cos32): Add slowacos probe.
7375 (__mpsin): Add slowsin probe.
7376 (__mpcos): Add slowcos probe.
7377
73c1ce4f
JM
73782013-11-19 Joseph Myers <joseph@codesourcery.com>
7379
7380 [BZ #15483]
7381 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7382 thread-local __sim_exceptions_thread and global
7383 __sim_exceptions_global.
7384 (__sim_disabled_exceptions): Change to thread-local
7385 __sim_disabled_exceptions_thread and global
7386 __sim_disabled_exceptions_global.
7387 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7388 and global __sim_round_mode_global.
7389 (__simulate_exceptions): Use thread-local floating-point state and
7390 set global state from it as needed.
7391 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7392 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7393 __sim_round_mode_thread.
7394 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7395 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7396 and global __sim_exceptions_global.
7397 (__sim_disabled_exceptions): Change to thread-local
7398 __sim_disabled_exceptions_thread and global
7399 __sim_disabled_exceptions_global.
7400 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7401 and global __sim_round_mode_global.
7402 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7403 (SIM_SET_GLOBAL): Likewise.
7404 * sysdeps/powerpc/soft-fp/sfp-machine.h
7405 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7406 __sim_round_mode_thread.
7407 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7408 __sim_disabled_exceptions_thread.
7409 (__sim_exceptions): Change to __sim_exceptions_thread.
7410 (__sim_disabled_exceptions): Change to
7411 __sim_disabled_exceptions_thread.
7412 (__sim_round_mode): Change to __sim_round_mode_thread.
7413 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7414 thread-local floating-point state and set global state from it as
7415 needed.
7416 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7417 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7418 (__sim_disabled_exceptions): Remove extern declaration.
7419 (feenableexcept): Use thread-local floating-point state and set
7420 global state from it as needed.
7421 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7422 extern declaration.
7423 (__sim_disabled_exceptions): Likewise.
7424 (__sim_round_mode): Likewise.
7425 (__fegetenv): Use thread-local floating-point state.
7426 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7427 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7428 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7429 floating-point state and set global state from it as needed.
7430 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7431 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7432 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7433 Likewise.
7434 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7435 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7436 Likewise.
7437 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7438 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7439 Use __sim_round_mode_thread.
7440 * math/test-fenv-tls.c: New file.
7441 * math/Makefile (tests): Add test-fenv-tls.
7442 ($(objpfx)test-fenv-tls): Depend on
7443 $(common-objpfx)nptl/libpthread.so.
7444
b5449b12
AS
74452013-11-19 Andreas Schwab <schwab@suse.de>
7446
7447 * locale/programs/locale.c (show_info): Decode wordarray elements.
7448 * locale/categories.def (LC_MONETARY): Add element for
7449 _NL_MONETARY_CRNCYSTR.
7450 * locale/C-monetary.c (conversion_rate): New variable.
7451 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7452 element.
7453
e186536b
CM
74542013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7455
7456 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7457 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7458
5c349950
PP
74592013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7460
7461 * elf/Makefile (tst-auxv): New test.
7462 * elf/tst-auxv.c: New
7463 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7464
699df45b
JM
74652013-11-18 Joseph Myers <joseph@codesourcery.com>
7466
7467 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7468 (hidden_proto): Caller changed.
7469 (hidden_tls_proto): New macro.
7470 (libc_hidden_tls_proto): Likewise.
7471 (rtld_hidden_tls_proto): Likewise.
7472 (libm_hidden_tls_proto): Likewise.
7473 (libresolv_hidden_tls_proto): Likewise.
7474 (librt_hidden_tls_proto): Likewise.
7475 (libdl_hidden_tls_proto): Likewise.
7476 (libnss_files_hidden_tls_proto): Likewise.
7477 (libnsl_hidden_tls_proto): Likewise.
7478 (libnss_nisplus_hidden_tls_proto): Likewise.
7479 (libutil_hidden_tls_proto): Likewise.
7480
b7589107
OB
74812013-11-18 Ondřej Bílka <neleai@seznam.cz>
7482
7483 [BZ #10253]
7484 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7485 (decompose_rpath): Defer expansion to fillin_rpath.
7486 (_dl_init_paths): Pass linkmap to fillin_rpath.
7487
250c23bd
RS
74882013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7489
7490 * benchtests/Makefile: Add strsep.
7491 * benchtests/bench-strsep.c: New file: strsep benchtest.
7492 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7493
a7931fcf
AS
74942013-11-18 Andreas Schwab <schwab@suse.de>
7495
7496 * locale/programs/locale.c (show_info) [case byte]: Check for
7497 '\377' instead of '\177'.
7498 * locale/C-monetary.c (not_available): Always use "\377".
7499 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7500 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7501 detect unavailable sign_posn locale elements.
7502 * locale/localeconv.c (__localeconv): For grouping and
7503 mon_grouping handle "\177" and "\377" like no grouping.
7504 (INT_ELEM): New macro. Use it to set all numeric members.
7505 * locale/programs/ld-monetary.c (monetary_read)
7506 <tok_mon_grouping>: Normalize single -1 to the empty string.
7507 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7508 Likewise.
7509
728dab0e
OB
75102013-11-07 Ondřej Bílka <neleai@seznam.cz>
7511
7512 [BZ #16055]
7513 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7514 when we match (nil).
7515 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7516
66294491
JM
75172013-11-16 Joseph Myers <joseph@codesourcery.com>
7518
ce665817
JM
7519 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7520 (NO_TEST_INLINE): Update value.
7521 (ERRNO_UNCHANGED): Likewise.
7522 (ERRNO_EDOM): Likewise.
7523 (ERRNO_ERANGE): Likewise.
7524 (IGNORE_RESULT): Likewise.
7525 (check_float_internal): Check signs of NaN results if
7526 TEST_NAN_SIGN used.
7527 (check_complex): Pass TEST_NAN_SIGN flag through to second
7528 check_float_internal call.
7529 (copysign_test_data): Add tests with quiet NaNs as second
7530 argument. Use TEST_NAN_SIGN.
7531 (fabs_test_data): Add test of negative quiet NaN argument. Use
7532 TEST_NAN_SIGN.
7533 (signbit_test_data): Add tests of quiet NaN argument.
7534 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7535
ee1466a9
JM
7536 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7537 $ignore_result.
7538 (parse_args): Handle function results specified as IGNORE.
7539 * math/libm-test.inc (IGNORE_RESULT): New macro.
7540 (check_float_internal): Do not check numerical result if flag
7541 IGNORE_RESULT set.
7542 (check_complex): Pass through IGNORE_RESULT to second
7543 check_float_internal call.
7544 (check_int): Do not check numerical result if flag IGNORE_RESULT
7545 set.
7546 (check_long): Likewise.
7547 (check_bool): Likewise.
7548 (check_longlong): Likewise.
7549 (lrint_test_data): Add tests of infinite and NaN arguments.
7550 (lrint_tonearest_test_data): Likewise.
7551 (lrint_towardzero_test_data): Likewise.
7552 (lrint_downward_test_data): Likewise.
7553 (lrint_upward_test_data): Likewise.
7554 (llrint_test_data): Likewise.
7555 (llrint_tonearest_test_data): Likewise.
7556 (llrint_towardzero_test_data): Likewise.
7557 (llrint_downward_test_data): Likewise.
7558 (llrint_upward_test_data): Likewise.
7559 (lround_test_data): Likewise.
7560 (llround_test_data): Likewise.
7561
14407b7e
JM
7562 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7563 (ERRNO_UNCHANGED): Update value.
7564 (ERRNO_EDOM): Likewise.
7565 (ERRNO_ERANGE): Likewise.
7566 (NO_TEST_INLINE_FLOAT): New macro.
7567 (NO_TEST_INLINE_DOUBLE): Likewise.
7568 (enable_test): New function.
7569 (RUN_TEST_f_f): Check enable_test before running test.
7570 (RUN_TEST_2_f): Likewise.
7571 (RUN_TEST_fff_f): Likewise.
7572 (RUN_TEST_c_f): Likewise.
7573 (RUN_TEST_f_f1): Likewise.
7574 (RUN_TEST_fF_f1): Likewise.
7575 (RUN_TEST_fI_f1): Likewise.
7576 (RUN_TEST_ffI_f1): Likewise.
7577 (RUN_TEST_c_c): Likewise.
7578 (RUN_TEST_cc_c): Likewise.
7579 (RUN_TEST_f_i): Likewise.
7580 (RUN_TEST_f_i_tg): Likewise.
7581 (RUN_TEST_ff_i_tg): Likewise.
7582 (RUN_TEST_f_b): Likewise.
7583 (RUN_TEST_f_b_tg): Likewise.
7584 (RUN_TEST_f_l): Likewise.
7585 (RUN_TEST_f_L): Likewise.
7586 (RUN_TEST_fFF_11): Likewise.
7587 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7588 conditionals.
7589 (cosh_test_data): Likewise.
7590 (exp_test_data): Likewise.
7591 (expm1_test_data): Likewise.
7592 (hypot_test_data): Likewise.
7593 (pow_test_data): Likewise.
7594 (sinh_test_data): Likewise.
7595 (tanh_test_data): Likewise.
7596 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7597 flags argument.
7598
ca07f197
JM
7599 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7600 tests with quiet NaN input and output.
7601 (acosh_test_data): Likewise.
7602 (asin_test_data): Likewise.
7603 (asinh_test_data): Likewise.
7604 (atan_test_data): Likewise.
7605 (atanh_test_data): Likewise.
7606 (atan2_test_data): Likewise.
7607 (cbrt_test_data): Likewise.
7608 (cos_test_data): Likewise.
7609 (cosh_test_data): Likewise.
7610 (erf_test_data): Likewise.
7611 (erfc_test_data): Likewise.
7612 (exp_test_data): Likewise.
7613 (exp10_test_data): Likewise.
7614 (exp2_test_data): Likewise.
7615 (expm1_test_data): Likewise.
7616 (hypot_test_data): Likewise.
7617 (j0_test_data): Likewise.
7618 (j1_test_data): Likewise.
7619 (jn_test_data): Likewise.
7620 (lgamma_test_data): Likewise.
7621 (log_test_data): Likewise.
7622 (log10_test_data): Likewise.
7623 (log1p_test_data): Likewise.
7624 (log2_test_data): Likewise.
7625 (pow_test_data): Likewise.
7626 (scalb_test_data): Likewise.
7627 (sin_test_data): Likewise.
7628 (sincos_test_data): Likewise.
7629 (sinh_test_data): Likewise.
7630 (tan_test_data): Likewise.
7631 (tanh_test_data): Likewise.
7632 (tgamma_test_data): Likewise.
7633 (y0_test_data): Likewise.
7634 (y1_test_data): Likewise.
7635 (yn_test_data): Likewise.
7636
66294491
JM
7637 [BZ #16167]
7638 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7639 argument being NaN and avoid computations with second argument in
7640 that case.
7641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7642 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7643 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7644
1820b143
CL
76452013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7646
7647 * locale/iso-639.def: Add Chitwani Tharu (the).
7648
714bd261
AS
76492013-11-14 Andreas Schwab <schwab@suse.de>
7650
7651 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7652 word instead of empty string.
7653
7ab44563
AZ
76542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7655
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7657 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7659 (__fe_nomask_env): Likewise.
7660
e8470ea2
SE
76612013-11-13 Steve Ellcey <sellcey@mips.com>
7662
7663 * benchtests/bench-timing.h: Include time.h.
7664
17c1d9f0
L
76652013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7666
7667 [BZ #15997]
7668 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7669 to 3.4.0 for x32.
7670 * sysdeps/unix/sysv/linux/configure: Regenerated.
7671
9310c284
JM
76722013-11-13 Joseph Myers <joseph@codesourcery.com>
7673
7674 [BZ #16151]
7675 * stdlib/strtod_l.c (round_and_return): Do not consider
7676 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7677 exponent one less than half the least subnormal exponent.
7678 * stdlib/test-strtod-round-data: Add more tests.
7679 * stdlib/tst-strtod-round.c (tests): Regenerated.
7680
7a2ad8cf
AZ
76812013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682
7683 [BZ #14143]
7684 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7685 (__fe_mask_env): Likewise.
7686 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7687 libm_hidden_proto and add function prototype.
7688 (__fe_mask_env): Add function prototype.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7690 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7692 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7694 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7695
50727aa7
MS
76962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7697
b2f386c1 7698 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7699 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7700
a615be46
MS
77012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7702
7703 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7704 of htab_find_slot().
7705
7ddace62
DM
77062013-11-11 David S. Miller <davem@davemloft.net>
7707
7708 [BZ #16150]
7709 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7710 symbol in the non-vis3 case in static builds.
7711 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7712 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7713 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7714 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7715
9182aa67
JK
77162013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7717
7718 [BZ #387]
7719 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7720 it is empty.
7721
450a2e2d
AZ
77222013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7723
b2f386c1
SP
7724 * benchtests/Makefile: Add bench-strtod.
7725 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7726
8ec3f656
AS
77272013-11-11 Andreas Schwab <schwab@suse.de>
7728
7729 [BZ #16153]
7730 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7731 terminating NUL in key length.
7732
76a9b998
AZ
77332013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734
7735 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7736 Add artificial ODP entry for vDSO symbol for PPC64.
7737 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7738 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7739
e4368156
OB
77402013-11-07 Ondřej Bílka <neleai@seznam.cz>
7741
7742 [BZ #15374]
7743 * nss/getent.c (services_keys): Recognize services starting with digit.
7744
8d6bb57c
DM
77452013-11-06 David S. Miller <davem@davemloft.net>
7746
7747 [BZ #15985]
7748 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7749 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7750
e256c421
WN
77512013-11-06 Will Newton <will.newton@linaro.org>
7752
7753 * manual/memory.texi (Malloc Examples): Remove register
7754 keyword from examples.
7755
f6e12daa 77562013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7757
f6e12daa 7758 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7759
9d880655
AS
77602013-11-04 Joseph Myers <joseph@codesourcery.com>
7761
fd2f9486 7762 [BZ #6981]
9d880655
AS
7763 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7764 depending on [__GCC_IEC_559 > 0].
7765 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7766 depending on [__GCC_IEC_559_COMPLEX > 0].
7767
ae129d3c
CL
77682013-11-03 Chris Leonard <cjl@sugarlabs.org>
7769
7770 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7771 to iso-639.def.
7772
4a15c2a4 77732013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7774
7775 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7776
8b35e35d
OB
77772013-11-01 Ondřej Bílka <neleai@seznam.cz>
7778
7779 [BZ #16112]
7780 * malloc/malloc (malloc_info): Do not handle first bin as
7781 special case.
7782
1d70fd6c
CL
77832013-11-01 Chris Leonard <cjl@sugarlabs.org>
7784
7785 * locale/iso-639.def: Add Central Nahuatl (nhn).
7786
8c5c2600
BH
77872013-11-01 Bruno Haible <bruno@clisp.org>
7788
7789 [BZ #7003]
7790 * manual/math.texi (BSD Random): Specify range upper bound as
7791 in POSIX.
7792
da5579c2
CL
77932013-10-31 Chris Leonard <cjl@sugarlabs.org>
7794
7795 * locale/iso-639.def: Add Meadow Mari (mhr).
7796
5d30d853
OB
77972013-10-31 Ondřej Bílka <neleai@seznam.cz>
7798
7799 [BZ #14752], [BZ #15763]
7800 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7801 Validate name.
7802 * rt/tst_shm.c: Add test for escaping directory.
7803
a4966c61
AS
78042013-10-31 Andreas Schwab <schwab@suse.de>
7805
8a43e768 7806 [BZ #15917]
a4966c61
AS
7807 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7808 followed by 'x' as part of digit sequence.
7809 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7810
28d708c4
MAP
78112013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7812
7813 [BZ #16037]
7814 * configure.ac: allow GNU Make 4.0 and greater.
7815 * configure: Regenerated.
7816
a56ee40b
WN
78172013-10-30 Will Newton <will.newton@linaro.org>
7818
7819 [BZ #16038]
7820 * malloc/hooks.c (memalign_check): Limit alignment to the
7821 maximum representable power of two.
7822 * malloc/malloc.c (__libc_memalign): Likewise.
7823 * malloc/tst-memalign.c (do_test): Add test for very
7824 large alignment values.
7825 * malloc/tst-posix_memalign.c (do_test): Likewise.
7826
c6e4925d
OB
78272013-10-30 Ondřej Bílka <neleai@seznam.cz>
7828
7829 [BZ #11087]
7830 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7831 (munmap_chunk): Likewise.
7832 (mremap_chunk): Likewise.
7833
78342013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7835
8a43e768 7836 [BZ #15799]
bbea82f7
OB
7837 * stdlib/div.c (div): Remove obsolete code.
7838 * stdlib/ldiv.c (ldiv): Likewise.
7839 * stdlib/lldiv.c (lldiv): Likewise.
7840
977f4b31
SP
78412013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7842
7843 [BZ #16071]
7844 * nss/nss_files/files-XXX.c (get_contents_ret): New
7845 enumerator.
7846 (get_contents): New function.
7847 (internal_getent): Use it. Expand size of LINEBUFLEN.
7848
cb8a6dbd
MF
78492013-10-30 Mike Frysinger <vapier@gentoo.org>
7850
7851 * configure.in: Moved to ...
7852 * configure.ac: ... here. Change reference to configure.in
7853 to configure.ac.
7854 * sysdeps/arm/preconfigure.ac: ... here.
7855 configure.in to configure.ac.
7856 * sysdeps/gnu/configure.in: Moved to ...
7857 * sysdeps/gnu/configure.ac: ... here.
7858 * sysdeps/i386/configure.in: Moved to ...
7859 * sysdeps/i386/configure.ac: ... here.
7860 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7861 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7862 * sysdeps/mach/configure.in: Moved to ...
7863 * sysdeps/mach/configure.ac: ... here.
7864 * sysdeps/mach/hurd/configure.in: Moved to ...
7865 * sysdeps/mach/hurd/configure.ac: ... here.
7866 * sysdeps/powerpc/configure.in: Moved to ...
7867 * sysdeps/powerpc/configure.ac: ... here.
7868 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7869 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7870 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7871 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7872 * sysdeps/s390/s390-32/configure.in: Moved to ...
7873 * sysdeps/s390/s390-32/configure.ac: ... here.
7874 * sysdeps/s390/s390-64/configure.in: Moved to ...
7875 * sysdeps/s390/s390-64/configure.ac: ... here.
7876 * sysdeps/sh/configure.in: Moved to ...
7877 * sysdeps/sh/configure.ac: ... here.
7878 * sysdeps/sparc/configure.in: Moved to ...
7879 * sysdeps/sparc/configure.ac: ... here.
7880 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7881 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7882 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7883 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7884 * sysdeps/x86_64/configure.in: Moved to ...
7885 * sysdeps/x86_64/configure.ac: ... here.
7886 * sysdeps/x86_64/preconfigure.in: Moved to ...
7887 * sysdeps/x86_64/preconfigure.ac: ... here.
7888 * aclocal.m4: Change reference to configure.in to configure.ac.
7889 * config.h.in: Likewise.
7890 * manual/install.texi: Likewise.
7891 * manual/maint.texi: Likewise.
7892 * Makefile: Likewise.
7893 * malloc/Makefile: Likewise.
7894 * nscd/Makefile: Likewise.
7895 * Makeconfig: Change reference to configure.in and
7896 preconfigure.in to configure.ac and preconfigure.ac
7897 respectively.
7898 * INSTALL: Regenerated.
7899 * configure: Likewise.
7900 * sysdeps/gnu/configure: Likewise.
7901 * sysdeps/i386/configure: Likewise.
7902 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7903 * sysdeps/mach/configure: Likewise.
7904 * sysdeps/mach/hurd/configure: Likewise.
7905 * sysdeps/powerpc/configure: Likewise.
7906 * sysdeps/powerpc/powerpc32/configure: Likewise.
7907 * sysdeps/powerpc/powerpc64/configure: Likewise.
7908 * sysdeps/s390/s390-32/configure: Likewise.
7909 * sysdeps/s390/s390-64/configure: Likewise.
7910 * sysdeps/sh/configure: Likewise.
7911 * sysdeps/sparc/configure: Likewise.
7912 * sysdeps/unix/sysv/linux/configure: Likewise.
7913 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7914 * sysdeps/x86_64/configure: Likewise.
7915 * sysdeps/x86_64/preconfigure: Likewise.
7916
36a4953a
AS
79172013-10-29 Andreas Schwab <schwab@suse.de>
7918
7919 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7920
c79a1204
SP
79212013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7922
dfa1b402
SP
7923 * benchtests/pow-inputs: Add new inputs.
7924
54f73d9c
SP
7925 * benchtests/exp-inputs: Add new inputs.
7926
c79a1204
SP
7927 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7928 conditional check for return value.
7929 (__cos32): Likewise.
7930
67beb545 79312013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7932
7933 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7934 to provide a boost for large inputs with word alignment.
7935 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7936 implementation based on optimized PPC64 strcpy.
7937 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7938 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7939 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7940 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7941
151659f6
OB
79422013-10-25 Ondřej Bílka <neleai@seznam.cz>
7943
482a077e 7944 [BZ #2801]
151659f6
OB
7945 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7946
10b0f26b
OB
79472013-10-25 Ondřej Bílka <neleai@seznam.cz>
7948
7949 [BZ #14876]
7950 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7951 * time/tst-strptime.c (day_tests): Add testcase.
7952
ca42d35e
OB
79532013-10-25 Ondřej Bílka <neleai@seznam.cz>
7954
482a077e 7955 [BZ #14029]
ca42d35e
OB
7956 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7957
52e6d801
FB
79582013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7959
7960 [BZ #16074]
7961 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7962 MAP_FAILED on error.
7963
7cbcdb36
SP
79642013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
7966 [BZ #16072]
7967 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7968 heap for large requests.
7969
894f3f10
AM
79702013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7971
7972 [BZ #9954]
7973 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7974 result if the result has no associated interface.
7975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7976 interface for all 127.X.Y.Z addresses.
7977
b85545a6
CL
79782013-10-24 Chris Leonard <cjl@sugarlabs.org>
7979
7980 * locale/iso-639.def: Add Ligurian (lij)
7981
d1f23d46
OB
79822013-10-21 Ondřej Bílka <neleai@seznam.cz>
7983
7984 [BZ #15825]
7985 * sunrpc/rpc_main.c: Document rpcgen -5.
7986
4db5b08f
MS
79872013-10-19 Michael Stahl <mstahl@redhat.com>
7988
7989 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7990
a471e96a
OB
79912013-10-19 Ondřej Bílka <neleai@seznam.cz>
7992
d1f23d46 7993 [BZ #10278]
a471e96a
OB
7994 * posix/glob.c: Match only directories when trailing slash is present.
7995 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7996 (main): Add testcase.
7997
45c30c61
OB
79982013-10-19 Ondřej Bílka <neleai@seznam.cz>
7999
8000 [BZ #15670]
8001 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8002
484c12fb
CD
80032013-10-18 Carlos O'Donell <carlos@redhat.com>
8004
3d7dc513
CD
8005 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8006 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8007 AUTH_DES and cindex for FIPS 140-2.
8008 (DES Encryption): Add cindex FIPS 46-3.
8009
484c12fb
CD
8010 * locale/locarchive.h (struct locarhandle): Add fname.
8011 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8012 if an optional argument was specified to --list-archive,
8013 otherwise NULL.
8014 * locale/programs/locarchive.c (show_archive_content): Take new
8015 argument fname and pass it via ah.fname to open_archive.
8016 * locale/programs/localedef.h: Update decl.
8017 (open_archive): If AH->fname is non-null, open that file
8018 rather than the default file name, and don't ignore ENOENT.
8019 (create_archive): Set AH.fname to NULL.
8020 (delete_locales_from_archive): Likewise.
8021 (add_locales_to_archive): Likewise.
8022 * locale/programs/locfile.c (write_all_categories): Likewise.
8023
3c8325fb
JM
80242013-10-18 Joseph Myers <joseph@codesourcery.com>
8025 Aldy Hernandez <aldyh@redhat.com>
8026
8027 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8028 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8029 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8030 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8031 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8032 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8033 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8034 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8035 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8036 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8037 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8038 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8040 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8041 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8042 Likewise.
8043 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8044 Likewise.
8045 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8046 Likewise.
8047 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8048 Likewise.
8049 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8050 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8051 Likewise.
8052 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8054 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8055 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8056 Likewise.
8057 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8058 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8059 * sysdeps/powerpc/preconfigure: Likewise.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8061 Likewise.
8062 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8063 Replace contents of file by #include of <fenv_libc.h>.
8064 * sysdeps/powerpc/soft-fp/sfp-machine.h
8065 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8066 and <sys/prctl.h>.
8067 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8080 Allow copysignl PLT reference to be missing.
8081
5abe0682
RS
80822013-10-18 Richard Sandiford <richard@codesourcery.com>
8083 Joseph Myers <joseph@codesourcery.com
8084
8085 [BZ #15948]
8086 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8087 single character.
8088 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8089
c7738d08
SP
80902013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8091
8092 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8093 * elf/tst-tls1.c: Likewise.
8094 * elf/tst-tls10.h: Likewise.
8095 * elf/tst-tls14.c: Likewise.
8096 * elf/tst-tls2.c: Likewise.
8097 * elf/tst-tls3.c: Likewise.
8098 * elf/tst-tls4.c: Likewise.
8099 * elf/tst-tls5.c: Likewise.
8100 * elf/tst-tls6.c: Likewise.
8101 * elf/tst-tls7.c: Likewise.
8102 * elf/tst-tls8.c: Likewise.
8103 * elf/tst-tls9.c: Likewise.
8104 * elf/tst-tlsmod1.c: Likewise.
8105 * elf/tst-tlsmod13.c: Likewise.
8106 * elf/tst-tlsmod13a.c: Likewise.
8107 * elf/tst-tlsmod14a.c: Likewise.
8108 * elf/tst-tlsmod16a.c: Likewise.
8109 * elf/tst-tlsmod16b.c: Likewise.
8110 * elf/tst-tlsmod2.c: Likewise.
8111 * elf/tst-tlsmod3.c: Likewise.
8112 * elf/tst-tlsmod4.c: Likewise.
8113 * elf/tst-tlsmod5.c: Likewise.
8114 * elf/tst-tlsmod6.c: Likewise.
8115
0bfcf2c7
OB
81162013-10-18 Ondřej Bílka <neleai@seznam.cz>
8117
8118 [BZ #12486]
8119 * malloc/malloc.c: remove checks for statistics.
8120
264aad1e
OB
81212013-10-17 Ondřej Bílka <neleai@seznam.cz>
8122
8123 [BZ #15277]
8124 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8125 * inet/tst-network.c: Add testcase.
8126
b957ced8
AS
81272013-10-17 Andreas Schwab <schwab@suse.de>
8128
8129 [BZ #15218]
8130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8131 to determine canonical name.
8132
c5d5d574
OB
81332013-10-17 Ondřej Bílka <neleai@seznam.cz>
8134
8135 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8136 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8159 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8160 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8193
e5c2c2d0
JM
81942013-10-17 Joseph Myers <joseph@codesourcery.com>
8195
8196 [BZ #16041]
8197 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8198 make result into a quiet NaN.
8199
51ca9e29
JM
82002013-10-16 Joseph Myers <joseph@codesourcery.com>
8201
8202 * soft-fp/adddf3.c: Fix horizontal whitespace.
8203 * soft-fp/addsf3.c: Likewise.
8204 * soft-fp/addtf3.c: Likewise.
8205 * soft-fp/divdf3.c: Likewise.
8206 * soft-fp/divsf3.c: Likewise.
8207 * soft-fp/divtf3.c: Likewise.
8208 * soft-fp/double.h: Likewise.
8209 * soft-fp/eqdf2.c: Likewise.
8210 * soft-fp/eqsf2.c: Likewise.
8211 * soft-fp/eqtf2.c: Likewise.
8212 * soft-fp/extenddftf2.c: Likewise.
8213 * soft-fp/extended.h: Likewise.
8214 * soft-fp/extendsfdf2.c: Likewise.
8215 * soft-fp/extendsftf2.c: Likewise.
8216 * soft-fp/extendxftf2.c: Likewise.
8217 * soft-fp/fixdfdi.c: Likewise.
8218 * soft-fp/fixdfsi.c: Likewise.
8219 * soft-fp/fixdfti.c: Likewise.
8220 * soft-fp/fixsfdi.c: Likewise.
8221 * soft-fp/fixsfsi.c: Likewise.
8222 * soft-fp/fixsfti.c: Likewise.
8223 * soft-fp/fixtfdi.c: Likewise.
8224 * soft-fp/fixtfsi.c: Likewise.
8225 * soft-fp/fixtfti.c: Likewise.
8226 * soft-fp/fixunsdfdi.c: Likewise.
8227 * soft-fp/fixunsdfsi.c: Likewise.
8228 * soft-fp/fixunsdfti.c: Likewise.
8229 * soft-fp/fixunssfdi.c: Likewise.
8230 * soft-fp/fixunssfsi.c: Likewise.
8231 * soft-fp/fixunssfti.c: Likewise.
8232 * soft-fp/fixunstfdi.c: Likewise.
8233 * soft-fp/fixunstfsi.c: Likewise.
8234 * soft-fp/fixunstfti.c: Likewise.
8235 * soft-fp/floatdidf.c: Likewise.
8236 * soft-fp/floatdisf.c: Likewise.
8237 * soft-fp/floatditf.c: Likewise.
8238 * soft-fp/floatsidf.c: Likewise.
8239 * soft-fp/floatsisf.c: Likewise.
8240 * soft-fp/floatsitf.c: Likewise.
8241 * soft-fp/floattidf.c: Likewise.
8242 * soft-fp/floattisf.c: Likewise.
8243 * soft-fp/floattitf.c: Likewise.
8244 * soft-fp/floatundidf.c: Likewise.
8245 * soft-fp/floatundisf.c: Likewise.
8246 * soft-fp/floatunditf.c: Likewise.
8247 * soft-fp/floatunsidf.c: Likewise.
8248 * soft-fp/floatunsisf.c: Likewise.
8249 * soft-fp/floatunsitf.c: Likewise.
8250 * soft-fp/floatuntidf.c: Likewise.
8251 * soft-fp/floatuntisf.c: Likewise.
8252 * soft-fp/floatuntitf.c: Likewise.
8253 * soft-fp/fmadf4.c: Likewise.
8254 * soft-fp/fmasf4.c: Likewise.
8255 * soft-fp/fmatf4.c: Likewise.
8256 * soft-fp/gedf2.c: Likewise.
8257 * soft-fp/gesf2.c: Likewise.
8258 * soft-fp/getf2.c: Likewise.
8259 * soft-fp/ledf2.c: Likewise.
8260 * soft-fp/lesf2.c: Likewise.
8261 * soft-fp/letf2.c: Likewise.
8262 * soft-fp/muldf3.c: Likewise.
8263 * soft-fp/mulsf3.c: Likewise.
8264 * soft-fp/multf3.c: Likewise.
8265 * soft-fp/negdf2.c: Likewise.
8266 * soft-fp/negsf2.c: Likewise.
8267 * soft-fp/negtf2.c: Likewise.
8268 * soft-fp/op-1.h: Likewise.
8269 * soft-fp/op-2.h: Likewise.
8270 * soft-fp/op-4.h: Likewise.
8271 * soft-fp/op-8.h: Likewise.
8272 * soft-fp/op-common.h: Likewise.
8273 * soft-fp/quad.h: Likewise.
8274 * soft-fp/single.h: Likewise.
8275 * soft-fp/soft-fp.h: Likewise.
8276 * soft-fp/sqrtdf2.c: Likewise.
8277 * soft-fp/sqrtsf2.c: Likewise.
8278 * soft-fp/sqrttf2.c: Likewise.
8279 * soft-fp/subdf3.c: Likewise.
8280 * soft-fp/subsf3.c: Likewise.
8281 * soft-fp/subtf3.c: Likewise.
8282 * soft-fp/truncdfsf2.c: Likewise.
8283 * soft-fp/trunctfdf2.c: Likewise.
8284 * soft-fp/trunctfsf2.c: Likewise.
8285 * soft-fp/trunctfxf2.c: Likewise.
8286 * soft-fp/unorddf2.c: Likewise.
8287 * soft-fp/unordsf2.c: Likewise.
8288 * soft-fp/unordtf2.c: Likewise.
8289
9ebb0332
JM
82902013-10-15 Joseph Myers <joseph@codesourcery.com>
8291
8292 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8293 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8294
4b1a6d8b
OB
82952013-10-15 Ondřej Bílka <neleai@seznam.cz>
8296
8297 * elf/dl-libc.c: Clear initfini list after freeing.
8298
1e145589
JM
82992013-10-14 Joseph Myers <joseph@codesourcery.com>
8300
8301 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8302 * soft-fp/addsf3.c: Likewise.
8303 * soft-fp/addtf3.c: Likewise.
8304 * soft-fp/divdf3.c: Likewise.
8305 * soft-fp/divsf3.c: Likewise.
8306 * soft-fp/divtf3.c: Likewise.
8307 * soft-fp/double.h: Likewise.
8308 * soft-fp/eqdf2.c: Likewise.
8309 * soft-fp/eqsf2.c: Likewise.
8310 * soft-fp/eqtf2.c: Likewise.
8311 * soft-fp/extenddftf2.c: Likewise.
8312 * soft-fp/extended.h: Likewise.
8313 * soft-fp/extendsfdf2.c: Likewise.
8314 * soft-fp/extendsftf2.c: Likewise.
8315 * soft-fp/extendxftf2.c: Likewise.
8316 * soft-fp/fixdfdi.c: Likewise.
8317 * soft-fp/fixdfsi.c: Likewise.
8318 * soft-fp/fixdfti.c: Likewise.
8319 * soft-fp/fixsfdi.c: Likewise.
8320 * soft-fp/fixsfsi.c: Likewise.
8321 * soft-fp/fixsfti.c: Likewise.
8322 * soft-fp/fixtfdi.c: Likewise.
8323 * soft-fp/fixtfsi.c: Likewise.
8324 * soft-fp/fixtfti.c: Likewise.
8325 * soft-fp/fixunsdfdi.c: Likewise.
8326 * soft-fp/fixunsdfsi.c: Likewise.
8327 * soft-fp/fixunsdfti.c: Likewise.
8328 * soft-fp/fixunssfdi.c: Likewise.
8329 * soft-fp/fixunssfsi.c: Likewise.
8330 * soft-fp/fixunssfti.c: Likewise.
8331 * soft-fp/fixunstfdi.c: Likewise.
8332 * soft-fp/fixunstfsi.c: Likewise.
8333 * soft-fp/fixunstfti.c: Likewise.
8334 * soft-fp/floatdidf.c: Likewise.
8335 * soft-fp/floatdisf.c: Likewise.
8336 * soft-fp/floatditf.c: Likewise.
8337 * soft-fp/floatsidf.c: Likewise.
8338 * soft-fp/floatsisf.c: Likewise.
8339 * soft-fp/floatsitf.c: Likewise.
8340 * soft-fp/floattidf.c: Likewise.
8341 * soft-fp/floattisf.c: Likewise.
8342 * soft-fp/floattitf.c: Likewise.
8343 * soft-fp/floatundidf.c: Likewise.
8344 * soft-fp/floatundisf.c: Likewise.
8345 * soft-fp/floatunsidf.c: Likewise.
8346 * soft-fp/floatunsisf.c: Likewise.
8347 * soft-fp/floatuntidf.c: Likewise.
8348 * soft-fp/floatuntisf.c: Likewise.
8349 * soft-fp/floatuntitf.c: Likewise.
8350 * soft-fp/fmadf4.c: Likewise.
8351 * soft-fp/fmasf4.c: Likewise.
8352 * soft-fp/fmatf4.c: Likewise.
8353 * soft-fp/gedf2.c: Likewise.
8354 * soft-fp/gesf2.c: Likewise.
8355 * soft-fp/getf2.c: Likewise.
8356 * soft-fp/ledf2.c: Likewise.
8357 * soft-fp/lesf2.c: Likewise.
8358 * soft-fp/letf2.c: Likewise.
8359 * soft-fp/muldf3.c: Likewise.
8360 * soft-fp/mulsf3.c: Likewise.
8361 * soft-fp/multf3.c: Likewise.
8362 * soft-fp/negdf2.c: Likewise.
8363 * soft-fp/negsf2.c: Likewise.
8364 * soft-fp/negtf2.c: Likewise.
8365 * soft-fp/op-1.h: Likewise.
8366 * soft-fp/op-2.h: Likewise.
8367 * soft-fp/op-4.h: Likewise.
8368 * soft-fp/op-8.h: Likewise.
8369 * soft-fp/op-common.h: Likewise.
8370 * soft-fp/quad.h: Likewise.
8371 * soft-fp/single.h: Likewise.
8372 * soft-fp/soft-fp.h: Likewise.
8373 * soft-fp/sqrtdf2.c: Likewise.
8374 * soft-fp/sqrtsf2.c: Likewise.
8375 * soft-fp/sqrttf2.c: Likewise.
8376 * soft-fp/subdf3.c: Likewise.
8377 * soft-fp/subsf3.c: Likewise.
8378 * soft-fp/subtf3.c: Likewise.
8379 * soft-fp/truncdfsf2.c: Likewise.
8380 * soft-fp/trunctfdf2.c: Likewise.
8381 * soft-fp/trunctfsf2.c: Likewise.
8382 * soft-fp/trunctfxf2.c: Likewise.
8383 * soft-fp/unorddf2.c: Likewise.
8384 * soft-fp/unordsf2.c: Likewise.
8385 * soft-fp/unordtf2.c: Likewise.
8386
17c48a60
OB
83872013-10-14 Ondřej Bílka <neleai@seznam.cz>
8388
8389 [BZ #15672]
8390 * misc/error.c (error_tail): Fix possible buffer overflow.
8391
cabba934
OB
83922013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8393
8394 [BZ #13028]
8395 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8396 address.
8397
94bf958a
PM
83982013-10-14 P. J. McDermott <pj@pehjota.net>
8399
8400 [BZ #832]
8401 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8402 testing pipefail option.
8403
71b4dea7
JM
84042013-10-12 Joseph Myers <joseph@codesourcery.com>
8405
8406 * soft-fp/double.h: Indent preprocessor directives inside #if.
8407 * soft-fp/extended.h: Likewise.
8408 * soft-fp/op-2.h: Likewise.
8409 * soft-fp/op-4.h: Likewise.
8410 * soft-fp/op-common.h: Likewise.
8411 * soft-fp/quad.h: Likewise.
8412 * soft-fp/single.h: Likewise.
8413 * soft-fp/soft-fp.h: Likewise.
8414
55602758
YC
84152013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8416
8417 * iconv/iconv_prog.c: Fix typos.
8418 * stdio-common/psiginfo-data.h: Likewise.
8419
9cd83302
RT
84202013-10-12 Reuben Thomas <rrt@sc3d.org>
8421
8422 [BZ #15764]
8423 * locale/setlocale.c: Fix typo.
8424
99fd9f47
JM
84252013-10-12 Joseph Myers <joseph@codesourcery.com>
8426
b7ea74f0
JM
8427 [BZ #16036]
8428 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8429 signaling NaN arguments.
8430 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8431 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8432
8a509447
JM
8433 [BZ #14910]
8434 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8435 unordered operands.
8436 * soft-fp/gesf2.c (__gesf2): Likewise.
8437 * soft-fp/getf2.c (__getf2): Likewise.
8438 * soft-fp/ledf2.c (__ledf2): Likewise.
8439 * soft-fp/lesf2.c (__lesf2): Likewise.
8440 * soft-fp/letf2.c (__letf2): Likewise.
8441
98998e9f
JM
8442 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8443 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8444 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8445 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8446 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8447 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8448 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8449 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8450 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8451 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8452 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8453 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8454 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8455 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8456 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8457 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8458 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8459 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8460 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8461 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8462 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8463 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8464 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8465 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8466 * soft-fp/floattidf.c (__floattidf): Likewise.
8467 * soft-fp/floattisf.c (__floattisf): Likewise.
8468 * soft-fp/floattitf.c (__floattitf): Likewise.
8469 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8470 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8471 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8472 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8473 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8474 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8475 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8476 * soft-fp/gesf2.c (__gesf2): Likewise.
8477 * soft-fp/getf2.c (__getf2): Likewise.
8478 * soft-fp/ledf2.c (__ledf2): Likewise.
8479 * soft-fp/lesf2.c (__lesf2): Likewise.
8480 * soft-fp/letf2.c (__letf2): Likewise.
8481
8edc4a11
JM
8482 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8483 Undefine and redefine.
8484 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8485 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8486 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8487 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8488 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8489 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8490 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8491 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8492 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8493 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8494 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8495 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8496 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8497 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8498 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8499
8399acaf
JM
8500 [BZ #16032]
8501 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8502 without decrementing exponent if mantissa >= that for the
8503 denominator, not >.
8504 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8505 denominator, not >. Decrement exponent in < case instead of
8506 incrementing in >= case.
8507 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8508 without decrementing exponent if mantissa >= that for the
8509 denominator, not >.
8510
99fd9f47
JM
8511 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8512 computing saturated result for unsigned overflow.
8513
10e1cf6b
SP
85142013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8515 Jeff Law <law@redhat.com>
8516
8517 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8518 (atan2Mp): Add systemtap probe marker.
8519 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8520 (__ieee754_log): Add systemtap probe marker.
8521 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8522 (atanMp): Add systemtap probe marker.
8523 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8524 (tanMp): Add systemtap probe marker.
8525 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8526 (__slowexp): Add systemtap probe marker.
8527 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8528 (__slowpow): Add systemtap probe marker.
8529 * manual/probes.texi: Document probes.
8530
3d110c7c
EB
85312013-10-11 Eric Biggers <ebiggers3@gmail.com>
8532
8533 [BZ #15362]
8534 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8535 written.
8536 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8537 written.
8538 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8539 written to buffer but not flushed.
8540 * libio/iofwrite_u.c: Likewise.
8541 * libio/iopadn.c: Return bytes returned even if EOF was
8542 encountered.
8543 * libio/iowpadn.c: Likewise.
8544 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8545 if _IO_padn does not write the whole buffer.
8546 [!COMPILE_WPRINTF] (PAD): Likewise.
8547
75b4202a
DM
85482013-10-10 David S. Miller <davem@davemloft.net>
8549
8550 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8551 directory block.
8552
6c6352e6
JM
85532013-10-10 Joseph Myers <joseph@codesourcery.com>
8554
33b853c3
JM
8555 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8556 instead of FSF address.
8557 * soft-fp/fixdfti.c: Likewise.
8558 * soft-fp/fixsfti.c: Likewise.
8559 * soft-fp/fixtfti.c: Likewise.
8560 * soft-fp/fixunsdfti.c: Likewise.
8561 * soft-fp/fixunssfti.c: Likewise.
8562 * soft-fp/fixunstfti.c: Likewise.
8563 * soft-fp/floattidf.c: Likewise.
8564 * soft-fp/floattisf.c: Likewise.
8565 * soft-fp/floattitf.c: Likewise.
8566 * soft-fp/floatuntidf.c: Likewise.
8567 * soft-fp/floatuntisf.c: Likewise.
8568 * soft-fp/floatuntitf.c: Likewise.
8569 * soft-fp/trunctfxf2.c: Likewise.
8570
6c6352e6
JM
8571 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8572 * soft-fp/fixdfti.c: Likewise.
8573 * soft-fp/fixsfti.c: Likewise.
8574 * soft-fp/fixtfti.c: Likewise.
8575 * soft-fp/fixunsdfti.c: Likewise.
8576 * soft-fp/fixunssfti.c: Likewise.
8577 * soft-fp/fixunstfti.c: Likewise.
8578 * soft-fp/floattidf.c: Likewise.
8579 * soft-fp/floattisf.c: Likewise.
8580 * soft-fp/floattitf.c: Likewise.
8581 * soft-fp/floatuntidf.c: Likewise.
8582 * soft-fp/floatuntisf.c: Likewise.
8583 * soft-fp/floatuntitf.c: Likewise.
8584 * soft-fp/trunctfxf2.c: Likewise.
8585
3bf78b71
DM
85862013-10-10 David S. Miller <davem@davemloft.net>
8587
8588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8589
6f10289e
JM
85902013-10-10 Joseph Myers <joseph@codsourcery.com>
8591
bd878fc0
JM
8592 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8593 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8594 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8599
6f10289e
JM
8600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8601 for NaNs before doing comparisons on argument.
8602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8603 Likewise.
8604
321e2684
WN
86052013-10-10 Will Newton <will.newton@linaro.org>
8606
8607 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8608 passed to _int_memalign does not overflow.
8609
40fefba1
TR
86102013-10-10 Torvald Riegel <triegel@redhat.com>
8611
8612 * scripts/bench.pl: Add include-sources directive.
8613 * benchtests/README: Update documentation.
8614
2ae21ed2
JM
86152013-10-10 Joseph Myers <joseph@codesourcery.com>
8616
dcc2dd3f
JM
8617 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8618 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8619 instead of FP_INIT_ROUNDMODE.
8620 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8621 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8622
2ae21ed2
JM
8623 [BZ #16034]
8624 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8625 copy class of input value.
8626 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8627 not handle exceptions.
8628 * soft-fp/negsf2.c (__negsf2): Likewise.
8629 * soft-fp/negtf2.c (__negtf2): Likewise.
8630 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8631
cb8f9562
JM
86322013-10-09 Joseph Myers <joseph@codesourcery.com>
8633
8634 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8635 semicolon. From Linux kernel.
8636
5b60c59d
AB
86372013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8638
8639 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8640
b86835ca
YC
86412013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8642
8643 [BZ #156]
8644 * manual/socket.texi: Added statement about buffer
8645 for gethostbyname2_r.
8646
e7044ea7
OB
86472013-10-08 Ondřej Bílka <neleai@seznam.cz>
8648
8649 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8650 Use .p2align directive instead, throughout.
8651 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8652 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8653 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8654 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8655 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8656 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8657 * sysdeps/x86_64/strchr.S: Likewise.
8658 * sysdeps/x86_64/strrchr.S: Likewise.
8659
09544cbc
SP
86602013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8661
88576635
SP
8662 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8663
e7b2d1dd
SP
8664 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8665
09544cbc
SP
8666 * sysdeps/generic/math_private.h (__mpsin1): Remove
8667 declaration.
8668 (__mpcos1): Likewise.
8669 (__mpsin): New argument __range_reduce.
8670 (__mpcos): Likewise.
8671 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8672 (slow): Use __mpsin and __mpcos.
8673 (slow1): Likewise.
8674 (slow2): Likewise.
8675 (sloww): Likewise.
8676 (sloww1): Likewise.
8677 (sloww2): Likewise.
8678 (bsloww): Likewise.
8679 (bsloww1): Likewise.
8680 (bsloww2): Likewise.
8681 (cslow2): Likewise.
8682 (csloww): Likewise.
8683 (csloww1): Likewise.
8684 (csloww2): Likewise.
8685 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8686 range_reduce. Merge in __mpsin1.
8687 (__mpcos): Likewise.
8688 (__mpsin1): Remove.
8689 (__mpcos1): Likewise.
8690
7602d070
JM
86912013-10-07 Joseph Myers <joseph@codesourcery.com>
8692
8693 * locale/loadlocale.c (_nl_intern_locale_data): Use
8694 LOCFILE_ALIGNED_P.
8695 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8696 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8697 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8698 obstack data is appropriately aligned.
8699 (obstack_int32_grow_fast): Likewise.
8700 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8701 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8702 (add_locale_uint32_array): Likewise.
8703
a357259b
SP
87042013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8705
8706 * benchtests/Makefile: Remove ARGLIST and RET variables.
8707 ($(objpfx)bench-%.c): Pass only function name to the script.
8708 * benchtests/README: Update documentation.
8709 * benchtests/acos-inputs: Add new directives.
8710 * benchtests/acosh-inputs: Likewise.
8711 * benchtests/asin-inputs: Likewise.
8712 * benchtests/asinh-inputs: Likewise.
8713 * benchtests/atan-inputs: Likewise.
8714 * benchtests/atanh-inputs: Likewise.
8715 * benchtests/cos-inputs: Likewise.
8716 * benchtests/cosh-inputs: Likewise.
8717 * benchtests/exp-inputs: Likewise.
8718 * benchtests/log-inputs: Likewise.
8719 * benchtests/pow-inputs: Likewise.
8720 * benchtests/rint-inputs: Likewise.
8721 * benchtests/sin-inputs: Likewise.
8722 * benchtests/sinh-inputs: Likewise.
8723 * benchtests/tan-inputs: Likewise.
8724 * benchtests/tanh-inputs: Likewise.
8725 * scripts/bench.pl: Add support for new directives.
8726
9ec1b13d
AM
87272013-10-07 Alan Modra <amodra@gmail.com>
8728
8729 * README: Fix careless merge.
8730
8b7d57cd
AM
87312013-10-05 Alan Modra <amodra@gmail.com>
8732
8733 * NEWS: Mention powerpc64le support and bugs fixed.
8734 * README: Both big-endian and little-endian powerpc64 supported.
8735
7b7bab13
ST
87362013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8737
8738 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8739 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8740 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8741 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8742
d39baad1
RA
87432013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8744
8745 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8746 match prototype.
8747
cd78f7e7
JM
87482013-10-04 Joseph Myers <joseph@codesourcery.com>
8749
29d73d86
JM
8750 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8751 Move -mhard-float appending from
8752 ports/sysdeps/powerpc/powerpc32/Makefile.
8753 [$(with-fp) = yes] (ASFLAGS): Likewise.
8754 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8755 * sysdeps/powerpc/nofpu: Move directory from
8756 ports/sysdeps/powerpc/nofpu.
8757 * sysdeps/powerpc/soft-fp: Move directory from
8758 ports/sysdeps/powerpc/soft-fp.
8759 * sysdeps/powerpc/powerpc32/405: Move directory from
8760 ports/sysdeps/powerpc/powerpc32/405.
8761 * sysdeps/powerpc/powerpc32/440: Move directory from
8762 ports/sysdeps/powerpc/powerpc32/440.
8763 * sysdeps/powerpc/powerpc32/464: Move directory from
8764 ports/sysdeps/powerpc/powerpc32/464.
8765 * sysdeps/powerpc/powerpc32/476: Move directory from
8766 ports/sysdeps/powerpc/powerpc32/476.
8767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8768 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8770 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8774 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8776 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8777 * README: Update for powerpc-*-linux-gnu software floating point
8778 support in libc.
8779
e246b347
JM
8780 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8781 case to powerpc/powerpc32*.
8782 * sysdeps/unix/sysv/linux/configure: Regenerated.
8783
89c2003e
JM
8784 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8785 (_FPU_MASK_OM): Define as 0x04.
8786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8788 0x00c10080.
8789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8790 0x0000003c.
8791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8792
cd78f7e7
JM
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8794 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8795 getcontext_e500.
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8797 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8798 setcontext_e500.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8800 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8801 and setcontext_e500.
8802
c755294d
CL
88032013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8804
8805 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8806
e16d221c
SP
88072013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8808
8809 * manual/threads.texi (Default Thread Attributes): Fix typo.
8810
215c7d43
WN
88112013-10-04 Will Newton <will.newton@linaro.org>
8812
8813 * malloc/Makefile: Add tst-memalign.
8814 * malloc/tst-memalign.c: New file.
8815
27d0461b
WN
8816 * malloc/tst-posix_memalign.c: Add comments.
8817 (do_test): Add comments and call free on all potentially
8818 allocated pointers. Add space after cast.
8819
1bc92709
WN
8820 * malloc/tst-pvalloc.c: Add comments.
8821 (do_test): Add comments and call free on all potentially
8822 allocated pointers. Remove duplicate check for NULL pointer.
8823 Add space after cast.
8824
66a9be9d
WN
8825 * malloc/tst-valloc.c: Add comments.
8826 (do_test): Add comments and call free on all potentially
8827 allocated pointers. Remove duplicate check for NULL pointer.
8828 Add space after cast.
8829
4cb81307
AM
88302013-10-04 Alan Modra <amodra@gmail.com>
8831
8832 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8833 Use stdint types in rather than __attribute__((mode())).
8834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8835
f8e3e9f3
AM
88362013-10-04 Alan Modra <amodra@gmail.com>
8837
8838 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8839 Correct handling of unaligned relocs for little-endian.
8840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8841
8f9ebb08
AM
88422013-10-04 Alan Modra <amodra@gmail.com>
8843
8844 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8845 * configure: Regenerate.
8846 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8847 * shlib-versions: Likewise.
8848
0edf96c2
AM
88492013-10-04 Alan Modra <amodra@gmail.com>
8850
8851 * string/tester.c (test_memrchr): Increment reported test cycle.
8852
e0f7a380
AM
88532013-10-04 Alan Modra <amodra@gmail.com>
8854
8855 * string/test-memcpy.c (do_one_test): When reporting errors, print
8856 string address and don't overrun end of string.
8857
466b0393
AM
88582013-10-04 Alan Modra <amodra@gmail.com>
8859
8860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8861 insrdi. Make better use of reg selection to speed exit slightly.
8862 Schedule entry path a little better. Remove useless "are we done"
8863 checks on entry to main loop. Handle wrapping around zero address.
8864 Correct main loop count. Handle single left-over word from main
8865 loop inline rather than by using loop_small. Remove extra word
8866 case in loop_small caused by wrong loop count. Add little-endian
8867 support.
8868 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8870 cache hint.
8871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8872 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8873 support. Avoid rlwimi.
8874 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8875
3be87c77
AM
88762013-10-04 Alan Modra <amodra@gmail.com>
8877
8878 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8879 insrdi. Formatting.
3be87c77
AM
8880 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8881 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8882 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8883 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8884 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8885 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8886
759cfef3
AM
88872013-10-04 Alan Modra <amodra@gmail.com>
8888
8889 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8891 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8893 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8894 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8895 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8897 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8898 use of regs. Use power7 mtocrf. Tidy function tails.
8899
fe6e95d7
AM
89002013-10-04 Alan Modra <amodra@gmail.com>
8901
8902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8903 Formatting. Consistently use rXXX register defines or rN defines.
8904 Use early exit labels that avoid restoring unused non-volatile regs.
8905 Make cr field use more consistent with rWORDn compares. Rename
8906 regs used as shift registers for unaligned loop, using rN defines
8907 for short lifetime/multiple use regs.
8908 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8910 addi 1,1,64 to pop stack frame. Simplify return value code.
8911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8912
664318c3
AM
89132013-10-04 Alan Modra <amodra@gmail.com>
8914
8915 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8916 support. Correct typos, formatting. Optimize tail. Use insrdi
8917 rather than rlwimi.
8918 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8919 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8920 little-endian support. Correct typos.
8921 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8922 rather than rlwimi.
8923 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8924 in loop and entry code to keep "and." results.
8925 (strchr): Add little-endian support. Comment. Move cntlzd
8926 earlier in tail.
8927 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8928
43b84013
AM
89292013-10-04 Alan Modra <amodra@gmail.com>
8930
8931 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8932 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8933 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8934 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8935
8a7413f9
AM
89362013-10-04 Alan Modra <amodra@gmail.com>
8937
8938 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8939 (rTMP): Define as r11.
8940 (strcmp): Add little-endian support. Optimise tail.
8941 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8942 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8943 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8944 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8945 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8948
33ee81de
AM
89492013-10-04 Alan Modra <amodra@gmail.com>
8950
8951 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8952 little-endian support. Remove unnecessary "are we done" tests.
8953 Handle "s" wrapping around zero and extremely large "size".
8954 Correct main loop count. Handle single left-over word from main
8955 loop inline rather than by using small_loop. Correct comments.
8956 Delete "zero" tail, use "end_max" instead.
8957 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8958
db9b4570
AM
89592013-10-04 Alan Modra <amodra@gmail.com>
8960
8961 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8962 support. Don't branch over align.
8963 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8964 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8965 support. Rearrange tmp reg use to suit. Comment.
8966 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8967
f7c399cf
AM
89682013-10-04 Alan Modra <amodra@gmail.com>
8969
8970 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8971
0b2c2ace
AM
89722013-10-04 Alan Modra <amodra@gmail.com>
8973
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8975 conditional form of branch and link when obtaining pc.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8977
02f04a6c
AM
89782013-10-04 Alan Modra <amodra@gmail.com>
8979
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8981 HIWORD/LOWORD.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8984
9b874b2f
AM
89852013-10-04 Alan Modra <amodra@gmail.com>
8986
8987 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8988 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8989 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8990 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8994 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8995 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8996 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8997
be1e5d31
AB
89982013-10-04 Anton Blanchard <anton@au1.ibm.com>
8999 Alistair Popple <alistair@ozlabs.au.ibm.com>
9000 Alan Modra <amodra@gmail.com>
9001
9002 [BZ #15723]
9003 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9004 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9005 _dl_hwcap access for little-endian.
9006 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9007 destroy vmx regs when saving unaligned.
9008 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9009 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9010 destroy vmx regs when saving unaligned.
9011
fef13a78
AM
90122013-10-04 Alan Modra <amodra@gmail.com>
9013
9014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9015 Don't use a union to pack hi/low value.
9016
76a66d51
AB
90172013-10-04 Anton Blanchard <anton@au1.ibm.com>
9018
9019 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9020 for little-endian.
9021 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9022 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9023 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9024 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9025 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9026
6a31fe7f
AM
90272013-10-04 Alan Modra <amodra@gmail.com>
9028
9029 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9030 constants to usual value for .cst8 section, and remove redundant
9031 high address load.
9032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9033 constant for 0x1p52. Load little-endian words of double from
9034 correct stack offsets.
9035
7b88401f
AM
90362013-10-04 Alan Modra <amodra@gmail.com>
9037
9038 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9039 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9040 words of double from correct stack offsets.
9041 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9042 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9043 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9045 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9046 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9048 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9049 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9051 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9053 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9055 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9056 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9057 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9058
9c008155
AM
90592013-10-04 Alan Modra <amodra@gmail.com>
9060
9061 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9062 64-bit int/double union.
9063 (_FPU_SETCW): Likewise.
9064 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9065 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9066
da13146d
AM
90672013-10-04 Alan Modra <amodra@gmail.com>
9068
9069 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9070 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9071
603e8410
AM
90722013-10-04 Alan Modra <amodra@gmail.com>
9073
9074 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9075 use vector int constants.
9076 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9077
4a28b3ca
AB
90782013-10-04 Anton Blanchard <anton@au1.ibm.com>
9079
9080 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9081 array with long long.
9082 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9083 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9084 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9085 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9086 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9087 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9088 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9089 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9090 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9091 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9092 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9093 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9094 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9095
2ca85d2b
AB
90962013-10-04 Anton Blanchard <anton@au1.ibm.com>
9097
9098 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9099 (__signbit): Likewise. Correct for little-endian.
9100 (__signbitl): Call __signbit.
9101 (lrint): Correct for little-endian.
9102 (lrintf): Call lrint.
9103
62a728ae
AM
91042013-10-04 Alan Modra <amodra@gmail.com>
9105
9106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9107 union 32-bit int array member with 64-bit int array.
9108 (t515, tm256): Double rather than long double.
9109 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9110
32c301df
AM
91112013-10-04 Alan Modra <amodra@gmail.com>
9112
9113 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9114 Delete.
9115 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9117 version of math_ldbl.h.
9118
650ef4bd
AM
91192013-10-04 Alan Modra <amodra@gmail.com>
9120
9121 [BZ #15734], [BZ #15735]
9122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9123 all uses of ieee875 long double macros and unions. Simplify test
9124 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9125 ldbl_extract_mantissa value for ix,iy exponents. Properly
9126 normalize after ldbl_extract_mantissa, and don't add hidden bit
9127 already handled. Don't treat low word of ieee854 mantissa like
9128 low word of IBM long double and mask off bit when testing for
9129 zero.
9130 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9131 all uses of ieee875 long double macros and unions. Simplify tests
9132 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9133 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9134 two1022, instead use their values. Recognise that tests for large
9135 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9136 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9137 Rewrite all uses of ieee875 long double macros and unions. Simplify
9138 test for 0.0L and nan. Correct negation.
9139 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9140 ieee875 long double macros and unions. Correct output for large
9141 magnitude x. Correct absolute value calculation.
9142 (__erfcl): Likewise.
9143 * math/libm-test.inc: Add tests for errors discovered in IBM long
9144 double versions of fmodl, remainderl, erfl and erfcl.
9145
765714ca
AM
91462013-10-04 Alan Modra <amodra@gmail.com>
9147
9148 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9149 all uses of ieee854 long double macros and unions. Simplify tests
9150 for long doubles that are fully specified by the high double.
9151 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9152 Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9154 Remove dead code too.
9155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9156 (__ieee754_ynl): Likewise.
9157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9160 Remove dead code too.
9161 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9165 Simplify.
9166 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9167 Simplify.
9168 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9171 Comment on variable precision.
9172 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9174 Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9179 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9180
4ebd120c
AM
91812013-10-04 Alan Modra <amodra@gmail.com>
9182
9183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9184 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9185 all uses of ieee854 long double macros and unions.
9186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9192 Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9199 Simplify sign and nan test too.
9200 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9204 Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9207 Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9214
1b6adf88
AM
92152013-10-04 Alan Modra <amodra@gmail.com>
9216
9217 * stdio-common/printf_size.c (__printf_size): Don't use
9218 union ieee854_long_double in fpnum union.
9219 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9220 signbit macro to retrieve sign from long double.
9221 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9222 retrieve sign from long double.
9223 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9224 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9225 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9226 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9227 * math/test-misc.c (main): Don't use union ieee854_long_double.
9228
4cf69995
AM
92292013-10-04 Alan Modra <amodra@gmail.com>
9230
9231 [BZ #15680]
9232 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9233 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9234 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9235 calculation. Remove unnecessary test for denormal exponent.
9236 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9237 Correct handling of denormals. Avoid undefined shift behaviour.
9238 Correct normalisation of low mantissa when low double is denormal.
9239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9240 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9241 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9242 Correct normalisation of low mantissa. Test for overflow of high
9243 mantissa and normalise.
9244 (ldbl_nearbyint): Use more readable constant for two52.
9245 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9246 (__mpn_construct_long_double): Fix test for overflow of high
9247 mantissa and correct normalisation. Avoid undefined shift.
9248
9605ca6c
AM
92492013-10-04 Alan Modra <amodra@gmail.com>
9250
9251 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9252 (union ibm_extended_long_double): Define as an array of ieee754_double.
9253 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9254 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9255 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9256 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9260 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9264
975569d0
JM
92652013-10-03 Joseph Myers <joseph@codesourcery.com>
9266
d3d23756
JM
9267 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9268 page size instead of calling getpagesize.
9269
975569d0
JM
9270 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9271 (LOCFILE_ALIGN_MASK): Likewise.
9272 (LOCFILE_ALIGN_UP): Likewise.
9273 (LOCFILE_ALIGNED_P): Likewise.
9274 * locale/programs/ld-collate.c (collate_output): Use the new
9275 macros instead of __alignof__ (int32_t).
9276 * locale/weight.h (findidx): Likewise.
9277
b1fe1f2b
OB
92782013-10-03 Ondřej Bílka <neleai@seznam.cz>
9279
9280 [BZ #431]
9281 * manual/string.texi: Fix strncat and wcsncat.
9282
5f855e35
BM
92832013-10-03 Brooks Moses <bmoses@google.com>
9284
9285 [BZ #15915]
9286 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9287 * Makerules: ...here, and adjust associated comments.
9288
3cef6009
WN
92892013-10-02 Will Newton <will.newton@linaro.org>
9290
9291 * malloc/Makefile: Add tst-pvalloc.
9292 * malloc/tst-pvalloc.c: New file.
9293
7815420b
WN
92942013-10-02 Will Newton <will.newton@linaro.org>
9295
9296 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9297 improve test coverage.
9298
4868b204
WN
92992013-10-02 Will Newton <will.newton@linaro.org>
9300
9301 * malloc/Makefile: Add tst-posix_memalign.
9302 * malloc/tst-posix_memalign.c: New file.
9303
29c793b3
EB
93042013-10-01 Eric Blake <eblake@redhat.com>
9305
9306 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9307 Use __THROWNL rather than __THROW on static functions.
9308
fd967522
PM
93092013-09-30 Petr Machata <pmachata@redhat.com>
9310
9311 * elf/elf.h (R_AARCH64_ABS16): New macro.
9312 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9313 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9314 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9315 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9316 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9317 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9318 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9319 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9320 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9321 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9322 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9323 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9324 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9325 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9326 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9327 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9328 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9329 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9330 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9331 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9332 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9333 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9334 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9335 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9336 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9337 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9338 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9339 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9340 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9341 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9342 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9343 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9344 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9345 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9346 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9347 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9348 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9349 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9350 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9351 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9352 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9353 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9354 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9355 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9356 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9357 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9358 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9359 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9360 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9361 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9362 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9363 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9364 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9365 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9366 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9367 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9368 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9369 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9370 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9371 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9372 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9373 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9374 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9375 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9376 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9377 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9378 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9379 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9380 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9381 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9382 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9383 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9384 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9385 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9386 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9387 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9388 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9389 (R_AARCH64_TLSDESC_LDR): Likewise.
9390 (R_AARCH64_TLSDESC_ADD): Likewise.
9391 (R_AARCH64_TLSDESC_CALL): Likewise.
9392
b2179107
AS
93932013-09-30 Andreas Schwab <schwab@suse.de>
9394
9395 [BZ #15048]
9396 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9397 the nss database lookup.
9398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9400
47f28d0a
MF
94012013-09-28 Mike Frysinger <vapier@gentoo.org>
9402
9403 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9404
94052013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9406
9407 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9408 ${Bash-specific parameter/pattern/string} parameter expansion.
9409 * sysdeps/unix/make-syscalls.sh: Likewise.
9410
f4518a17
KK
94112013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9412
9413 * sysdeps/sh/stackguard-macros.h: New file.
9414
dc1a95c7
OB
94152013-09-26 Ondřej Bílka <neleai@seznam.cz>
9416
9417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9419 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9420 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9421 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9422 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9423
5ebbff8f
AZ
94242013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9425
9426 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9427 Fix thread ID register.
9428
4fd2cf9f
JM
94292013-09-25 Joseph Myers <joseph@codesourcery.com>
9430
9431 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9432 [POSIX || UNIX98]: Require rather than permitting all symbols from
9433 <time.h>.
9434 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9435 element of struct sched_param.
9436 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9437 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9438 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9439 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9440 constant.
9441
12c22bc4
OL
94422013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9443
9444 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9445 argument calculation.
9446
a03d8ea7
JM
94472013-09-24 Joseph Myers <joseph@codesourcery.com>
9448
9449 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9450 Expect macro.
9451 [POSIX] (pthread_attr_t): Do not require type.
9452 [POSIX] (pthread_cond_t): Likewise.
9453 [POSIX] (pthread_condattr_t): Likewise.
9454 [POSIX] (pthread_key_t): Likewise.
9455 [POSIX] (pthread_mutex_t): Likewise.
9456 [POSIX] (pthread_mutexattr_t): Likewise.
9457 [POSIX] (pthread_once_t): Likewise.
9458 [POSIX] (pthread_t): Likewise.
9459 [POSIX-based standards] (pthread_atfork): Expect function.
9460
6055173a
JM
94612013-09-24 Joseph Myers <joseph@codesourcery.com>
9462 Richard Sandiford <richard@codesourcery.com>
9463
9464 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9465 (swap_endianness_p): New extern variable.
9466 (set_big_endian): New inline function.
9467 (maybe_swap_uint32): Likewise.
9468 (maybe_swap_uint32_array): Likewise.
9469 (maybe_swap_uint32_obstack): Likewise.
9470 * locale/programs/locfile.c: Include <stdbool.h>.
9471 (swap_endianness_p): New variable.
9472 (add_locale_uint32): Call maybe_swap_uint32.
9473 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9474 (write_locale_data): Call maybe_swap_uint32_array.
9475 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9476 maybe_swap_uint32.
9477 (obstack_int32_grow_fast): Likewise.
9478 (output_weightwc): Call maybe_swap_uint32_obstack.
9479 (collate_output): Likewise.
9480 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9481 (OPT_LITTLE_ENDIAN): Likewise.
9482 (options): Add --little-endian and --big-endian options.
9483 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9484 * locale/programs/locarchive.c: Include "locfile.h".
9485 (GET): New macro.
9486 (SET): Likewise.
9487 (INC): Likewise.
9488 (create_archive): Use the new macros to access fields of
9489 structures directly mapped from or written to locale archives.
9490 (oldlocrecentcmp): Likewise.
9491 (enlarge_archive): Likewise.
9492 (insert_name): Likewise.
9493 (add_alias): Likewise.
9494 (add_locale): Likewise.
9495 (delete_locales_from_archive): Likewise.
9496 (show_archive_content): Likewise.
9497 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9498 locale data.
9499
39bf0bb4
RM
95002013-09-24 Roland McGrath <roland@hack.frob.com>
9501
9502 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9503 http://www.gnu.org/doc/freemanuals.texi.
9504 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9505
f02eed10
WN
95062013-09-24 Will Newton <will.newton@linaro.org>
9507
9508 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9509 macro.
9510
a3a6c312
JM
95112013-09-23 Joseph Myers <joseph@codesourcery.com>
9512
9513 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9514 unsigned char.
9515
107375ac
MR
95162013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9517
9518 * manual/threads.texi (POSIX Threads): Fix a typo.
9519
141f3a77
SP
95202013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9521
303e567a
SP
9522 [BZ #14547]
9523 * string/tst-strcoll-overflow.c: New test case.
9524 * string/Makefile (xtests): Add tst-strcoll-overflow.
9525 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9526 cache if string sizes may cause integer overflow.
9527
141f3a77
SP
9528 [BZ #14547]
9529 * string/strcoll_l.c (coll_seq): New members rule, idx,
9530 save_idx and back_us.
9531 (get_next_seq_nocache): New function.
9532 (do_compare_nocache): New function.
9533 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9534 when malloc fails.
9535
c61b4d41
CD
95362013-09-23 Carlos O'Donell <carlos@redhat.com>
9537
0b1f8e35
CD
9538 [BZ #15754]
9539 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9540 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9541 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9542
c61b4d41
CD
9543 [BZ #15754]
9544 * elf/Makefile (tests): Add tst-ptrguard1.
9545 (tests-static): Add tst-ptrguard1-static.
9546 (tst-ptrguard1-ARGS): Define.
9547 (tst-ptrguard1-static-ARGS): Define.
9548 * elf/tst-ptrguard1.c: New file.
9549 * elf/tst-ptrguard1-static.c: New file.
9550 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9551 * sysdeps/i386/stackguard-macros.h: Likewise.
9552 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9553 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9554 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9555 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9556 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9557 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9558
95592013-09-23 Hector Marco <hecmargi@upv.es>
9560 Ismael Ripoll <iripoll@disca.upv.es>
9561 Carlos O'Donell <carlos@redhat.com>
9562
9563 [BZ #15754]
9564 * sysdeps/generic/stackguard-macros.h: Define
9565 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9566 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9567 Define __pointer_chk_guard_local.
9568 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9569 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9570
f5f4e7b4
VV
95712013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9572
9573 [BZ #15859]
9574 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9575
5bb43a43
AS
95762013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9577
9578 * include/string.h (__ffs): Declare as hidden.
9579 * string/ffs.c (__ffs): Define as hidden.
9580 * sysdeps/i386/ffs.c (__ffs): Likewise.
9581 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9582 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9583 * sysdeps/s390/ffs.c (__ffs): Likewise.
9584 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9585
3ea5be54
AO
95862013-09-20 Alexandre Oliva <aoliva@redhat.com>
9587
ffb89e53
AO
9588 * NEWS: Mention malloc probes.
9589
322dea08
AO
9590 * malloc/arena.c (new_heap): New memory_heap_new probe.
9591 (grow_heap): New memory_heap_more probe.
9592 (shrink_heap): New memory_heap_less probe.
9593 (heap_trim): New memory_heap_free probe.
9594 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9595 (systrim): New memory_sbrk_less probe.
9596 * manual/probes.texi: Document them.
9597
655673f3
AO
9598 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9599 * manual/probes.texi: Document it.
9600
35fed6f1
AO
9601 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9602 (__libc_realloc): Add memory_realloc_retry probe.
9603 (__libc_memalign): Add memory_memalign_retry probe.
9604 (__libc_valloc): Add memory_valloc_retry probe.
9605 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9606 (__libc_calloc): Add memory_calloc_retry probe.
9607 * manual/probes.texi: Document them.
9608
6999d38c
AO
9609 * malloc/arena.c (get_free_list): Add probe
9610 memory_arena_reuse_free_list.
9611 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9612 and memory_arena_reuse.
9613 (arena_get2) [!PER_THREAD]: Likewise.
9614 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9615 memory_arena_reuse_realloc.
9616 * manual/probes.texi: Document them.
9617
0653427f
AO
9618 * malloc/malloc.c (__libc_free): Add
9619 memory_mallopt_free_dyn_thresholds probe.
9620 (__libc_mallopt): Add multiple memory_mallopt probes.
9621 * manual/probes.texi: Document them.
9622
3ea5be54
AO
9623 * malloc/malloc.c: Include stap-probe.h.
9624 (__libc_mallopt): Add memory_mallopt probe.
9625 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9626 * manual/probes.texi: New.
9627 * manual/Makefile (chapters): Add probes.
9628 * manual/threads.texi: Set next node.
9629
e35696c3 96302013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9631
e35696c3
CL
9632 [BZ #15963, #13985]
9633 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9634 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9635 Add `Chinese' to `nan' entry name.
9636
4aafb73c
SP
96372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
9639 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9640 (POLYNOMIAL): Likewise.
9641 (TAYLOR_SINCOS): Likewise.
9642 (TAYLOR_SLOW): Likewise.
9643 (__sin): Use TAYLOR_SINCOS.
9644 (__cos): Likewise.
9645 (slow): Use TAYLOR_SLOW.
9646 (sloww): Likewise.
9647 (bsloww): Likewise.
9648 (csloww): Likewise.
9649
d84f25c7
LD
96502013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9651
9652 * stdlib/strtod_l.c: Fix buffer overrun.
9653
5eea0404
SP
96542013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9655
7849ff93
SP
9656 * benchtests/Makefile (bench): Add sincos.
9657 * benchtests/bench-sincos.c: New file.
9658
cfa3c886
SP
9659 * math/libm-test.inc (cos_test_data): New test inputs.
9660 (sin_test_data): Likewise.
9661
b348e1e3
SP
9662 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9663 macro.
9664 (__sin): Use it.
9665 (__cos): Likewise.
9666 (slow1): Likewise.
9667 (slow2): Likewise.
9668 (sloww1): Likewise.
9669 (sloww2): Likewise.
9670 (bsloww1): Likewise.
9671 (bsloww2): Likewise.
9672 (cslow2): Likewise.
9673 (csloww1): Likewise.
9674 (csloww2): Likewise.
9675
6cce25f8
SP
9676 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9677 function.
9678 (__sin): Use it.
9679 (__cos): Likewise.
9680
5eea0404
SP
9681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9682 gotos.
9683 (__cos): Likewise.
9684
9c21573c
MR
96852013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9686
9687 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9688 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9689 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9690 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9691 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9692 * elf/cache.c (print_entry): Handle the new cache flags.
9693
24d22e65
JM
96942013-09-18 Joseph Myers <joseph@codesourcery.com>
9695 Aldy Hernandez <aldyh@redhat.com>
9696
9697 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9698 Change condition to [_SOFT_FLOAT].
9699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9711 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9714 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9715 declaration.
9716
d13ef066
JM
97172013-09-18 Joseph Myers <joseph@codesourcery.com>
9718
2e071de0
JM
9719 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9720 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9721 (__longjmp): Use LOAD_GP to load saved GPRs.
9722 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9723 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9724 (__sigsetjmp): Use SAVE_GP to save GPRs.
9725
d13ef066
JM
9726 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9727 Do not append -msoft-float.
9728 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9729
97a0650b
SP
97302013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9731
9732 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9733
11ca09e9
JM
97342013-09-17 Joseph Myers <joseph@codesourcery.com>
9735
9736 [BZ #15966]
9737 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9738 (_FPU_GETCW): Use initial "__" on variable and field names but not
9739 on macro parameter name.
9740 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9741 parentheses around reference to macro parameter.
9742
08ffcf34
RS
97432013-09-13 Richard Sandiford <richard@codesourcery.com>
9744
9745 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9746 prototype.
9747 (ctype_startup): Use uint32_t in cast and sizeof for
9748 ctype->charnames.
9749
ae7080d3
JL
97502013-09-11 Jia Liu <proljc@gmail.com>
9751
9752 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9753 __daddr_t_defined.
9754 [__FreeBSD__]: Likewise.
9755
5905e7b3
OB
97562013-09-11 Ondřej Bílka <neleai@seznam.cz>
9757
9758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9759 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9760 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9761 (strchr): Remove __strchr_sse42 ifunc selection.
9762 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9763 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9764
b987c776
WN
97652013-09-11 Will Newton <will.newton@linaro.org>
9766
9767 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9768 parameter to RES. Remove hardcoded 1000 value.
9769 * benchtests/bench-skeleton.c (main): Pass RES parameter
9770 to TIMING_INIT and multiply result by 1000.
9771
ddf985af
AZ
97722013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9773
9774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9775
ffdd3181
AS
97762013-09-11 Andreas Schwab <schwab@suse.de>
9777
9778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9779 if not defined.
9780 (O_TMPFILE) [__USE_GNU]: Define.
9781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9782 Define.
9783
b73ed247
WN
97842013-09-11 Will Newton <will.newton@linaro.org>
9785
9786 [BZ #15857]
9787 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9788 does not overflow.
9789
55e17aad
WN
97902013-09-11 Will Newton <will.newton@linaro.org>
9791
9792 [BZ #15856]
9793 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9794 does not overflow.
9795
1159a193
WN
97962013-09-11 Will Newton <will.newton@linaro.org>
9797
9798 [BZ #15855]
9799 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9800 does not overflow.
9801
5905e7b3 98022013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9803
9804 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9809
cdfc721b
AM
98102013-09-10 Allan McRae <allan@archlinux.org>
9811
aa04af00
AM
9812 [BZ #15748]
9813 * manual/arith.texi (Parsing of Floats): Clarify
9814 cross-reference.
9815
cdfc721b
AM
9816 [BZ #15849]
9817 * manual/install.texi (Running make install): Mention
9818 --enable-pt-chown.
9819 * INSTALL: Regenerated.
9820
95e7cf29
MR
98212013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9822
9823 * csu/init-first.c (_init): Remove the !SHARED condition around
9824 FPU control word initialization.
9825 * elf/dl-support.c (_dl_fpu_control): New variable.
9826 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9827 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9828 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9829 * math/test-fpucw-static.c: New file.
9830 * math/test-fpucw-ieee.c: New file.
9831 * math/test-fpucw-ieee-static.c: New file.
9832 * math/Makefile (tests): Add `test-fpucw-ieee' and
9833 `$(tests-static)'.
9834 (tests-static): New variable.
9835 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9836 dependency to...
9837 [($(build-shared),yes)]
9838 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9839 ... this.
9840 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9841 New dependency.
9842
83e43bf0
AM
98432013-09-09 Allan McRae <allan@archlinux.org>
9844
a9f5ce09
AM
9845 [BZ #15939]
9846 * manual/string.texi (Collation Functions): Fix typo in
9847 strcoll example.
9848 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9849
34829bc2
AM
9850 [BZ #15893]
9851 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9852
3932737d
AM
9853 [BZ #15892]
9854 * libio/memstream.c (open_memstream): Fix memory leak.
9855 * libio/wmemstream.c (open_wmemstream): Likewise.
9856
83e43bf0
AM
9857 [BZ #15895]
9858 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9859
0c66b8e9
WN
98602013-09-09 Will Newton <will.newton@linaro.org>
9861
9862 * malloc/Makefile: Add tst-realloc to tests.
9863 * malloc/tst-realloc.c: New file.
9864
f6b00fd1
AM
98652013-09-09 Allan McRae <allan@archlinux.org>
9866
9867 [BZ #15844]
9868 * COPYING: Update from GNU website to fix FSF address.
9869 * COPYING.LIB: Likewise.
9870
eec55e16
DM
98712013-09-06 David S. Miller <davem@davemloft.net>
9872
9873 * po/zh_TW.po: Update Chinese (traditional) translation from
9874 translation project.
9875
1ecbb381
RS
98762013-09-06 Richard Sandiford <richard@codesourcery.com>
9877 Joseph Myers <joseph@codesourcery.com>
9878
9879 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9880 "localeinfo.h".
9881 (obstack_chunk_alloc): New macro.
9882 (obstack_chunk_free): Likewise.
9883 (record_offset): New function.
9884 (init_locale_data): Likewise.
9885 (align_locale_data): Likewise.
9886 (add_locale_empty): Likewise.
9887 (add_locale_raw_data): Likewise.
9888 (add_locale_raw_obstack): Likewise.
9889 (add_locale_string): Likewise.
9890 (add_locale_wstring): Likewise.
9891 (add_locale_uint32): Likewise.
9892 (add_locale_uint32_array): Likewise.
9893 (add_locale_char): Likewise.
9894 (start_locale_structure): Likewise.
9895 (end_locale_structure): Likewise.
9896 (start_locale_prelude): Likewise.
9897 (end_locale_prelude): Likewise.
9898 (write_locale_data): Take locale_file structure rather than an
9899 iovec.
9900 * locale/programs/locfile.h: Include "obstack.h".
9901 (struct locale_file): Change to store locale file contents instead
9902 of header.
9903 (init_locale_data): New prototype.
9904 (align_locale_data): Likewise.
9905 (add_locale_empty): Likewise.
9906 (add_locale_raw_data): Likewise.
9907 (add_locale_raw_obstack): Likewise.
9908 (add_locale_string): Likewise.
9909 (add_locale_wstring): Likewise.
9910 (add_locale_uint32): Likewise.
9911 (add_locale_uint32_array): Likewise.
9912 (add_locale_char): Likewise.
9913 (start_locale_structure): Likewise.
9914 (end_locale_structure): Likewise.
9915 (start_locale_prelude): Likewise.
9916 (end_locale_prelude): Likewise.
9917 (write_locale_data): Update prototype.
9918 * locale/programs/3level.h (struct TABLE): Remove result field.
9919 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9920 Use new locale_file interface.
9921 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9922 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9923 * locale/programs/ld-address.c (address_output): Use new
9924 locale_file interface.
9925 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9926 NO_ADD_LOCALE.
9927 (collate_finish): Don't call collseq_table_finalize.
9928 (collate_output): Use new locale_file interface.
9929 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9930 in file.
9931 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9932 (TABLE): Move defines earlier in file.
9933 (ELEMENT): Likewise.
9934 (DEFAULT): Likewise.
9935 (wctrans_table_add): Move macro and inline function earlier in
9936 file.
9937 (struct wctype_table): Move type earlier in file.
9938 (add_locale_wctype_table): New static prototype.
9939 (struct locale_ctype_t): Use logical types instead of struct iovec
9940 pointers for members.
9941 (ctype_output): Use new locale_file interface.
9942 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9943 new locale_file interface.
9944 (allocate_arrays): Update for use of new locale_file interface.
9945 * locale/programs/ld-identification.c (identification_output): Use
9946 new locale_file interface.
9947 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9948 * locale/programs/ld-messages.c (messages_output): Likewise.
9949 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9950 * locale/programs/ld-name.c (name_output): Likewise.
9951 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9952 * locale/programs/ld-paper.c (paper_output): Likewise.
9953 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9954 * locale/programs/ld-time.c (time_output): Likewise.
9955
e029e2e5
AZ
99562013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957
9958 * benchtests/Makefile: Add memrchr benchmark.
9959 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9960 benchmark as memrchr.
9961 * benchtests/bench-memrchr-ifunc.c: New file.
9962 * benchtests/bench-memrchr.c: New file.
9963
bbf6e8e4
WN
99642013-09-06 Will Newton <will.newton@linaro.org>
9965
9966 * benchtests/Makefile (string-bench): Add memcpy.
9967
6c82a2f8
CD
99682013-09-05 Carlos O'Donell <carlos@redhat.com>
9969 Cong Wang <amwang@redhat.com>
9970
e732c5f0 9971 [BZ #15850]
6c82a2f8
CD
9972 * sysdeps/unix/sysv/linux/bits/in.h
9973 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9974 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9975 before __USE_KERNEL_IPV6_DEFS uses.
9976 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9977 IPPROTO_BEETPH.
9978 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9979 sockaddr_in6, or ipv6_mreq.
9980
5430fc65
AZ
99812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9982
9983 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9984 memory access for final bytes in some large inputs.
9985 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9986
4660856c
AZ
99872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9988
9989 * string/test-memrchr.c: New file.
9990 * string/test-memrchr-ifunc.c: New file.
9991 * string/Makefile: Add new memrchr testcase.
9992
bb8ea713
MF
99932013-09-05 Mike Frysinger <vapier@gentoo.org>
9994
9995 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9996 fanotify_init returns EPERM.
9997
b92a20b5
JM
99982013-09-04 Joseph Myers <joseph@codesourcery.com>
9999
10000 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10001 errors.
10002 (top level): Treat second token from macro or constant entries for
10003 allowed headers as allowed.
10004 * include/complex.h: Condition internal declarations on
10005 [!_ISOMAC].
10006 * include/fenv.h: Condition include of <stdbool.h> and internal
10007 declarations on [!_ISOMAC].
7447ccd9
CL
10008
100092013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10010
3e181dda 10011 [BZ #15923]
7447ccd9
CL
10012 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10013
3f2e46a4
JM
100142013-09-04 Joseph Myers <joseph@codesourcery.com>
10015
10016 * configure.in (--enable-versioning): Remove configure option.
10017 (libc_cv_asm_symver_directive): Remove configure test.
10018 (libc_cv_ld_version_script_option): Likewise.
10019 (VERSIONING): Remove variable and AC_SUBST.
10020 (DO_VERSIONING): Remove AC_DEFINE.
10021 * configure: Regenerated.
10022 * config.h.in (DO_VERSIONING): Remove macro.
10023 * Makerules [$(versioning) = yes]: Change conditionals to
10024 [$(build-shared) = yes].
10025 * config.make.in (versioning): Remove variable.
10026 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10027 [$(build-shared) = yes].
10028 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10029 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10030 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10031 [$(build-shared) = yes].
10032 * extra-lib.mk [$(versioning) = yes]: Likewise.
10033 * hurd/Makefile [$(versioning) = yes]: Likewise.
10034 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10035 [SHARED].
10036 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10037 [SHARED].
10038 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10039 [SHARED && !NO_HIDDEN].
10040 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10041 [SHARED].
10042 [SHARED && DO_VERSIONING]: Likewise..
10043 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10044 [$(build-shared) = yes].
10045 * manual/install.texi (--disable-versioning): Remove
10046 documentation.
10047 * INSTALL: Regenerated.
10048 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10049 to [SHARED].
10050 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10051 [$(build-shared) = yes].
10052 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10053 * sysdeps/i386/i686/multiarch/strstr-c.c
10054 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10055 [SHARED && !NO_HIDDEN].
10056 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10057 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10058 * sysdeps/powerpc/powerpc32/dl-machine.c
10059 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10060 * sysdeps/powerpc/powerpc32/sysdep.h
10061 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10062 to [SHARED && PIC && !NO_HIDDEN].
10063 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10064 conditional to [SHARED].
10065
44558701
WN
100662013-09-04 Will Newton <will.newton@linaro.org>
10067
10068 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10069 * benchtests/bench-string.h: Include bench-timing.h instead
10070 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10071 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10072 call to HP_TIMING_DIFF_INIT.
10073 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10074 instead of hp-timing.h macros.
10075 * benchtests/bench-memchr.c: Likewise.
10076 * benchtests/bench-memcmp.c: Likewise.
10077 * benchtests/bench-memcpy.c: Likewise.
10078 * benchtests/bench-memmem.c: Likewise.
10079 * benchtests/bench-memmove.c: Likewise.
10080 * benchtests/bench-memset.c: Likewise.
10081 * benchtests/bench-rawmemchr.c: Likewise.
10082 * benchtests/bench-strcasecmp.c: Likewise.
10083 * benchtests/bench-strcasestr.c: Likewise.
10084 * benchtests/bench-strcat.c: Likewise.
10085 * benchtests/bench-strchr.c: Likewise.
10086 * benchtests/bench-strcmp.c: Likewise.
10087 * benchtests/bench-strcpy.c: Likewise.
10088 * benchtests/bench-strcpy_chk.c: Likewise.
10089 * benchtests/bench-strlen.c: Likewise.
10090 * benchtests/bench-strncasecmp.c: Likewise.
10091 * benchtests/bench-strncat.c: Likewise.
10092 * benchtests/bench-strncmp.c: Likewise.
10093 * benchtests/bench-strncpy.c: Likewise.
10094 * benchtests/bench-strnlen.c: Likewise.
10095 * benchtests/bench-strpbrk.c: Likewise.
10096 * benchtests/bench-strrchr.c: Likewise.
10097 * benchtests/bench-strspn.c: Likewise.
10098 * benchtests/bench-strstr.c: Likewise.
10099
cae16d66
WN
101002013-09-04 Will Newton <will.newton@linaro.org>
10101
10102 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10103
ffa3cd7f
JM
101042013-09-03 Joseph Myers <joseph@codesourcery.com>
10105
10106 [BZ #15427]
10107 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10108 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10109 * math/libm-test.inc (lgamma_test_data): Add more tests.
10110 * sysdeps/i386/fpu/libm-test-ulps: Update.
10111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10112
8f02859f
OB
101132013-09-03 Ondřej Bílka <neleai@seznam.cz>
10114
10115 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10117 Add ifunc.
10118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10119 Add strcmp-sse2-unaligned
10120 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10121
18d43716
MF
101222013-09-02 Mike Frysinger <vapier@gentoo.org>
10123
10124 * Versions.def (libc): Add GLIBC_2.19.
10125
ac444012
MF
101262013-09-02 Mike Frysinger <vapier@gentoo.org>
10127
10128 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10129 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10130
b7835e32
JM
101312013-09-02 Joseph Myers <joseph@codesourcery.com>
10132
10133 [BZ #14155]
10134 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10135 intermediate calculations in recurrence.
10136 (__ieee754_ynf): Likewise.
10137 * math/libm-test.inc (jn_test_data): Do not allow spurious
10138 underflow exception. Add more tests.
10139 (yn_test_data): Add more tests.
10140 * sysdeps/i386/fpu/libm-test-ulps: Update.
10141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10142
8220f4f0
OB
101432013-09-02 Ondřej Bílka <neleai@seznam.cz>
10144
10145 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10146
f24a6d08
OB
101472013-08-30 Ondřej Bílka <neleai@seznam.cz>
10148
10149 * csu/init-first.c: Fix then/than typos.
10150 * locale/programs/ld-collate.c: Likewise.
10151 * locale/programs/linereader.h: Likewise.
10152 * manual/charset.texi: Likewise.
10153 * manual/filesys.texi: Likewise.
10154 * manual/stdio.texi: Likewise.
10155 * manual/string.texi: Likewise.
10156 * stdlib/fmtmsg.c: Likewise.
10157 * sysdeps/i386/stpncpy.S: Likewise.
10158 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10159 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10160 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10161 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10162
382466e0
OB
101632013-08-30 Ondřej Bílka <neleai@seznam.cz>
10164
10165 * elf/dl-open.c: Fix typos.
10166 * iconvdata/gbbig5.c: Likewise.
10167 * iconvdata/iso-2022-jp.c: Likewise.
10168 * iconv/gconv_int.h: Likewise.
10169 * iconv/loop.c: Likewise.
10170 * nis/rpcsvc/nis.h: Likewise.
10171 * resolv/ns_name.c: Likewise.
10172 * stdio-common/vfscanf.c: Likewise.
10173 * streams/stropts.h: Likewise.
10174 * sunrpc/rpc_thread.c: Likewise.
10175 * sysdeps/i386/strpbrk.S: Likewise.
10176 * sysdeps/ieee754/k_standard.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10179 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10180 * sysdeps/mach/hurd/profil.c: Likewise.
10181 * sysdeps/s390/dl-procinfo.h: Likewise.
10182 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10184 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10185 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10187
0186c6e9
OB
101882013-08-30 Ondřej Bílka <neleai@seznam.cz>
10189
10190 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10192
d4e16af1
OB
101932013-08-29 Ondřej Bílka <neleai@seznam.cz>
10194
10195 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10196 aix specific files.
10197 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10199 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10200 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10205
88335980
TS
102062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10207 Roland McGrath <roland@hack.frob.com>
10208
10209 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10210 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10211
ed479b02
ST
102122013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10213
10214 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10215 __executable_start symbol instead of _start.
10216
f1cc4c86
TS
102172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10218
d821f07c
TS
10219 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10220 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10221 Move macros to...
10222 * sysdeps/gnu/ldsodefs.h: ... this new file.
10223
c54290cf
TS
10224 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10225 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10226 instead of ELFOSABI_LINUX.
10227
0007fc9b 10228 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10229 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10230 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10231 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10232 Likewise.
10233 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10234 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10236 Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10238 (ibm_extended_long_double): Add ieee_nan member.
10239 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10240 (do_test): New function.
10241
f1cc4c86
TS
10242 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10243 TEST_TRUNC.
10244 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10245 functions, renamed from truncdfsf_test, trunctfsf_test,
10246 trunctfdf_test.
10247 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10248 functions.
10249 (do_test): Run all these.
10250
6f65e668
OB
102512013-08-29 Ondřej Bílka <neleai@seznam.cz>
10252
10253 * argp/argp-help.c: Fix typos.
10254 * argp/argp-parse.c: Likewise.
10255 * debug/backtracesyms.c: Likewise.
10256 * elf/elf.h: Likewise.
10257 * malloc/malloc.c: Likewise.
10258 * nis/nis_print.c: Likewise.
10259 * resolv/res_comp.c: Likewise.
10260 * stdlib/stdlib.h: Likewise.
10261 * sunrpc/clnt_tcp.c: Likewise.
10262 * sunrpc/clnt_udp.c: Likewise.
10263 * sunrpc/clnt_unix.c: Likewise.
10264 * sysdeps/unix/bsd/ptsname.c: Likewise.
10265 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10266 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10268 Likewise.
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10270 Likewise.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10272 Likewise.
6f65e668
OB
10273 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10274
3a309239
SP
102752013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10276
10277 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10279
3b813b29
MF
102802013-08-27 Mike Frysinger <vapier@gentoo.org>
10281
10282 [BZ #15897]
10283 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10284 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10285 ($(objpfx)bug-dl-leaf): New rule.
10286 ($(objpfx)bug-dl-leaf.so): Likewise.
10287 ($(objpfx)bug-dl-leaf.out): Likewise.
10288 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10289 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10290 * dlfcn/bug-dl-leaf.c: New test.
10291 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10292 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10293 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10294 (dlclose): Likewise.
10295 (dlmopen): Likewise.
10296
8cc3269f
RM
102972013-08-27 Roland McGrath <roland@hack.frob.com>
10298
7f9d0034
RM
10299 * include/netdb.h [!_ISOMAC]:
10300 Don't include <tls.h>.
10301 (h_errno, __libc_h_errno): Move declaration and macros out of
10302 [_LIBC_REENTRANT].
10303
fb431262
RM
10304 * include/resolv.h [_RESOLV_H_]:
10305 Don't include <tls.h>.
10306 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10307 * resolv/res_libc.c: Don't include <tls.h>.
10308 (_res): Use __attribute__ ((nocommon)) in place of
10309 __attribute__ ((section (".bss"))).
10310
bd81123a
RM
10311 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10312 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10313
c4e42566
RM
10314 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10315
f890a59b
RM
10316 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10317 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10318
10319 * resolv/res_mkquery.c: Include <sys/time.h>.
10320
5d1f0a09
RM
10321 * inet/ifreq.c: Moved to ...
10322 * sysdeps/unix/ifreq.c: ... here.
10323 * inet/ifreq.c: New file, true stub version.
10324
6fcf28b3
RM
10325 * socket/sa_len.c: New file.
10326 * socket/Makefile (aux): Add it.
10327 * sysdeps/unix/sysv/linux/Makefile
10328 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10329 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10330 and #include <socket/sa_len.c>.
10331 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10332 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10333
e041fb8b
RM
10334 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10335 * bits/socket.h: ... here.
10336
8cc3269f
RM
10337 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10338 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10339 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10340
5d228a43
AS
103412013-08-27 Andreas Schwab <schwab@suse.de>
10342
45b8accc
AS
10343 [BZ #15736]
10344 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10345 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10346 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10347 * string/test-strcasecmp.c (test_main): Run tests in several
10348 locales.
10349 * string/test-strncasecmp.c (test_main): Likewise.
10350
5d228a43
AS
10351 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10352 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10353 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10355 (__strncasecmp_ssse3) [PIC]: Likewise.
10356
59d112a4
RM
103572013-08-26 Roland McGrath <roland@hack.frob.com>
10358
53234cc3
RM
10359 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10360
59d112a4
RM
10361 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10362 instead of explicitly declaring xdecrypt.
10363 * nis/nss_nis/nis-publickey.c: Likewise.
10364
595aba70
SP
103652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10366
10367 [BZ #15890]
10368 * nscd/aicache.c: Include res_hconf.h.
10369 (addhstaiX): Initialize res_hconf.
10370
ffabd393
AS
103712013-08-26 Andreas Schwab <schwab@suse.de>
10372
10373 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10374 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10375
e0a69f5c
SP
103762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10377
10378 * nscd/aicache.c (addhstaiX): Fix indentation.
10379
8c12f01d
MF
103802013-08-25 Mike Frysinger <vapier@gentoo.org>
10381
10382 * configure.ac: Quote $build_pt_chown test.
10383 * configure: Regenerated.
10384
8fe89494
JM
103852013-08-23 Joseph Myers <joseph@codesourcery.com>
10386
10387 [BZ #15532]
10388 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10389 * math/s_cexpf.c (__cexpf): Likewise.
10390 * math/s_cexpl.c (__cexpl): Likewise.
10391 * math/libm-test.inc (cexp_test_data): Correct expected return
10392 value for NaN + i0. Add another test.
10393
75b181d6
DM
103942013-08-22 David S. Miller <davem@davemloft.net>
10395
10396 * po/ca.po: Update Catalan translation from translation project.
936241e4 10397 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10398
acd06bb1
JM
103992013-08-21 Joseph Myers <joseph@codesourcery.com>
10400
10401 [BZ #15797]
10402 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10403 is infinite, not alongside NaN test.
10404 * math/s_fdimf.c (__fdimf): Likewise.
10405 * math/s_fdiml.c (__fdiml): Likewise.
10406 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10407 errno is unchanged.
10408
c0c3f78a
OB
104092013-08-21 Ondřej Bílka <neleai@seznam.cz>
10410
10411 * argp/argp-help.c: Fix typos.
10412 * crypt/speeds.c: Likewise.
10413 * csu/check_fds.c: Likewise.
10414 * elf/dl-load.c: Likewise.
10415 * elf/dl-open.c: Likewise.
10416 * elf/reldep3.c: Likewise.
10417 * elf/reldep.c: Likewise.
10418 * elf/sprof.c: Likewise.
10419 * iconv/iconv_charmap.c: Likewise.
10420 * iconv/skeleton.c: Likewise.
10421 * iconv/strtab.c: Likewise.
10422 * io/lockf64.c: Likewise.
10423 * libio/libioP.h: Likewise.
10424 * resolv/gai_notify.c: Likewise.
10425 * resolv/ns_name.c: Likewise.
10426 * resolv/ns_samedomain.c: Likewise.
10427 * resolv/res_send.c: Likewise.
10428 * stdlib/random.c: Likewise.
10429 * sunrpc/rpc/xdr.h: Likewise.
10430 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10431 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10432 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10433 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10435 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10437 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10438 * sysdeps/mach/hurd/check_fds.c: Likewise.
10439 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10440 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10441 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10442 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10443 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10444 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10445 * sysdeps/pthread/aio_notify.c: Likewise.
10446 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10447 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10448 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10450 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10451
46ed1038
LD
104522013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10453
10454 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10455 version if bit_Slow_SSE4_2 is set.
10456 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10458
d400dcac
AZ
104592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10460
10461 [BZ #15867]
10462 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10463 trampoline stack frame information.
10464 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10466 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10467 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10468 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10469 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10470 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10471 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10472 sa_flags value.
10473 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10474 interrupting a syscall and set with option SA_SIGINFO.
10475
42c8fdd8
JM
104762013-08-20 Joseph Myers <joseph@codesourcery.com>
10477
c980f2f4
JM
10478 [BZ #15531]
10479 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10480 argument is infinite.
10481 * math/s_cprojf.c (__cprojf): Likewise.
10482 * math/s_cprojl.c (__cprojl): Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10484 * math/libm-test.inc (cproj_test_data): Add more tests.
10485
0716c4fc
JM
10486 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10487
42c8fdd8
JM
10488 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10489 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10490 size. Use __ffs to determine corresponding shift.
10491
b31469d0
JM
104922013-08-20 Joseph Myers <joseph@codesourcery.com>
10493 Roland McGrath <roland@hack.frob.com>
10494
10495 * Makefile (INSTALL): Remove trailing blank lines from output of
10496 makeinfo.
10497
4e39af6e
AK
104982013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10499
10500 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10501 Align 32 bit compat elf_greg to 8 bytes.
10502
f315524e
AA
105032013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10504
10505 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10506
1326ba1a
SP
105072013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10508
10509 * string/strcoll_l.c (coll_seq): New structure.
10510 (get_next_seq_cached): New function.
10511 (get_next_seq): New function.
10512 (do_compare): New function.
10513 (STRCOLL): Use GNU style definition. Simplify implementation
10514 by using get_next_seq, get_next_seq_cached and do_compare.
10515
91ce4085
FW
105162013-08-16 Florian Weimer <fweimer@redhat.com>
10517
10518 [BZ #14699]
10519 CVE-2013-4237
10520 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10521 member.
10522 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10523 member.
10524 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10525 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10526 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10527 conditional.
10528 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10529 GETDENTS_64BIT_ALIGNED.
10530 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10531 * manual/filesys.texi (Reading/Closing Directory): Document
10532 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10533 strongly.
10534 * manual/conf.texi (Limits for Files): Add portability note to
10535 NAME_MAX, PATH_MAX.
10536 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10537
ca0a6bc4
AS
105382013-08-13 Andreas Schwab <schwab@suse.de>
10539
10540 [BZ #15749]
10541 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10542 of fabs.
10543 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10544 LDBL_MAX_EXP >= 16384]: Add tests for it.
10545
6c1fd795
DM
105462013-08-12 David S. Miller <davem@davemloft.net>
10547
10548 * version.h (RELEASE): Set to "development".
10549 (VERSION): Set to "2.18.90".
10550 * NEWS: Add 2.19 section.
10551
31ad488d
DM
105522013-08-03 David S. Miller <davem@davemloft.net>
10553
10554 * po/ko.po: Update Korean translation from translation project.
10555
db24e684
DM
105562013-08-01 David S. Miller <davem@davemloft.net>
10557
10558 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10559 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10560 Bilka.
10561
f723285b
DM
105622013-07-30 David S. Miller <davem@davemloft.net>
10563
10564 * po/fr.po: Update French translation from translation project.
10565
3cbc52db
DM
105662013-07-28 David S. Miller <davem@davemloft.net>
10567
30bbc0cc
DM
10568 * po/cs.po: Update Czech translation from translation project.
10569
3cbc52db
DM
10570 * po/sv.po: Update Swedish translation from translation project.
10571
d492e6d0
DM
105722013-07-27 David S. Miller <davem@davemloft.net>
10573
f1a7f492
DM
10574 * po/eo.po: Update Esperanto translation from translation project.
10575
90e62a4a
DM
10576 * po/vi.po: Update Vietnamese translation from translation project.
10577
d492e6d0
DM
10578 * po/de.po: Update German translation from translation project.
10579
d4baa62d
DM
105802013-07-26 David S. Miller <davem@davemloft.net>
10581
641aa7b4
DM
10582 * po/bg.po: Update Bulgarian translation from translation project.
10583
d4baa62d
DM
10584 * po/nl.po: Update Dutch translation from translation project.
10585 * po/pl.po: Update Polish translation from translation project.
10586 * po/ru.po: Update Russian translation from translation project.
10587
61a9dcb9
DM
105882013-07-24 David S. Miller <davem@davemloft.net>
10589
10590 * po/libc.pot: Update.
10591
7b1f8b58
AZ
105922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10593
10594 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10595 variable page size.
10596 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10597 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10598 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10599
a8fc7a03
AK
106002013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10601
10602 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10603
e4608715
CD
106042013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10605 Andreas Schwab <schwab@suse.de>
10606 Roland McGrath <roland@hack.frob.com>
10607 Joseph Myers <joseph@codesourcery.com>
10608 Carlos O'Donell <carlos@redhat.com>
10609
10610 [BZ #15755]
10611 * config.h.in: Define HAVE_PT_CHOWN.
10612 * config.make.in (build-pt-chown): New variable.
10613 * configure.in (--enable-pt_chown): New configure option.
10614 * configure: Regenerate.
10615 * login/Makefile: Include Makeconfig. Build pt_chown only if
10616 build-pt-chown is enabled.
10617 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10618 pt_chown to fix pty ownership.
10619 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10620 CLOSE_ALL_FDS.
10621 * manual/install.texi (Configuring and compiling): Mention
10622 --enable-pt_chown. Add @findex for grantpt.
10623 * INSTALL: Regenerate.
10624
da2d62df
DM
106252013-07-20 David S. Miller <davem@davemloft.net>
10626
10627 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10628 difference between 32-bit and 64-bit.
10629
d7e06450
CD
106302013-07-15 Carlos O'Donell <carlos@redhat.com>
10631
10632 [BZ #15711]
10633 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10634 Avoid system header dependency with -ffreestanding.
10635 ($(objpfx)bits/syscall%d): Likewise.
10636
f959cfd7
DM
106372013-07-13 David S. Miller <davem@davemloft.net>
10638
10639 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10640 underflows from atanl/atan2l due to bug 15319.
10641 (casinh_test_data): Likewise.
10642
c61f8513
DM
106432013-07-07 David S. Miller <davem@davemloft.net>
10644
10645 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10646
72c90ed0
JA
106472013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10648
10649 * sysdeps/i386/fpu/libm-test-ulps: Update.
10650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10651
52dfbe13
SP
106522013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10653
10654 * configure.in (--enable-lock-elision): Fix message text.
10655 * INSTALL: Regenerate.
10656 * configure: Regenerate.
10657
3f169543
AZ
106582013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10659
10660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10661
521c6785
AJ
106622013-07-03 Andreas Jaeger <aj@suse.de>
10663
10664 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10665 define.
10666 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10667 (ptrace_peeksiginfo_args): Add.
10668 (__ptrace_peeksiginfo_flags): Add.
10669 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10672
d2cc15cb
AM
106732013-07-03 Allan McRae <allan@archlinux.org>
10674
10675 * sysdeps/i386/fpu/libm-test-ulps: Update.
10676
3aaeeca7
DM
106772013-07-02 David S. Miller <davem@davemloft.net>
10678
10679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10680
5314ed1a
MT
106812013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10682
10683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10684
67338156
JM
106852013-07-02 Joseph Myers <joseph@codesourcery.com>
10686
10687 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10689
1717da59
AK
106902013-07-02 Andi Kleen <ak@linux.intel.com>
10691
10692 * config.h.in (ENABLE_LOCK_ELISION): Add.
10693 * configure.in (--enable-lock-elision): Add option.
10694 * manual/install.texi: Document --enable lock elision.
10695 * configure: Regenerate
10696 * INSTALL: Regenerate.
10697
1c81621c
L
106982013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10699
10700 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10701 SSE4.2 strcasecmp for libc.a.
10702 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10703
77f01ab5
JM
107042013-07-02 Joseph Myers <joseph@codesourcery.com>
10705
10706 [BZ #13304]
10707 * soft-fp/op-common.h (_FP_FMA): New macro.
10708 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10709 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10710 (_FP_MUL_MEAT_1_imm): ... here.
10711 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10712 (_FP_MUL_MEAT_1_wide): ... here.
10713 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10714 (_FP_MUL_MEAT_1_hard): ... here.
10715 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10716 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10717 (_FP_MUL_MEAT_2_wide): ... here.
10718 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10719 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10720 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10721 (_FP_MUL_MEAT_2_gmp): ... here.
10722 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10723 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10724 (_FP_MUL_MEAT_4_wide): ... here.
10725 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10726 (_FP_MUL_MEAT_4_gmp): ... here.
10727 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10728 (_FP_WFRACBITS_DW_S): Likewise.
10729 (_FP_WFRACXBITS_DW_S): Likewise.
10730 (_FP_HIGHBIT_DW_S): Likewise.
10731 (FP_FMA_S): Likewise.
10732 (_FP_FRAC_HIGH_DW_S): Likewise.
10733 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10734 (_FP_WFRACBITS_DW_D): Likewise.
10735 (_FP_WFRACXBITS_DW_D): Likewise.
10736 (_FP_HIGHBIT_DW_D): Likewise.
10737 (FP_FMA_D): Likewise.
10738 (_FP_FRAC_HIGH_DW_D): Likewise.
10739 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10740 (_FP_WFRACBITS_DW_E): Likewise.
10741 (_FP_WFRACXBITS_DW_E): Likewise.
10742 (_FP_HIGHBIT_DW_E): Likewise.
10743 (FP_FMA_E): Likewise.
10744 (_FP_FRAC_HIGH_DW_E): Likewise.
10745 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10746 (_FP_WFRACBITS_DW_Q): Likewise.
10747 (_FP_WFRACXBITS_DW_Q): Likewise.
10748 (_FP_HIGHBIT_DW_Q): Likewise.
10749 (FP_FMA_Q): Likewise.
10750 (_FP_FRAC_HIGH_DW_Q): Likewise.
10751 * soft-fp/fmasf4.c: New file.
10752 * soft-fp/fmadf4.c: Likewise.
10753 * soft-fp/fmatf4.c: Likewise.
10754
6308fd9a
LD
107552013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10756
10757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10758 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10759 Silvermont.
10760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10761 macro.
10762 (index_Slow_SSE4_2): Likewise.
10763 (index_Prefer_PMINUB_for_stringop): Likewise.
10764 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10765 bit_Slow_SSE4_2 is set.
10766 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10767 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10768
89cd9569
RA
107692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10770
10771 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10772 rtld_global._dl_hwcap2.
10773 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10774 POWER8.
10775 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10776 POWER8 feature descriptions defined in _dl_hwcap2.
10777 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10778 string handling for POWER8 feature bits.
10779 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10780 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10781 _dl_powerpc_cap_flags.
10782 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10783 * sysdeps/powerpc/rtld-global-offsets.sym
10784 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10785 _dl_hwcap2 in the rtld_global_ro structure.
10786
1ae8bfe0
RA
107872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10788
10789 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10790 hardware capabilities in support of AT_HWCAP2.
10791 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10792 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10793 GLRO(dl_hwcap2).
10794 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10795 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10796 explicitly the unknown a_type display mechanism is used.
10797 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10798 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10799 struct member.
10800 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10801 to macro prototype for AT_HWCAP2 support.
10802 * sysdeps/i386/dl-procinfo.h: Likewise.
10803 * sysdeps/s390/dl-procinfo.h: Likewise.
10804 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10805 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10806 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10807 return -1 for unknown a_type display fallback.
10808 * sysdeps/sparc/dl-procinfo.h: Likewise.
10809 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10810 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10811
8fbec010
JM
108122013-06-28 Joseph Myers <joseph@codesourcery.com>
10813
10814 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10815 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10816
0432680e
PY
108172013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10818
10819 [BZ #12492]
10820 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10821 mprotect making __stack_prot writable.
10822
ce61a2ad
NF
108232013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10824 Joseph Myers <joseph@codesourcery.com>
10825
10826 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10827 as being properly aligned.
10828
f91f1c0f
MR
108292013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10830
3d0f5d0c
MR
10831 * dlfcn/modstatic5.c: New file.
10832 * dlfcn/tststatic5.c: New file.
10833 * dlfcn/Makefile (tests): Add tststatic5.
10834 (tests-static): Likewise.
10835 (modules-names): Add modstatic5.
10836 (tststatic5-ENV): New variable.
10837 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10838
f91f1c0f
MR
10839 [BZ #15022]
10840 * elf/dl-support.c (_dl_main_map): New variable.
10841 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10842 (_dl_nns, _dl_load_adds): Set to 1.
10843 (_dl_initial_searchlist): Refer to _dl_main_map.
10844 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10845 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10846 call to _dl_get_origin.
10847 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10848 around call_map.
10849 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10850 * dlfcn/modstatic3.c: New file.
10851 * dlfcn/tststatic3.c: New file.
10852 * dlfcn/tststatic4.c: New file.
10853 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10854 (tests-static): Likewise.
10855 (modules-names): Add modstatic3.
10856 (tststatic3-ENV, tststatic4-ENV): New variables.
10857 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10858 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10859
cbe7d24b
JM
108602013-06-26 Joseph Myers <joseph@codesourcery.com>
10861
10862 * configure.in (CC): Require GCC version 4.4 or later.
10863 * configure: Regenerated.
10864 * manual/install.texi (Tools for Compilation): Update GCC version
10865 requirement.
10866 * INSTALL: Regenerated.
10867
11b8a0e1
LD
108682013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10869
10870 [BZ #15674]
bb5bb87c
L
10871 * string/test-memcmp.c (check2): New.
10872 (main): Call check2.
10873
11b8a0e1
LD
10874 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10875
b0037103
MR
108762013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10877
10878 [BZ #15022]
10879 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10880 over to...
10881 (dl_open_worker) [!SHARED]: ... here.
10882
c18c701d
RA
108832013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10884
10885 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10886
1d17fa5f
RH
108872013-06-25 Richard Henderson <rth@redhat.com>
10888
10889 * locale/programs/locarchive.c: Include <libc-internal.h>
10890
8fcb833a
JM
108912013-06-25 Joseph Myers <joseph@codesourcery.com>
10892
10893 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10894 trailing whitespace removed.
10895
17db6e8d
MF
108962013-06-24 Mike Frysinger <vapier@gentoo.org>
10897
10898 [BZ #10283]
17db6e8d
MF
10899 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10900 * locale/programs/locarchive.c: Include libc-mmap.h.
10901 (prepare_address_space): Take two new outputs (the mmap base and len).
10902 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10903 values.
10904 (create_archive): Declare new mmap base and len values for
10905 prepare_address_space, and store the result in ah.
10906 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10907 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10908 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10909 Declare new mmap base and len values for
10910 prepare_address_space, and store the result in new_ah.
10911 (open_archive): Declare new mmap base and len values for
10912 prepare_address_space, and store the result in ah.
10913 (close_archive): If ah->mmap_base is not NULL, use that and
10914 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10915 * sysdeps/generic/libc-mmap.h: New file.
10916
d605071e
MF
109172013-06-24 Mike Frysinger <vapier@gentoo.org>
10918
10919 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10920 (ALIGN_UP): Likewise.
10921 (PTR_ALIGN_DOWN): Likewise.
10922 (PTR_ALIGN_UP): Likewise.
10923
2f063a6e
RA
109242013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10925
10926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10927 entry mapped to PPC_PLATFORM_POWER8.
10928 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10929 POWER8.
10930 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10931 (_dl_string_platform): Add case for exporting platform position for
10932 POWER8.
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10934 search path to sysdeps/powerpc/powerpc32/power8 directory.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10936 search path to sysdeps/powerpc/powerpc64/power8 directory.
10937 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10938 power7 directories.
10939 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10940 power7 directories.
10941
a31ee4b3
SP
109422013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10943
a74ca98f
SP
10944 * INSTALL: Regenerate.
10945
a31ee4b3
SP
10946 * nscd/connections.c (nscd_init): Fix comment.
10947
695c378f
JM
109482013-06-22 Joseph Myers <joseph@codesourcery.com>
10949
d8412221
JM
10950 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10951
695c378f
JM
10952 [BZ #15667]
10953 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10954 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10955
d1d54715
MR
109562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10957
10958 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10959 DL_DST_REQ_STATIC.
10960 (DL_DST_REQ_STATIC): Remove macro.
10961
8fdda7af
JM
109622013-06-21 Joseph Myers <joseph@codesourcery.com>
10963
10964 [BZ #7006]
10965 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10966 with a shift of 0 bits.
10967
f3bc5e5a
MR
109682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10969
10970 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10971 $(tststatic-ENV).
10972
be09e8c9
KK
109732013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10974
10975 [BZ #15655]
10976 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10977
85c2e611
AZ
109782013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10979
10980 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10981 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10982 accepts -fno-tree-loop-distribute-patterns.
10983 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10984 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10985 recursive call.
10986 * string/memset.c (memset): Likewise.
10987 * string/test-memmove.c (simple_memmove): Disable loop transformation
10988 to library calls.
10989 * string/test-memset.c (simple_memset): Likewise.
10990 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10991 * benchtests/bench-memset.c (simple_memset): Likewise.
10992 * configure: Regenerated.
10993
c91e0825
JM
109942013-06-20 Joseph Myers <joseph@codesourcery.com>
10995
b8c792af
JM
10996 * math/test-misc.c (main): Ignore fesetround failure when failures
10997 of subsequent rounding tests would be ignored.
10998
c91e0825
JM
10999 [BZ #15654]
11000 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11001 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11002 * math/fegetenv.c (__fegetenv): Return 0.
11003 * math/fegetexcept.c (fegetexcept): Return 0.
11004 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11005 FE_TONEAREST.
11006 * math/feholdexcpt.c (feholdexcept): Return 0.
11007 * math/fesetenv.c (__fesetenv): Return 0.
11008 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11009 argument FE_TONEAREST.
11010 * math/feupdateenv.c (__feupdateenv): Return 0.
11011 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11012
bfcacbde
RM
110132013-06-18 Roland McGrath <roland@hack.frob.com>
11014
11015 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11016 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11017 ($(objpfx)rtld-%.os rules): Use them.
11018
e55a9b25
AZ
110192013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11020
11021 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11022 fields.
11023
346d65b3
RM
110242013-06-17 Roland McGrath <roland@hack.frob.com>
11025
12086fb4
RM
11026 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11027 length of target pattern, then descending length of dependency pattern.
11028 * configure.in (AWK): Require gawk 3.1.2 or newer.
11029 * manual/install.texi (Tools for Compilation): Say that we do.
11030 * configure: Regenerated.
11031
346d65b3
RM
11032 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11033 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11034 * scripts/sysd-rules.awk: ... this new script.
11035 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11036 than a glob-style pattern.
11037
1a846317
JM
110382013-06-17 Joseph Myers <joseph@codesourcery.com>
11039
11040 * math/test-misc.c (main): Do not treat incorrectly rounded
11041 conversions as failure unless ROUNDING_TESTS passes.
11042
8fc75e6f
JM
110432013-06-15 Joseph Myers <joseph@codesourcery.com>
11044
3711a167
JM
11045 [BZ #15631]
11046 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11047 restore exception state around main square root computation, then
11048 check for inexactness explicitly.
11049
8fc75e6f
JM
11050 * math/libm-test.inc (fma_test_data): Add another test.
11051
61dd6208
SP
110522013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11053
adf23d2c
SP
11054 * manual/threads.texi (Non-POSIX Extensions): New document
11055 node. Document pthread_getattr_default_np and
11056 pthread_setattr_default_np.
11057
61dd6208
SP
11058 * Versions.def (libpthread): Add GLIBC_2.18.
11059 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11061 Likewise.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11063 Likewise.
11064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11065 Likewise.
11066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11067 Likewise.
11068 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11069 Likewise.
11070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11071 Likewise.
11072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11073 Likewise.
11074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11075 Likewise.
11076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11077 Likewise.
11078
d086fc7b
LD
110792013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11080
11081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11082 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11083
747ef469
SP
110842013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11085 H.J. Lu <hjl.tools@gmail.com>
11086
11087 [BZ #15627]
11088 * sysdeps/x86_64/rtld-memset.c: Remove file.
11089 * sysdeps/x86_64/rtld-memset.S: New file.
11090
1b2feed2
JM
110912013-06-14 Joseph Myers <joseph@codesourcery.com>
11092
11093 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11094 (test_in_one_mode): Take arguments for whether the rounding mode
11095 is supported for each floating-point type.
11096 (do_test): Pass new arguments to test_in_one_mode using
11097 ROUNDING_TESTS.
11098
a58ad3f8
RM
110992013-06-13 Roland McGrath <roland@hack.frob.com>
11100
11101 * posix/tst-waitid.c (do_test): Distinguish different instances of
11102 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11103 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11104 before entering the kernel for waitpid.
11105
c204ab28
SP
111062013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11107
11108 * NEWS: Fix note on clock function precision. Text by Roland
11109 McGrath.
11110
f4a29fba
RM
111112013-06-13 Roland McGrath <roland@hack.frob.com>
11112
11113 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11114 it into place only when and if the sanity check passes.
11115
1f24b9ad
JM
111162013-06-13 Joseph Myers <joseph@codesourcery.com>
11117
11118 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11119 output for whether conversion result is exact. Take argument
11120 indicating whether type is IBM long double.
11121 (round_for_all): Change need_exact field to ibm_ld.
11122 * stdlib/tst-strtod-round.c (struct exactness): New type.
11123 (struct test): Change bool ld_ok field to struct exactness exact.
11124 (TEST): Update all definitions for change to field.
11125 (tests): Regenerate array contents.
11126 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11127 field value. Check for IBM long double here.
11128 (do_test): Update calls to test_in_one_mode.
11129
58206c68
SP
111302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11131
11132 [BZ #12515]
11133 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11134 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11135
2d6f4c5b 111362013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11137
11138 [BZ #15605]
11139 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11140 generated by the compiler on loop optimizations.
11141 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11142 general definitions.
11143
94f2c076
JM
111442013-06-12 Joseph Myers <joseph@codesourcery.com>
11145
11146 * math/bug-nextafter.c: Include <math-tests.h>.
11147 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11148 the relevant type.
11149 * math/bug-nexttoward.c: Include <math-tests.h>.
11150 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11151 the relevant type.
11152 * math/test-misc.c: Include <math-tests.h>.
11153 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11154 the relevant type.
11155
e0e50a0a
AJ
111562013-06-12 Andreas Jaeger <aj@suse.de>
11157
11158 * po/ia.po: Update Interlingua translation from translation
11159 project.
11160
25061094
SP
111612013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11162
11163 * include/fenv.h: Include stdbool.h.
11164 (struct rm_ctx): New structure.
11165 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11166 Define macro.
11167 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11168 (SET_RESTORE_ROUNDF): Likewise.
11169 (SET_RESTORE_ROUNDL): Likewise.
11170 (SET_RESTORE_ROUND_NOEX): Likewise.
11171 (SET_RESTORE_ROUND_NOEXF): Likewise.
11172 (SET_RESTORE_ROUND_NOEXL): Likewise.
11173 (SET_RESTORE_ROUND_53BIT): Likewise.
11174 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11175 (libc_feresetround_noexf_ctx): Likewise.
11176 (libc_feresetround_noexl_ctx): Likewise.
11177 (libc_feholdsetround_53bit_ctx): Likewise.
11178 (libc_feresetround_53bit_ctx): Likewise.
11179 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11180 (libc_feholdexcept_setround_sse_ctx): New function.
11181 (libc_fesetenv_sse_ctx): Likewise.
11182 (libc_feupdateenv_sse_ctx): Likewise.
11183 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11184 (libc_feholdexcept_setround_387_ctx): Likewise.
11185 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11186 (libc_feholdsetround_387_prec_ctx): Likewise.
11187 (libc_feholdsetround_387_ctx): Likewise.
11188 (libc_feholdsetround_387_53bit_ctx): Likewise.
11189 (libc_feholdsetround_sse_ctx): Likewise.
11190 (libc_feresetround_sse_ctx): Likewise.
11191 (libc_feresetround_387_ctx): Likewise.
11192 (libc_feupdateenv_387_ctx): Likewise.
11193 (libc_feholdexcept_setroundf_ctx): Define macro.
11194 (libc_fesetenvf_ctx): Likewise.
11195 (libc_feupdateenvf_ctx): Likewise.
11196 (libc_feholdsetroundf_ctx): Likewise.
11197 (libc_feresetroundf_ctx): Likewise.
11198 (libc_feholdexcept_setround_ctx): Likewise.
11199 (libc_fesetenv_ctx): Likewise.
11200 (libc_feupdateenv_ctx): Likewise.
11201 (libc_feholdsetround_ctx): Likewise.
11202 (libc_feresetround_ctx): Likewise.
11203 (libc_feholdexcept_setroundl_ctx): Likewise.
11204 (libc_feupdateenvl_ctx): Likewise.
11205 (libc_feholdsetroundl_ctx): Likewise.
11206 (libc_feresetroundl_ctx): Likewise.
11207 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11208 (libc_feresetround_53bit_ctx): Likewise.
11209
59b30555
SP
112102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11211
11212 * locale/iso-639.def: Convert to UTF-8.
11213
f1d73d30
JM
112142013-06-11 Joseph Myers <joseph@codesourcery.com>
11215
11216 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11217 (EXCEPTION_TESTS_double): Likewise.
11218 (EXCEPTION_TESTS_long_double): Likewise.
11219 (EXCEPTION_TESTS): Likewise.
11220 * math/libm-test.inc (test_exceptions): Only test exceptions if
11221 EXCEPTION_TESTS (FLOAT).
11222
94aca5e7
SP
112232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11224
11225 * benchtests/Makefile (string-bench): Add strcpy_chk and
11226 stpcpy_chk.
11227 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11228 * benchtests/bench-stpcpy_chk.c: New file.
11229 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11230 * benchtests/bench-strcpy_chk.c: New file.
11231 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11232 code.
11233 (do_test): Likewise.
11234
fac0c5f2
RA
112352013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11236
11237 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11238 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11239 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11240 with tabs where appropriate.
11241 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11242 dl-procinfo.h.
11243 [PPC_PLATFORM_PPC440]: Likewise.
11244 [PPC_PLATFORM_PPC464]: Likewise.
11245 [PPC_PLATFORM_PPC476]: Likewise.
11246 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11247 ppc464, and ppc476 platform strings merging from ports/
11248 dl-procinfo.h.
11249
f22bc486
AS
112502013-06-11 Andreas Schwab <schwab@suse.de>
11251
11252 [BZ #14991]
11253 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11254 (from_ucs4_idx): Regenerate.
11255 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11256 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11257 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11258 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11259 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11260 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11261 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11262 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11263 from FROM_LOOP and TO_LOOP specific macros.
11264 (BODY): Handle combining characters.
11265 * iconvdata/BIG5HKSCS.irreversible: Update.
11266 * iconvdata/BIG5HKSCS.precomposed: New file.
11267 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11268 characters.
11269 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11270
c1f75dc3
SP
112712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11272
4eacded2
SP
11273 * include/sys/time.h: Fix indentation and add copyright header.
11274
fec799f8
SP
11275 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11276 (do_test): Likewise.
11277 * string/test-memchr.c (do_one_test): Likewise.
11278 (do_test): Likewise.
11279 * string/test-memcmp.c (do_one_test): Likewise.
11280 (do_test): Likewise.
11281 * string/test-memcpy.c (do_one_test): Likewise.
11282 (do_test): Likewise.
11283 * string/test-memmem.c (do_one_test): Likewise.
11284 (do_test): Likewise.
11285 (do_random_tests): Likewise.
11286 * string/test-memmove.c (do_one_test): Likewise.
11287 (do_test): Likewise.
11288 * string/test-memset.c (do_one_test): Likewise.
11289 (do_test): Likewise.
11290 * string/test-rawmemchr.c (do_one_test): Likewise.
11291 (do_test): Likewise.
11292 * string/test-strcasecmp.c (do_one_test): Likewise.
11293 (do_test): Likewise.
11294 * string/test-strcasestr.c (do_one_test): Likewise.
11295 (do_test): Likewise.
11296 * string/test-strcat.c (do_one_test): Likewise.
11297 (do_test): Likewise.
11298 * string/test-strchr.c (do_one_test): Likewise.
11299 (do_test): Likewise.
11300 * string/test-strcmp.c (do_one_test): Likewise.
11301 (do_test): Likewise.
11302 * string/test-strcpy.c (do_one_test): Likewise.
11303 (do_test): Likewise.
11304 * string/test-string.h: Likewise.
11305 (test_init): Likewise.
11306 * string/test-strlen.c (do_one_test): Likewise.
11307 (do_test): Likewise.
11308 * string/test-strncasecmp.c (do_one_test): Likewise.
11309 (do_test): Likewise.
11310 * string/test-strncat.c (do_one_test): Likewise.
11311 (do_test): Likewise.
11312 * string/test-strncmp.c (do_one_test): Likewise.
11313 (do_test_limit): Likewise.
11314 (do_test): Likewise.
11315 * string/test-strncpy.c (do_one_test): Likewise.
11316 (do_test): Likewise.
11317 * string/test-strnlen.c (do_one_test): Likewise.
11318 (do_test): Likewise.
11319 * string/test-strpbrk.c (do_one_test): Likewise.
11320 (do_test): Likewise.
11321 * string/test-strrchr.c (do_one_test): Likewise.
11322 (do_test): Likewise.
11323 * string/test-strspn.c (do_one_test): Likewise.
11324 (do_test): Likewise.
11325 * string/test-strstr.c (do_one_test): Likewise.
11326 (do_test): Likewise.
11327
97020474
SP
11328 * benchtests/Makefile (string-bench): Add string benchmarks.
11329 * benchtests/bench-bcopy-ifunc.c: New file.
11330 * benchtests/bench-bcopy.c: New file.
11331 * benchtests/bench-bzero-ifunc.c: New file.
11332 * benchtests/bench-bzero.c: New file.
11333 * benchtests/bench-memccpy-ifunc.c: New file.
11334 * benchtests/bench-memccpy.c: New file.
11335 * benchtests/bench-memchr-ifunc.c: New file.
11336 * benchtests/bench-memchr.c: New file.
11337 * benchtests/bench-memcmp-ifunc.c: New file.
11338 * benchtests/bench-memcmp.c: New file.
11339 * benchtests/bench-memmem-ifunc.c: New file.
11340 * benchtests/bench-memmem.c: New file.
11341 * benchtests/bench-memmove-ifunc.c: New file.
11342 * benchtests/bench-memmove.c: New file.
11343 * benchtests/bench-mempcpy-ifunc.c: New file.
11344 * benchtests/bench-mempcpy.c: New file.
11345 * benchtests/bench-memset-ifunc.c: New file.
11346 * benchtests/bench-memset.c: New file.
11347 * benchtests/bench-rawmemchr-ifunc.c: New file.
11348 * benchtests/bench-rawmemchr.c: New file.
11349 * benchtests/bench-stpcpy-ifunc.c: New file.
11350 * benchtests/bench-stpcpy.c: New file.
11351 * benchtests/bench-stpncpy-ifunc.c: New file.
11352 * benchtests/bench-stpncpy.c: New file.
11353 * benchtests/bench-strcasecmp-ifunc.c: New file.
11354 * benchtests/bench-strcasecmp.c: New file.
11355 * benchtests/bench-strcasestr-ifunc.c: New file.
11356 * benchtests/bench-strcasestr.c: New file.
11357 * benchtests/bench-strcat-ifunc.c: New file.
11358 * benchtests/bench-strcat.c: New file.
11359 * benchtests/bench-strchr-ifunc.c: New file.
11360 * benchtests/bench-strchr.c: New file.
11361 * benchtests/bench-strchrnul-ifunc.c: New file.
11362 * benchtests/bench-strchrnul.c: New file.
11363 * benchtests/bench-strcmp-ifunc.c: New file.
11364 * benchtests/bench-strcmp.c: New file.
11365 * benchtests/bench-strcpy-ifunc.c: New file.
11366 * benchtests/bench-strcpy.c: New file.
11367 * benchtests/bench-strcspn-ifunc.c: New file.
11368 * benchtests/bench-strcspn.c: New file.
11369 * benchtests/bench-strlen-ifunc.c: New file.
11370 * benchtests/bench-strlen.c: New file.
11371 * benchtests/bench-strncasecmp-ifunc.c: New file.
11372 * benchtests/bench-strncasecmp.c: New file.
11373 * benchtests/bench-strncat-ifunc.c: New file.
11374 * benchtests/bench-strncat.c: New file.
11375 * benchtests/bench-strncmp-ifunc.c: New file.
11376 * benchtests/bench-strncmp.c: New file.
11377 * benchtests/bench-strncpy-ifunc.c: New file.
11378 * benchtests/bench-strncpy.c: New file.
11379 * benchtests/bench-strnlen-ifunc.c: New file.
11380 * benchtests/bench-strnlen.c: New file.
11381 * benchtests/bench-strpbrk-ifunc.c: New file.
11382 * benchtests/bench-strpbrk.c: New file.
11383 * benchtests/bench-strrchr-ifunc.c: New file.
11384 * benchtests/bench-strrchr.c: New file.
11385 * benchtests/bench-strspn-ifunc.c: New file.
11386 * benchtests/bench-strspn.c: New file.
11387 * benchtests/bench-strstr-ifunc.c: New file.
11388 * benchtests/bench-strstr.c: New file.
11389
c1f75dc3
SP
11390 * benchtests/Makefile: Disable parallel execution of targets.
11391 (string-bench): Add memcpy.
11392 (benchset): New variable to store a list of benchmark sets.
11393 (bench-func): Renamed from bench.
11394 (bench-set): New target.
11395 (bench): Depend on bench-func and bench-set.
11396 * benchtests/README: Add section on benchmark sets.
11397 * benchtests/bench-memcpy-ifunc.c: New file.
11398 * benchtests/bench-memcpy.c: New file.
11399 * benchtests/bench-string.h: New file.
11400
50fd745b
AS
114012013-06-11 Andreas Schwab <schwab@suse.de>
11402
11403 [BZ #15577]
11404 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11405 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11406 values in the triple.
11407 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11408 terminator in the group key.
11409
3ee7e9fe
AJ
114102013-06-11 Andreas Jaeger <aj@suse.de>
11411
11412 * po/zh_TW.po: Update Chinese (traditional) translation from
11413 translation project.
11414
89fb6835
SP
114152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11416
11417 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11418 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11419 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11421 (clock_getcpuclockid): Likewise.
11422 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11423 Add weak_alias and libc_hidden_def.
11424 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11425 * rt/clock_gettime.c (clock_gettime): Rename to
11426 __clock_gettime. Add weak_alias and libc_hidden_def.
11427 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11428 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11429 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11430 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11431 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11432 Likewise.
11433 * rt/clock_settime.c (clock_settime): Rename to
11434 __clock_settime. Add weak_alias and libc_hidden_def.
11435 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11436
0efa6f8b
JM
114372013-06-10 Joseph Myers <joseph@codesourcery.com>
11438
b8c61b4b
JM
11439 * mach/err_boot.sub: Remove trailing whitespace.
11440 * mach/err_ipc.sub: Likewise.
11441 * mach/err_mach.sub: Likewise.
11442
0efa6f8b
JM
11443 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11444 (ROUNDING_TESTS_double): Likewise.
11445 (ROUNDING_TESTS_long_double): Likewise.
11446 (ROUNDING_TESTS): Likewise.
11447 * math/libm-test.inc: Include <math-tests.h>.
11448 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11449 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11450 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11451 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11452
50b818bf
SP
114532013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11454
11455 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11456 of assigning.
11457
60d2f8f3
JM
114582013-06-08 Joseph Myers <joseph@codesourcery.com>
11459
4902d2c3
JM
11460 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11461 otherwise empty TRANS lines.
11462 * sysdeps/gnu/errlist.c: Regenerated.
11463
60d2f8f3
JM
11464 * catgets/gencat.c (error_print): Use (void) in function
11465 definition.
11466 * crypt/crypt_util.c (__init_des): Likewise.
11467 * crypt/speeds.c (Stop): Likewise.
11468 (main): Likewise.
11469 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11470 * inet/ruserpass.c (token): Likewise.
11471 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11472 * intl/localealias.c (extend_alias_table): Likewise.
11473 * intl/plural-exp.c (init_germanic_plural): Likewise.
11474 * libio/fcloseall.c (__fcloseall): Likewise.
11475 * libio/genops.c (_IO_flush_all): Likewise.
11476 (_IO_flush_all_linebuffered): Likewise.
11477 (_IO_cleanup): Likewise.
11478 (_IO_iter_begin): Likewise.
11479 (_IO_iter_end): Likewise.
11480 (_IO_list_lock): Likewise.
11481 (_IO_list_unlock): Likewise.
11482 (_IO_list_resetlock): Likewise.
11483 * libio/getchar.c (getchar): Likewise.
11484 * libio/getchar_u.c (getchar_unlocked): Likewise.
11485 * libio/getwchar.c (getwchar): Likewise.
11486 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11487 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11488 * login/getpt.c (__getpt): Likewise.
11489 * login/tst-utmp.c (main): Likewise.
11490 * malloc/hooks.c (__malloc_check_init): Likewise.
11491 * malloc/malloc.c (__malloc_stats): Likewise.
11492 * malloc/mtrace.c (tr_break): Likewise.
11493 (mtrace): Likewise.
11494 (muntrace): Likewise.
11495 * misc/fstab.c (endfsent): Likewise.
11496 * misc/getclktck.c (__getclktck): Likewise.
11497 * misc/getdtsz.c (__getdtablesize): Likewise.
11498 * misc/gethostid.c (gethostid): Likewise.
11499 * misc/getpagesize.c (__getpagesize): Likewise.
11500 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11501 (__get_nprocs): Likewise.
11502 (__get_phys_pages): Likewise.
11503 (__get_avphys_pages): Likewise.
11504 * misc/getttyent.c (getttyent): Likewise.
11505 (setttyent): Likewise.
11506 (endttyent): Likewise.
11507 * misc/getusershell.c (getusershell): Likewise.
11508 (endusershell): Likewise.
11509 (setusershell): Likewise.
11510 (initshells): Likewise.
11511 * misc/hsearch.c (__hdestroy): Likewise.
11512 * misc/sync.c (sync): Likewise.
11513 * misc/syslog.c (closelog_internal): Likewise.
11514 (closelog): Likewise.
11515 * misc/ttyslot.c (ttyslot): Likewise.
11516 * misc/vhangup.c (vhangup): Likewise.
11517 * posix/fork.c (__fork): Likewise.
11518 * posix/getegid.c (__getegid): Likewise.
11519 * posix/geteuid.c (__geteuid): Likewise.
11520 * posix/getgid.c (__getgid): Likewise.
11521 * posix/getpid.c (__getpid): Likewise.
11522 * posix/getppid.c (__getppid): Likewise.
11523 * posix/getuid.c (__getuid): Likewise.
11524 * posix/pause.c (pause): Likewise.
11525 * posix/setpgrp.c (setpgrp): Likewise.
11526 * posix/setsid.c (__setsid): Likewise.
11527 * posix/test-vfork.c (noop): Likewise.
11528 * resolv/gethnamaddr.c (_endhtent): Likewise.
11529 (_gethtent): Likewise.
11530 (ht_endhostent): Likewise.
11531 (gethostent): Likewise.
11532 (dns_service): Likewise.
11533 * stdlib/drand48.c (drand48): Likewise.
11534 * stdlib/lrand48.c (lrand48): Likewise.
11535 * stdlib/mrand48.c (mrand48): Likewise.
11536 * stdlib/rand.c (rand): Likewise.
11537 * stdlib/random.c (__random): Likewise.
11538 * stdlib/setenv.c (clearenv): Likewise.
11539 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11540 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11541 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11542 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11543 (__get_nprocs): Likewise.
11544 (__get_phys_pages): Likewise.
11545 (__get_avphys_pages): Likewise.
11546 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11547 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11548 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11549 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11550 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11551 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11552 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11553 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11554 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11555 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11556 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11557 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11558 * sysdeps/posix/clock.c (clock): Likewise.
11559 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11560 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11561 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11562 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11563 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11565 (__get_nprocs_conf): Likewise.
11566 (__get_phys_pages): Likewise.
11567 (__get_avphys_pages): Likewise.
11568 * time/clock.c (clock): Likewise.
11569 * time/tzset.c (__tzname_max): Likewise.
11570
2e09a79a
JM
115712013-06-07 Joseph Myers <joseph@codesourcery.com>
11572
11573 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11574 (__bswap_32): Do not use "register".
11575 * crypt/crypt.c (_ufc_doit_r): Likewise.
11576 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11577 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11578 * gmon/gmon.c (__monstartup): Likewise.
11579 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11580 * hurd/hurdmalloc.c (more_memory): Likewise.
11581 (malloc): Likewise.
11582 (free): Likewise.
11583 (realloc): Likewise.
11584 (malloc_fork_prepare): Likewise.
11585 (malloc_fork_parent): Likewise.
11586 (malloc_fork_child): Likewise.
11587 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11588 (_svcauth_des): Likewise.
11589 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11590 * inet/inet_net.c (inet_network): Likewise.
11591 * inet/inet_netof.c (inet_netof): Likewise.
11592 * inet/rcmd.c (__validuser2_sa): Likewise.
11593 * io/fts.c (fts_open): Likewise.
11594 (fts_load): Likewise.
11595 (fts_close): Likewise.
11596 (fts_read): Likewise.
11597 (fts_children): Likewise.
11598 (fts_build): Likewise.
11599 (fts_stat): Likewise.
11600 (fts_sort): Likewise.
11601 (fts_alloc): Likewise.
11602 (fts_lfree): Likewise.
11603 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11604 (_IO_file_xsgetn): Likewise.
11605 (_IO_file_xsgetn_mmap): Likewise.
11606 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11607 (_IO_cookie_write): Likewise.
11608 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11609 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11610 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11611 * malloc/obstack.c (_obstack_begin): Likewise.
11612 (_obstack_begin_1): Likewise.
11613 (_obstack_newchunk): Likewise.
11614 (_obstack_allocated_p): Likewise.
11615 (obstack_free): Likewise.
11616 (_obstack_memory_used): Likewise.
11617 * misc/getttyent.c (getttynam): Likewise.
11618 (getttyent): Likewise.
11619 (skip): Likewise.
11620 (value): Likewise.
11621 * misc/getusershell.c (initshells): Likewise.
11622 * misc/syslog.c (__vsyslog_chk): Likewise.
11623 * misc/ttyslot.c (ttyslot): Likewise.
11624 * nis/nis_hash.c (__nis_hash): Likewise.
11625 * posix/fnmatch_loop.c (FCT): Likewise.
11626 * posix/getconf.c (print_all): Likewise.
11627 (main): Likewise.
11628 * posix/getopt.c (exchange): Likewise.
11629 * posix/glob.c (globfree): Likewise.
11630 (prefix_array): Likewise.
11631 (__glob_pattern_type): Likewise.
11632 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11633 (NS_GET32): Likewise.
11634 (NS_PUT16): Likewise.
11635 (NS_PUT32): Likewise.
11636 * resolv/gethnamaddr.c (getanswer): Likewise.
11637 (gethostbyname2): Likewise.
11638 (gethostbyaddr): Likewise.
11639 (_gethtent): Likewise.
11640 (_gethtbyname2): Likewise.
11641 (_gethtbyaddr): Likewise.
11642 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11643 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11644 * resolv/res_init.c (__res_vinit): Likewise.
11645 (net_mask): Likewise.
11646 * resolv/res_mkquery.c (outchar): Likewise.
11647 (PRINT): Likewise.
11648 * stdio-common/printf_fp.c (outchar): Likewise.
11649 (PRINT): Likewise.
11650 * stdio-common/printf_fphex.c (outchar): Likewise.
11651 (PRINT): Likewise.
11652 * stdio-common/printf_size.c (outchar): Likewise.
11653 (PRINT): Likewise.
11654 * stdio-common/test_rdwr.c (main): Likewise.
11655 * stdio-common/tfformat.c (matches): Likewise.
11656 * stdio-common/vfprintf.c (outchar): Likewise.
11657 (printf_unknown): Likewise.
11658 (buffered_vfprintf): Likewise.
11659 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11660 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11661 (ReadFile): Likewise.
11662 * stdlib/qsort.c (SWAP): Likewise.
11663 (_quicksort): Likewise.
11664 * stdlib/setenv.c (__add_to_environ): Likewise.
11665 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11666 * stdlib/strtol_l.c (__strtol_l): Likewise.
11667 * stdlib/tst-strtod.c (main): Likewise.
11668 * stdlib/tst-strtol.c (main): Likewise.
11669 * stdlib/tst-strtoll.c (main): Likewise.
11670 * string/bits/string2.h (__strcmp_cc): Likewise.
11671 (__strcmp_cg): Likewise.
11672 (__strcspn_c1): Likewise.
11673 (__strcspn_c2): Likewise.
11674 (__strcspn_c3): Likewise.
11675 (__strspn_c1): Likewise.
11676 (__strspn_c2): Likewise.
11677 (__strspn_c3): Likewise.
11678 (__strsep_1c): Likewise.
11679 (__strsep_2c): Likewise.
11680 (__strsep_3c): Likewise.
11681 * string/memccpy.c (__memccpy): Likewise.
11682 * string/stpcpy.c (__stpcpy): Likewise.
11683 * string/strcmp.c (strcmp): Likewise.
11684 * string/strrchr.c (strrchr): Likewise.
11685 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11686 Likewise.
11687 * sysdeps/mach/hurd/getcwd.c
11688 (_hurd_canonicalize_directory_name_internal): Likewise.
11689 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11690 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11691 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11692 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11693 Likewise, in both definitions.
11694 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11695 definitions.
11696 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11697 64] (__bswap_64): Likewise.
11698 * time/test_time.c (main): Likewise.
11699 * time/tzfile.c (__tzfile_read): Likewise.
11700 (__tzfile_compute): Likewise.
11701 * time/tzset.c (__tzset_parse_tz): Likewise.
11702 (tzset_internal): Likewise.
11703 (compute_change): Likewise.
11704 * wcsmbs/wcscat.c (__wcscat): Likewise.
11705 * wcsmbs/wcschr.c (wcschr): Likewise.
11706 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11707 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11708 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11709 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11710 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11711 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11712 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11713 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11714 * wcsmbs/wmemset.c (wmemset): Likewise.
11715
9e54314b
JM
117162013-06-06 Joseph Myers <joseph@codesourcery.com>
11717
11718 * scripts/config.guess: Update to version 2013-05-16.
11719 * scripts/config.sub: Update to version 2013-04-24.
11720 * scripts/install-sh: Update to version 2011-11-20.07.
11721 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11722 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11723
350635a5
OB
117242013-06-06 Ondřej Bílka <neleai@seznam.cz>
11725
11726 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11727 * elf/sln.c: Likewise.
11728 * hurd/hurd/ioctl.h: Likewise.
11729 * hurd/hurdmalloc.c: Likewise.
11730 * hurd/xattr.c: Likewise.
11731 * include/shlib-compat.h: Likewise.
11732 * inet/ruserpass.c: Likewise.
11733 * libio/iofgets_u.c: Likewise.
11734 * libio/iofgetws_u.c: Likewise.
11735 * locale/programs/ld-identification.c: Likewise.
11736 * locale/programs/ld-time.c: Likewise.
11737 * mach/msg-destroy.c: Likewise.
11738 * nss/nss_files/files-netgrp.c: Likewise.
11739 * resolv/res_data.c: Likewise.
11740 * soft-fp/op-1.h: Likewise.
11741 * soft-fp/op-2.h: Likewise.
11742 * soft-fp/op-4.h: Likewise.
11743 * soft-fp/op-common.h: Likewise.
11744 * stdio-common/printf_fphex.c: Likewise.
11745 * stdlib/strtod_l.c: Likewise.
11746 * sunrpc/rpc/clnt.h: Likewise.
11747 * sysdeps/generic/framestate.c: Likewise.
11748 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11749 * sysdeps/i386/bsd-setjmp.S: Likewise.
11750 * sysdeps/i386/__longjmp.S: Likewise.
11751 * sysdeps/i386/setjmp.S: Likewise.
11752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11753 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11770 * sysdeps/ieee754/support.c: Likewise.
11771 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11772 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11773 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11774 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11775 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11776 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11777 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11778 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11779 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11780 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11781 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11782 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11783 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11784 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11785 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11786 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11787 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11789
44a988af
OB
117902013-06-05 Ondřej Bílka <neleai@seznam.cz>
11791
25506f09 11792 * posix/transbug.c: Remove executable mode.
44a988af 11793
9c84384c
JM
117942013-06-05 Joseph Myers <joseph@codesourcery.com>
11795
11796 * crypt/speeds.c: Remove trailing whitespace.
11797 * dlfcn/default.c: Likewise.
11798 * elf/ifuncdep2.c: Likewise.
11799 * elf/ifuncmain1.c: Likewise.
11800 * elf/ifuncmain1vis.c: Likewise.
11801 * elf/testobj.h: Likewise.
11802 * elf/tst-stackguard1.c: Likewise.
11803 * gmon/sys/gmon.h: Likewise.
11804 * hurd/hurdmsg.c: Likewise.
11805 * hurd/new-fd.c: Likewise.
11806 * hurd/ports-get.c: Likewise.
11807 * iconvdata/ibm1008_420.c: Likewise.
11808 * inet/tst-getni1.c: Likewise.
11809 * inet/tst-getni2.c: Likewise.
11810 * libio/ioungetc.c: Likewise.
11811 * libio/wfiledoalloc.c: Likewise.
11812 * manual/libm-err-tab.pl: Likewise.
11813 * math/w_dremf.c: Likewise.
11814 * misc/ftruncate.c: Likewise.
11815 * posix/bug-glob2.c: Likewise.
11816 * posix/tst-pcre.c: Likewise.
11817 * posix/wait4.c: Likewise.
11818 * resolv/README: Likewise.
11819 * resolv/res_debug.h: Likewise.
11820 * resolv/tst-inet_ntop.c: Likewise.
11821 * setjmp/bug269-setjmp.c: Likewise.
11822 * soft-fp/extended.h: Likewise.
11823 * soft-fp/op-1.h: Likewise.
11824 * soft-fp/op-2.h: Likewise.
11825 * soft-fp/op-4.h: Likewise.
11826 * soft-fp/op-8.h: Likewise.
11827 * soft-fp/testit.c: Likewise.
11828 * stdio-common/bug16.c: Likewise.
11829 * stdlib/random.c: Likewise.
11830 * sunrpc/rpcsvc/rquota.x: Likewise.
11831 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11836 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11838 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11839 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11840 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11841 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11843 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11860 * sysdeps/ieee754/s_lib_version.c: Likewise.
11861 * sysdeps/mach/hurd/check_fds.c: Likewise.
11862 * sysdeps/mach/hurd/getsockname.c: Likewise.
11863 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11864 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11865 * sysdeps/powerpc/bits/link.h: Likewise.
11866 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11867 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11868 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11869 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11870 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11871 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11872 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11873 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11874 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11875 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11876 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11877 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11878 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11879 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11880 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11881 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11883 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11887 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11888 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11889 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11890 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11892 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11893 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11894 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11895 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11896 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11900 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11901 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11902 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11903 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11904 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11905 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11906 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11907 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11908 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11909 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11910 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11911 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11912 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11913 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11914 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11915 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11916 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11918 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11919 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11921 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11922 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11924 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11925 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11929 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11930 * sysdeps/powerpc/sysdep.h: Likewise.
11931 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11932 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11933 * sysdeps/sh/dl-trampoline.S: Likewise.
11934 * sysdeps/sh/memset.S: Likewise.
11935 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11936 * sysdeps/sh/strlen.S: Likewise.
11937 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11938 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11939 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11940 * sysdeps/sparc/sparc32/rem.S: Likewise.
11941 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11942 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11943 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11944 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11945 * sysdeps/sparc/sparc32/urem.S: Likewise.
11946 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11947 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11948 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11949 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11951 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11952 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11953 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11954 * sysdeps/unix/bsd/times.c: Likewise.
11955 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11956 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11960 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11961 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11962 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11963 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11964 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11966 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11967 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11968 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11969 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11970 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11973 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11974 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11975 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11976 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11977 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11978 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11979 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11980 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11981 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11982 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11983 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11984 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11985 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11986 * sysdeps/x86_64/strcspn.S: Likewise.
11987
869378a5
RA
119882013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11989
11990 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11991 generated file. Regenerate properly from gen-translit.pl.
11992 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11993 locale/C-translit.h.
11994
840e2943
AS
119952013-06-05 Andreas Schwab <schwab@suse.de>
11996
11997 [BZ #15100]
11998 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11999 week as 6 instead of -1.
12000 * time/tst-strptime.c (day_tests): Add test case.
12001
4c60cb0c
SP
120022013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12003
12004 * sysdeps/generic/math_private.h
12005 (libc_feholdexcept_setround_53bit): Replace with
12006 libc_feholdsetround_53bit.
12007 (libc_feupdateenv_53bit): Replace with
12008 libc_feresetround_53bit.
12009 (SET_RESTORE_ROUND_53BIT): Adjust.
12010
d180203e
SP
120112013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12012
96df079a
SP
12013 * string/test-strchrnul.c: Add copyright header.
12014
d180203e
SP
12015 * posix/tst-getaddrinfo4.c: Increase test timeout.
12016
8b0ccb2d
CD
120172013-06-03 Carlos O'Donell <carlos@redhat.com>
12018
12019 [BZ #15536]
12020 * math/libm-test.inc (MAX_EXP): Remove
12021 (MIN_EXP): Define.
12022 (ulp): Use MIN_EXP - MANT_DIG.
12023 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12024
3b3c4d40
CD
120252013-05-31 Carlos O'Donell <carlos@redhat.com>
12026
12027 * po/be.po: Revert last change.
12028 * po/zh_CN.po: Likewise.
12029 * po/header.pot: Likewise.
12030
fab7ce3f
JM
120312013-05-31 Joseph Myers <joseph@codesourcery.com>
12032
12033 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12034 link-libc-deps to empty as target-specific variable.
12035 * Makerules (link-libc-args): New variable.
12036 (libc-for-link): Likewise.
12037 (link-libc-deps): Likewise.
12038 (lib%.so): Depend on $(link-libc-deps). Link with
12039 $(link-libc-args).
12040 (build-module): Link with $(link-libc-args).
12041 (build-module-asneeded): Likewise.
12042 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12043 list of objects.
12044 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12045 target-specific variable.
12046 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12047 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12048 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12049 libc.
12050 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12051 libc and ld.so.
12052 ($(objpfx)libpcprofile.so): Likewise.
12053 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12054 libc_nonshared.a.
12055 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12056 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12057 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12058 $(link-libc-deps).
12059 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12060 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12061 * login/Makefile ($(objpfx)libutil.so): Likewise.
12062 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12063 * math/Makefile ($(objpfx)libm.so): Likewise.
12064 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12065 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12066 variable instead of depending directly on libc.
12067 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12068 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12069 $(link-libc-deps).
12070 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12071 libc.
12072 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12073 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12074 ($(objpfx)libanl.so): Likewise.
12075 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12076 ld.so.
12077 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12078 $(link-libc-deps).
12079 * sysdeps/i386/fpu/Makefile: Remove file.
12080 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12081 ($(objpfx)libm.so): Remove dependency on ld.so.
12082
eca5920c
PF
120832013-05-30 Patsy Franklin <pfrankli@redhat.com>
12084
12085 [BZ # 15553]
12086 * nis/yp_xdr.c (XDRMAXNAME): Define.
12087 (XDRMAXRECORD): Define.
12088 (xdr_domainname): Use XDRMAXNAME.
12089 (xdr_mapname): Likewise.
12090 (xdr_peername): Likewise.
12091 (xdr_keydat): Use XDRMAXRECORD.
12092 (xdr_valdat): Likewise.
12093
120942013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12095
12096 [BZ #14256]
12097 * manual/errno.texi (ESTALE): Update to account for more than
12098 just NFS file systems.
12099 * sysdeps/gnu/errlist.c: Regenerated.
12100
b9375348
SP
121012013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12102
12103 [BZ #15465]
12104 * elf/Makefile (tests): Add tst-null-argv.
12105 (modules-names): Add tst-null-argv-lib.
12106 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12107 (tst-null-argv-ENV): Set environment for tst-null-argv.
12108 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12109 (RTLD_PROGNAME): New macro.
12110 * elf/tst-null-argv.c: New test case.
12111 * elf/tst-null-argv-lib.c: Library for test case.
12112 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12113 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12114 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12115 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12116 * elf/dl-init.c (call_init): Likewise.
12117 (_dl_init): Likewise.
12118 * elf/dl-load.c (print_search_path): Likewise.
12119 (_dl_map_object): Likewise.
12120 * elf/dl-lookup.c (do_lookup_x): Likewise.
12121 (add_dependency): Likewise.
12122 (_dl_lookup_symbol_x): Likewise.
12123 (_dl_debug_bindings): Likewise.
12124 * elf/dl-open.c (_dl_show_scope): Likewise.
12125 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12126 * elf/dl-version.c (match_symbol): Likewise.
12127 (_dl_check_map_versions): Likewise.
12128 * elf/rtld.c (dl_main): Likewise.
12129 (print_unresolved): Use RTLD_PROGNAME.
12130 (print_missing_version): Likewise.
12131 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12132 (elf_machine_rela): Likewise.
12133 * sysdeps/powerpc/powerpc32/dl-machine.c
12134 (__process_machine_rela): Likewise.
12135 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12136 Likewise.
12137 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12138 Likewise.
12139 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12140 Likewise.
12141 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12143 Likewise.
12144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12145 Likewise.
12146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12147
8a9f20c8
CD
121482013-05-28 Carlos O'Donell <carlos@redhat.com>
12149
12150 * po/be.po: Add descriptive title.
12151 * po/zh_CN.po: Likewise.
12152 * po/header.pot: Likewise.
12153
0e60d68e
MF
121542013-05-28 Mike Frysinger <vapier@gentoo.org>
12155
12156 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12157 error message.
12158 (enlarge_archive): Likewise.
12159
56b672e9
BN
121602013-05-28 Ben North <ben@redfrontdoor.org>
12161
12162 * manual/arith.texi (frexp): It is the magnitude of the return
12163 value which lies in [0.5, 1), not the return value itself.
12164
5e056687
AZ
121652013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12166
12167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12168
2b66ef5d
TS
121692013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12170
528c2405
TS
12171 * stdio-common/bug26.c (main): Correct fscanf template.
12172
07b4c13d
TS
12173 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12174 declare _dl_skip_args.
12175
ec9dd97c
TS
12176 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12177 Don't declare.
12178
2b66ef5d
TS
12179 * manual/platform.texi: Add missing @end deftypefun.
12180
4f8dfe27
JM
121812013-05-24 Joseph Myers <joseph@codesourcery.com>
12182
0323d086
JM
12183 [BZ #15529]
12184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12185 bit of mantissa of 2^16382.
12186 * math/libm-test.inc (hypot_test_data): Add more tests.
12187
dd4259b9
JM
12188 * math/libm-test.inc: Add drem and pow10 to list of tested
12189 functions.
12190 (pow10_test): New function.
12191 (drem_test): Likewise.
12192 (drem_test_tonearest): Likewise.
12193 (drem_test_towardzero): Likewise.
12194 (drem_test_downward): Likewise.
12195 (drem_test_upward): Likewise.
12196 (main): Call the new functions.
12197
4f8dfe27
JM
12198 * math/libm-test.inc (finite_test_data): Remove.
12199 (finite_test): Run tests from isfinite_test_data.
12200 (gamma_test_data): Remove.
12201 (gamma_test): Run tests from lgamma_test_data.
12202 * sysdeps/i386/fpu/libm-test-ulps: Update.
12203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12204
d116b7c4
AZ
122052013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12206
12207 * manual/platform.texi: Add PowerPC PPR function set documentation.
12208 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12209 implementation.
12210
e96e3767
CD
122112013-05-24 Carlos O'Donell <carlos@redhat.com>
12212
12213 * math/libm-test.inc (MAX_EXP): Define.
12214 (ULPDIFF): Define.
12215 (ulp): New function.
12216 (check_float_internal): Use ULPDIFF.
12217 (cpow_test): Disable failing test.
12218 (check_ulp): Test ulp() implemetnation.
12219 (main): Call check_ulp before starting tests.
12220
b679a606
JM
122212013-05-24 Joseph Myers <joseph@codesourcery.com>
12222
e8bdba36
JM
12223 * math/gen-libm-test.pl (generate_testfile): Do not handle
12224 START_DATA and END_DATA.
12225 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12226 END_DATA.
12227 (acos_tonearest_test_data): Likewise.
12228 (acos_towardzero_test_data): Likewise.
12229 (acos_downward_test_data): Likewise.
12230 (acos_upward_test_data): Likewise.
12231 (acosh_test_data): Likewise.
12232 (asin_test_data): Likewise.
12233 (asin_tonearest_test_data): Likewise.
12234 (asin_towardzero_test_data): Likewise.
12235 (asin_downward_test_data): Likewise.
12236 (asin_upward_test_data): Likewise.
12237 (asinh_test_data): Likewise.
12238 (atan_test_data): Likewise.
12239 (atanh_test_data): Likewise.
12240 (atan2_test_data): Likewise.
12241 (cabs_test_data): Likewise.
12242 (cacos_test_data): Likewise.
12243 (cacosh_test_data): Likewise.
12244 (carg_test_data): Likewise.
12245 (casin_test_data): Likewise.
12246 (casinh_test_data): Likewise.
12247 (catan_test_data): Likewise.
12248 (catanh_test_data): Likewise.
12249 (cbrt_test_data): Likewise.
12250 (ccos_test_data): Likewise.
12251 (ccosh_test_data): Likewise.
12252 (ceil_test_data): Likewise.
12253 (cexp_test_data): Likewise.
12254 (cimag_test_data): Likewise.
12255 (clog_test_data): Likewise.
12256 (clog10_test_data): Likewise.
12257 (conj_test_data): Likewise.
12258 (copysign_test_data): Likewise.
12259 (cos_test_data): Likewise.
12260 (cos_tonearest_test_data): Likewise.
12261 (cos_towardzero_test_data): Likewise.
12262 (cos_downward_test_data): Likewise.
12263 (cos_upward_test_data): Likewise.
12264 (cosh_test_data): Likewise.
12265 (cosh_tonearest_test_data): Likewise.
12266 (cosh_towardzero_test_data): Likewise.
12267 (cosh_downward_test_data): Likewise.
12268 (cosh_upward_test_data): Likewise.
12269 (cpow_test_data): Likewise.
12270 (cproj_test_data): Likewise.
12271 (creal_test_data): Likewise.
12272 (csin_test_data): Likewise.
12273 (csinh_test_data): Likewise.
12274 (csqrt_test_data): Likewise.
12275 (ctan_test_data): Likewise.
12276 (ctan_tonearest_test_data): Likewise.
12277 (ctan_towardzero_test_data): Likewise.
12278 (ctan_downward_test_data): Likewise.
12279 (ctan_upward_test_data): Likewise.
12280 (ctanh_test_data): Likewise.
12281 (ctanh_tonearest_test_data): Likewise.
12282 (ctanh_towardzero_test_data): Likewise.
12283 (ctanh_downward_test_data): Likewise.
12284 (ctanh_upward_test_data): Likewise.
12285 (erf_test_data): Likewise.
12286 (erfc_test_data): Likewise.
12287 (exp_test_data): Likewise.
12288 (exp_tonearest_test_data): Likewise.
12289 (exp_towardzero_test_data): Likewise.
12290 (exp_downward_test_data): Likewise.
12291 (exp_upward_test_data): Likewise.
12292 (exp10_test_data): Likewise.
12293 (exp2_test_data): Likewise.
12294 (expm1_test_data): Likewise.
12295 (fabs_test_data): Likewise.
12296 (fdim_test_data): Likewise.
12297 (finite_test_data): Likewise.
12298 (floor_test_data): Likewise.
12299 (fma_test_data): Likewise.
12300 (fma_towardzero_test_data): Likewise.
12301 (fma_downward_test_data): Likewise.
12302 (fma_upward_test_data): Likewise.
12303 (fmax_test_data): Likewise.
12304 (fmin_test_data): Likewise.
12305 (fmod_test_data): Likewise.
12306 (fpclassify_test_data): Likewise.
12307 (frexp_test_data): Likewise.
12308 (gamma_test_data): Likewise.
12309 (hypot_test_data): Likewise.
12310 (ilogb_test_data): Likewise.
12311 (isfinite_test_data): Likewise.
12312 (isgreater_test_data): Likewise.
12313 (isgreaterequal_test_data): Likewise.
12314 (isinf_test_data): Likewise.
12315 (isless_test_data): Likewise.
12316 (islessequal_test_data): Likewise.
12317 (islessgreater_test_data): Likewise.
12318 (isnan_test_data): Likewise.
12319 (isnormal_test_data): Likewise.
12320 (issignaling_test_data): Likewise.
12321 (isunordered_test_data): Likewise.
12322 (j0_test_data): Likewise.
12323 (j1_test_data): Likewise.
12324 (jn_test_data): Likewise.
12325 (ldexp_test_data): Likewise.
12326 (lgamma_test_data): Likewise.
12327 (lrint_test_data): Likewise.
12328 (lrint_tonearest_test_data): Likewise.
12329 (lrint_towardzero_test_data): Likewise.
12330 (lrint_downward_test_data): Likewise.
12331 (lrint_upward_test_data): Likewise.
12332 (llrint_test_data): Likewise.
12333 (llrint_tonearest_test_data): Likewise.
12334 (llrint_towardzero_test_data): Likewise.
12335 (llrint_downward_test_data): Likewise.
12336 (llrint_upward_test_data): Likewise.
12337 (log_test_data): Likewise.
12338 (log10_test_data): Likewise.
12339 (log1p_test_data): Likewise.
12340 (log2_test_data): Likewise.
12341 (logb_test_data): Likewise.
12342 (logb_downward_test_data): Likewise.
12343 (lround_test_data): Likewise.
12344 (llround_test_data): Likewise.
12345 (modf_test_data): Likewise.
12346 (nearbyint_test_data): Likewise.
12347 (nextafter_test_data): Likewise.
12348 (nexttoward_test_data): Likewise.
12349 (pow_test_data): Likewise.
12350 (pow_tonearest_test_data): Likewise.
12351 (pow_towardzero_test_data): Likewise.
12352 (pow_downward_test_data): Likewise.
12353 (pow_upward_test_data): Likewise.
12354 (remainder_test_data): Likewise.
12355 (remainder_tonearest_test_data): Likewise.
12356 (remainder_towardzero_test_data): Likewise.
12357 (remainder_downward_test_data): Likewise.
12358 (remainder_upward_test_data): Likewise.
12359 (remquo_test_data): Likewise.
12360 (rint_test_data): Likewise.
12361 (rint_tonearest_test_data): Likewise.
12362 (rint_towardzero_test_data): Likewise.
12363 (rint_downward_test_data): Likewise.
12364 (rint_upward_test_data): Likewise.
12365 (round_test_data): Likewise.
12366 (scalb_test_data): Likewise.
12367 (scalbn_test_data): Likewise.
12368 (scalbln_test_data): Likewise.
12369 (signbit_test_data): Likewise.
12370 (sin_test_data): Likewise.
12371 (sin_tonearest_test_data): Likewise.
12372 (sin_towardzero_test_data): Likewise.
12373 (sin_downward_test_data): Likewise.
12374 (sin_upward_test_data): Likewise.
12375 (sincos_test_data): Likewise.
12376 (sinh_test_data): Likewise.
12377 (sinh_tonearest_test_data): Likewise.
12378 (sinh_towardzero_test_data): Likewise.
12379 (sinh_downward_test_data): Likewise.
12380 (sinh_upward_test_data): Likewise.
12381 (sqrt_test_data): Likewise.
12382 (tan_test_data): Likewise.
12383 (tan_tonearest_test_data): Likewise.
12384 (tan_towardzero_test_data): Likewise.
12385 (tan_downward_test_data): Likewise.
12386 (tan_upward_test_data): Likewise.
12387 (tanh_test_data): Likewise.
12388 (tgamma_test_data): Likewise.
12389 (trunc_test_data): Likewise.
12390 (y0_test_data): Likewise.
12391 (y1_test_data): Likewise.
12392 (yn_test_data): Likewise.
12393 (significand_test_data): Likewise.
12394
b679a606
JM
12395 * math/gen-libm-test.pl (@functions): Remove variable.
12396 (generate_testfile): Don't handle START and END lines.
12397 * math/libm-test.inc (START): New macro.
12398 (END): Likewise.
12399 (END_COMPLEX): Likewise.
12400 (acos_test): Use END macro without arguments.
12401 (acos_test_tonearest): Likewise.
12402 (acos_test_towardzero): Likewise.
12403 (acos_test_downward): Likewise.
12404 (acos_test_upward): Likewise.
12405 (acosh_test): Likewise.
12406 (asin_test): Likewise.
12407 (asin_test_tonearest): Likewise.
12408 (asin_test_towardzero): Likewise.
12409 (asin_test_downward): Likewise.
12410 (asin_test_upward): Likewise.
12411 (asinh_test): Likewise.
12412 (atan_test): Likewise.
12413 (atanh_test): Likewise.
12414 (atan2_test): Likewise.
12415 (cabs_test): Likewise.
12416 (cacos_test): Use END_COMPLEX macro without arguments.
12417 (cacosh_test): Likewise.
12418 (carg_test): Use END macro without arguments.
12419 (casin_test): Use END_COMPLEX macro without arguments.
12420 (casinh_test): Likewise.
12421 (catan_test): Likewise.
12422 (catanh_test): Likewise.
12423 (cbrt_test): Use END macro without arguments.
12424 (ccos_test): Use END_COMPLEX macro without arguments.
12425 (ccosh_test): Likewise.
12426 (ceil_test): Use END macro without arguments.
12427 (cexp_test): Use END_COMPLEX macro without arguments.
12428 (cimag_test): Use END macro without arguments.
12429 (clog_test): Use END_COMPLEX macro without arguments.
12430 (clog10_test): Likewise.
12431 (conj_test): Likewise.
12432 (copysign_test): Use END macro without arguments.
12433 (cos_test): Likewise.
12434 (cos_test_tonearest): Likewise.
12435 (cos_test_towardzero): Likewise.
12436 (cos_test_downward): Likewise.
12437 (cos_test_upward): Likewise.
12438 (cosh_test): Likewise.
12439 (cosh_test_tonearest): Likewise.
12440 (cosh_test_towardzero): Likewise.
12441 (cosh_test_downward): Likewise.
12442 (cosh_test_upward): Likewise.
12443 (cpow_test): Use END_COMPLEX macro without arguments.
12444 (cproj_test): Likewise.
12445 (creal_test): Use END macro without arguments.
12446 (csin_test): Use END_COMPLEX macro without arguments.
12447 (csinh_test): Likewise.
12448 (csqrt_test): Likewise.
12449 (ctan_test): Likewise.
12450 (ctan_test_tonearest): Likewise.
12451 (ctan_test_towardzero): Likewise.
12452 (ctan_test_downward): Likewise.
12453 (ctan_test_upward): Likewise.
12454 (ctanh_test): Likewise.
12455 (ctanh_test_tonearest): Likewise.
12456 (ctanh_test_towardzero): Likewise.
12457 (ctanh_test_downward): Likewise.
12458 (ctanh_test_upward): Likewise.
12459 (erf_test): Use END macro without arguments.
12460 (erfc_test): Likewise.
12461 (exp_test): Likewise.
12462 (exp_test_tonearest): Likewise.
12463 (exp_test_towardzero): Likewise.
12464 (exp_test_downward): Likewise.
12465 (exp_test_upward): Likewise.
12466 (exp10_test): Likewise.
12467 (exp2_test): Likewise.
12468 (expm1_test): Likewise.
12469 (fabs_test): Likewise.
12470 (fdim_test): Likewise.
12471 (finite_test): Likewise.
12472 (floor_test): Likewise.
12473 (fma_test): Likewise.
12474 (fma_test_towardzero): Likewise.
12475 (fma_test_downward): Likewise.
12476 (fma_test_upward): Likewise.
12477 (fmax_test): Likewise.
12478 (fmin_test): Likewise.
12479 (fmod_test): Likewise.
12480 (fpclassify_test): Likewise.
12481 (frexp_test): Likewise.
12482 (gamma_test): Likewise.
12483 (hypot_test): Likewise.
12484 (ilogb_test): Likewise.
12485 (isfinite_test): Likewise.
12486 (isgreater_test): Likewise.
12487 (isgreaterequal_test): Likewise.
12488 (isinf_test): Likewise.
12489 (isless_test): Likewise.
12490 (islessequal_test): Likewise.
12491 (islessgreater_test): Likewise.
12492 (isnan_test): Likewise.
12493 (isnormal_test): Likewise.
12494 (issignaling_test): Likewise.
12495 (isunordered_test): Likewise.
12496 (j0_test): Likewise.
12497 (j1_test): Likewise.
12498 (jn_test): Likewise.
12499 (ldexp_test): Likewise.
12500 (lgamma_test): Likewise.
12501 (lrint_test): Likewise.
12502 (lrint_test_tonearest): Likewise.
12503 (lrint_test_towardzero): Likewise.
12504 (lrint_test_downward): Likewise.
12505 (lrint_test_upward): Likewise.
12506 (llrint_test): Likewise.
12507 (llrint_test_tonearest): Likewise.
12508 (llrint_test_towardzero): Likewise.
12509 (llrint_test_downward): Likewise.
12510 (llrint_test_upward): Likewise.
12511 (log_test): Likewise.
12512 (log10_test): Likewise.
12513 (log1p_test): Likewise.
12514 (log2_test): Likewise.
12515 (logb_test): Likewise.
12516 (logb_test_downward): Likewise.
12517 (lround_test): Likewise.
12518 (llround_test): Likewise.
12519 (modf_test): Likewise.
12520 (nearbyint_test): Likewise.
12521 (nextafter_test): Likewise.
12522 (nexttoward_test): Likewise.
12523 (pow_test): Likewise.
12524 (pow_test_tonearest): Likewise.
12525 (pow_test_towardzero): Likewise.
12526 (pow_test_downward): Likewise.
12527 (pow_test_upward): Likewise.
12528 (remainder_test): Likewise.
12529 (remainder_test_tonearest): Likewise.
12530 (remainder_test_towardzero): Likewise.
12531 (remainder_test_downward): Likewise.
12532 (remainder_test_upward): Likewise.
12533 (remquo_test): Likewise.
12534 (rint_test): Likewise.
12535 (rint_test_tonearest): Likewise.
12536 (rint_test_towardzero): Likewise.
12537 (rint_test_downward): Likewise.
12538 (rint_test_upward): Likewise.
12539 (round_test): Likewise.
12540 (scalb_test): Likewise.
12541 (scalbn_test): Likewise.
12542 (scalbln_test): Likewise.
12543 (signbit_test): Likewise.
12544 (sin_test): Likewise.
12545 (sin_test_tonearest): Likewise.
12546 (sin_test_towardzero): Likewise.
12547 (sin_test_downward): Likewise.
12548 (sin_test_upward): Likewise.
12549 (sincos_test): Likewise.
12550 (sinh_test): Likewise.
12551 (sinh_test_tonearest): Likewise.
12552 (sinh_test_towardzero): Likewise.
12553 (sinh_test_downward): Likewise.
12554 (sinh_test_upward): Likewise.
12555 (sqrt_test): Likewise.
12556 (tan_test): Likewise.
12557 (tan_test_tonearest): Likewise.
12558 (tan_test_towardzero): Likewise.
12559 (tan_test_downward): Likewise.
12560 (tan_test_upward): Likewise.
12561 (tanh_test): Likewise.
12562 (tgamma_test): Likewise.
12563 (trunc_test): Likewise.
12564 (y0_test): Likewise.
12565 (y1_test): Likewise.
12566 (yn_test): Likewise.
12567 (significand_test): Likewise.
12568
bae143d2
OB
125692013-05-24 Ondřej Bílka <neleai@seznam.cz>
12570
12571 [BZ #15381]
12572 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12573
9323d39b
EM
125742013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12575
d4ea44a0 12576 [BZ #14894]
9323d39b
EM
12577 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12578 __ppc_mdoio and __ppc_mdoom.
12579 * manual/platform.texi: Document new functions __ppc_yield,
12580 __ppc_mdoio and __ppc_mdoom.
12581
13e23af7
CD
125822013-05-22 Carlos O'Donell <carlos@redhat.com>
12583
12584 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12585 (main): Mention "tls" pseudo-hwcap is legacy.
12586 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12587
351fe550
JM
125882013-05-22 Joseph Myers <joseph@codesourcery.com>
12589
12590 * math/gen-libm-test.pl (parse_args): Output only string of
12591 arguments as text for test name, not full call or descriptions of
12592 tests for extra outputs.
12593 (generate_testfile): Do not pass function name to parse_args.
12594 Generate this_func variable from START.
12595 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12596 field to arg_str.
12597 (struct test_ff_f_data): Likewise.
12598 (test_ff_f_data_nexttoward): Likewise.
12599 (struct test_fi_f_data): Likewise.
12600 (struct test_fl_f_data): Likewise.
12601 (struct test_if_f_data): Likewise.
12602 (struct test_fff_f_data): Likewise.
12603 (struct test_c_f_data): Likewise.
12604 (struct test_f_f1_data): Likewise. Remove field extra_name.
12605 (struct test_fF_f1_data): Likewise.
12606 (struct test_ffI_f1_data): Likewise.
12607 (struct test_c_c_data): Rename test_name field to arg_str.
12608 (struct test_cc_c_data): Likewise.
12609 (struct test_f_i_data): Likewise.
12610 (struct test_ff_i_data): Likewise.
12611 (struct test_f_l_data): Likewise.
12612 (struct test_f_L_data): Likewise.
12613 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12614 and extra2_name.
12615 (COMMON_TEST_SETUP): New macro.
12616 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12617 (COMMON_TEST_CLEANUP): Likewise.
12618 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12619 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12620 macros.
12621 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12622 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12623 macros.
12624 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12625 (RUN_TEST_fff_f): Take argument string. Call new setup and
12626 cleanup macros.
12627 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12628 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12629 macros.
12630 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12631 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12632 macros.
12633 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12634 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12635 cleanup macros.
12636 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12637 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12638 cleanup macros.
12639 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12640 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12641 cleanup macros.
12642 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12643 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12644 macros.
12645 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12646 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12647 macros.
12648 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12649 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12650 macros.
12651 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12652 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12653 cleanup macros.
12654 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12655 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12656 cleanup macros.
12657 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12658 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12659 macros.
12660 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12661 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12662 cleanup macros.
12663 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12664 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12665 macros.
12666 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12667 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12668 macros.
12669 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12670 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12671 cleanup macros.
12672 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12673
85118d4d
EBM
126742013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12675
12676 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12677 to _sifields.sigfault.
12678 (si_addr_lsb): Define new macro.
12679 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12681 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12682
7a44c18f
CD
126832013-05-03 Carlos O'Donell <carlos at redhat.com>
12684
12685 [BZ #15441]
12686 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12687 returns -1.
12688 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12689 null return -1.
12690 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12691 loading the domain.
12692
b50a7181
JM
126932013-05-22 Joseph Myers <joseph@codesourcery.com>
12694
12695 * math/gen-libm-test.pl (parse_args): Do not include expected
12696 result in test name.
12697 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12699 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12701 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12703
051063c8
SP
127042013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12705
3ce9e010
SP
12706 * benchtests/Makefile: Sort function entries.
12707
051063c8
SP
12708 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12709 tanh, asinh, acosh, atanh.
12710 * benchtests/acos-inputs: New file.
12711 * benchtests/acosh-inputs: New file.
12712 * benchtests/asin-inputs: New file.
12713 * benchtests/asinh-inputs: New file.
12714 * benchtests/atanh-inputs: New file.
12715 * benchtests/cosh-inputs: New file.
12716 * benchtests/log-inputs: New file.
12717 * benchtests/sinh-inputs: New file.
12718 * benchtests/tanh-inputs: New file.
12719
47c22455
DL
127202013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12721
12722 [BZ #15339]
12723 * posix/tst-getaddrinfo4.c: New test.
12724 * posix/Makefile (tests): Add it.
12725
3d04f5db
SP
127262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12727
12728 [BZ #15339]
12729 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12730 when no services were used.
12731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12732 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12733
d5dd6189
AS
127342013-05-21 Andreas Schwab <schwab@suse.de>
12735
12736 [BZ #15014]
12737 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12738 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12739 successful.
12740 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12741 redundant variable declarations and reallocation of buffer when
12742 parsing as IPv6 address. Always set NSS status when called from
12743 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12744 buffer too small. Correct computation of needed size.
12745 * nss/Makefile (tests): Add test-digits-dots.
12746 * nss/test-digits-dots.c: New test.
12747
fef94eab
SP
127482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12749
12750 * benchtests/Makefile: Remove instructions for adding
12751 benchmark tests.
12752 * benchtests/README: New file to explain how to execute and
12753 enhance the benchmark tests.
12754
e39adf43
AS
127552013-05-21 Andreas Schwab <schwab@suse.de>
12756
12757 [BZ #15493]
12758 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12759 * setjmp/tst-sigsetjmp.c: New test.
12760
b2b671b6
OB
127612013-05-20 Ondřej Bílka <neleai@seznam.cz>
12762
12763 * sysdeps/x86_64/memset.S (memset): New implementation.
12764 (__bzero): Likewise.
12765 (__memset_tail): New function.
12766
2d48b41c
OB
127672013-05-20 Ondřej Bílka <neleai@seznam.cz>
12768
12769 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12770 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12771 __memcpy_sse2_unaligned ifunc selection.
12772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12773 Add memcpy-sse2-unaligned.S.
12774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12775 Add: __memcpy_sse2_unaligned.
12776
f16cc3eb
JM
127772013-05-19 Joseph Myers <joseph@codesourcery.com>
12778
3e694268
JM
12779 [BZ #15490]
12780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12781 math_force_eval before restoring floating-point envrionment.
12782 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12784 Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12786 <math_private.h>.
12787 (__nearbyintl): Use math_force_eval before restoring
12788 floating-point environment.
12789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12790
db62a907
JM
12791 * math/gen-libm-test.pl (special_functions): Remove.
12792 (parse_args): Don't handle TEST_extra. Handle functions with no
12793 return value.
12794 * math/libm-test.inc (struct test_sincos_data): Replace with
12795 struct test_fFF_11_data.
12796 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12797 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12798 (sincos_test_data): Change element type to struct
12799 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12800 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12801 RUN_TEST_LOOP_sincos.
12802 * math/README.libm-test: Don't mention special handling of
12803 individual functions.
12804 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12805 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12806 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12807 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12808 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12810
f16cc3eb
JM
12811 * math/gen-libm-test.pl (get_variable): Remove function.
12812 (parse_args): Don't show pointer parameters to call in test
12813 names. Use "extra output N" in test names for extra outputs
12814 rather than naming variables.
12815
3779b5b6
JM
128162013-05-18 Joseph Myers <joseph@codesourcery.com>
12817
2ee094ff
JM
12818 [BZ #15488]
12819 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12820 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12821 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12822 double tests.
12823 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12824 disable.
12825 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12826 check_long_double.
12827
3779b5b6
JM
12828 * math/gen-libm-test.pl (@tests): Remove variable.
12829 ($count): Likewise.
12830 (new_test): Remove function.
12831 (show_exceptions): New function.
12832 (special_functions): Use show_exceptions instead of new_test.
12833 (parse_args): Likewise.
12834 (generate_testfile): Pass only function name in generated call to
12835 print_max_error or print_complex_max_error.
12836 (get_ulps): Do not handle complex tests specially.
12837 (output_test): Rename to ...
12838 (get_all_ulps_for_test): ... this. Return a string rather than
12839 printing to a file. Require ulps to be present.
12840 (output_ulps): Generate arrays rather than #defines.
12841 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12842 (struct ulp_data): New type.
12843 (BUILD_COMPLEX_ULP): Remove macro.
12844 (compare_ulp_data): New function.
12845 (find_ulps): Likewise.
12846 (find_test_ulps): Likewise.
12847 (find_function_ulps): Likewise.
12848 (find_complex_function_ulps): Likewise.
12849 (print_max_error): Determine allowed ulps using
12850 find_function_ulps.
12851 (print_complex_max_error): Determine allowed ulps using
12852 find_complex_function_ulps.
12853 (check_float_internal): Determine max ulps using find_test_ulps.
12854 (check_float): Do not take max_ulp parameter. Update call to
12855 check_float_internal.
12856 (check_complex): Likewise.
12857 (check_int): Do not take max_ulp parameter.
12858 (check_long): Likewise.
12859 (check_bool): Likewise.
12860 (check_longlong): Likewise.
12861 (struct test_f_f_data): Remove max_ulp field.
12862 (struct test_ff_f_data): Likewise.
12863 (struct test_ff_f_data_nexttoward): Likewise.
12864 (struct test_fi_f_data): Likewise.
12865 (struct test_fl_f_data): Likewise.
12866 (struct test_if_f_data): Likewise.
12867 (struct test_fff_f_data): Likewise.
12868 (struct test_c_f_data): Likewise.
12869 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12870 (struct test_fF_f1_data): Likewise.
12871 (struct test_ffI_f1_data): Likewise.
12872 (struct test_c_c_data): Remove max_ulp field.
12873 (struct test_cc_c_data): Likewise.
12874 (struct test_f_i_data): Likewise.
12875 (struct test_ff_i_data): Likewise.
12876 (struct test_f_l_data): Likewise.
12877 (struct test_f_L_data): Likewise.
12878 (struct test_sincos_data): Likewise.
12879 (RUN_TEST_f_f): Do not handle ulps.
12880 (RUN_TEST_LOOP_f_f): Likewise.
12881 (RUN_TEST_2_f): Likewise.
12882 (RUN_TEST_LOOP_2_f): Likewise.
12883 (RUN_TEST_fff_f): Likewise.
12884 (RUN_TEST_LOOP_fff_f): Likewise.
12885 (RUN_TEST_c_f): Likewise.
12886 (RUN_TEST_LOOP_c_f): Likewise.
12887 (RUN_TEST_f_f1): Likewise.
12888 (RUN_TEST_LOOP_f_f1): Likewise.
12889 (RUN_TEST_fF_f1): Likewise.
12890 (RUN_TEST_LOOP_fF_f1): Likewise.
12891 (RUN_TEST_fI_f1): Likewise.
12892 (RUN_TEST_LOOP_fI_f1): Likewise.
12893 (RUN_TEST_ffI_f1): Likewise.
12894 (RUN_TEST_LOOP_ffI_f1): Likewise.
12895 (RUN_TEST_c_c): Likewise.
12896 (RUN_TEST_LOOP_c_c): Likewise.
12897 (RUN_TEST_cc_c): Likewise.
12898 (RUN_TEST_LOOP_cc_c): Likewise.
12899 (RUN_TEST_f_i): Likewise.
12900 (RUN_TEST_LOOP_f_i): Likewise.
12901 (RUN_TEST_f_i_tg): Likewise.
12902 (RUN_TEST_LOOP_f_i_tg): Likewise.
12903 (RUN_TEST_ff_i_tg): Likewise.
12904 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12905 (RUN_TEST_f_b): Likewise.
12906 (RUN_TEST_LOOP_f_b): Likewise.
12907 (RUN_TEST_f_b_tg): Likewise.
12908 (RUN_TEST_LOOP_f_b_tg): Likewise.
12909 (RUN_TEST_f_l): Likewise.
12910 (RUN_TEST_LOOP_f_l): Likewise.
12911 (RUN_TEST_f_L): Likewise.
12912 (RUN_TEST_LOOP_f_L): Likewise.
12913 (RUN_TEST_sincos): Likewise.
12914 (RUN_TEST_LOOP_sincos): Likewise.
12915
8269107f
JM
129162013-05-17 Joseph Myers <joseph@codesourcery.com>
12917
bb38759d
JM
12918 [BZ #15480]
12919 [BZ #15485]
12920 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12921 main case of finite arguments, set rounding mode to FE_TONEAREST
12922 and discard exceptions.
12923 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12924 exceptions.
12925 (remainder_tonearest_test_data): New variable.
12926 (remainder_test_tonearest): New function.
12927 (remainder_towardzero_test_data): New variable.
12928 (remainder_test_towardzero): New function.
12929 (remainder_downward_test_data): New variable.
12930 (remainder_test_downward): New function.
12931 (remainder_upward_test_data): New variable.
12932 (remainder_test_upward): New function.
12933 (main): Call the new test functions.
12934
a00bdcf0
JM
12935 * math/libm-test.inc (struct test_f_f1_data): Remove field
12936 extra_init.
12937 (struct test_fF_f1_data): Likewise.
12938 (struct test_ffI_f1_data): Likewise.
12939 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12940 based on value of EXTRA_EXPECTED.
12941 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12942 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12943 EXTRA_VAR based on value of EXTRA_EXPECTED.
12944 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12945 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12946 EXTRA_VAR based on value of EXTRA_EXPECTED.
12947 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12948 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12949 EXTRA_VAR based on value of EXTRA_EXPECTED.
12950 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12951 * math/gen-libm-test.pl (parse_args): Don't output initializers
12952 for extra output values.
12953
de407f79
JM
12954 * math/libm-test.inc (check_int): Expect result to be exactly
12955 equal to expected value and do not handle ulps.
12956 (check_long): Likewise.
12957 (check_longlong): Likewise.
12958
8269107f
JM
12959 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12960 exceptions.
12961 (cimag_test_data): Likewise.
12962 (conj_test_data): Likewise.
12963 (copysign_test_data): Likewise.
12964 (cproj_test_data): Likewise.
12965 (creal_test_data): Likewise.
12966 (fabs_test_data): Likewise.
12967 (fdim_test_data): Likewise.
12968 (finite_test_data): Likewise.
12969 (floor_test_data): Likewise.
12970 (fmax_test_data): Likewise.
12971 (fmin_test_data): Likewise.
12972 (fmod_test_data): Likewise.
12973 (fpclassify_test_data): Likewise.
12974 (frexp_test_data): Likewise.
12975 (ilogb_test_data): Likewise.
12976 (isfinite_test_data): Likewise.
12977 (isgreater_test_data): Likewise.
12978 (isgreaterequal_test_data): Likewise.
12979 (isinf_test_data): Likewise.
12980 (isless_test_data): Likewise.
12981 (islessequal_test_data): Likewise.
12982 (islessgreater_test_data): Likewise.
12983 (isnan_test_data): Likewise.
12984 (isnormal_test_data): Likewise.
12985 (issignaling_test_data): Likewise.
12986 (isunordered_test_data): Likewise.
12987 (ldexp_test_data): Likewise.
12988 (lrint_test_data): Likewise.
12989 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12990 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12991 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12992 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12993 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12994 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12995 test input.
12996 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12997 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12998 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12999 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13000 that test input.
13001 (lrint_downward_test_data): Test for "inexact" exceptions.
13002 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13003 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13004 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13005 test input.
13006 (lrint_upward_test_data): Test for "inexact" exceptions.
13007 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13008 test input.
13009 (llrint_test_data): Test for "inexact" exceptions.
13010 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13011 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13012 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13013 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13014 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13015 (llrint_downward_test_data): Test for "inexact" exceptions.
13016 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13017 (llrint_upward_test_data): Test for "inexact" exceptions.
13018 (logb_test_data): Likewise.
13019 (logb_downward_test_data): Likewise.
13020 (nextafter_test_data): Likewise.
13021 (nexttoward_test_data): Likewise.
13022 (remainder_test_data): Likewise.
13023 (remquo_test_data): Likewise.
13024 (scalbn_test_data): Likewise.
13025 (scalbln_test_data): Likewise.
13026 (signbit_test_data): Likewise.
13027 (sqrt_test_data): Likewise.
13028 (significand_test_data): Likewise.
13029
48a18de1
SP
130302013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13031
13032 [BZ #15424]
13033 * benchtests/bench-modf.c (struct args): Mark arg0 as
13034 volatile.
13035 * scripts/bench.pl: Mark members of struct args as volatile.
13036
13d3b41a
AZ
130372013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13038
68191c1d 13039 [BZ # 15497]
13d3b41a
AZ
13040 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13041 negative infinity on POWER6 or lower.
13042 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13043
2848b105
MR
130442013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13045
13046 [BZ #15442]
13047 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13048 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13049 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13050 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13051 (_FP_SETQNAN): New macro.
13052 (_FP_SETQNAN_SEMIRAW): Likewise.
13053 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13054 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13055 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13056 (FP_EXTEND): Use _FP_FRAC_SNANP.
13057 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13058 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13059 into account.
13060 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13061 New macro.
13062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13063 Likewise.
13064
323e5cb7
JM
130652013-05-16 Joseph Myers <joseph@codesourcery.com>
13066
c58b274f
JM
13067 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13068 with DIVIDE_BY_ZERO_EXCEPTION.
13069 (gamma_test_data): Likewise.
13070 (lgamma_test_data): Likewise.
13071 (log_test_data): Likewise.
13072 (log10_test_data): Likewise.
13073 (log2_test_data): Likewise.
13074 (tgamma_test_data): Likewise.
13075
0ab34904
JM
13076 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13077 (acos_test_tonearest): Likewise.
13078 (acos_test_towardzero): Likewise.
13079 (acos_test_downward): Likewise.
13080 (acos_test_upward): Likewise.
13081 (acosh_test): Likewise.
13082 (asin_test): Likewise.
13083 (asin_test_tonearest): Likewise.
13084 (asin_test_towardzero): Likewise.
13085 (asin_test_downward): Likewise.
13086 (asin_test_upward): Likewise.
13087 (asinh_test): Likewise.
13088 (atan_test): Likewise.
13089 (atanh_test): Likewise.
13090 (atan2_test): Likewise.
13091 (cabs_test): Likewise.
13092 (cacos_test): Likewise.
13093 (cacosh_test): Likewise.
13094 (casin_test): Likewise.
13095 (casinh_test): Likewise.
13096 (catan_test): Likewise.
13097 (catanh_test): Likewise.
13098 (cbrt_test): Likewise.
13099 (ccos_test): Likewise.
13100 (ccosh_test): Likewise.
13101 (cexp_test): Likewise.
13102 (clog_test): Likewise.
13103 (clog10_test): Likewise.
13104 (cos_test): Likewise.
13105 (cos_test_tonearest): Likewise.
13106 (cos_test_towardzero): Likewise.
13107 (cos_test_downward): Likewise.
13108 (cos_test_upward): Likewise.
13109 (cosh_test): Likewise.
13110 (cosh_test_tonearest): Likewise.
13111 (cosh_test_towardzero): Likewise.
13112 (cosh_test_downward): Likewise.
13113 (cosh_test_upward): Likewise.
13114 (cpow_test): Likewise.
13115 (csin_test): Likewise.
13116 (csinh_test): Likewise.
13117 (csqrt_test): Likewise.
13118 (ctan_test): Likewise.
13119 (ctan_test_tonearest): Likewise.
13120 (ctan_test_towardzero): Likewise.
13121 (ctan_test_downward): Likewise.
13122 (ctan_test_upward): Likewise.
13123 (ctanh_test): Likewise.
13124 (ctanh_test_tonearest): Likewise.
13125 (ctanh_test_towardzero): Likewise.
13126 (ctanh_test_downward): Likewise.
13127 (ctanh_test_upward): Likewise.
13128 (erf_test): Likewise.
13129 (erfc_test): Likewise.
13130 (exp_test): Likewise.
13131 (exp_test_tonearest): Likewise.
13132 (exp_test_towardzero): Likewise.
13133 (exp_test_downward): Likewise.
13134 (exp_test_upward): Likewise.
13135 (exp10_test): Likewise.
13136 (exp2_test): Likewise.
13137 (expm1_test): Likewise.
13138 (fmod_test): Likewise.
13139 (gamma_test): Likewise.
13140 (hypot_test): Likewise.
13141 (j0_test): Likewise.
13142 (j1_test): Likewise.
13143 (jn_test): Likewise.
13144 (lgamma_test): Likewise.
13145 (log_test): Likewise.
13146 (log10_test): Likewise.
13147 (log1p_test): Likewise.
13148 (log2_test): Likewise.
13149 (logb_test_downward): Likewise.
13150 (pow_test): Likewise.
13151 (pow_test_tonearest): Likewise.
13152 (pow_test_towardzero): Likewise.
13153 (pow_test_downward): Likewise.
13154 (pow_test_upward): Likewise.
13155 (remainder_test): Likewise.
13156 (remquo_test): Likewise.
13157 (sin_test): Likewise.
13158 (sin_test_tonearest): Likewise.
13159 (sin_test_towardzero): Likewise.
13160 (sin_test_downward): Likewise.
13161 (sin_test_upward): Likewise.
13162 (sincos_test): Likewise.
13163 (sinh_test): Likewise.
13164 (sinh_test_tonearest): Likewise.
13165 (sinh_test_towardzero): Likewise.
13166 (sinh_test_downward): Likewise.
13167 (sinh_test_upward): Likewise.
13168 (sqrt_test): Likewise.
13169 (tan_test): Likewise.
13170 (tan_test_tonearest): Likewise.
13171 (tan_test_towardzero): Likewise.
13172 (tan_test_downward): Likewise.
13173 (tan_test_upward): Likewise.
13174 (tanh_test): Likewise.
13175 (tgamma_test): Likewise.
13176 (y0_test): Likewise.
13177 (y1_test): Likewise.
13178 (yn_test): Likewise.
13179
323e5cb7
JM
13180 * math/gen-libm-test.pl (adjust_arg): Remove function.
13181 (special_function): Remove argument $in_func. Only handle
13182 generating output for tables of tests, not inside functions.
13183 (parse_args): Likewise.
13184 (generate_testfile): Remove variable $in_func. Update call to
13185 parse_args.
13186 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13187 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13188 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13189 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13190 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13191 (MAX_VALUE_INIT): Rename macro to max_value.
13192 (MIN_VALUE_INIT): Rename macro to min_value.
13193 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13194 (plus_zero): Remove variable.
13195 (minus_zero): Likewise.
13196 (plus_infty): Likewise.
13197 (minus_infty): Likewise.
13198 (qnan_value): Likewise.
13199 (max_value): Likewise.
13200 (min_value): Likewise.
13201 (min_subnorm_value): Likewise.
13202
e054f494
RA
132032013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13204
13205 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13206 uint64_t or uint32_t usage.
13207 * crypt/sha256-block.c: Likewise.
13208 * crypt/sha256-crypt.c: Likewise.
13209 * crypt/sha256.c: Likewise.
13210 * crypt/sha512-block.c: Likewise.
13211 * crypt/sha512-crypt.c: Likewise.
13212 * crypt/sha512.c: Likewise.
13213 * debug/backtrace-tst.c: Likewise.
13214 * debug/pcprofiledump.c: Likewise.
13215 * elf/cache.c: Likewise.
13216 * elf/dl-cache.c: Likewise.
13217 * elf/dl-misc.c: Likewise.
13218 * elf/dl-profile.c: Likewise.
13219 * elf/dl-support.c: Likewise.
13220 * elf/ldconfig.c: Likewise.
13221 * elf/sprof.c: Likewise.
13222 * iconv/dummy-repertoire.c: Likewise.
13223 * iconv/iconv_charmap.c: Likewise.
13224 * iconv/skeleton.c: Likewise.
13225 * iconvdata/8bit-generic.c: Likewise.
13226 * iconvdata/cp737.h: Likewise.
13227 * iconvdata/cp775.h: Likewise.
13228 * iconvdata/ibm1008.h: Likewise.
13229 * iconvdata/ibm1025.h: Likewise.
13230 * iconvdata/ibm1046.h: Likewise.
13231 * iconvdata/ibm1097.h: Likewise.
13232 * iconvdata/ibm1112.h: Likewise.
13233 * iconvdata/ibm1122.h: Likewise.
13234 * iconvdata/ibm1123.h: Likewise.
13235 * iconvdata/ibm1124.h: Likewise.
13236 * iconvdata/ibm1129.h: Likewise.
13237 * iconvdata/ibm1130.h: Likewise.
13238 * iconvdata/ibm1132.h: Likewise.
13239 * iconvdata/ibm1133.h: Likewise.
13240 * iconvdata/ibm1137.h: Likewise.
13241 * iconvdata/ibm1140.h: Likewise.
13242 * iconvdata/ibm1141.h: Likewise.
13243 * iconvdata/ibm1142.h: Likewise.
13244 * iconvdata/ibm1143.h: Likewise.
13245 * iconvdata/ibm1144.h: Likewise.
13246 * iconvdata/ibm1145.h: Likewise.
13247 * iconvdata/ibm1146.h: Likewise.
13248 * iconvdata/ibm1147.h: Likewise.
13249 * iconvdata/ibm1148.h: Likewise.
13250 * iconvdata/ibm1149.h: Likewise.
13251 * iconvdata/ibm1153.h: Likewise.
13252 * iconvdata/ibm1154.h: Likewise.
13253 * iconvdata/ibm1155.h: Likewise.
13254 * iconvdata/ibm1156.h: Likewise.
13255 * iconvdata/ibm1157.h: Likewise.
13256 * iconvdata/ibm1158.h: Likewise.
13257 * iconvdata/ibm1160.h: Likewise.
13258 * iconvdata/ibm1161.h: Likewise.
13259 * iconvdata/ibm1162.h: Likewise.
13260 * iconvdata/ibm1163.h: Likewise.
13261 * iconvdata/ibm1164.h: Likewise.
13262 * iconvdata/ibm1166.h: Likewise.
13263 * iconvdata/ibm1167.h: Likewise.
13264 * iconvdata/ibm12712.h: Likewise.
13265 * iconvdata/ibm1390.h: Likewise.
13266 * iconvdata/ibm1399.h: Likewise.
13267 * iconvdata/ibm16804.h: Likewise.
13268 * iconvdata/ibm4517.h: Likewise.
13269 * iconvdata/ibm4899.h: Likewise.
13270 * iconvdata/ibm4909.h: Likewise.
13271 * iconvdata/ibm4971.h: Likewise.
13272 * iconvdata/ibm5347.h: Likewise.
13273 * iconvdata/ibm803.h: Likewise.
13274 * iconvdata/ibm856.h: Likewise.
13275 * iconvdata/ibm901.h: Likewise.
13276 * iconvdata/ibm902.h: Likewise.
13277 * iconvdata/ibm9030.h: Likewise.
13278 * iconvdata/ibm9066.h: Likewise.
13279 * iconvdata/ibm921.h: Likewise.
13280 * iconvdata/ibm922.h: Likewise.
13281 * iconvdata/ibm9448.h: Likewise.
13282 * iconvdata/isiri-3342.h: Likewise.
13283 * iconvdata/jis0201.h: Likewise.
13284 * include/link.h: Likewise.
13285 * include/netdb.h: Likewise.
13286 * inet/check_native.c: Likewise.
13287 * inet/check_pf.c: Likewise.
13288 * inet/getipv4sourcefilter.c: Likewise.
13289 * inet/getnameinfo.c: Likewise.
13290 * inet/getsourcefilter.c: Likewise.
13291 * inet/htonl.c: Likewise.
13292 * inet/setipv4sourcefilter.c: Likewise.
13293 * inet/setsourcefilter.c: Likewise.
13294 * inet/test-inet6_opt.c: Likewise.
13295 * inet/tst-network.c: Likewise.
13296 * locale/C-collate.c: Likewise.
13297 * locale/C-ctype.c: Likewise.
13298 * locale/C-time.c: Likewise.
13299 * locale/C-translit.h: Likewise.
13300 * locale/loadarchive.c: Likewise.
13301 * locale/programs/3level.h: Likewise.
13302 * locale/programs/charmap.c: Likewise.
13303 * locale/programs/charmap.h: Likewise.
13304 * locale/programs/ld-address.c: Likewise.
13305 * locale/programs/ld-collate.c: Likewise.
13306 * locale/programs/ld-ctype.c: Likewise.
13307 * locale/programs/ld-identification.c: Likewise.
13308 * locale/programs/ld-measurement.c: Likewise.
13309 * locale/programs/ld-messages.c: Likewise.
13310 * locale/programs/ld-monetary.c: Likewise.
13311 * locale/programs/ld-name.c: Likewise.
13312 * locale/programs/ld-numeric.c: Likewise.
13313 * locale/programs/ld-paper.c: Likewise.
13314 * locale/programs/ld-telephone.c: Likewise.
13315 * locale/programs/ld-time.c: Likewise.
13316 * locale/programs/linereader.c: Likewise.
13317 * locale/programs/locale.c: Likewise.
13318 * locale/programs/locarchive.c: Likewise.
13319 * locale/programs/locfile.h: Likewise.
13320 * locale/programs/repertoire.c: Likewise.
13321 * locale/programs/simple-hash.c: Likewise.
13322 * locale/programs/simple-hash.h: Likewise.
13323 * malloc/memusage.c: Likewise.
13324 * malloc/memusagestat.c: Likewise.
13325 * nis/nis_defaults.c: Likewise.
13326 * nis/nis_hash.c: Likewise.
13327 * nis/nis_print.c: Likewise.
13328 * nis/nis_xdr.c: Likewise.
13329 * nscd/connections.c: Likewise.
13330 * nscd/hstcache.c: Likewise.
13331 * nscd/nscd_gethst_r.c: Likewise.
13332 * nscd/nscd_getserv_r.c: Likewise.
13333 * nscd/nscd_helper.c: Likewise.
13334 * nscd/servicescache.c: Likewise.
13335 * nss/makedb.c: Likewise.
13336 * nss/nss_db/db-XXX.c: Likewise.
13337 * nss/nss_db/db-initgroups.c: Likewise.
13338 * nss/nss_db/db-netgrp.c: Likewise.
13339 * nss/nss_files/files-network.c: Likewise.
13340 * nss/nss_files/files-parse.c: Likewise.
13341 * posix/bug-regex5.c: Likewise.
13342 * posix/fnmatch_loop.c: Likewise.
13343 * posix/regcomp.c: Likewise.
13344 * posix/regexec.c: Likewise.
13345 * posix/tst-rfc3484-2.c: Likewise.
13346 * posix/tst-rfc3484-3.c: Likewise.
13347 * posix/tst-rfc3484.c: Likewise.
13348 * resolv/nss_dns/dns-canon.c: Likewise.
13349 * resolv/nss_dns/dns-network.c: Likewise.
13350 * resolv/res_init.c: Likewise.
13351 * resolv/res_mkquery.c: Likewise.
13352 * resolv/tst-aton.c: Likewise.
13353 * stdlib/cxa_atexit.c: Likewise.
13354 * stdlib/cxa_finalize.c: Likewise.
13355 * stdlib/gen-fpioconst.c: Likewise.
13356 * stdlib/strtol_l.c: Likewise.
13357 * string/tst-endian.c: Likewise.
13358 * sunrpc/auth_des.c: Likewise.
13359 * sunrpc/clnt_udp.c: Likewise.
13360 * sunrpc/rtime.c: Likewise.
13361 * sunrpc/svcauth_des.c: Likewise.
13362 * sunrpc/xdr.c: Likewise.
13363 * sunrpc/xdr_intXX_t.c: Likewise.
13364 * sunrpc/xdr_rec.c: Likewise.
13365 * sysdeps/generic/ldconfig.h: Likewise.
13366 * sysdeps/generic/ldsodefs.h: Likewise.
13367 * sysdeps/generic/memusage.h: Likewise.
13368 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13371 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13378 * sysdeps/posix/getaddrinfo.c: Likewise.
13379 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13380 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13381 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13382 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13383 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13384 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13385 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13386 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13387 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13388 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13389 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13390 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13391 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13392 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13393 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13394 * sysdeps/x86_64/dl-tls.h: Likewise.
13395 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13396 * time/alt_digit.c: Likewise.
13397 * time/era.c: Likewise.
13398 * wcsmbs/tst-c16c32-1.c: Likewise.
13399
8c75f674
JM
134002013-05-16 Joseph Myers <joseph@codesourcery.com>
13401
13402 * math/libm-test.inc (struct test_sincos_data): New type.
13403 (RUN_TEST_LOOP_sincos): New macro.
13404 (sincos_test_data): New variable.
13405 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13406
e6e49e59
RH
134072013-05-16 Richard Henderson <rth@redhat.com>
13408
13409 * math/atest-exp2.c (LIMB64): New macro.
13410 (CONSTSZ): New macro.
13411 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13412 (hexdig): Move ...
13413 (print_mpn_fp): ... to function scope.
13414 (read_mpn_hex): Remove.
13415 (get_log2): Remove.
13416 (exp2_mpn): Use mp_log2.
13417 (main): Use mp_exp1.
13418
15c7c18d
JM
134192013-05-16 Joseph Myers <joseph@codesourcery.com>
13420
105a07df
JM
13421 * math/libm-test.inc: Remove comment about not testing "inexact"
13422 exceptions.
13423 (INEXACT_EXCEPTION): New macro.
13424 (NO_INEXACT_EXCEPTION): Likewise.
13425 (INVALID_EXCEPTION_OK): Update value.
13426 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13427 (OVERFLOW_EXCEPTION_OK): Likewise.
13428 (UNDERFLOW_EXCEPTION_OK): Likewise.
13429 (IGNORE_ZERO_INF_SIGN): Likewise.
13430 (ERRNO_UNCHANGED): Likewise.
13431 (ERRNO_EDOM): Likewise.
13432 (ERRNO_ERANGE): Likewise.
13433 (test_exceptions): Handle testing "inexact" exceptions.
13434 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13435 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13436 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13437 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13438 INEXACT_EXCEPTION.
13439 (rint_towardzero_test_data): Likewise.
13440 (rint_downward_test_data): Likewise.
13441 (rint_upward_test_data): Likewise.
13442
e9eee333
JM
13443 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13444 with OVERFLOW_EXCEPTION.
13445 (exp10_test_data): Likewise.
13446 (exp2_test_data): Likewise.
13447 (expm1_test_data): Likewise.
13448 (lgamma_test_data): Likewise.
13449 (pow_test_data): Likewise.
13450 (tgamma_test_data): Likewise.
13451 (yn_test_data): Remove duplicate test of overflow.
13452
1c38ff73
JM
13453 * math/libm-test.inc (struct test_cc_c_data): New type.
13454 (RUN_TEST_LOOP_cc_c): New macro.
13455 (cpow_test_data): New variable.
13456 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13457
15c7c18d
JM
13458 * math/libm-test.inc (struct test_f_L_data): New type.
13459 (RUN_TEST_LOOP_f_L): New macro.
13460 (llrint_test_data): New variable.
13461 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13462 (llrint_tonearest_test_data): New variable.
13463 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13464 (llrint_towardzero_test_data): New variable.
13465 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13466 (llrint_downward_test_data): New variable.
13467 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13468 (llrint_upward_test_data): New variable.
13469 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13470 (llround_test_data): New variable.
13471 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13472
f137ff13
PC
134732013-05-13 Peter Collingbourne <pcc@google.com>
13474
13475 * math/atest-exp2.c (get_log2): Remove const attribute.
13476
3608cb24
JM
134772013-05-15 Joseph Myers <joseph@codesourcery.com>
13478
13479 * math/libm-test.inc (struct test_f_l_data): New type.
13480 (RUN_TEST_LOOP_f_l): New macro.
13481 (lrint_test_data): New variable.
13482 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13483 (lrint_tonearest_test_data): New variable.
13484 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13485 (lrint_towardzero_test_data): New variable.
13486 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13487 (lrint_downward_test_data): New variable.
13488 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13489 (lrint_upward_test_data): New variable.
13490 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13491 (lround_test_data): New variable.
13492 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13493
39b1f617
PC
134942013-05-15 Peter Collingbourne <pcc@google.com>
13495
1deff3dc
PC
13496 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13497 (EXTRACT_WORDS64) Use where appropriate.
13498 (INSERT_WORDS64) Likewise.
13499
791f3ba0
PC
13500 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13501 constraints with x constraints.
13502 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13503
39b1f617
PC
13504 * malloc/obstack.c (_obstack_compat): Add initializer.
13505
12fba011
EM
135062013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13507
13508 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13509 si_trapno and add si_addr_lsb to _sifields.sigfault.
13510 (si_trapno): Remove macro.
13511 (si_addr_lsb): Define new macro.
13512 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13513
d369f531
JM
135142013-05-15 Joseph Myers <joseph@codesourcery.com>
13515
b861c6c4
JM
13516 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13517 instead of TEST_f_l.
13518 (llrint_test_tonearest): Likewise.
13519 (llrint_test_towardzero): Likewise.
13520 (llrint_test_downward): Likewise.
13521 (llrint_test_upward): Likewise.
13522 (llround_test): Likewise.
13523
7abeee12
JM
13524 * math/libm-test.inc (struct test_f_i_data): Add comment.
13525 (RUN_TEST_LOOP_f_b): New macro.
13526 (RUN_TEST_LOOP_f_b_tg): Likewise.
13527 (finite_test_data): New variable.
13528 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13529 (isfinite_test_data): New variable.
13530 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13531 (isinf_test_data): New variable.
13532 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13533 (isnan_test_data): New variable.
13534 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13535 (isnormal_test_data): New variable.
13536 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13537 (issignaling_test_data): New variable.
13538 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13539 (signbit_test_data): New variable.
13540 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13541
cbe8c4d3
JM
13542 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13543 with INVALID_EXCEPTION.
13544 (acosh_test_data): Likewise.
13545 (asin_test_data): Likewise.
13546 (atanh_test_data): Likewise.
13547 (fmod_test_data): Likewise.
13548 (log_test_data): Likewise.
13549 (log10_test_data): Likewise.
13550 (log2_test_data): Likewise.
13551 (pow_test_data): Likewise.
13552 (sqrt_test_data): Likewise.
13553 (y0_test_data): Likewise.
13554 (y1_test_data): Likewise.
13555 (yn_test_data): Likewise.
13556
5575c0e5
JM
13557 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13558 function contents.
13559
d369f531
JM
13560 * math/libm-test.inc (struct test_ff_i_data): New type.
13561 (RUN_TEST_LOOP_ff_i_tg): New macro.
13562 (isgreater_test_data): New variable.
13563 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13564 (isgreaterequal_test_data): New variable.
13565 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13566 (isless_test_data): New variable.
13567 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13568 (islessequal_test_data): New variable.
13569 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13570 (islessgreater_test_data): New variable.
13571 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13572 (isunordered_test_data): New variable.
13573 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13574
781fd748
DM
135752013-05-14 David S. Miller <davem@davemloft.net>
13576
13577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13578
87aa21df
JM
135792013-05-14 Joseph Myers <joseph@codesourcery.com>
13580
5e908270
JM
13581 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13582
f71172e5
JM
13583 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13584 extra_test to int.
13585 (struct test_f_i_data): Change type of max_ulp to int.
13586
8cfa635a
JM
13587 * math/libm-test.inc (test_ffI_f1_data): New type.
13588 (RUN_TEST_LOOP_ffI_f1): New macro.
13589 (remquo_test_data): New variable.
13590 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13591
2bcb36b2
JM
13592 * setjmp/tst-setjmp-fp.c: New file.
13593 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13594 (link-libm): New variable.
13595 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13596
acbd839a
JM
13597 * math/libm-test.inc (struct test_f_i_data): New type.
13598 (RUN_TEST_LOOP_f_i): New macro.
13599 (RUN_TEST_LOOP_f_i_tg): Likewise.
13600 (fpclassify_test_data): New variable.
13601 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13602 (ilogb_test_data): New variable.
13603 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13604
e414d745
JM
13605 * math/libm-test.inc (scalbln_test): Correct function name in END
13606 call.
13607
d9c2a0fd
JM
13608 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13609 (RUN_TEST_LOOP_fI_f1): New macro.
13610 (frexp_test_data): New variable.
13611 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13612
9dc9095d
JM
13613 * math/libm-test.inc (struct test_fF_f1_data): New type.
13614 (RUN_TEST_LOOP_fF_f1): New macro.
13615 (modf_test_data): New variable.
13616 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13617
87aa21df
JM
13618 * math/libm-test.inc (struct test_f_f1_data): New type.
13619 (RUN_TEST_LOOP_f_f1): New macro.
13620 (gamma_test_data): New variable.
13621 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13622 (lgamma_test_data): New variable.
13623 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13624
141af660
CD
136252013-05-13 Carlos O'Donell <carlos@redhat.com>
13626
13627 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13628 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13629 (main): Comment "tls" pseudo-hwcap.
13630
6d33265c
JM
136312013-05-13 Joseph Myers <joseph@codesourcery.com>
13632
68fc074c
JM
13633 * math/libm-test.inc (struct test_fl_f_data): New type.
13634 (RUN_TEST_LOOP_fl_f): New variable.
13635 (scalbln_test_data): New variable.
13636 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13637
243216e1
JM
13638 * math/libm-test.inc (struct test_fi_f_data): New type.
13639 (RUN_TEST_LOOP_fi_f): New macro.
13640 (ldexp_test_data): New variable.
13641 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13642 (scalbn_test_data): New variable.
13643 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13644
6a1992e2
JM
13645 * math/libm-test.inc (struct test_c_f_data): New type.
13646 (RUN_TEST_LOOP_c_f): New macro.
13647 (cabs_test_data): New variable.
13648 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13649 (carg_test_data): New variable.
13650 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13651 (cimag_test_data): New variable.
13652 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13653 (creal_test_data): New variable.
13654 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13655
0e400df5
JM
13656 * math/libm-test.inc (struct test_if_f_data): New type.
13657 (RUN_TEST_LOOP_if_f): New macro.
13658 (jn_test_data): New variable.
13659 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13660 (yn_test_data): New variable.
13661 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13662
6d33265c
JM
13663 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13664
f98ece5f
AZ
136652013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13666
13667 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13668 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13669
0f7d347b
SP
136702013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13671
43fe811b
SP
13672 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13673 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13674 (bench-deps): Add bench-timing.h.
13675 * benchtests-bench-skeleton.c: Include bench-timing.h.
13676 (main): Use TIMING_* macros instead of clock_gettime.
13677 * benchtests/bench-timing.h: New file.
13678
0f7d347b
SP
13679 [BZ #14582]
13680 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13681 Renamed from _LIB_VERSION.
13682 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13683
601a3a5f
JM
136842013-05-12 Joseph Myers <joseph@codesourcery.com>
13685
4f184d30
JM
13686 * math/libm-test.inc (struct test_fff_f_data): New type.
13687 (RUN_TEST_LOOP_fff_f): New macro.
13688 (fma_test_data): New variable.
13689 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13690 (fma_towardzero_test_data): New variable.
13691 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13692 (fma_downward_test_data): New variable.
13693 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13694 (fma_upward_test_data): New variable.
13695 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13696
08198877
JM
13697 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13698 (struct test_c_c_data): New type.
13699 (RUN_TEST_LOOP_c_c): New macro.
13700 (cacos_test_data): New variable.
13701 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13702 (cacosh_test_data): New variable.
13703 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13704 (casin_test_data): New variable.
13705 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13706 (casinh_test_data): New variable.
13707 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13708 (catan_test_data): New variable.
13709 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13710 (catanh_test_data): New variable.
13711 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13712 (ccos_test_data): New variable.
13713 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13714 (ccosh_test_data): New variable.
13715 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13716 (cexp_test_data): New variable.
13717 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13718 (clog_test_data): New variable.
13719 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13720 (clog10_test_data): New variable.
13721 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13722 (conj_test_data): New variable.
13723 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13724 (cproj_test_data): New variable.
13725 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13726 (csin_test_data): New variable.
13727 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13728 (csinh_test_data): New variable.
13729 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13730 (csqrt_test_data): New variable.
13731 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13732 (ctan_test_data): New variable.
13733 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13734 (ctan_tonearest_test_data): New variable.
13735 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13736 (ctan_towardzero_test_data): New variable.
13737 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13738 (ctan_downward_test_data): New variable.
13739 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13740 (ctan_upward_test_data): New variable.
13741 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13742 (ctanh_test_data): New variable.
13743 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13744 (ctanh_tonearest_test_data): New variable.
13745 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13746 (ctanh_towardzero_test_data): New variable.
13747 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13748 (ctanh_downward_test_data): New variable.
13749 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13750 (ctanh_upward_test_data): New variable.
13751 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13752 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13753 of BUILD_COMPLEX.
13754
601a3a5f
JM
13755 * math/libm-test.inc (struct test_ff_f_data): New type.
13756 (struct test_ff_f_data_nexttoward): Likewise.
13757 (RUN_TEST_LOOP_2_f): New macro.
13758 (RUN_TEST_LOOP_ff_f): Likewise.
13759 (atan2_test_data): New variable.
13760 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13761 (copysign_test_data): New variable.
13762 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13763 (fdim_test_data): New variable.
13764 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13765 (fmax_test_data): New variable.
13766 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13767 (fmin_test_data): New variable.
13768 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13769 (fmod_test_data): New variable.
13770 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13771 (hypot_test_data): New variable.
13772 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13773 (nextafter_test_data): New variable.
13774 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13775 (nexttoward_test_data): New variable.
13776 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13777 (pow_test_data): New variable.
13778 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13779 (pow_tonearest_test_data): New variable.
13780 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13781 (pow_towardzero_test_data): New variable.
13782 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13783 (pow_downward_test_data): New variable.
13784 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13785 (pow_upward_test_data): New variable.
13786 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13787 (remainder_test_data): New variable.
13788 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13789 (scalb_test_data): New variable.
13790 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13791 * sysdeps/i386/fpu/libm-test-ulps: Update.
13792
74c57478
JM
137932013-05-11 Joseph Myers <joseph@codesourcery.com>
13794
8329e4da
JM
13795 * math/libm-test.inc (fma_test): Use max_value instead of local
13796 variable fltmax.
13797 (nextafter_test): Likewise.
13798
74c57478
JM
13799 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13800 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13801 (acos_downward_test_data): New variable.
13802 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13803 (acos_upward_test_data): New variable.
13804 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13805 (acosh_test_data): New variable.
13806 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13807 (asin_test_data): New variable.
13808 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13809 (asin_tonearest_test_data): New variable.
13810 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13811 (asin_towardzero_test_data): New variable.
13812 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13813 (asin_downward_test_data): New variable.
13814 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13815 (asin_upward_test_data): New variable.
13816 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13817 (asinh_test_data): New variable.
13818 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13819 (atan_test_data): New variable.
13820 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13821 (atanh_test_data): New variable.
13822 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13823 (cbrt_test_data): New variable.
13824 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13825 (ceil_test_data): New variable.
13826 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13827 (cos_test_data): New variable.
13828 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13829 (cos_tonearest_test_data): New variable.
13830 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13831 (cos_towardzero_test_data): New variable.
13832 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13833 (cos_downward_test_data): New variable.
13834 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13835 (cos_upward_test_data): New variable.
13836 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13837 (cosh_test_data): New variable.
13838 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13839 (cosh_tonearest_test_data): New variable.
13840 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13841 (cosh_towardzero_test_data): New variable.
13842 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13843 (cosh_downward_test_data): New variable.
13844 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13845 (cosh_upward_test_data): New variable.
13846 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13847 (erf_test_data): New variable.
13848 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13849 (erfc_test_data): New variable.
13850 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13851 (exp_test_data): New variable.
13852 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13853 (exp_tonearest_test_data): New variable.
13854 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13855 (exp_towardzero_test_data): New variable.
13856 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13857 (exp_downward_test_data): New variable.
13858 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13859 (exp_upward_test_data): New variable.
13860 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13861 (exp10_test_data): New variable.
13862 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13863 (exp2_test_data): New variable.
13864 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13865 (expm1_test_data): New variable.
13866 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13867 (fabs_test_data): New variable.
13868 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13869 (floor_test_data): New variable.
13870 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13871 (j0_test_data): New variable.
13872 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13873 (j1_test_data): New variable.
13874 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13875 (log_test_data): New variable.
13876 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13877 (log10_test_data): New variable.
13878 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13879 (log1p_test_data): New variable.
13880 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13881 (log2_test_data): New variable.
13882 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13883 (logb_test_data): New variable.
13884 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13885 (logb_downward_test_data): New variable.
13886 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13887 (nearbyint_test_data): New variable.
13888 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13889 (rint_test_data): New variable.
13890 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13891 (rint_tonearest_test_data): New variable.
13892 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13893 (rint_towardzero_test_data): New variable.
13894 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13895 (rint_downward_test_data): New variable.
13896 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13897 (rint_upward_test_data): New variable.
13898 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13899 (round_test_data): New variable.
13900 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13901 (sin_test_data): New variable.
13902 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13903 (sin_tonearest_test_data): New variable.
13904 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13905 (sin_towardzero_test_data): New variable.
13906 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13907 (sin_downward_test_data): New variable.
13908 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13909 (sin_upward_test_data): New variable.
13910 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13911 (sinh_test_data): New variable.
13912 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13913 (sinh_tonearest_test_data): New variable.
13914 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13915 (sinh_towardzero_test_data): New variable.
13916 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13917 (sinh_downward_test_data): New variable.
13918 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13919 (sinh_upward_test_data): New variable.
13920 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13921 (sqrt_test_data): New variable.
13922 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13923 (tan_test_data): New variable.
13924 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13925 (tan_tonearest_test_data): New variable.
13926 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13927 (tan_towardzero_test_data): New variable.
13928 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13929 (tan_downward_test_data): New variable.
13930 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13931 (tan_upward_test_data): New variable.
13932 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13933 (tanh_test_data): New variable.
13934 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13935 (tgamma_test_data): New variable.
13936 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13937 (trunc_test_data): New variable.
13938 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13939 (y0_test_data): New variable.
13940 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13941 (y1_test_data): New variable.
13942 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13943 (significand_test_data): New variable.
13944 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13945
7187d844
CG
139462013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13947
13948 [BZ #12387]
13949 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13950
f63fae73
PT
139512013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13952
13953 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13954
8a67a4b3
AJ
139552013-05-10 Andreas Jaeger <aj@suse.de>
13956
13957 [BZ #15448]
13958 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13959 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13960
51df539d
JM
139612013-05-10 Joseph Myers <joseph@codesourcery.com>
13962
13963 * math/gen-libm-test.pl (adjust_arg): New function.
13964 (special_functions): Handle generating output in both functions
13965 and arrays.
13966 (parse_args): Likewise.
13967 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13968 $in_func argument to parse_args.
13969 * math/libm-test.inc (struct test_f_f_data): New type.
13970 (IF_ROUND_INIT_): New macro.
13971 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13972 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13973 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13974 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13975 (ROUND_RESTORE_): Likewise.
13976 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13977 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13978 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13979 (ROUND_RESTORE_FE_UPWARD): Likewise.
13980 (RUN_TEST_LOOP_f_f): New macro.
13981 (acos_test_data): New variable.
13982 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13983 (acos_tonearest_test_data): New variable.
13984 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13985
5c637fe5
SP
139862013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13987
13988 * benchtests/bench-skeleton.c (startup): Fix coding style.
13989
ab2b9461
JM
139902013-05-10 Joseph Myers <joseph@codesourcery.com>
13991
13992 [BZ #6809]
13993 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13994 negative infinity argument.
13995 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13996 negative infinity argument.
13997 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13998 negative infinity argument.
13999 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14000 domain errors.
14001
4c0fe6fe
FW
140022013-05-10 Florian Weimer <fweimer@redhat.com>
14003
14004 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14005 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14006 * iconv/iconv_prog.c (main): Likewise.
14007 * locale/programs/charmap-dir.c (charmap_readdir)
14008 (fopen_uncompressed): Likewise.
14009 * locale/programs/locfile.c (siblings_uncached)
14010 (write_locale_data): Use lstat64 instead of lstat.
14011 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14012 stat.
14013
a3375d29
AJ
140142013-05-10 Andreas Jaeger <aj@suse.de>
14015
14016 [BZ #15395]
14017 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14018 localization.
14019 Include <locale.h>.
14020
36129722
CD
140212013-05-09 Carlos O'Donell <carlos@redhat.com>
14022
14023 * elf/dl-close.c (_dl_close_worker): Add comments.
14024
faa7f811
JM
140252013-05-09 Joseph Myers <joseph@codesourcery.com>
14026
ed41ffef
JM
14027 [BZ #15359]
14028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14029 high part of pi/2.
14030 (__ieee754_rem_pio2l): Update comments.
14031
d0213cd0
JM
14032 [BZ #15429]
14033 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14034 high part of pi/2.
14035 (__ieee754_rem_pio2l): Update comments.
14036
0d3e777a
JM
14037 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14038 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14039
24f56066
JM
14040 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14041 M_PI_4l.
14042
faa7f811
JM
14043 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14044 (M_PI_34_LOG10El): Likewise.
14045 (M_PI2_LOG10El): Likewise.
14046 (M_PI4_LOG10El): Likewise.
14047 (M_PI_LOG10El): Likewise.
14048
e9a5e0fd
AZ
140492013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050
14051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14052
d8cd06db
JM
140532013-05-08 Joseph Myers <joseph@codesourcery.com>
14054
a0d9f9d7
JM
14055 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14056 (MINUS_ZERO_INIT): Likewise.
14057 (PLUS_INFTY_INIT): Likewise.
14058 (MINUS_INFTY_INIT): Likewise.
14059 (QNAN_VALUE_INIT): Likewise.
14060 (MAX_VALUE_INIT): Likewise.
14061 (MIN_VALUE_INIT): Likewise.
14062 (MIN_SUBNORM_VALUE_INIT): Likewise.
14063 (plus_zero): Initialize with PLUS_ZERO_INIT.
14064 (minus_zero): Initialize with MINUS_ZERO_INIT.
14065 (plus_infty): Initialize with PLUS_INFTY_INIT.
14066 (minus_infty): Initialize with MINUS_INFTY_INIT.
14067 (qnan_value): Initialize with QNAN_VALUE_INIT.
14068 (max_value): Initialize with MAX_VALUE_INIT.
14069 (min_value): Initialize with MIN_VALUE_INIT.
14070 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14071
ae08db3b
JM
14072 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14073 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14074 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14075 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14076
f44bf14a
JM
14077 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14078 (RUN_TEST_2_f): Likewise.
14079 (RUN_TEST_ff_f): Likewise.
14080 (RUN_TEST_fi_f): Likewise.
14081 (RUN_TEST_fl_f): Likewise.
14082 (RUN_TEST_fff_f): Likewise.
14083 (RUN_TEST_c_f): Likewise.
14084 (RUN_TEST_f_f1): Likewise.
14085 (RUN_TEST_fF_f1): Likewise.
14086 (RUN_TEST_fI_f1): Likewise.
14087 (RUN_TEST_ffI_f1): Likewise.
14088 (RUN_TEST_c_c): Likewise.
14089 (RUN_TEST_cc_c): Likewise.
14090 (RUN_TEST_f_i): Likewise.
14091 (RUN_TEST_f_i_tg): Likewise.
14092 (RUN_TEST_ff_i_tg): Likewise.
14093 (RUN_TEST_f_b): Likewise.
14094 (RUN_TEST_f_b_tg): Likewise.
14095 (RUN_TEST_f_l): Likewise.
14096 (RUN_TEST_f_L): Likewise.
14097 (RUN_TEST_sincos): Likewise.
14098 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14099 whether to show exceptions. Do not include ");\n" in return
14100 value.
14101 (special_functions): Output call to RUN_TEST_sincos instead of
14102 check_float calls. Update calls to new_test.
14103 (parse_args): Output call to single RUN_TEST_* macro instead of
14104 check_* calls and other assignments. Update calls to new_test.
14105
d8cd06db
JM
14106 [BZ #2546]
14107 [BZ #2560]
14108 [BZ #5159]
14109 [BZ #15426]
14110 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14111 input to result for tgamma overflow.
14112 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14113 (gamma_coeff): New variable.
14114 (NCOEFF): New macro.
14115 (gamma_positive): New function.
14116 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14117 underflow here. Use gamma_positive instead of exp (lgamma) for
14118 other arguments.
14119 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14120 (gamma_coeff): New variable.
14121 (NCOEFF): New macro.
14122 (gammaf_positive): New function.
14123 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14124 underflow here. Use gamma_positive instead of exp (lgamma) for
14125 other arguments.
14126 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14127 (gamma_coeff): New variable.
14128 (NCOEFF): New macro.
14129 (gammal_positive): New function.
14130 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14131 underflow here. Use gamma_positive instead of exp (lgamma) for
14132 other arguments.
14133 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14134 (gamma_coeff): New variable.
14135 (NCOEFF): New macro.
14136 (gammal_positive): New function.
14137 (__ieee754_gammal_r): Handle positive infinity, overflow and
14138 underflow here. Handle NaN the same as positive infinity. Remove
14139 check x < 0xffffffff for negative integers. Use gamma_positive
14140 instead of exp (lgamma) for other arguments.
14141 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14142 (gamma_coeff): New variable.
14143 (NCOEFF): New macro.
14144 (gammal_positive): New function.
14145 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14146 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14150 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14151 * sysdeps/generic/math_private.h (__gamma_productf): New
14152 prototype.
14153 (__gamma_product): Likewise.
14154 (__gamma_productl): Likewise.
14155 * math/Makefile (libm-calls): Add gamma_product.
14156 * math/libm-test.inc (tgamma_test): Add more tests.
14157 * sysdeps/i386/fpu/libm-test-ulps: Update.
14158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159
bb7cf681
OB
141602013-05-08 Ondřej Bílka <neleai@seznam.cz>
14161
14162 * benchtests/bench-skeleton.c (main): Preheat CPU.
14163
ba853947
AJ
141642013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14165
14166 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14167
8347c74c
RM
141682013-05-07 Roland McGrath <roland@hack.frob.com>
14169
14170 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14171 and _dl_skip_args_internal.
14172
e8dd4791
CD
141732013-05-07 Carlos O'Donell <carlos@redhat.com>
14174
14175 * manual/message.texi (Message Translation): Talk about users.
14176 Message to key mapping impacts design.
14177
c7405830
RM
141782013-05-06 Roland McGrath <roland@hack.frob.com>
14179
a9173057
RM
14180 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14181
976e2f03
RM
14182 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14183
9723ffc5
RM
14184 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14185 * sysdeps/wordsize-64/glob64.c: ... here.
14186
962e6658
RM
14187 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14188 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14189 New macros.
14190
ee586a6d
RM
14191 * debug/getlogin_r_chk.c: Moved to ...
14192 * login/getlogin_r_chk.c: ... here.
14193 * debug/Makefile (routines): Move getlogin_r_chk to ...
14194 * login/Makefile (routines): ... here.
14195 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14196 * login/Versions (libc: GLIBC_2.4): ... here.
14197
355f9165
RM
14198 * io/poll.c (__poll): Renamed from poll.
14199 Add libc_hidden_def.
14200 (poll): Define as weak alias.
14201
bd9ffde6
RM
14202 * debug/ptsname_r_chk.c: Moved to ...
14203 * login/ptsname_r_chk.c: ... here.
14204 * debug/Makefile (routines): Move ptsname_r_chk to ...
14205 * login/Makefile (routines): ... here.
14206 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14207 * login/Versions (libc: GLIBC_2.4): ... here.
14208
8fb16a04
RM
14209 * posix/getlogin.c: Moved to ...
14210 * login/getlogin.c: ... here.
14211 * posix/getlogin_r.c: Moved to ...
14212 * login/getlogin_r.c: ... here.
14213 * posix/getlogin_r.c: Moved to ...
14214 * login/getlogin_r.c: ... here.
14215 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14216 * login/Makefile (routines): ... here.
14217 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14218 * login/Versions (libc: GLIBC_2.0): ... here.
14219
b99b892f
RM
14220 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14221 (setrlimit): Define as weak alias.
14222
c7405830
RM
14223 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14224 Call __ names for open, ftruncate, and close.
14225 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14226 (truncate): Define as weak alias.
14227
5bf96de5
JM
142282013-05-06 Joseph Myers <joseph@codesourcery.com>
14229
9ea3513c
JM
14230 * math/gen-libm-test.pl (parse_args): Initialize x before each
14231 test of frexp, modf and remquo.
14232
5bf96de5
JM
14233 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14234 test signgam value.
14235
16e616a7
AZ
142362013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14237
14238 [BZ #15418]
14239 [BZ #15419]
14240 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14241 internal tests.
14242 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14243
d5e82754
RM
142442013-05-06 Roland McGrath <roland@hack.frob.com>
14245
14246 * elf/dl-writev.h: New file.
14247 * elf/dl-misc.c: Include it.
14248 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14249 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14250
a7548d41
JM
142512013-05-04 Joseph Myers <joseph@codesourcery.com>
14252
b7dab1e4
JM
14253 * math/libm-test.inc (noXFails): Remove variable.
14254 (noXPasses): Likewise.
14255 (BUILD_COMPLEX_INT): Remove macro.
14256 (print_screen): Remove xfail argument.
14257 (print_screen_max_error): Likewise.
14258 (update_stats): Likewise.
14259 (print_max_error): Likewise. Update calls to other affected
14260 functions.
14261 (print_complex_max_error): Likewise.
14262 (test_single_exception): Update calls to print_screen.
14263 (test_single_errno): Likewise.
14264 (check_float_internal): Remove xfail argument. Update calls to
14265 other affected functions.
14266 (check_float): Likewise.
14267 (check_complex): Likewise.
14268 (check_int): Likewise.
14269 (check_long): Likewise.
14270 (check_bool): Likewise.
14271 (check_longlong): Likewise.
14272 (main): Don't print noXFails and noXPasses.
14273 * math/gen-libm-test.pl (top level): Don't mention expected
14274 failure handling in comment.
14275 (new_test): Don't handle expected failures.
14276 (parse_args): Don't mention expected failure handling in comment.
14277 (generate_testfile): Don't handle expected failures.
14278 (parse_ulps): Likewise.
14279 (print_ulps_file): Likewise.
14280 (get_failure): Remove function.
14281 (output_test): Don't handle expected failures.
14282 * make/README.libm-test: Don't mention expected failure handling.
14283
a7548d41
JM
14284 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14285 (minus_zero): Likewise.
14286 (plus_infty): Likewise.
14287 (minus_infty): Likewise.
14288 (qnan_value): Likewise.
14289 (max_value): Likewise.
14290 (min_value): Likewise.
14291 (min_subnorm_value): Likewise.
14292 (initialize): Do not initialize those variables dynamically.
14293
60bfd54c
RM
142942013-05-03 Roland McGrath <roland@hack.frob.com>
14295
cc0e6ed8
RM
14296 * io/open.c (__open_2): Moved to ...
14297 * io/open_2.c: ... this new file.
14298 * io/open64.c (__open64_2): Moved to ...
14299 * io/open64_2.c: ... this new file.
14300 * io/openat.c (__openat_2): Moved to ...
14301 * io/openat_2.c: ... this new file.
14302 * io/openat64.c (__openat64_2): Moved to ...
14303 * io/openat64_2.c: ... this new file.
14304 * io/Makefile (routines): Add them.
14305 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14306 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14307 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14308 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14309 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14310 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14311 (__openat64): Add hidden_ver.
14312 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14313 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14314
60bfd54c
RM
14315 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14316 Separately conditionalize setting of GLRO(dl_sysinfo) so
14317 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14318 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14319
83e7640f
AZ
143202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14321
14322 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14324 definition.
14325 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14326 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14327 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14328 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14329 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14330
d5dc2af3
JM
143312013-05-03 Joseph Myers <joseph@codesourcery.com>
14332
c31a5b1e
JM
14333 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14334 test signgam value.
14335
d5dc2af3
JM
14336 * math/libm-test.inc (hypot_test): Do not use
14337 IGNORE_ZERO_INF_SIGN.
14338
164fd39d
AJ
143392013-05-03 Andreas Jaeger <aj@suse.de>
14340
14341 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14342 Linux 3.9.
14343 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14344 (PF_MAX): Adjust for VSOCK change.
14345
8237f48c
AZ
143462013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14347
14348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14349
9df02941
CD
143502013-05-02 Carlos O'Donell <carlos@redhat.com>
14351
14352 [BZ #15264]
14353 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14354 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14355 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14356
d422395e
DM
143572013-05-02 David S. Miller <davem@davemloft.net>
14358
14359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14360
a07c5731
OB
143612013-05-01 Ondřej Bílka <neleai@seznam.cz>
14362
14363 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14364
1324e37f
RM
143652013-05-01 Roland McGrath <roland@hack.frob.com>
14366
14367 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14368
0695940b
RS
143692013-05-01 Richard Smith <richard@metafoo.co.uk>
14370
bb5f27ad 14371 [BZ #14952]
0695940b
RS
14372 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14373 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14374 Use __attribute__ ((__gnu_inline__)).
14375 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14376 Don't use __attribute__ ((__gnu_inline__)).
14377
10de07f5
JM
143782013-05-01 Joseph Myers <joseph@codesourcery.com>
14379
14380 [BZ #15423]
14381 * math/s_catan.c (__catan): Handle small real or imaginary part of
14382 input specially to avoid spurious underflow.
14383 * math/s_catanf.c (__catanf): Likewise.
14384 * math/s_catanh.c (__catanh): Likewise.
14385 * math/s_catanhf.c (__catanhf): Likewise.
14386 * math/s_catanhl.c (__catanhl): Likewise.
14387 * math/s_catanl.c (__catanl): Likewise.
14388 * math/libm-test.inc (catan_test): Add more tests.
14389 (catanh_test): Likewise.
14390 * sysdeps/i386/fpu/libm-test-ulps: Update.
14391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14392
cb4d5414
AZ
143932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14394
14395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14396
caf84319
JM
143972013-04-30 Joseph Myers <joseph@codesourcery.com>
14398
14399 [BZ #15416]
14400 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14401 accurately for denominator in atan2.
14402 * math/s_catanf.c (__catanf): Likewise.
14403 * math/s_catanh.c (__catanh): Likewise.
14404 * math/s_catanhf.c (__catanhf): Likewise.
14405 * math/s_catanhl.c (__catanhl): Likewise.
14406 * math/s_catanl.c (__catanl): Likewise.
14407 * math/libm-test.inc (catan_test): Add more tests.
14408 (catanh_test): Likewise.
14409 * sysdeps/i386/fpu/libm-test-ulps: Update.
14410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14411
d569c6ee
SP
144122013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14413
6dbe713d
SP
14414 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14415
f0ee064b
SP
14416 * benchtests/Makefile (bench): Remove slow benchmarks.
14417 * benchtests/atan-inputs: Add slow benchmark inputs.
14418 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14419 (BENCH_FUNC): Accept variant offset.
14420 (VARIANT): Define.
14421 * benchtests/bench-skeleton.c (main): Run benchmark for each
14422 variant.
14423 * benchtests/cos-inputs: Add slow benchmark inputs.
14424 * benchtests/exp-inputs: Likewise.
14425 * benchtests/pow-inputs: Likewise.
14426 * benchtests/sin-inputs: Likewise.
14427 * benchtests/slowatan-inputs: Remove.
14428 * benchtests/slowatan.c: Remove.
14429 * benchtests/slowcos-inputs: Remove.
14430 * benchtests/slowcos.c: Remove.
14431 * benchtests/slowexp-inputs: Remove.
14432 * benchtests/slowexp.c: Remove.
14433 * benchtests/slowpow-inputs: Remove.
14434 * benchtests/slowpow.c: Remove.
14435 * benchtests/slowsin-inputs: Remove.
14436 * benchtests/slowsin.c: Remove.
14437 * benchtests/slowtan-inputs: Remove.
14438 * benchtests/slowtan.c: Remove.
14439 * benchtests/tan-inputs: Add slow benchmark inputs.
14440 * scripts/bench.pl: Parse comments and directives.
14441
d569c6ee
SP
14442 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14443 in CPPFLAGS.
14444 ($(objpfx)bench-%.c): Remove *-ITER.
14445 * benchtests/bench-modf.c: Remove definition of ITER.
14446 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14447 (main): Loop for DURATION seconds instead of fixed number of
14448 iterations.
14449 * scripts/bench.pl: Don't expect iterations in parameters.
14450
a6a242fe
RM
144512013-04-29 Roland McGrath <roland@hack.frob.com>
14452
14453 * io/fchdir.c (__fchdir): Renamed from fchdir.
14454 (fchdir): Define as weak alias.
14455
f2da7793
JM
144562013-04-29 Joseph Myers <joseph@codesourcery.com>
14457
14458 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14459 (ERRNO_EDOM): Likewise.
14460 (ERRNO_ERANGE): Likewise.
14461 (noErrnoTests): New variable.
14462 (init_max_error): Set errno to 0.
14463 (test_single_errno): New function.
14464 (test_errno): Likewise.
14465 (check_float_internal): Call test_errno. Set errno to 0.
14466 (check_complex): Refer to errno tests in comment.
14467 (check_int): Call test_errno. Set errno to 0.
14468 (check_long): Likewise.
14469 (check_bool): Likewise.
14470 (check_longlong): Likewise.
14471 (cos_test): Use ERRNO_* flags for errno tests instead of
14472 check_int.
14473 (expm1_test): Likewise.
14474 (fmod_test): Likewise.
14475 (ilogb_test): Likewise.
14476 (lgamma_test): Likewise.
14477 (pow_test): Likewise.
14478 (remainder_test): Likewise.
14479 (sin_test): Likewise.
14480 (tan_test): Likewise.
14481 (yn_test): Likewise.
14482 (initialize): Set errno to 0.
14483 (main): Print number of errno tests.
14484 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14485
b1a36ceb
AJ
144862013-04-29 Andreas Jaeger <aj@suse.de>
14487
c3ed8088
AJ
14488 [BZ #15084]
14489 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14490 and RES_USEVC.
14491
f1a24198
AJ
14492 [BZ #15085]
14493 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14494 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14495 unimplemented.
14496
9ce3b2cb
AJ
14497 [BZ #15380]
14498 * stdlib/random.c (__initstate): Return NULL if
14499 __initstate fails.
14500
f1a24198 14501 [BZ #15086]
b1a36ceb
AJ
14502 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14503 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14504 RES_SNGLKUPREOP.
14505
7e7b6f36
AZ
145062013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14507
14508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14509
4d14f449
JM
145102013-04-29 Joseph Myers <joseph@codesourcery.com>
14511
14512 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14513 of individual tests.
14514 (casin_test): Likewise.
14515 (casinh_test): Likewise.
14516
5b4217d7
JM
145172013-04-27 Joseph Myers <joseph@codesourcery.com>
14518
14519 [BZ #15409]
14520 * math/s_catan.c (__catan): Handle arguments with large real or
14521 imaginary part separately without squaring.
14522 * math/s_catanf.c (__catanf): Likewise.
14523 * math/s_catanh.c (__catanh): Likewise.
14524 * math/s_catanhf.c (__catanhf): Likewise.
14525 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14526 and redefine.
14527 (__catanhl): Handle arguments with large real or imaginary part
14528 separately without squaring.
14529 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14530 and redefine.
14531 (__catanl): Handle arguments with large real or imaginary part
14532 separately without squaring.
14533 * math/libm-test.inc (catan_test): Add more tests.
14534 (catanh_test): Likewise.
14535 * sysdeps/i386/fpu/libm-test-ulps: Update.
14536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14537
4220c3ef
AJ
145382013-04-27 Andreas Jaeger <aj@suse.de>
14539
14540 [BZ #15007]
14541 * stdlib/stdlib.h: Update guards for qecvt.
14542 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14543 <stdlib.h>.
14544
4721b2d1
AM
145452013-04-27 Allan McRae <allan@archlinux.org>
14546
14547 * sysdeps/i386/fpu/libm-test-ulps: Update.
14548
f0302940
JM
145492013-04-26 Joseph Myers <joseph@codesourcery.com>
14550
9457fd95
JM
14551 [BZ #15406]
14552 * math/s_catan.c: Include <float.h>.
14553 (__catan): Ensure underflow exception occurs for underflowed
14554 result.
14555 * math/s_catanf.c: Include <float.h>.
14556 (__catanf): Ensure underflow exception occurs for underflowed
14557 result.
14558 * math/s_catanh.c: Include <float.h>.
14559 (__catanh): Ensure underflow exception occurs for underflowed
14560 result.
14561 * math/s_catanhf.c: Include <float.h>.
14562 (__catanhf): Ensure underflow exception occurs for underflowed
14563 result.
14564 * math/s_catanhl.c: Include <float.h>.
14565 (__catanhl): Ensure underflow exception occurs for underflowed
14566 result.
14567 * math/s_catanl.c: Include <float.h>.
14568 (__catanl): Ensure underflow exception occurs for underflowed
14569 result.
14570 * math/libm-test.inc (catan_test): Add more tests.
14571 (catanh_test): Likewise.
14572
f0302940
JM
14573 [BZ #15405]
14574 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14575 underflowed result.
14576 * math/s_ccoshf.c (__ccoshf): Likewise.
14577 * math/s_ccoshl.c (__ccoshl): Likewise.
14578 * math/s_csin.c (__csin): Likewise.
14579 * math/s_csinf.c (__csinf): Likewise.
14580 * math/s_csinh.c (__csinh): Likewise.
14581 * math/s_csinhf.c (__csinhf): Likewise.
14582 * math/s_csinhl.c (__csinhl): Likewise.
14583 * math/s_csinl.c (__csinl): Likewise.
14584 * math/libm-test.inc (ccos_test): Add more tests.
14585 (ccosh_test): Likewise.
14586 (csin_test): Likewise.
14587 (csinh_test): Likewise.
14588
aa630f59
AZ
145892013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14590
14591 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14592 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14593 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14594 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14595 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14596 powerpc/power5+/fpu folders.
14597 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14598
14599
1b835983
MT
146002013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14601
14602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14603
73709b26
JM
146042013-04-25 Joseph Myers <joseph@codesourcery.com>
14605
14606 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14607 additions to variable.
14608 [$(config-machine) = x86_64] (modules-names): Likewise.
14609 ($(objpfx)tst-audit3): Remove dependency.
14610 ($(objpfx)tst-audit3.out): Likewise.
14611 ($(objpfx)tst-audit4): Likewise.
14612 ($(objpfx)tst-audit4.out): Likewise.
14613 ($(objpfx)tst-audit5): Likewise.
14614 ($(objpfx)tst-audit5.out): Likewise.
14615 ($(objpfx)tst-audit6): Likewise.
14616 ($(objpfx)tst-audit6.out): Likewise.
14617 ($(objpfx)tst-audit7): Likewise.
14618 ($(objpfx)tst-audit7.out): Likewise.
14619 (tst-audit3-ENV): Remove variable.
14620 (tst-audit4-ENV): Likewise.
14621 (tst-audit5-ENV): Likewise.
14622 (tst-audit6-ENV): Likewise.
14623 (tst-audit7-ENV): Likewise.
14624 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14625 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14626 addition to variable.
14627 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14628 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14632 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14633 tst-audit3, tst-audit4 and tst-audit5.
14634 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14635 tst-audit6 and tst-audit7.
14636 [$(subdir) = elf] (modules-names): Add audit modules for those
14637 tests.
14638 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14639 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14640 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14641 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14642 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14643 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14644 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14645 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14646 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14647 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14648 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14649 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14650 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14651 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14652 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14653 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14654 Likewise.
14655 [$(subdir) = elf && $(config-cflags-avx) = yes]
14656 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14657 [$(subdir) = elf && $(config-cflags-avx) = yes]
14658 (CFLAGS-tst-auditmod4a.c): Likewise.
14659 [$(subdir) = elf && $(config-cflags-avx) = yes]
14660 (CFLAGS-tst-auditmod4b.c): Likewise.
14661 [$(subdir) = elf && $(config-cflags-avx) = yes]
14662 (CFLAGS-tst-auditmod6b.c): Likewise.
14663 [$(subdir) = elf && $(config-cflags-avx) = yes]
14664 (CFLAGS-tst-auditmod6c.c): Likewise.
14665 [$(subdir) = elf && $(config-cflags-avx) = yes]
14666 (CFLAGS-tst-auditmod7b.c): Likewise.
14667 * elf/tst-audit3.c: Move to ...
14668 * sysdeps/x86_64/tst-audit3.c: ... here.
14669 * elf/tst-audit4.c: Move to ...
14670 * sysdeps/x86_64/tst-audit4.c: ... here.
14671 * elf/tst-audit5.c: Move to ...
14672 * sysdeps/x86_64/tst-audit5.c: ... here.
14673 * elf/tst-audit6.c: Move to ...
14674 * sysdeps/x86_64/tst-audit6.c: ... here.
14675 * elf/tst-audit7.c: Move to ...
14676 * sysdeps/x86_64/tst-audit7.c: ... here.
14677 * elf/tst-auditmod3a.c: Move to ...
14678 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14679 * elf/tst-auditmod3b.c: Move to ...
14680 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14681 * elf/tst-auditmod4a.c: Move to ...
14682 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14683 * elf/tst-auditmod4b.c: Move to ...
14684 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14685 * elf/tst-auditmod5a.c: Move to ...
14686 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14687 * elf/tst-auditmod5b.c: Move to ...
14688 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14689 * elf/tst-auditmod6a.c: Move to ...
14690 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14691 * elf/tst-auditmod6b.c: Move to ...
14692 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14693 * elf/tst-auditmod6c.c: Move to ...
14694 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14695 * elf/tst-auditmod7a.c: Move to ...
14696 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14697 * elf/tst-auditmod7b.c: Move to ...
14698 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14699
1ef74943
PP
147002013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14701
14702 [BZ #15366]
14703 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14704 define unconditionally.
14705 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14706 define unconditionally.
14707 (INT8_C, INT16_C, etc.): Likewise.
14708
93fd48c5
MR
147092013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14710
ae9552cf
MR
14711 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14712 __ehdr_start with hidden visibility.
14713
93fd48c5
MR
14714 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14715
418601aa
CD
147162013-04-24 Carlos O'Donell <carlos@redhat.com>
14717
14718 * math/libm-test.inc (cos_test): Use accurate hex constants.
14719 (sincost_test): Likewise.
14720
2f38fbfe
JM
147212013-04-24 Joseph Myers <joseph@codesourcery.com>
14722
5e221800
JM
14723 * math/libm-test.inc (catan_test): Add more tests.
14724 (catanh_test): Likewise.
14725
77f143fd
JM
14726 * math/s_catanf.c (__catanf): Use suffixed floating-point
14727 constants.
14728 * math/s_catanhf.c (__catanhf): Likewise.
14729 * math/s_catanhl.c (__catanhl): Likewise.
14730 * math/s_catanl.c (__catanl): Likewise.
14731
2f38fbfe
JM
14732 [BZ #15394]
14733 * math/s_catan.c (__catan): Calculate imaginary part of result
14734 with log1p not log unless computing log of number close to 0.
14735 * math/s_catanf.c (__catanf): Likewise.
14736 * math/s_catanl.c (__catanl): Likewise.
14737 * math/s_catanh.c (__catanh): Calculate real part of result with
14738 log1p not log unless computing log of number close to 0.
14739 * math/s_catanhf.c (__catanhf): Likewise.
14740 * math/s_catanhl.c (__catanhl): Likewise.
14741 * math/libm-test.inc (catan_test): Add more tests.
14742 (catanh_test): Likewise.
14743 * sysdeps/i386/fpu/libm-test-ulps: Update.
14744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14745
45d69176
SP
147462013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14747
14748 * benchtests/Makefile: Mention files in which fast and slow
14749 paths of math functions are implemented.
14750
87f51853
RM
147512013-04-23 Roland McGrath <roland@hack.frob.com>
14752
14753 * sysdeps/posix/timespec_get.c: New file.
14754
3c026539
AZ
147552013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14756
14757 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14758 POWER.
14759 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14760 for POWER.
14761 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14762 powerpc/power5/fpu folders.
14763 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14764 * benchtests/Makefile: Add modf testcase.
14765 * benchtests/bench-modf.c: New file: Benchmark test for mo
14766
ff491d14
SP
147672013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14768
14769 [BZ #14888]
14770 * time/Makefile (tests): Add tst-strptime-whitespace.
14771 * time/strptime_l.c (get_number): Use ISSPACE.
14772 (__strptime_internal): Likewise.
14773 * time/tst-strptime-whitespace.c: New test case.
14774
7ed3f4e8
AS
147752013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14776
14777 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14778 member.
14779 (_nss_files_init): Set it here.
14780
5c95f7b6
HC
147812013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14782
14783 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14784 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14785 unsigned.
14786
d34c9158
JBG
147872013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14788
14789 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14790
2169712d
SP
147912013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14792
14793 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14794 size just once.
14795
29c5de99
DM
147962013-04-21 David S. Miller <davem@davemloft.net>
14797
14798 * po/ru.po: Update Russion translation from translation project.
14799
ccdad15d
AC
148002013-04-17 Adam Conrad <adconrad@0c3.net>
14801
14802 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14803 and setfsgid.
14804
0f122b8d
CD
148052013-04-17 Carlos O'Donell <carlos@redhat.com>
14806
5c5b07da 14807 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14808 * configure: Regenerate.
5c5b07da 14809 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14810 Add example to error message.
14811 * sysdeps/i386/configure: Regenerate.
14812
037714dd
SP
148132013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14814
14815 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14816 slowtan.
14817 * benchtests/cos-inputs: New file.
14818 * benchtests/slowcos-inputs: New file.
14819 * benchtests/slowcos.c: New file.
14820 * benchtests/slowtan-inputs: New file.
14821 * benchtests/slowtan.c: New file.
14822 * benchtests/tan-inputs: New file.
14823
e913141d
RM
148242013-04-16 Roland McGrath <roland@hack.frob.com>
14825
14826 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14827 considered kosher.
14828
a2964074
SP
148292013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14830
4856bcd2
SP
14831 * benchtests/Makefile: Include cppflags-iterator.mk to add
14832 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14833
a2964074
SP
14834 * Makefile.in (bench-clean): New target.
14835 * benchtests/Makefile (bench-clean): Likewise.
14836
9fbf9aca
DH
148372013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14838
14839 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14840
207d1e2a
TS
148412013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14842
14843 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14844
306dfba9
AS
148452013-04-15 Andreas Schwab <schwab@suse.de>
14846
14847 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14849 * nscd/pwdcache.c (cache_addpw): Likewise.
14850 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14851 more than recsize.
14852
206a6699
SP
148532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14854
14855 * benchtests/Makefile (bench): Write all output to
14856 bench-out.tmp together.
14857
0582f6b3
AS
148582013-04-15 Andreas Schwab <schwab@suse.de>
14859
14860 * nscd/nscd.c (main): Don't fork again after closing files.
14861
acb4325f
SP
148622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14863
5cb26d0a
SP
14864 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14865
acb4325f
SP
14866 * benchtests/Rules (bench-deps): Collect dependencies into a
14867 single variable. Add Makefile to dependencies.
14868 ($(objpfx)bench-%.c): Depend on bench-deps.
14869
47792506
RM
148702013-04-12 Roland McGrath <roland@hack.frob.com>
14871 Xavier Roche <roche+kml2@exalead.com>
14872
14873 [BZ #15361]
14874 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14875 just that it's a file descriptor.
14876 * manual/llio.texi (Synchronizing AIO Operations): Update description
14877 for EBADF error from aio_fsync.
14878
8fc1bee5
SP
148792013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14880
14881 * Rules (bench): Move target definition...
14882 * benchtests/Makefile: ... here.
14883
aba5e333
CD
148842013-04-11 Carlos O'Donell <carlos@redhat.com>
14885
14886 * math/libm-test.inc (cos_test): Fix PI/2 test.
14887 (sincos_test): Likewise.
14888 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14889 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14890
273cdee8
AS
148912013-04-11 Andreas Schwab <schwab@suse.de>
14892
6ecec3b6
AS
14893 [BZ #13988]
14894 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14895 accept exponent character only when digits were seen.
14896 * stdio-common/Makefile (tests): Add bug26.
14897 * stdio-common/bug26.c: New file.
14898
273cdee8
AS
14899 [BZ #14293]
14900 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14901 non-freeable.
14902
8da491f5
SP
149032013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14904
01dc6df9
SP
14905 * Makeconfig (rtld-prefix): Define built linker prefix.
14906 * Rules (run-bench): Use it.
14907 * math/Makefile (run-regen-ulps): Likewise.
14908
8da491f5
SP
14909 * Rules (bench): Remove eval.
14910
abe7f530
SP
149112013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14912 Roland McGrath <roland@hack.frob.com>
14913 Ondrej Bilka <neleai@seznam.cz>
14914
14915 [BZ #15346]
14916 * time/getdate.c: Include ctype.h and alloca.h.
14917 (__getdate_r): Trim leading and trailing spaces of input.
14918 * time/tst-getdate.c (tests): Add tests with leading and
14919 trailing spaces.
14920
61c23e62
RM
149212013-04-08 Roland McGrath <roland@hack.frob.com>
14922
14923 [BZ #14280]
14924 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14925 when computing value.
14926
7208a313
CD
149272013-04-06 Carlos O'Donell <carlos@redhat.com>
14928
085b2d41
CD
14929 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14930 Use testrun.sh to run libm tests.
14931
7208a313
CD
14932 [BZ #15309]
14933 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14934
872c0acd
MM
149352013-04-06 Marko Myllynen <myllynen@redhat.com>
14936
14937 [BZ #15264]
14938 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14939
26510bdd
CD
149402013-04-06 Carlos O'Donell <carlos@redhat.com>
14941
14942 * Makefile.in (regen-ulps): New target.
14943 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14944 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14945 [ifneq (no,$(PERL)] (regen-ulps): New target.
14946 [ifeq (no,$(PERL)] (regen-ulps): New target.
14947 * math/libm-test.inc (ulps_file_name): Define.
14948 (output_dir): New variable.
14949 (options): Add "output-dir" option.
14950 (parse_opt): Handle 'o' case.
14951 (main): If output_dir is non-NULL use it as a prefix
14952 otherwise use "".
14953 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14954
a01f19c8
CD
149552013-04-06 Carlos O'Donell <carlos@redhat.com>
14956
14957 [BZ #10060, #10062]
14958 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14959 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14960 fail configure if __sync_val_compare_and_swap is not inlined.
14961 * sysdeps/i386/configure: Regenerate.
14962 * configure.in: Build for i686 when configured for i386.
14963 * configure: Regenerate.
14964 * README: Remove i386 reference.
14965
b7a329a5
CD
149662013-04-06 Carlos O'Donell <carlos@redhat.com>
14967
14968 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14969 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14970
bf0f50df
TS
149712013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14972
ee091edf
TS
14973 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14974 (lmsnanval): New variables.
14975 (F): Add conversion tests.
14976 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14977 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14978
a8b792d6
TS
14979 * stdio-common/tstdiomisc.c (F): Properly collect individual
14980 tests' results.
14981
a1cbf437
TS
14982 [BZ #14686, #15336]
14983 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14984 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14985 Instead, use input NaN values or generate a qNaN by arithmetic
14986 operation. Also fix bugs to comply with the standard.
14987 * math/libm-test.inc (remainder_test): Add more tests.
14988
8b43a0c9
TS
14989 [BZ #15335, #15342]
14990 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14992 input NaN values or generate a qNaN by arithmetic operation.
14993
d91da4ce
TS
14994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14995 unreachable code.
14996
bf0f50df
TS
14997 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14998 definitions.
14999
05e166c8
JM
150002013-04-03 Joseph Myers <joseph@codesourcery.com>
15001
15002 [BZ #14478]
15003 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15004 underflowed result.
15005 * math/s_cexpf.c (__cexpf): Likewise.
15006 * math/s_cexpl.c (__cexpl): Likewise.
15007 * math/libm-test.inc (cexp_test): Add more tests.
15008
1cef1b19
AS
150092013-04-03 Andreas Schwab <schwab@suse.de>
15010
15011 [BZ #15330]
15012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15013 order arrays from heap if bigger than alloca cutoff.
15014
74d87055
TS
150152013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15016
15017 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15018 (SNAN_TESTS_double): Refer to GCC PR56831.
15019 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15020 GCC PR56828.
15021
d755bba4
SP
150222013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15023
90d5d5bb
SP
15024 * Rules (bench): Move bench.out after the run is complete.
15025
73e0cd5d
SP
15026 * Rules (bench): Echo currently running benchmark.
15027
64aabd4b
SP
15028 * benchtests/Makefile (bench): Add atan and slowatan.
15029 * benchtests/atan-inputs: New file.
15030 * benchtests/slowatan-inputs: New file.
15031 * benchtests/slowatan.c: New file.
15032
c871eccd
SP
15033 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15034 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15035 its value.
15036
d755bba4
SP
15037 [BZ #15305]
15038 * sysdeps/unix/sysv/linux/kernel-features.h
15039 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15040 __ASSUME_XFS_RESTRICTED_CHOWN.
15041 * sysdeps/unix/sysv/linux/pathconf.c
15042 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15043 Save and restore errno.
15044
52ce4860
JM
150452013-04-02 Joseph Myers <joseph@codesourcery.com>
15046
15047 [BZ #15327]
15048 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15049 arguments using __kernel_casinh.
15050 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15051 arguments using __kernel_casinhf.
15052 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15053 arguments using __kernel_casinhl.
15054 * math/libm-test.inc (cacosh_test): Add more tests.
15055 * sysdeps/i386/fpu/libm-test-ulps: Update.
15056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15057
81f311c2
SP
150582013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15059
e7906a47
SP
15060 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15062
92e3664b
SP
15063 * bench/Makefile (bench): Add sin and slowsin.
15064 * benchtests/sin-inputs: New file.
15065 * benchtests/slowsin-inputs: New file.
15066 * benchtests/slowsin.c: New file.
15067
81f311c2
SP
15068 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15069 (bench): Add slowexp and slowpow.
15070 (exp-ITER): Increase iterations.
15071 (pow-ITER): Likewise.
15072 * benchtests/exp-inputs: Change input.
15073 * benchtests/pow-inputs: Likewise.
15074 * benchtests/slowexp-inputs: New file.
15075 * benchtests/slowexp.c: New file.
15076 * benchtests/slowpow-inputs: New file.
15077 * benchtests/slowpow.c: New file.
15078
ab0f1aa9
AZ
150792013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15080
15081 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15082 instructions.
15083 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15084 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15085 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15086 * benchtests/Makefile: Add rint benchtest.
15087 * benchtests/rint-inputs: Input for rint benchtest.
15088
57267616
TS
150892013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15090
15091 * Versions.def (libm): Add GLIBC_2.18.
15092 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15093 hidden libm prototypes.
15094 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15095 * math/Makefile (libm-calls): Add s_issignaling.
15096 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15097 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15098 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15099 declaration.
15100 * math/math.h [__USE_GNU] (issignaling): New macro.
15101 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15102 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15107 * manual/arith.texi (issignaling): New section.
15108 * manual/libm-err-tab.pl (@all_functions): Update comment.
15109 * math/gen-libm-test.pl (parse_args): Apply special handling for
15110 issignaling.
15111 * math/libm-test.inc (print_float, issignaling_test): New
15112 functions.
15113 (check_float_internal): Add issignaling checks.
15114 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15115 default definition.
15116 * sysdeps/powerpc/math-tests.h: New file.
15117 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15118 tests.
15119 * math/test-snan.c (TEST_FUNC): Likewise.
15120
6142896d
DM
151212013-03-30 David S. Miller <davem@davemloft.net>
15122
15123 * po/de.po: Update from translation team.
15124
ccc8cadf
JM
151252013-03-30 Joseph Myers <joseph@codesourcery.com>
15126
15127 [BZ #10357]
15128 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15129 imaginary part less than 1.0 and real part less than 0.5
15130 specially.
15131 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15132 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15133 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15134 (cacos_test): Add more tests.
15135 (casin_test): Likewise.
15136 (casinh_test): Likewise.
15137 * sysdeps/i386/fpu/libm-test-ulps: Update.
15138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15139
0f6a8d4b
SP
151402013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15141
0d1029de
SP
15142 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15143 ONE with its value.
15144
c2d94018
SP
15145 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15146 (__pow_mp): Replace ONE and MONE with their values.
15147 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15148 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15149 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15150 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15151 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15152 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15153
27ec37f1
SP
15154 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15155
a64d7e0e
SP
15156 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15157 (__pow_mp): Replace ZERO and MZERO with their values.
15158 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15160 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15162 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15163 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15164 (__sqr): Likewise.
15165
d26dd3eb
SP
15166 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15167
0f6a8d4b
SP
15168 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15169
e57b0c61
RM
151702013-03-28 Roland McGrath <roland@hack.frob.com>
15171
15172 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15173 Declare with __attribute__ ((weak)).
15174 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15175 Call __call_tls_dtors only if it's not NULL.
15176
356b3480
RM
151772013-03-28 Roland McGrath <roland@hack.frob.com>
15178
288f7d79
RM
15179 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15180 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15181 magic __ehdr_start linker symbol if it's defined.
15182 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15183 them up here if it was already done.
15184
dc0a0263
RM
15185 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15186 (_dl_aux_init): Use const in cast when setting it.
15187 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15188 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15189 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15190
3d3436ae
RM
15191 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15192 Declare them here.
15193 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15194 * csu/libc-tls.c: Nor here.
15195 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15196
356b3480
RM
15197 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15198 (__libc_message): Never call vsyslog.
15199
b0f1246a
AM
152002013-03-28 Alan Modra <amodra@gmail.com>
15201
15202 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15203 Define as empty.
15204 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15205 Likewise.
15206
fbbe2b9a
AZ
152072013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15208
15209 [BZ #15214]
15210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15211 underflow.
15212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15213
1728ab37
SP
152142013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15215
7a86be6e
SP
15216 [BZ #15304]
15217 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15218 Don't add gid passed as argument.
15219
1728ab37
SP
15220 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15221
3a7182a1
JM
152222013-03-27 Joseph Myers <joseph@codesourcery.com>
15223
15224 [BZ #15307]
15225 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15226 imaginary part between 1.0 and 1.5 and real part less than 0.5
15227 specially.
15228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15230 * math/libm-test.inc (cacos_test): Add more tests.
15231 (casin_test): Likewise.
15232 (casinh_test): Likewise.
15233 * sysdeps/i386/fpu/libm-test-ulps: Update.
15234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15235
6f2e90e7
SP
152362013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15237
5739f705
SP
15238 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15239 constants.
15240 (norm): Likewise.
15241 (denorm): Likewise.
15242 (__dbl_mp): Likewise.
15243 (add_magnitudes): Likewise.
15244 (sub_magnitudes): Likewise.
15245 (__add): Likewise.
15246 (__sub): Likewise.
15247 (__mul): Likewise.
15248 (__sqr): Likewise.
15249 (__inv): Likewise.
15250 (__dvd): Likewise.
15251
e375e83d
SP
15252 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15253 commented code.
15254 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15255 (__dubcos): Likewise.
15256 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15257 (__ieee754_acos): Likewise.
15258 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15259 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15260 (__exp1): Likewise.
15261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15263 (log1): Likewise.
15264 (my_log2): Likewise.
15265 (checkint): Likewise.
15266 * sysdeps/ieee754/dbl-64/e_remainder.c
15267 (__ieee754_remainder): Likewise.
15268 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15270 (bsloww): Likewise.
15271 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15272
6f2e90e7
SP
15273 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15274 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15275 MANTISSA_STORE_T to store computations on mantissa. Use
15276 macros for rounding and division.
15277 (denorm): Likewise.
15278 (__dbl_mp): Likewise.
15279 (add_magnitudes): Likewise.
15280 (sub_magnitudes): Likewise.
15281 (__mul): Likewise.
15282 (__sqr): Likewise.
15283 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15284 powers of two in terms of TWOPOW macro.
15285 (mp_no): Make type of mantissa as MANTISSA_T.
15286 [!RADIXI]: Define RADIXI.
15287 [!TWO52]: Define TWO52.
15288 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15289
fce14d4e
AZ
152902013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15291
15292 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15293 llroundl symbol when building for PPC32.
15294
9ad027fb
MW
152952013-03-24 Mark H Weaver <mhw@netris.org>
15296
15297 * manual/arith.texi (Normalization Functions): Fix prototypes for
15298 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15299
e42a38dd
AZ
153002013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15301
15302 [BZ #13889]
15303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15304 high value to check if expl overflow.
15305 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15306 to check for underflow and overflow.
15307 * math/libm-test.inc: Add exp test.
15308
2e0fb521
DL
153092013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15310
15311 [BZ #11120]
15312 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15313 with NOT_IN_libc.
15314
b5784d95
AZ
153152013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15316
15317 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15318 symbol.
15319
5aa4a1a1
TS
153202013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15321
bdef0be7
TS
15322 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15323 wrap blocks consisting of several statements.
15324
5aa4a1a1
TS
15325 * sysdeps/generic/math-tests.h: New file.
15326 * sysdeps/i386/fpu/math-tests.h: Likewise.
15327 * math/test-snan.c: Include it.
15328 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15329
98c48fe5
JM
153302013-03-21 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #15285]
15333 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15334 (__ieee754_j0l): Do not improve calculations using cos of twice
15335 input for inputs above LDBL_MAX / 2.0L.
15336 (__ieee754_y0l): Likewise.
15337 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15338 (__ieee754_j1l): Do not improve calculations using cos of twice
15339 input for inputs above LDBL_MAX / 2.0L.
15340 (__ieee754_y1l): Likewise.
15341 * math/libm-test.inc (j0_test): Add another test.
15342 (j1_test): Likewise.
15343 (y0_test): Likewise.
15344 (y1_test): Likewise.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346
3775a8bc
SP
153472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15348
15349 * Rules ($(objpfx)bench-%.c): Include code from a C source
15350 file.
15351
0a1b2ae6
JM
153522013-03-21 Joseph Myers <joseph@codesourcery.com>
15353
15354 [BZ #15287]
15355 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15356 imaginary part 1.0 and real part less than 0.5 specially.
15357 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15358 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15359 * math/libm-test.inc (cacos_test): Add more tests.
15360 (casin_test): Likewise.
15361 (casinh_test): Likewise.
15362 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364
b33d4ce4
SP
153652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15366
15367 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15368 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15369
bef0b507
JM
153702013-03-20 Joseph Myers <joseph@codesourcery.com>
15371
15372 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15373 * config.make.in (config-cflags-sse4): Remove variable.
15374 (config-cflags-avx): Likewise.
15375 (config-cflags-sse2avx): Likewise.
15376 (config-cflags-novzeroupper): Likewise.
15377 (config-asflags-i686): Likewise.
15378 (have-mfma4): Likewise.
15379 (have-as-vis3): Likewise.
15380 (MIG): Likewise.
15381 * configure.in (MIG): Do not AC_SUBST.
15382 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15383 (libc_cv_cc_sse4): Do not AC_SUBST.
15384 (libc_cv_cc_avx): Likewise.
15385 (libc_cv_cc_sse2avx): Likewise.
15386 (libc_cv_cc_novzeroupper): Likewise.
15387 (libc_cv_cc_fma4): Likewise.
15388 (libc_cv_as_i686): Likewise.
15389 (libc_cv_sparc_as_vis3): Likewise.
15390 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15391 LIBC_CONFIG_VAR.
15392 (config-asflags-i686): Likewise.
15393 (config-cflags-avx): Likewise.
15394 (config-cflags-sse2avx): Likewise.
15395 (have-mfma4): Likewise.
15396 (config-cflags-novzeroupper): Likewise.
15397 * sysdeps/mach/configure.in (MIG): Likewise.
15398 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15399 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15400 LIBC_CONFIG_VAR.
15401 (config-cflags-avx): Likewise.
15402 (config-cflags-sse2avx): Likewise.
15403 (have-mfma4): Likewise.
15404 (config-cflags-novzeroupper): Likewise.
15405 * configure: Regenerated.
15406 * sysdeps/i386/configure: Likewise.
15407 * sysdeps/mach/configure: Likewise.
15408 * sysdeps/sparc/configure: Likewise.
15409 * sysdeps/x86_64/configure: Likewise.
15410
912cc4b3
RM
154112013-03-20 Roland McGrath <roland@hack.frob.com>
15412
15413 [BZ #14812]
15414 * locale/programs/localedef.c (options): Put N_ translation marker
15415 on argument names, not just descriptions.
15416
04eed2b0
MS
154172013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15418
15419 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15420
a065ceff
OB
154212013-03-20 Ondřej Bílka <neleai@seznam.cz>
15422
9bb2a810 15423 [BZ #14176]
a065ceff
OB
15424 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15425
a600e5ce
RM
154262013-03-19 Roland McGrath <roland@hack.frob.com>
15427
15428 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15429 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15430 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15431 [!BEFORE_ABORT] (before_abort): New function.
15432 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15433 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15434 (writev_for_fatal): New function.
15435 (WRITEV_FOR_FATAL): New macro; call that.
15436 (backtrace_and_maps): New function.
15437 (BEFORE_ABORT): New macro; call that.
15438 (struct str_list): Type removed.
15439 (__libc_message, __libc_fatal): Functions removed.
15440 Include <sysdeps/posix/libc_fatal.c> instead.
15441
6b18bea6
JM
154422013-03-19 Joseph Myers <joseph@codesourcery.com>
15443
15444 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15445 constants.
15446 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15447 double constants.
15448
aaa8cb4b
AS
154492013-03-19 Andreas Schwab <schwab@suse.de>
15450
44673770
AS
15451 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15452 * sysdeps/gnu/configure: Regenerate.
15453
aaa8cb4b
AS
15454 * configure.in: Substitute libc_cv_rtlddir.
15455 * configure: Regenerate.
15456 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15457 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15458 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15459 * elf/Makefile (install-others, CFLAGS-interp.c)
15460 (ldso_install, common-ldd-rewrite): Likewise.
15461 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15462 $(inst_slibdir)/$(rtld-installed-name).
15463 * scripts/rellns-sh: Add -p option.
15464 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15465 for source.
15466
d3cfc668
SP
154672013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15468
15469 * manual/nptl.texi: Renamed to ...
15470 * manual/threads.texi: ... this.
15471 * manual/Makefile (chapters): Update.
15472
0e2b9cdd
RM
154732013-03-18 Roland McGrath <roland@hack.frob.com>
15474
15475 [BZ #14812]
15476 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15477 on argument names, not just descriptions.
0e2b9cdd
RM
15478 * malloc/memusagestat.c (options): Likewise.
15479 * nss/getent.c (options): Likewise.
63270c24
RM
15480
154812013-03-18 Benno Schulenberg <bensberg@justemail.net>
15482
15483 [BZ #14812]
15484 * iconv/iconv_prog.c (options): Put N_ translation marker
15485 on argument names, not just descriptions.
15486 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15487
b2e1393c
OB
154882013-03-18 Ondrej Bilka <neleai@seznam.cz>
15489
15490 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15491 implementation which is faster on all x86_64 architectures.
15492 Tested on AMD, Intel Nehalem, SNB, IVB.
15493 * sysdeps/x86_64/strnlen.S: Likewise.
15494
15495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15496 Remove all multiarch strlen and strnlen versions.
15497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15498 Remove strlen and strnlen related parts.
15499
15500 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15501 Inline strlen part.
15502 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15503
15504 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15505 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15506 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15507 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15508 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15509 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15510
ec4ff04d
CD
155112013-03-17 Carlos O'Donell <carlos@redhat.com>
15512
15513 * manual/memory.texi (Malloc Tunable Parameters):
15514 Sort parameters alphabetically. Add comments for missing entries.
15515
cd18e90a
DM
155162013-03-17 David S. Miller <davem@davemloft.net>
15517
15518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15519
2a185d32
JM
155202013-03-16 Joseph Myers <joseph@codesourcery.com>
15521
d2f9799e
JM
15522 [BZ #15283]
15523 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15524 for arguments at most half maximum finite value.
15525 * math/libm-test.inc (j0_test): Add more tests.
15526 (j1_test): Likewise.
15527 (y0_test): Likewise.
15528 (y1_test): Likewise.
15529 * sysdeps/i386/fpu/libm-test-ulps: Update.
15530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15531
2a185d32
JM
15532 [BZ #14155]
15533 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15534 1 / x and functions P and Q for arguments above 0x1p256L.
15535 (__ieee754_y0l): Likewise.
15536 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15537 (__ieee754_y1l): Likewise.
15538 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15539 (j1_test): Likewise.
15540 (y0_test): Likewise.
15541 (y1_test): Likewise.
15542
6cbec759
TS
155432013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15544
15545 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15546 variable.
15547
bc16e260
RM
155482013-03-15 Roland McGrath <roland@hack.frob.com>
15549
aefc9b8c
RM
15550 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15551 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15552 zero since it's initialized to EXEC_PAGESIZE.
15553
bc16e260
RM
15554 * sysdeps/unix/sysv/linux/ldsodefs.h
15555 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15556 * sysdeps/generic/ldsodefs.h: ... here.
15557
a57da955
TS
155582013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15559
af00a34d
TS
15560 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15561
495ded2c
TS
15562 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15563 math/test-snan.c.
15564 * math/test-snan.c: Renamed from
15565 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15566 * math/Makefile (tests): Add test-snan.
15567 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15568 test-powerpc-snan.
15569
777b0332
TS
15570 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15571 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15572 functions.
15573 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15574 __builtin_nan family of functions.
15575 * math/libm-test.inc (initialize): Initialize qnan_value with
15576 __builtin_nan family of functions.
15577 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15578 Remove variables.
15579 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15580 Remove functions.
15581 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15582 storage class. Initialize qNaN_var and sNaN_var with
15583 __builtin_nan and __builtin_nans families of functions,
15584 respectively.
15585
64d063b8
TS
15586 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15587 (sqrt_test): Remove duplicate test with qNaN input.
15588 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15589 (round_test, signbit_test, significand_test): Note missing +/-Inf
15590 as well as qNaN tests.
15591
67e971f1
TS
15592 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15593 qNaN_var. Fix a few strings, too.
15594 * math/libm-test.inc (nan_value): Rename to qnan_value.
15595 * math/gen-libm-test.pl (%beautify): Adjust to that.
15596 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15597 * math/test-misc.c (main): Likewise.
15598 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15599 to __qnan_bytes, and __qnan_union, respectively.
15600 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15601 Likewise.
15602 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15603 and lqnanval, respectively.
15604 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15605 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15606 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15607 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15608
64487e12
TS
15609 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15610 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15611 doubles.
15612
e015e27b
TS
15613 * math/test-misc.c (main): Fix copy'n'pastos.
15614 * misc/tst-efgcvt.c (special): Likewise.
15615
a57da955
TS
15616 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15617 Remove declarations.
15618
1e380345
SP
156192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15620
15621 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15622 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15623 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15624 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15625
ef26eece
AZ
156262013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15627
15628 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15629 macro to return vdso values correctly in IFUNC implementations.
15630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15631 Optimization by using IFUNC.
15632
8cfdb7e0
SP
156332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15634 Richard Henderson <rth@redhat.com>
15635 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15636
15637 * Makefile.in (bench): New target.
15638 * NEWS: Mention the benchmark framework.
15639 * Rules (bench): Likewise.
15640 (binaries-bench): Generate binaries for functions to
15641 benchmark.
15642 * benchtests/Makefile: New makefile for benchmark tests.
15643 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15644 programs.
15645 * benchtests/exp-inputs: New input file for EXP function.
15646 * benchtests/pow-inputs: New input file for POW function.
15647 * scripts/bench.pl: New script to generate source files for
15648 benchmark programs.
15649
bcda9880
SP
156502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15651
d22ca8cd
SP
15652 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15653 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15654 computations on mantissa. Use macros for rounding and
15655 division.
15656 (denorm): Likewise.
15657 (__dbl_mp): Likewise.
15658 (add_magnitudes): Likewise.
15659 (sub_magnitudes): Likewise.
15660 (__mul): Likewise.
15661 (__sqr): Likewise.
15662 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15663 powers of two in terms of TWOPOW macro.
15664 (mp_no): Make type of mantissa as MANTISSA_T.
15665 [!RADIXI]: Define RADIXI.
15666 [!TWO52]: Define TWO52.
15667 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15668
bcda9880
SP
15669 * manual/nptl.texi (cindex): Modify threads to pthreads.
15670
06d5adfb
JM
156712013-03-15 Joseph Myers <joseph@codesourcery.com>
15672
15673 * sysdeps/x86_64/preconfigure: Regenerated.
15674
41c7328e
JM
156752013-03-14 Joseph Myers <joseph@codesourcery.com>
15676
15677 [BZ #14155]
15678 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15679 0x1p28 and above.
15680 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15681 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15682 0x1p28 and above.
15683 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15684 * math/libm-test.inc (j0_test): Do not allow one spurious
15685 underflow exception.
15686 (y1_test): Likewise.
15687
e25cfa60
SP
156882013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15689
0409959c
SP
15690 * manual/Makefile (chapters): Add nptl.
15691 * manual/debug.texi (Debugging Support): Add link to Threads
15692 chapter.
15693 * manual/nptl.texi: New file.
15694
e25cfa60
SP
15695 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15696
58a1335e
PB
156972013-03-14 Petr Baudis <pasky@ucw.cz>
15698
15699 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15700 for non-NULL pointer before the memory validity test. Pointed
15701 out by Holger Brunck <holger.brunck@keymile.com>.
15702
9dc7c64f
AS
157032013-03-13 Andreas Schwab <schwab@suse.de>
15704
15705 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15706 instead of .os.
15707
54206aa6
JM
157082013-03-13 Joseph Myers <joseph@codesourcery.com>
15709
15710 * timezone/zic.c: Update from tzcode 2013b.
15711
e98cdb38
CD
157122013-03-12 Carlos O'Donell <carlos@redhat.com>
15713
15714 * manual/install.texi (Configuring and compiling):
15715 Mention i686 and i586.
15716 * INSTALL: Regenerate.
15717
9967e003
RM
157182013-03-12 Roland McGrath <roland@hack.frob.com>
15719
15720 * sysdeps/init_array/elf-init.c: New file.
15721 * csu/elf-init.c
15722 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15723 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15724
15725 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15726 __gmon_start__ as global, but as static with a .preinit_array pointer.
15727 * sysdeps/init_array/gmon-start.c: New file. Use that.
15728 * sysdeps/init_array/crti.S: New file, empty except for comments.
15729 * sysdeps/init_array/crtn.S: Likewise.
15730
e6b5a293 157312013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15732
15733 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15734 definining bcopy.
80f844c9
OB
15735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15736 Remove Prefer_SSE_for_memop.
15737 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15738 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15739 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15741 memset-x86-64.
80f844c9 15742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15743 Remove bzero, memset ifunc support.
80f844c9
OB
15744 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15745 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15746 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15747 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15748
fb6b0fcb
AS
157492013-03-11 Andreas Schwab <schwab@suse.de>
15750
15751 [BZ #15234]
15752 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15753 by SHLIB_COMPAT.
15754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15755 (GLIBC_2.16): Remove pthread_atfork.
15756
3e6bd4b1
PP
157572013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15758
15759 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15760 (ptestcases.h): Likewise.
15761
222d7f00
RM
157622013-03-08 Roland McGrath <roland@hack.frob.com>
15763
15764 * Makeconfig ($(common-objpfx)config.status): Depend on
15765 sysdeps/*/preconfigure{,.in} too.
15766
1ba4f030
JM
157672013-03-08 Joseph Myers <joseph@codesourcery.com>
15768
a222d91a
JM
15769 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15770 (__free_hook): Use void * instead of __malloc_ptr_t.
15771 (__malloc_hook): Likewise.
15772 (__realloc_hook): Likewise.
15773 (__memalign_hook): Likewise.
15774 (__after_morecore_hook): Likewise.
15775 * malloc/arena.c (save_malloc_hook): Likewise.
15776 (save_free_hook): Likewise.
15777 * malloc/hooks.c (malloc_hook_ini): Likewise.
15778 (realloc_hook_ini): Likewise.
15779 (memalign_hook_ini): Likewise.
15780 * malloc/malloc.c (malloc_hook_ini): Likewise.
15781 (realloc_hook_ini): Likewise.
15782 (memalign_hook_ini): Likewise.
15783 (__free_hook): Likewise.
15784 (__malloc_hook): Likewise.
15785 (__realloc_hook): Likewise.
15786 (__memalign_hook): Likewise.
15787 (__libc_malloc): Likewise.
15788 (__libc_free): Likewise.
15789 (__libc_realloc): Likewise.
15790 (__libc_memalign): Likewise.
15791 (__libc_valloc): Likewise.
15792 (__libc_pvalloc): Likewise.
15793 (__libc_calloc): Likewise.
15794 (__posix_memalign): Likewise.
15795 * malloc/morecore.c (__sbrk): Likewise.
15796 (__default_morecore): Likewise.
15797
5cc45e10
JM
15798 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15799
dd54b864
JM
15800 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15801 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15802 __malloc_ptrdiff_t.
15803
1ba4f030
JM
15804 * malloc/malloc.h (__malloc_size_t): Remove macro.
15805 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15806 __malloc_size_t.
15807 (old_memalign_hook): Likewise.
15808 (old_realloc_hook): Likewise.
15809 (struct hdr): Likewise.
15810 (flood): Likewise.
15811 (mallochook): Likewise.
15812 (memalignhook): Likewise.
15813 (reallochook): Likewise.
15814 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15815 (tr_old_realloc_hook): Likewise.
15816 (tr_old_memalign_hook): Likewise.
15817 (tr_mallochook): Likewise.
15818 (tr_reallochook): Likewise.
15819 (tr_memalignhook): Likewise.
15820
edf66e57
AZ
158212013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15822
15823 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15824 default_ldbl_pack and using as default implementation.
15825 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15826 implementation.
15827 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15828 redundant definition.
15829 (ldbl_insert_mantissa): Likewise.
15830 (ldbl_canonicalize): Likewise.
15831 (ldbl_nearbyint): Likewise.
15832 (ldbl_pack): Rename to ldbl_pack_ppc.
15833 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15834 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15835 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15836
6d9145d8
SP
158372013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15838
15839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15840 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15841 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15842 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15844 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15845 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15846 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15847
4dd4e157
AJ
158482013-03-07 Andreas Jaeger <aj@suse.de>
15849
15850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15851 bits/mman-linux.h.
15852
adbb8027
SP
158532013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15854
ce544b5b
SP
15855 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15856 Include mpa.h and declare __MPEXP.
15857 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15858 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15859 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15860 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15861 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15862 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15864
4cc149fd
SP
15865 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15866 (__slowpow): Use long double EXPL and LOGL functions to
15867 compute POW.
15868 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15869 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15870 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15871 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15872 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15873 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15874
e6ebd4a7
SP
15875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15876 intermediate variable to calculate exponent.
15877 (__sqr): Likewise.
15878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15879 Likewise.
15880 (__sqr): Likewise.
15881
82a9811d
SP
15882 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15883 [!NO__SQR]: Define __sqr.
15884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15885 and NO__SQR. Remove all code except __mul and __sqr. Include
15886 sysdeps/ieee754/dbl-64/mpa.c.
15887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15888
adbb8027
SP
15889 [BZ #12723]
15890 * posix/Makefile (tests): Add tst-pathconf.
15891 * posix/tst-pathconf.c: New test case.
15892 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15893 _PC_PIPE_BUF.
15894 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15895
39120df9
PF
158962013-03-06 Patsy Franklin <pfrankli@redhat.com>
15897
15898 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15899
67525cb8
AJ
159002013-03-06 Andreas Jaeger <aj@suse.de>
15901
664a9ce4
AJ
15902 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15903 definition via __MAP_ANONYMOUS.
15904
8e39047d
AJ
15905 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15906 it's not part of Linux headers.
15907
67525cb8
AJ
15908 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15909 (MAP_HUGE_MASK): Define.
15910
15911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15912 Define.
15913 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15914 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15915 Define.
15916 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15917 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15918 Define.
15919 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15921 Define.
15922 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15923
15924 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15925 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15926 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15927 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15928 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15929 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15930
15931 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15932 Handle f2fs.
15933
15934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15935 Handle f2fs and efivarfs.
15936
15937 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15938 f2fs.
15939
15940 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15941 (EFIVARFS_MAGIC): Add.
15942 (F2FS_LINK_MAX): Add.
15943
e1b42695
PP
159442013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15945
15946 * stdio-common/vfprintf.c: Replace __builtin_expect with
15947 __glibc_unlikely.
15948
2d67d91a
JM
159492013-03-06 Joseph Myers <joseph@codesourcery.com>
15950
15951 [BZ #13550]
15952 * sysdeps/generic/bp-sym.h: Remove file.
15953 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15954 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15955 <bp-sym.h> and <bp-asm.h>.
15956 (__longjmp): Don't use BP_SYM.
15957 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15958 and <bp-asm.h>.
15959 (memcpy): Don't use BP_SYM.
15960 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15961 <bp-sym.h> and <bp-asm.h>.
15962 (memcpy): Don't use BP_SYM.
15963 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15964 <bp-asm.h>.
15965 (memcpy): Don't use BP_SYM.
15966 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15967 <bp-asm.h>.
15968 (memset): Don't use BP_SYM.
15969 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15970 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15971 (__bzero): Don't use BP_SYM.
15972 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15973 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15974 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15975 <bp-sym.h> and <bp-asm.h>.
15976 (memcmp): Don't use BP_SYM. Remove comment about bounded
15977 pointers.
15978 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15979 <bp-sym.h> and <bp-asm.h>.
15980 (memcpy): Don't use BP_SYM.
15981 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15982 <bp-sym.h> and <bp-asm.h>.
15983 (memset): Don't use BP_SYM.
15984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15986 (__bzero): Don't use BP_SYM.
15987 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15988 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15990 <bp-sym.h> and <bp-asm.h>.
15991 (strncmp): Don't use BP_SYM. Remove comment about bounded
15992 pointers.
15993 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15994 <bp-sym.h> and <bp-asm.h>.
15995 (memcpy): Don't use BP_SYM.
15996 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15997 <bp-sym.h> and <bp-asm.h>.
15998 (memset): Don't use BP_SYM.
15999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16001 (__bzero): Don't use BP_SYM.
16002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16004 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16005 <bp-sym.h> and <bp-asm.h>.
16006 (__memchr): Don't use BP_SYM.
16007 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16008 <bp-sym.h> and <bp-asm.h>.
16009 (memcmp): Don't use BP_SYM. Remove comment about bounded
16010 pointers.
16011 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16012 <bp-sym.h> and <bp-asm.h>.
16013 (memcpy): Don't use BP_SYM.
16014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16015 <bp-sym.h> and <bp-asm.h>.
16016 (__mempcpy): Don't use BP_SYM.
16017 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16018 <bp-sym.h> and <bp-asm.h>.
16019 (__memrchr): Don't use BP_SYM.
16020 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16021 <bp-sym.h> and <bp-asm.h>.
16022 (memset): Don't use BP_SYM.
16023 (__bzero): Likewise.
16024 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16025 <bp-sym.h> and <bp-asm.h>.
16026 (__rawmemchr): Don't use BP_SYM.
16027 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16028 <bp-sym.h> and <bp-asm.h>.
16029 (__STRCMP): Don't use BP_SYM.
16030 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16031 <bp-sym.h> and <bp-asm.h>.
16032 (strchr): Don't use BP_SYM.
16033 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16034 <bp-sym.h> and <bp-asm.h>.
16035 (__strchrnul): Don't use BP_SYM.
16036 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16037 <bp-sym.h> and <bp-asm.h>.
16038 (strlen): Don't use BP_SYM.
16039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16040 <bp-sym.h> and <bp-asm.h>.
16041 (strncmp): Don't use BP_SYM. Remove comment about bounded
16042 pointers.
16043 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16044 <bp-sym.h> and <bp-asm.h>.
16045 (__strnlen): Don't use BP_SYM.
16046 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16047 <bp-sym.h> and <bp-asm.h>.
16048 (__GI__setjmp): Don't use BP_SYM.
16049 (_setjmp): Likewise.
16050 (__sigsetjmp): Likewise.
16051 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16052 (L(start_addresses)): Don't use BP_SYM.
16053 (_start): Likewise.
16054 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16055 <bp-asm.h>.
16056 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16057 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16058 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16059 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16060 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16061 <bp-asm.h>.
16062 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16063 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16064 about bounded pointers.
16065 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16066 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16067 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16068 <bp-asm.h>.
16069 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16070 about bounded pointers. Remove GKM FIXME comments.
16071 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16072 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16073 <bp-asm.h>.
16074 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16075 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16076 Remove GKM FIXME comments.
16077 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16078 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16079 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16080 <bp-asm.h>.
16081 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16082 about bounded pointers. Remove GKM FIXME comment.
16083 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16084 and <bp-asm.h>.
16085 (strncmp): Don't use BP_SYM. Remove comment about bounded
16086 pointers.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16088 <bp-sym.h> and <bp-asm.h>.
16089 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16091 <bp-sym.h> and <bp-asm.h>.
16092 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16093 comment.
16094
cdcf361f
PP
160952013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16096
16097 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16098 call free(NULL).
16099
3c4a2b15
DM
161002013-03-05 David S. Miller <davem@davemloft.net>
16101
16102 * po/es.po: Update from translation team.
16103
cdcf361f 161042013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16105
16106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16107 <bits/mman-linux.h>.
16108 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16109 is fine.
16110 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16111 <bits/mman-linux.h> to end of file.
16112 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16113 is fine.
16114 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16115 <bits/mman-linux.h> to end of file.
16116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16117 is fine.
16118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16119 <bits/mman-linux.h> to end of file.
16120
16121 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16122 (MCL_CURRENT, MCL_FUTURE): Define here.
16123
5f67c04f
AK
161242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16125
8a4473cc 16126 [BZ #15232]
5f67c04f
AK
16127 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16128 attribute_hidden.
16129 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16130
c3e94a95
AK
161312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16132
16133 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16134 fourth parameter needed for rt_sigprocmask syscall.
16135 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16136 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16137 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16138 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16139 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16140 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16141
cfb6382a
JM
161422013-03-04 Joseph Myers <joseph@codesourcery.com>
16143
16144 [BZ #13550]
16145 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16146 comment about bounded pointers.
16147 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16148 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16149
539d8e01
AJ
161502013-03-04 Andreas Jaeger <aj@suse.de>
16151
16152 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16153 common definitions.
16154
16155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16156 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16157 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16159 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16161
2e167a70 161622013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16163
16164 [BZ #15055]
16165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16166 __ieee754_sqrl instead of __sqrl.
16167
68508633
JM
161682013-03-01 Joseph Myers <joseph@codesourcery.com>
16169
16170 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16171 * sysdeps/powerpc/fpu_control.h: ... here.
16172 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16173 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16174 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16175 * sysdeps/powerpc/bits/mathinline.h: ... here.
16176
7775448e
RM
161772013-03-01 Roland McGrath <roland@hack.frob.com>
16178
16179 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16180 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16181 to just [NEED_DL_SYSINFO_DSO].
16182 * elf/dl-support.c: Likewise.
16183 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16184 * elf/rtld.c (dl_main): Likewise.
16185 * elf/setup-vdso.h (setup_vdso): Likewise.
16186 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16187 * sysdeps/unix/sysv/linux/dl-sysdep.c
16188 (_dl_discover_osversion): Likewise.
16189
4e9b5995
CD
161902013-03-01 Carlos O'Donell <carlos@redhat.com>
16191
16192 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16193 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16194
e23872c8
SP
161952013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16196
e5c74c63
SP
16197 * NEWS: Mention libm performance improvements and non-x86 PI
16198 futex support.
16199
e23872c8
SP
16200 * csu/libc-start.c (__pthread_initialize_minimal): Change
16201 function arguments.
16202 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16203
b5510883
JM
162042013-02-28 Joseph Myers <joseph@codesourcery.com>
16205
16206 [BZ #13550]
16207 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16208 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16209 <bp-sym.h> and <bp-asm.h>.
16210 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16211 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16212 and <bp-asm.h>.
16213 (memcpy): Don't use BP_SYM.
16214 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16215 <bp-asm.h>.
16216 (__mpn_add_n): Don't use BP_SYM.
16217 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16218 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16219 and <bp-asm.h>.
16220 (__mpn_addmul_1): Don't use BP_SYM.
16221 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16222 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16223 <bp-sym.h>.
16224 (_setjmp): Don't use BP_SYM.
16225 (__novmx_setjmp): Likewise.
16226 (__GI__setjmp): Likewise.
16227 (__vmx_setjmp): Likewise.
16228 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16229 <bp-sym.h>.
16230 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16231 (__bzero): Don't use BP_SYM.
16232 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16233 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16234 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16235 <bp-sym.h> and <bp-asm.h>.
16236 (memcpy): Don't use BP_SYM.
16237 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16238 <bp-sym.h> and <bp-asm.h>.
16239 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16240 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16241 <bp-sym.h> and <bp-asm.h>.
16242 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16243 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16244 <bp-asm.h>.
16245 (__mpn_lshift): Don't use BP_SYM.
16246 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16247 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16248 <bp-asm.h>.
16249 (memset): Don't use BP_SYM.
16250 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16251 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16252 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16253 <bp-asm.h>.
16254 (__mpn_mul_1): Don't use BP_SYM.
16255 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16256 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16257 <bp-sym.h> and <bp-asm.h>.
16258 (memcmp): Don't use BP_SYM.
16259 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16260 <bp-sym.h> and <bp-asm.h>.
16261 (memcpy): Don't use BP_SYM.
16262 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16263 <bp-sym.h> and <bp-asm.h>.
16264 (memset): Don't use BP_SYM.
16265 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16266 <bp-sym.h> and <bp-asm.h>.
16267 (strncmp): Don't use BP_SYM.
16268 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16269 <bp-sym.h> and <bp-asm.h>.
16270 (memcpy): Don't use BP_SYM.
16271 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16272 <bp-sym.h> and <bp-asm.h>.
16273 (memset): Don't use BP_SYM.
16274 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16275 <bp-sym.h> and <bp-asm.h>.
16276 (__memchr): Don't use BP_SYM.
16277 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16278 <bp-sym.h> and <bp-asm.h>.
16279 (memcmp): Don't use BP_SYM.
16280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16281 <bp-sym.h> and <bp-asm.h>.
16282 (memcpy): Don't use BP_SYM.
16283 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16284 <bp-sym.h> and <bp-asm.h>.
16285 (__mempcpy): Don't use BP_SYM.
16286 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16287 <bp-sym.h> and <bp-asm.h>.
16288 (__memrchr): Don't use BP_SYM.
16289 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16290 <bp-sym.h> and <bp-asm.h>.
16291 (memset): Don't use BP_SYM.
16292 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16293 <bp-sym.h> and <bp-asm.h>.
16294 (__rawmemchr): Don't use BP_SYM.
16295 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16296 <bp-sym.h> and <bp-asm.h>.
16297 (__STRCMP): Don't use BP_SYM.
16298 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16299 <bp-sym.h> and <bp-asm.h>.
16300 (strchr): Don't use BP_SYM.
16301 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16302 <bp-sym.h> and <bp-asm.h>.
16303 (__strchrnul): Don't use BP_SYM.
16304 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16305 <bp-sym.h> and <bp-asm.h>.
16306 (strlen): Don't use BP_SYM.
16307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16308 <bp-sym.h> and <bp-asm.h>.
16309 (strncmp): Don't use BP_SYM.
16310 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16311 <bp-sym.h> and <bp-asm.h>.
16312 (__strnlen): Don't use BP_SYM.
16313 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16314 <bp-asm.h>.
16315 (__mpn_rshift): Don't use BP_SYM.
16316 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16317 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16318 <bp-sym.h> and <bp-asm.h>.
16319 (__sigsetjmp): Don't use BP_SYM.
16320 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16321 (L(start_addresses)): Don't use BP_SYM.
16322 (_start): Likewise.
16323 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16324 <bp-asm.h>.
16325 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16326 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16327 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16328 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16329 <bp-asm.h>.
16330 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16331 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16332 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16333 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16334 <bp-asm.h>.
16335 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16336 comments.
16337 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16338 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16339 <bp-asm.h>.
16340 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16341 FIXME comments.
16342 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16343 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16344 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16345 <bp-asm.h>.
16346 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16347 comment.
16348 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16349 and <bp-asm.h>.
16350 (strncmp): Don't use BP_SYM,
16351 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16352 <bp-asm.h>.
16353 (__mpn_sub_n): Don't use BP_SYM.
16354 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16355 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16356 and <bp-asm.h>.
16357 (__mpn_submul_1): Don't use BP_SYM.
16358 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16360 <bp-sym.h> and <bp-asm.h>.
16361 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16363 <bp-sym.h> and <bp-asm.h>.
16364 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16365 comment.
16366
8d19fe64
SP
163672013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16368
16369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16370 Use ZK to minimize writes to Z.
16371 (sub_magnitudes): Simplify code a bit.
16372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16373 Use ZK to minimize writes to Z.
16374 (sub_magnitudes): Simplify code a bit.
16375
85bd816a
RM
163762013-02-27 Roland McGrath <roland@hack.frob.com>
16377
16378 * csu/gmon-start.c: Add special exception to license text.
16379
b5977bf2
RH
163802013-02-27 Richard Henderson <rth@redhat.com>
16381
16382 * scripts/config.guess: Update from config.git.
16383 * scripts/config.sub: Likewise.
16384
11d6e2f2
SP
163852013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16386
09c14ed2
SP
16387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16388
a688864e
SP
16389 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16390
6295157a
SP
16391 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16392
b8de2202
SP
16393 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16394
11d6e2f2
SP
16395 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16396
7e80ddb8
RM
163972013-02-26 Roland McGrath <roland@hack.frob.com>
16398
16399 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16400 [$(build-shared = yes].
7e80ddb8 16401
7da6d9ed
SP
164022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16403
45f05884
SP
16404 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16405 (__mul): Reduce iterations for calculating mantissa.
16406
2236d359
SP
16407 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16408 MPTWO.
16409 (__mpranred): Likewise.
16410
7da6d9ed
SP
16411 [BZ #15160]
16412 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16413 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16414
b7688c42
PE
164152013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16416
16417 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16418 Define __attribute__.
16419
53a5c423
SP
164202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16421
16422 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16423 unused.
16424 * posix/regex_internal.h (__attribute): Remove.
16425 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16426 (re_string_context_at): Likewise.
16427 (bitset_not): Use __attribute__ and mark function as possibly
16428 unused.
16429 (bitset_merge): Likewise.
16430 (bitset_mask): Likewise.
16431 (re_string_char_size_at): Likewise.
16432 (re_string_wchar_at): Likewise.
16433 (re_string_elem_size_at): Likewise.
16434
60f5a8b5
SP
164352013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16436
2a983a2e
SP
16437 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16438 code.
16439 (cc32): Likewise.
16440
e69804d1
SP
16441 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16442 (__acr): Likewise.
16443 (__cpy): Likewise.
16444 (norm): Likewise.
16445 (denorm): Likewise.
16446 (__dbl_mp): Likewise.
16447 (add_magnitudes): Likewise.
16448 (sub_magnitudes): Likewise.
16449 (__mul): Likewise.
16450 (__inv): Likewise.
16451
2f22a1e8
SP
16452 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16453 style.
16454
8930ddc7
SP
16455 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16456 style.
16457
dc60cb11
SP
16458 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16459 code.
16460
60f5a8b5
SP
16461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16462 up changes with default code.
16463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16464 Likewise.
16465
b4d1fd33
AM
164662013-02-24 Allan McRae <allan@archlinux.org>
16467
faf6f8bc
AM
16468 * manual/socket.texi (The Internet Namespace): Order menu items
16469 to match that in the file.
16470
b4d1fd33
AM
16471 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16472 node listing of the info page menu.
16473
2366713d
JM
164742013-02-21 Joseph Myers <joseph@codesourcery.com>
16475
16476 [BZ #13550]
16477 * sysdeps/i386/bp-asm.h: Remove file.
16478 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16479 (PARMS): Do not use macros from bp-asm.h.
16480 (S1): Likewise.
16481 (S2): Likewise.
16482 (SIZE): Likewise.
16483 (__mpn_add_n): Do not use BP_SYM
16484 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16485 "bp-asm.h".
16486 (PARMS): Do not use macros from bp-asm.h.
16487 (S1): Likewise.
16488 (SIZE): Likewise.
16489 (__mpn_addmul_1): Do not use BP_SYM
16490 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16491 "bp-asm.h".
16492 (PARMS): Do not use macros from bp-asm.h.
16493 (SIGMSK): Likewise.
16494 (_setjmp): Likewise. Do not use BP_SYM.
16495 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16496 "bp-asm.h".
16497 (PARMS): Do not use macros from bp-asm.h.
16498 (SIGMSK): Likewise.
16499 (setjmp): Likewise. Do not use BP_SYM.
16500 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16501 "bp-asm.h".
16502 (PARMS): Do not use macros from bp-asm.h.
16503 (__frexp): Do not use BP_SYM.
16504 (frexp): Likewise.
16505 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16506 "bp-asm.h".
16507 (PARMS): Do not use macros from bp-asm.h.
16508 (__frexpf): Do not use BP_SYM.
16509 (frexpf): Likewise.
16510 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16511 "bp-asm.h".
16512 (PARMS): Do not use macros from bp-asm.h.
16513 (__frexpl): Do not use BP_SYM.
16514 (frexpl): Likewise.
16515 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16516 "bp-asm.h".
16517 (PARMS): Do not use macros from bp-asm.h.
16518 (__remquo): Do not use BP_SYM.
16519 (remquo): Likewise.
16520 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16521 "bp-asm.h".
16522 (PARMS): Do not use macros from bp-asm.h.
16523 (__remquof): Do not use BP_SYM.
16524 (remquof): Likewise.
16525 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16526 "bp-asm.h".
16527 (PARMS): Do not use macros from bp-asm.h.
16528 (__remquol): Do not use BP_SYM.
16529 (remquol): Likewise.
16530 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16531 "bp-asm.h".
16532 (PARMS): Do not use macros from bp-asm.h.
16533 (DEST): Likewise.
16534 (SRC): Likewise.
16535 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16536 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16537 "bp-asm.h".
16538 (PARMS): Do not use macros from bp-asm.h.
16539 (strlen): Do not use BP_SYM.
16540 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16541 "bp-asm.h".
16542 (PARMS): Do not use macros from bp-asm.h.
16543 (S1): Likewise.
16544 (S2): Likewise.
16545 (SIZE): Likewise.
16546 (__mpn_add_n): Do not use BP_SYM.
16547 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16548 "bp-asm.h".
16549 (PARMS): Do not use macros from bp-asm.h.
16550 (S1): Likewise.
16551 (SIZE): Likewise.
16552 (__mpn_addmul_1): Do not use BP_SYM.
16553 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16554 weak_alias.
16555 (bzero): Likewise.
16556 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16557 "bp-asm.h".
16558 (PARMS): Do not use macros from bp-asm.h.
16559 (S): Likewise.
16560 (SIZE): Likewise.
16561 (__mpn_lshift): Do not use BP_SYM.
16562 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16563 "bp-asm.h".
16564 (PARMS): Do not use macros from bp-asm.h.
16565 (DEST): Likewise.
16566 (SRC): Likewise.
16567 (LEN): Likewise.
16568 (memcpy): Likewise. Do not use BP_SYM.
16569 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16570 libc_hidden_def and weak_alias.
16571 (mempcpy): Do not use BP_SYM in weak_alias.
16572 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16573 "bp-asm.h".
16574 (PARMS): Do not use macros from bp-asm.h.
16575 (DEST): Likewise.
16576 (LEN): Likewise.
16577 [!BZERO_P] (CHR): Likewise.
16578 (memset): Likewise. Do not use BP_SYM.
16579 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16580 "bp-asm.h".
16581 (PARMS): Do not use macros from bp-asm.h.
16582 (S1): Likewise.
16583 (SIZE): Likewise.
16584 (__mpn_mul_1): Do not use BP_SYM.
16585 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16586 "bp-asm.h".
16587 (PARMS): Do not use macros from bp-asm.h.
16588 (S): Likewise.
16589 (SIZE): Likewise.
16590 (__mpn_rshift): Do not use BP_SYM.
16591 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16592 "bp-asm.h".
16593 (PARMS): Do not use macros from bp-asm.h.
16594 (STR): Likewise.
16595 (CHR): Likewise.
16596 (strchr): Likewise. Do not use BP_SYM.
16597 (index): Do not use BP_SYM in weak_alias.
16598 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16599 "bp-asm.h".
16600 (PARMS): Do not use macros from bp-asm.h.
16601 (DEST): Likewise.
16602 (SRC): Likewise.
16603 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16604 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16605 "bp-asm.h".
16606 (PARMS): Do not use macros from bp-asm.h.
16607 (strlen): Do not use BP_SYM.
16608 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16609 "bp-asm.h".
16610 (PARMS): Do not use macros from bp-asm.h.
16611 (S1): Likewise.
16612 (S2): Likewise.
16613 (SIZE): Likewise.
16614 (__mpn_sub_n): Do not use BP_SYM.
16615 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16616 "bp-asm.h".
16617 (PARMS): Do not use macros from bp-asm.h.
16618 (S1): Likewise.
16619 (SIZE): Likewise.
16620 (__mpn_submul_1): Do not use BP_SYM.
16621 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16622 "bp-asm.h".
16623 (PARMS): Do not use macros from bp-asm.h.
16624 (S1): Likewise.
16625 (S2): Likewise.
16626 (SIZE): Likewise.
16627 (__mpn_add_n): Do not use BP_SYM.
16628 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16629 weak_alias.
16630 (bzero): Likewise.
16631 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16632 "bp-asm.h".
16633 (PARMS): Do not use macros from bp-asm.h.
16634 (BLK2): Likewise.
16635 (LEN): Likewise.
16636 (memcmp): Do not use BP_SYM.
16637 (bcmp): Do not use BP_SYM in weak_alias.
16638 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16639 "bp-asm.h".
16640 (PARMS): Do not use macros from bp-asm.h.
16641 (DEST): Likewise.
16642 (SRC): Likewise.
16643 (LEN): Likewise.
16644 (memcpy): Likewise. Do not use BP_SYM.
16645 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16646 "bp-asm.h".
16647 (PARMS): Do not use macros from bp-asm.h.
16648 (DEST): Likewise.
16649 (SRC): Likewise.
16650 (LEN): Likewise.
16651 (memmove): Likewise. Do not use BP_SYM.
16652 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16653 "bp-asm.h".
16654 (PARMS): Do not use macros from bp-asm.h.
16655 (DEST): Likewise.
16656 (SRC): Likewise.
16657 (LEN): Likewise.
16658 (__mempcpy): Likewise. Do not use BP_SYM.
16659 (mempcpy): Do not use BP_SYM in weak_alias.
16660 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16661 "bp-asm.h".
16662 (PARMS): Do not use macros from bp-asm.h.
16663 (DEST): Likewise.
16664 (LEN): Likewise.
16665 [!BZERO_P] (CHR): Likewise.
16666 (memset): Likewise. Do not use BP_SYM.
16667 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16668 "bp-asm.h".
16669 (PARMS): Do not use macros from bp-asm.h.
16670 (STR2): Likewise.
16671 (strcmp): Do not use BP_SYM.
16672 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16673 "bp-asm.h".
16674 (PARMS): Do not use macros from bp-asm.h.
16675 (STR): Likewise.
16676 (DELIM): Likewise.
16677 [USE_AS_STRTOK_R] (SAVE): Likewise.
16678 (FUNCTION): Likewise. Do not use BP_SYM.
16679 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16680 aliases.
16681 (strtok_r): Likewise.
16682 (__GI___strtok_r): Likewise.
16683 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16684 (PARMS): Do not use macros from bp-asm.h.
16685 (S): Likewise.
16686 (SIZE): Likewise.
16687 (__mpn_lshift): Do not use BP_SYM.
16688 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16689 (PARMS): Do not use macros from bp-asm.h.
16690 (STR): Likewise.
16691 (CHR): Likewise.
16692 (__memchr): Do not use BP_SYM.
16693 (memchr): Do not use BP_SYM in weak_alias.
16694 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16695 (PARMS): Do not use macros from bp-asm.h.
16696 (BLK2): Likewise.
16697 (LEN): Likewise.
16698 (memcmp): Do not use BP_SYM.
16699 (bcmp): Do not use BP_SYM in weak_alias.
16700 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16701 (PARMS): Do not use macros from bp-asm.h.
16702 (S1): Likewise.
16703 (SIZE): Likewise.
16704 (__mpn_mul_1): Do not use BP_SYM.
16705 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
16711 (rawmemchr): Do not use BP_SYM in weak_alias.
16712 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16713 (PARMS): Do not use macros from bp-asm.h.
16714 (S): Likewise.
16715 (SIZE): Likewise.
16716 (__mpn_rshift): Do not use BP_SYM.
16717 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16718 (PARMS): Do not use macros from bp-asm.h.
16719 (SIGMSK): Likewise.
16720 (__sigsetjmp): Likewise. Do not use BP_SYM.
16721 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16722 (_start): Do not use BP_SYM.
16723 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16724 (PARMS): Do not use macros from bp-asm.h.
16725 (DEST): Likewise.
16726 (SRC): Likewise.
16727 (__stpcpy): Likewise. Do not use BP_SYM.
16728 (stpcpy): Do not use BP_SYM in weak_alias.
16729 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16730 "bp-asm.h".
16731 (PARMS): Do not use macros from bp-asm.h.
16732 (DEST): Likewise.
16733 (SRC): Likewise.
16734 (LEN): Likewise.
16735 (__stpncpy): Likewise. Do not use BP_SYM.
16736 (stpncpy): Do not use BP_SYM in weak_alias.
16737 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16738 (PARMS): Do not use macros from bp-asm.h.
16739 (STR): Likewise.
16740 (CHR): Likewise.
16741 (strchr): Likewise. Do not use BP_SYM.
16742 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16743 "bp-asm.h".
16744 (PARMS): Do not use macros from bp-asm.h.
16745 (STR): Likewise.
16746 (CHR): Likewise.
16747 (__strchrnul): Likewise. Do not use BP_SYM.
16748 (strchrnul): Do not use BP_SYM in weak_alias.
16749 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16750 "bp-asm.h".
16751 (PARMS): Do not use macros from bp-asm.h.
16752 (STOP): Likewise.
16753 (strcspn): Do not use BP_SYM.
16754 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16755 "bp-asm.h".
16756 (PARMS): Do not use macros from bp-asm.h.
16757 (STR): Likewise.
16758 (STOP): Likewise.
16759 (strpbrk): Likewise. Do not use BP_SYM.
16760 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16761 "bp-asm.h".
16762 (PARMS): Do not use macros from bp-asm.h.
16763 (STR): Likewise.
16764 (CHR): Likewise.
16765 (strrchr): Likewise. Do not use BP_SYM.
16766 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16767 (PARMS): Do not use macros from bp-asm.h.
16768 (SKIP): Likewise.
16769 (strspn): Do not use BP_SYM.
16770 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16771 (PARMS): Do not use macros from bp-asm.h.
16772 (STR): Likewise.
16773 (DELIM): Likewise.
16774 (SAVE): Likewise.
16775 (FUNCTION): Likewise. Do not use BP_SYM.
16776 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16777 aliases.
16778 (strtok_r): Likewise.
16779 (__GI___strtok_r): Likewise.
16780 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16781 (PARMS): Do not use macros from bp-asm.h.
16782 (S1): Likewise.
16783 (S2): Likewise.
16784 (SIZE): Likewise.
16785 (__mpn_sub_n): Do not use BP_SYM.
16786 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16787 "bp-asm.h".
16788 (PARMS): Do not use macros from bp-asm.h.
16789 (S1): Likewise.
16790 (SIZE): Likewise.
16791 (__mpn_submul_1): Do not use BP_SYM.
16792 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16793 <bp-sym.h>.
16794 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16795 and <bp-asm.h>.
16796 (PARMS): Do not use macros from bp-asm.h.
16797 (FLAGS): Likewise.
16798 (PTID): Likewise.
16799 (TLS): Likewise.
16800 (CTID): Likewise.
16801 (__clone): Do not use BP_SYM.
16802 (clone): Do not use BP_SYM in weak_alias.
16803 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16804 and <bp-asm.h>.
16805 (PARMS): Do not use macros from bp-asm.h.
16806 (LEN): Likewise.
16807 (__mmap64): Do not use BP_SYM.
16808 (mmap64): Do not use BP_SYM in weak_alias.
16809 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16810 <bp-sym.h> and <bp-asm.h>.
16811 (PARMS): Do not use macros from bp-asm.h.
16812 (__posix_fadvise64_l64): Do not use BP_SYM.
16813 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16814 (PARMS): Do not use macros from bp-asm.h.
16815 (NSOPS): Likewise.
16816 (semtimedop): Do not use BP_SYM.
16817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16818 and <bp-asm.h>.
16819
582a3cff
AM
168202013-02-21 Allan McRae <allan@archlinux.org>
16821
16822 * manual/message.texi (Charset conversion in gettext):
16823 Move @end statement to beginning of line.
16824
bab8a695
SP
168252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
80945231
SP
16827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16828 static.
16829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16830 Likewise.
16831
bab8a695
SP
16832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16833 (denorm): Likewise.
16834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16836
e21d7aa7
AK
168372013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16838
16839 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16840 tail-call to the resolved function if pltexit isn't needed.
16841
4c7a4263
SP
168422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16845 or Y being zero as being unlikely.
16846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16847 Likewise.
16848
41f49342
CD
168492013-02-20 Carlos O'Donell <carlos@redhat.com>
16850
16851 * manual/nss.texi (System Databases and Name Service Switch):
16852 Remove frobnicate @pxref.
16853
50022a93
TS
168542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16855
16856 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16857 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16858
08cbd996
PM
168592013-02-20 Petr Machata <pmachata@redhat.com>
16860
16861 * elf/elf.h (R_ARM_TARGET1): New macro.
16862 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16863 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16864 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16865 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16866 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16867 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16868 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16869 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16870 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16871 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16872 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16873 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16874 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16875 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16876 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16877 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16878 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16879 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16880 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16881 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16882 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16883 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16884 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16885 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16886 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16887 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16888 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16889 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16890 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16891 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16892 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16893 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16894 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16895 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16896 (R_ARM_THM_GOT_BREL12): Likewise.
16897 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16898 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16899 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16900 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16901 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16902 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16903 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16904 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16905 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16906
c7b275d6
TS
169072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16908
16909 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16910 __attribute_used__ to __attribute__ ((unused)).
16911
20cd7fb3
SP
169122013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16913
16914 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16915 powerpc mpa.c.
16916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16917 comment formatting.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16919
92945b52
JM
169202013-02-19 Joseph Myers <joseph@codesourcery.com>
16921
16922 [BZ #13550]
16923 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16924 Remove macro.
16925 (ENTER): Remove both macro definitions.
16926 (LEAVE): Likewise.
16927 (CHECK_BOUNDS_LOW): Likewise.
16928 (CHECK_BOUNDS_HIGH): Likewise.
16929 (CHECK_BOUNDS_BOTH): Likewise.
16930 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16931 (RETURN_BOUNDED_POINTER): Likewise.
16932 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16933 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16934 (POP_ERRNO_LOCATION_RETURN): Likewise.
16935 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16936 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16937 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16938 macros.
16939 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16940 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16941 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16942 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16943 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16944 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16945 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16946 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16947 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16948 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16949 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16950 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16951 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16952 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16953 removed macros.
16954 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16955 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16956 macros.
16957 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16958 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16959 * sysdeps/i386/i586/memset.S (memset): Likewise.
16960 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16961 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16962 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16963 macros.
16964 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16965 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16966 Change uses of L(2) to L(out).
16967 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16968 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16969 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16970 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16971 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16972 removed macros.
16973 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16975 macros.
16976 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16977 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16978 (RETURN): Do not use macro LEAVE.
16979 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16980 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16981 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16982 * sysdeps/i386/i686/memset.S (memset): Likewise.
16983 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16984 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16985 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16987 Likewise.
16988 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16989 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16990 L(1_2) and L(1_3) into L(1).
16991 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16992 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16993 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16994 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16995 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16996 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16997 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16998 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16999 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17000 macros.
17001 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17002 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17003 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17004 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17005 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17006 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17007 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17008 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17009 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17010 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17011 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17012 * sysdeps/i386/strspn.S (strspn): Likewise.
17013 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17014 conditional code.
17015 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17016 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17017 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17018 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17019 L(1_3) into L(1_1).
17020 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17021 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17022 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17023 macros.
17024 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17025
2389741a
JJ
170262013-02-19 Jakub Jelinek <jakub@redhat.com>
17027
17028 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17029 macro.
17030
2016b3cd
SP
170312013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17032
e4f22324
SP
17033 * math/atest-exp.c (exp_mpn): Remove ROUND.
17034 * math/atest-exp2.c (exp_mpn): Likewise.
17035 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17036
2016b3cd
SP
17037 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17038 * stdlib/tst-tls-atexit-lib.c: Likewise.
17039 * stdlib/tst-tls-atexit.c: Likewise.
17040
4be9b544
MF
170412013-02-18 Mike Frysinger <vapier@gentoo.org>
17042
17043 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17044 and __attribute_alloc_size__.
17045
2f62b9ee
MF
170462013-02-18 Mike Frysinger <vapier@gentoo.org>
17047
17048 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17049 __attribute_alloc_size__.
17050 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17051 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17052
6ff444c4
MF
170532013-02-18 Mike Frysinger <vapier@gentoo.org>
17054
17055 * include/programs/xmalloc.h: New file.
17056 * catgets/gencat.c: Include it.
17057 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17058 * elf/pldd.c: Likewise.
17059 * iconv/iconv_charmap.c: Likewise.
17060 * iconv/iconvconfig.c: Likewise.
17061 * iconv/strtab.c: Likewise.
17062 * locale/programs/locale.c: Likewise.
17063 * locale/programs/localedef.h: Likewise.
17064 * locale/programs/simple-hash.c: Likewise.
17065 * nscd/nscd.h: Likewise.
17066 * nss/makedb.c: Likewise.
17067 * sysdeps/generic/ldconfig.h: Likewise.
17068
be179c8a
SP
170692013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17070
ba384f6e
SP
17071 * Versions.def: Add GLIBC_2.18.
17072 * include/link.h (struct link_map): New member l_tls_dtor_count.
17073 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17074 (__call_tls_dtors): Likewise.
17075 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17076 __cxa_thread_atexit_impl.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17078 Likewise.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17080 Likewise.
17081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17082 Likewise.
17083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17084 Likewise.
17085 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17087 Likewise.
17088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17089 Likewise.
17090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17092 Likewise.
17093 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17094 (tests): Add test case tst-tls-atexit.
17095 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17096 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17097 (GLIBC_PRIVATE): Add __call_tls_dtors.
17098 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17099 for libstdc++.
17100 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17101 * stdlib/tst-tls-atexit.c: New test case.
17102 * stdlib/tst-tls-atexit-lib.c: New test case.
17103
ffaa74cf 17104 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17105
be179c8a
SP
17106 * elf/Versions (ld): Add _dl_find_dso_for_object.
17107 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17108 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17109 (dl_open_worker): Use _dl_find_dso_for_object.
17110 * elf/dl-sym.c (do_sym): Likewise.
17111 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17112
f78b5caa
AK
171132013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17114
17115 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17116 Syntactic changes only.
17117 (_dl_runtime_profile): Do a tail-call to the resolved function.
17118
29691210
JM
171192013-02-17 Joseph Myers <joseph@codesourcery.com>
17120
17121 [BZ #13550]
17122 * sysdeps/x86_64/bp-asm.h: Remove file.
17123 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17124 <bp-sym.h> and <bp-asm.h>.
17125 (__clone): Do not use BP_SYM.
17126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17127 <bp-sym.h> and <bp-asm.h>.
17128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17129 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17130 "bp-asm.h".
17131 (_setjmp): Do not use BP_SYM.
17132 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17133 "bp-asm.h".
17134 (setjmp): Do not use BP_SYM.
17135 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17136 libc_hidden_def.
17137 (mempcpy): Do not use BP_SYM in weak_alias.
17138 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17139 "bp-asm.h".
17140 (strchr): Do not use BP_SYM.
17141 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17142 "bp-asm.h".
17143 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17144 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17145 (_start): Do not use BP_SYM.
17146 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17147 "bp-asm.h".
17148 (strcat): Do not use BP_SYM.
17149 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17150 "bp-asm.h".
17151 (STRCMP): Do not use BP_SYM.
17152 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17153 "bp-asm.h".
17154 (STRCPY): Do not use BP_SYM.
17155 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17156 "bp-asm.h".
17157 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17158 "bp-asm.h".
17159 (FUNCTION): Do not use BP_SYM.
17160 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17161 weak_alias.
17162 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17163
f238fd19
AJ
171642013-02-17 Andreas Jaeger <aj@suse.de>
17165
17166 * time/Versions: Sort entries.
17167 * string/Versions: Likewise.
17168 * resolv/Versions: Likewise.
17169 * posix/Versions: Likewise.
17170 * iconv/Versions: Likewise.
17171 * elf/Versions: Likewise.
17172 * wcsmbs/Versions: Likewise.
17173
bd07f23c 171742013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17175
22af19f9
SP
17176 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17177 loop termination condition.
17178
4709fe76
SP
17179 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17180 variable to calculate EZ.
17181 (__sqr): Likewise.
2d0e0f29
SP
17182
17183 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17184 the lower precision input.
17185
daaa7713
JM
171862013-02-15 Joseph Myers <joseph@codesourcery.com>
17187
17188 [BZ #13550]
17189 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17190 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17191 (run-via-rtld-prefix): Do not handle %-bp tests.
17192 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17193 (all-object-suffixes): Remove .ob.
17194 (bppfx): Remove variable.
17195 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17196 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17197 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17198 [$(build-bounded) = yes] (libtype.ob): Likewise.
17199 * Makerules (elide-routines.ob): Remove variable.
17200 (do-tests-clean): Do not handle *-bp.out.
17201 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17202 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17203 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17204 (tests): Do not include $(tests-bp.out).
17205 (xtests): Do not include $(xtests-bp.out).
17206 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17207 [$(build-bounded) = yes] ($(addprefix
17208 $(objpfx),$(binaries-bounded))): Remove rule.
17209 ($(objpfx)%-bp.out): Remove rule.
17210 * config.make.in (build-bounded): Remove variable.
17211 * crypt/Makefile [$(build-bounded) = yes]
17212 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17213 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17214 append to variable.
17215 [$(build-bounded) = yes] (install-lib): Likewise.
17216 [$(build-bounded) = yes] (generated): Likewise.
17217 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17218 Remove rule.
17219 * intl/Makefile [$(build-bounded) = yes]
17220 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17221 * math/Makefile [$(build-bounded) = yes]
17222 ($(tests:%=$(objpfx)%-bp): Likewise.
17223 * misc/Makefile [$(build-bounded) = yes]
17224 ($(objpfx)tst-tsearch-bp): Likewise.
17225 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17226 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17227 Remove dependency.
17228 * string/Makefile (o-objects.ob): Remove variable.
17229 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17230 (CFLAGS-.ob): Remove variable.
17231 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17232 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17233 both definitions of variable.
17234 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17235 (ASFLAGS-.ob): Remove variable.
17236
e97ed6dd
JM
172372013-02-14 Joseph Myers <joseph@codesourcery.com>
17238
2bdd4ca6
JM
17239 [BZ #13550]
17240 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17241 Remove __BOUNDED_POINTERS__ from condition.
17242 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17243 * string/bits/string2.h [!__NO_STRING_INLINES &&
17244 !__BOUNDED_POINTERS__]: Likewise.
17245 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17246 Likewise.
17247 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17248 Remove conditional code.
17249 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17250 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17251 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17252 condition.
17253
e97ed6dd
JM
17254 [BZ #13550]
17255 * csu/libc-start.c: Do not include <bp-sym.h>.
17256 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17257 * elf/dl-open.c: Do not include <bp-sym.h>.
17258 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17259 * math/fegetenv.c: Do not include <bp-sym.h>.
17260 (fegetenv): Do not use BP_SYM in versioned symbols.
17261 * nptl/sysdeps/pthread/bits/libc-lockP.h
17262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17263 <bp-sym.h>.
17264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17265 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17267 (__pthread_mutex_destroy): Likewise.
17268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17269 (__pthread_mutex_lock): Likewise.
17270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17271 (__pthread_mutex_trylock): Likewise.
17272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17273 (__pthread_mutex_unlock): Likewise.
17274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17275 (__pthread_mutexattr_init): Likewise.
17276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17277 (__pthread_mutexattr_destroy): Likewise.
17278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17279 (__pthread_mutexattr_settype): Likewise.
17280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17281 (__pthread_rwlock_init): Likewise.
17282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17283 (__pthread_rwlock_destroy): Likewise.
17284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17285 (__pthread_rwlock_rdlock): Likewise.
17286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17287 (__pthread_rwlock_tryrdlock): Likewise.
17288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17289 (__pthread_rwlock_wrlock): Likewise.
17290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17291 (__pthread_rwlock_trywrlock): Likewise.
17292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17293 (__pthread_rwlock_unlock): Likewise.
17294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17295 (__pthread_key_create): Likewise.
17296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17297 (__pthread_setspecific): Likewise.
17298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17299 (__pthread_getspecific): Likewise.
17300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17301 Likewise.
17302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17303 (_pthread_cleanup_push_defer): Likewise.
17304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17305 (_pthread_cleanup_pop_restore): Likewise.
17306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17307 (pthread_setcancelstate): Likewise.
17308 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17309 <bp-sym.h>.
17310 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17311 (memchr): Do not use BP_SYM in weak_alias.
17312 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17313 (fegetenv): Do not use BP_SYM in versioned symbols.
17314 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17315 (fesetenv): Do not use BP_SYM in versioned symbols.
17316 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17317 (feupdateenv): Do not use BP_SYM in versioned symbols.
17318 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17319 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17320 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17321 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17322 (open64): Do not use BP_SYM in weak_alias.
17323 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17324 (fegetenv): Do not use BP_SYM in versioned symbols.
17325 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17326 (fesetenv): Do not use BP_SYM in versioned symbols.
17327 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17328 (feupdateenv): Do not use BP_SYM in versioned symbols.
17329 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17330 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17331 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17332 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17333 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17334 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17335 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17336 <bp-sym.h>.
17337 (__libc_start_main): Do not use BP_SYM.
17338
d6752ccd
SP
173392013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17340
cb57ce60
SP
17341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17342 redundant return line.
17343 (norm): Likewise.
17344 (denorm): Likewise.
17345 (dbl_mp): Likewise.
17346 (sub_magnitudes): Likewise.
17347 (__add): Likewise.
17348 (__sub): Likewise.
17349 (__mul): Likewise.
17350 (__inv): Likewise.
17351 (__dvd): Likewise.
17352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17353 (norm): Likewise.
17354 (denorm): Likewise.
17355 (dbl_mp): Likewise.
17356 (sub_magnitudes): Likewise.
17357 (__add): Likewise.
17358 (__sub): Likewise.
17359 (__mul): Likewise.
17360 (__inv): Likewise.
17361 (__dvd): Likewise.
17362
f414520d
SP
17363 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17364 instead of __mul.
17365 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17366 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17367 (cc32): Likewise.
17368
d6752ccd
SP
17369 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17370 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17372 of __mul for squares.
17373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17374 function
17375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17376 Likewise.
17377 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17379
70d9946a
JM
173802013-02-13 Joseph Myers <joseph@codesourcery.com>
17381
17382 [BZ #13550]
17383 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17384 code.
17385 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17386 prototype or function definition. Rename ubp_* variables and
17387 parameters. Remove argv definitions conditional on
17388 [__BOUNDED_POINTERS__].
17389 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17390 * elf/dl-runtime.c (_dl_fixup): Likewise.
17391 * include/set-hooks.h (RUN_HOOK): Likewise.
17392 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17393 definition.
17394 * string/strcpy.c (strcpy): Do not use __unbounded.
17395 * sysdeps/generic/frame.h (struct layout): Likewise.
17396 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17397 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17398 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17399 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17400 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17401 (__backtrace): Likewise.
17402 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17403 use __ptrvalue.
17404 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17405 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17406 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17407 Likewise.
17408 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17409 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17410 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17411 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17412 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17413 Do not use __unbounded.
17414 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17415 Rename __unboundedrlimits parameter to rlimits in prototype.
17416 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17417 Do not use __unbounded.
17418 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17419 not use __ptrvalue.
17420 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17421 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17422 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17423 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17424 __ptrvalue or __unbounded.
17425 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17426 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17427 use __unbounded.
17428 (__new_msgctl): Do not use __ptrvalue.
17429 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17430 __unbounded.
17431 (__libc_msgrcv): Do not use __ptrvalue.
17432 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17433 startup_info): Do not use __unbounded.
17434 (__libc_start_main): Likewise. Rename ubp_* variables and
17435 parameters. Remove argv definitions conditional on
17436 [__BOUNDED_POINTERS__].
17437 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17438 __ptrvalue.
17439 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17440 use __unbounded.
17441 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17442 or __ptrvalue.
17443 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17444 use __unbounded.
17445 (__new_shmctl): Do not use __ptrvalue.
17446 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17447 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17451 (__libc_sigaction): Likewise.
17452 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17453 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17454 Likewise.
17455 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17456
cc7834d6
OB
174572013-02-13 Ondřej Bílka <neleai@seznam.cz>
17458
ffb1ec7b 17459 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17460
17461 * string/mempcpy.c: Implement by calling memcpy.
17462
bdf02814
SP
174632013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17464
c2af38aa
SP
17465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17466
4e92d59e
SP
17467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17468 evaluation.
17469
909279a5
SP
17470 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17471 values in the mantissa.
17472
bdf02814
SP
17473 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17474 minimize writes to Z.
17475 (sub_magnitudes): Simplify code a bit.
17476
cd525923
RM
174772013-02-12 Roland McGrath <roland@hack.frob.com>
17478
17479 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17480 from the message. The linker prefixes all warnings with that already.
17481
7e2f0d2d
AS
174822013-02-12 Andreas Schwab <schwab@suse.de>
17483
a445af0b
AS
17484 [BZ #15078]
17485 * posix/regexec.c (extend_buffers): Add parameter min_len.
17486 (check_matching): Pass minimum needed length.
17487 (clean_state_log_if_needed): Likewise.
17488 (get_subexp): Likewise.
17489 * posix/Makefile (tests): Add bug-regex34.
17490 (bug-regex34-ENV): Define.
17491 * posix/bug-regex34.c: New file.
17492
7e2f0d2d
AS
17493 [BZ #11561]
17494 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17495 elements compare against the byte sequence of it, not its name.
17496 * posix/Makefile (tests): Add bug-regex35.
17497 (bug-regex35-ENV): Define.
17498 * posix/bug-regex35.c: New file.
17499
a175b684
TV
175002013-02-11 Tom de Vries <tom@codesourcery.com>
17501
17502 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17503 comment.
17504 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17505 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17506 (CHECK_EOL): Add undef.
17507
310998fe 175082013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17509
17510 * bits/stdlib-bsearch.h: New file.
17511 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17512 * stdlib/stdlib.h: Likewise.
41eda41d 17513
8ded91fb
RM
175142013-02-11 Roland McGrath <roland@hack.frob.com>
17515
17516 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17517 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17518 declaration.
17519 * manual/search.texi (Array Search Function): Add missing const in
17520 lfind prototype.
17521 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17522 declaration to use rlim_t.
17523 (Basic Scheduling Functions): Remove erroneous const from
17524 sched_getparam prototype. Remove erroneous * from
17525 sched_get_priority_max and sched_get_priority_min prototypes.
17526 (Resource Usage): Fix summary @comment on vtimes to refer to
17527 sys/vtimes.h rather than vtimes.h.
17528 Add missing *s in vtimes prototype.
17529 (Limits on Resources): Fix ulimit prototype to return long int.
17530 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17531 prototypes to use long int rather than double.
17532 (BSD Random): Fix initstate and setstate to use char *, not void *.
17533 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17534 prototype to make second argument 'struct aiocb64 *const[]'.
17535 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17536 (Status of AIO Operations): Remove erroneous const in aio_return and
17537 aio_return64 prototypes.
17538 (Synchronizing I/O): Fix sync prototype to return void.
17539 * manual/startup.texi (Suboptions): Remove an erroneous const in
17540 getsubopt prototype.
17541 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17542 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17543 use size_t rather than int.
17544 (Scanning All Users): Likewise for getpwent_r.
17545 (Setting Groups): Add missing const to setgroups prototype.
17546 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17547 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17548 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17549 'const void *' rather than 'const char *'.
17550 (Host Address Functions): Likewise for inet_ntop.
17551 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17552 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17553 ssize_t for return value.
17554 (Sending Data): Likewise for send, sendto, sendmsg.
17555 (Socket Option Functions): Add a missing const in setsockopt prototype.
17556 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17557 use wchar_t for the argument.
17558 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17559 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17560 take no arguments.
17561 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17562 double/float/long double for second argument.
17563 Fix return types of significand, significandf, significandl.
17564 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17565 argument in fchmod prototype.
17566 (File Owner): Use uid_t and gid_t in fchown prototype.
17567 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17568 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17569 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17570 use 'const struct dirent **' as argument types to CMP function pointer
17571 argument.
17572 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17573 (File Times): Fix summary magic @comment for struct utimbuf and utime
17574 to refer to utime.h, not time.h.
17575 * manual/string.texi (Argz Functions): Add missing const in
17576 argz_extract and argz_next prototypes.
17577 (Finding Tokens in a String): Likewise for basename.
17578 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17579 (Copying and Concatenation): Fix typo in wmemmove prototype.
17580 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17581 (Signal Stack): Remove erroneous const in sigstack prototype.
17582 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17583 prototype.
17584 (Simple Calendar Time): Likewise for stime.
17585 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17586 prototype.
17587 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17588 say sys/sysctl.h instead.
17589 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17590 and vsyslog prototypes.
17591
fe77fe6d
TV
175922013-02-11 Tom de Vries <tom@codesourcery.com>
17593
17594 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17595 Remove.
17596
3a09b620
RM
175972013-02-11 Roland McGrath <roland@hack.frob.com>
17598
17599 * misc/sys/mman.h: Fix typo in mremap comment.
17600
550a0b89
RM
176012013-02-08 Roland McGrath <roland@hack.frob.com>
17602
17603 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17604 the '\0' terminator.
17605
a2da1673
JM
176062013-02-08 Joseph Myers <joseph@codesourcery.com>
17607
17608 [BZ #13550]
17609 * debug/segfault.c: Don't include <bp-checks.h>.
17610 * sysdeps/generic/bp-checks.h: Remove file.
17611 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17612 (__GETDENTS): Don't use CHECK_N.
17613 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17614 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17615 (__getgroups): Don't use CHECK_N.
17616 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17617 (setgroups): Don't use CHECK_N.
17618 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17619 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17620 (__libc_msgrcv): Don't use CHECK_N.
17621 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17622 (__libc_msgsnd): Don't use CHECK_N.
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17624 <bp-checks.h>.
17625 (__libc_pread): Don't use CHECK_N.
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17627 include <bp-checks.h>.
17628 (__libc_pread64): Don't use CHECK_N.
17629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17630 include <bp-checks.h>.
17631 (__libc_pwrite): Don't use CHECK_N.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17633 include <bp-checks.h>.
17634 (__libc_pwrite64): Don't use CHECK_N.
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17636 <bp-checks.h>.
17637 (__libc_pread): Don't use CHECK_N.
17638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17639 include <bp-checks.h>.
17640 (__libc_pread64): Don't use CHECK_N.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17642 include <bp-checks.h>.
17643 (__libc_pwrite): Don't use CHECK_N.
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17645 include <bp-checks.h>.
17646 (__libc_pwrite64): Don't use CHECK_N.
17647 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17648 (do_pread): Don't use CHECK_N.
17649 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17650 (do_pread64): Don't use CHECK_N.
17651 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17652 (do_pwrite): Don't use CHECK_N.
17653 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17654 (do_pwrite64): Don't use CHECK_N.
17655 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17656 (__libc_readv): Don't use CHECK_N.
17657 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17658 (semop): Don't use CHECK_N.
17659 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17660 <bp-checks.h>.
17661 (semtimedop): Don't use CHECK_N.
17662 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17663 (__libc_pread): Don't use CHECK_N.
17664 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17665 <bp-checks.h>.
17666 (__libc_pread64): Don't use CHECK_N.
17667 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17668 <bp-checks.h>.
17669 (__libc_pwrite): Don't use CHECK_N.
17670 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17671 <bp-checks.h>.
17672 (__libc_pwrite64): Don't use CHECK_N.
17673 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17674 <bp-checks.h>.
17675 (__libc_msgrcv): Don't use CHECK_N.
17676 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17677 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17678 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17679 (__libc_writev): Don't use CHECK_N.
17680
b84660a8
RM
176812013-02-08 Roland McGrath <roland@hack.frob.com>
17682
7f3e75f8
RM
17683 * string/strcpy.c: Removed unused variable.
17684
b84660a8
RM
17685 * Makeconfig (+sysdep-includes): Define with := rather than =.
17686 Use an existing include/ subdir of each sysdeps dir before it.
17687
471514d3
CD
176882013-02-08 Carlos O'Donell <carlos@redhat.com>
17689
17690 * nscd/connection.c (register_traced_file): Comment function.
17691 [HAVE_INOTIFY] (union __inev): Define.
17692 [HAVE_INOTIFY] (inotify_check_files): New function.
17693 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17694 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17695 clear_db_cache.
17696 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17697
b2d3c3be
CD
176982013-02-08 Carlos O'Donell <carlos@redhat.com>
17699
17700 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17701 loaded if not already and that a failure is permanent.
17702
b39949d2
CD
177032013-02-08 Carlos O'Donell <carlos@redhat.com>
17704
ddacd1db 17705 [BZ #15006]
b39949d2
CD
17706 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17707 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17708
b2c9eff4
JM
177092013-02-08 Joseph Myers <joseph@codesourcery.com>
17710
f3aae3f3
JM
17711 [BZ #13550]
17712 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17713 (CHECK_1_NULL_OK): Likewise.
17714 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17715 (__fxstat): Do not use CHECK_1.
17716 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17717 <bp-checks.h>.
17718 (___fxstat64): Do not use CHECK_1.
17719 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17720 <bp-checks.h>.
17721 (__fxstatat): Do not use CHECK_1.
17722 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17723 <bp-checks.h>.
17724 (__fxstatat64): Do not use CHECK_1.
17725 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17726 <bp-checks.h>.
17727 (__fxstat): Do not use CHECK_1.
17728 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17729 <bp-checks.h>.
17730 (__fxstatat): Do not use CHECK_1.
17731 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17732 <bp-checks.h>.
17733 (__getresgid): Do not use CHECK_1.
17734 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17735 <bp-checks.h>.
17736 (__getresuid): Do not use CHECK_1.
17737 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17738 <bp-checks.h>.
17739 (__lxstat): Do not use CHECK_1.
17740 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17741 <bp-checks.h>.
17742 (__old_msgctl): Do not use CHECK_1.
17743 (__new_msgctl): Likewise.
17744 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17745 <bp-checks.h>.
17746 (__new_setrlimit): Do not use CHECK_1.
17747 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17748 <bp-checks.h>.
17749 (__old_shmctl): Do not use CHECK_1.
17750 (__new_shmctl): Likewise.
17751 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17752 <bp-checks.h>.
17753 (__xstat): Do not use CHECK_1.
17754 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17755 (__lxstat): Do not use CHECK_1.
17756 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17757 <bp-checks.h>.
17758 (___lxstat64): Do not use CHECK_1.
17759 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17760 (__old_msgctl): Do not use CHECK_1.
17761 (__new_msgctl): Likewise.
17762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17763 <bp-checks.h>.
17764 (__gettimeofday): Do not use CHECK_1.
17765 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17766 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17767 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17768 <bp-checks.h>.
17769 (__gettimeofday): Do not use CHECK_1.
17770 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17771 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17772 (__new_shmctl): Do not use CHECK_1.
17773 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17774 <bp-checks.h>.
17775 (do_sigtimedwait): Do not use CHECK_1.
17776 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17777 <bp-checks.h>.
17778 (do_sigwaitinfo): Do not use CHECK_1.
17779 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17780 <bp-checks.h>.
17781 (msgctl): Do not use CHECK_1.
17782 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17783 <bp-checks.h>.
17784 (shmctl): Do not use CHECK_1.
17785 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17786 (ustat): Do not use CHECK_1.
17787 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17788 <bp-checks.h>.
17789 (__fxstat): Do not use CHECK_1.
17790 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17791 <bp-checks.h>.
17792 (__fxstatat): Do not use CHECK_1.
17793 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17794 <bp-checks.h>.
17795 (__lxstat): Do not use CHECK_1.
17796 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17797 <bp-checks.h>.
17798 (__xstat): Do not use CHECK_1.
17799 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17800 (__xstat): Do not use CHECK_1.
17801 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17802 (___xstat64): Do not use CHECK_1.
17803
b2c9eff4
JM
17804 [BZ #13550]
17805 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17806 definitions.
17807 (CHECK_BOUNDS_HIGH): Likewise.
17808 * string/strcpy.c: Do not include <bp-checks.h>.
17809 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17810
f1d70dad
RM
178112013-02-07 Roland McGrath <roland@hack.frob.com>
17812
17813 * nscd/nscd-client.h (__nscd_drop_map_ref):
17814 Add __attribute__ ((unused)).
17815 * nis/nss-nisplus.h (niserr2nss): Likewise.
17816
17817 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17818 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17819
17820 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17821 Remove inline keyword.
17822 * include/rounding-mode.h (round_away): Likewise.
17823 * libio/wfileops.c (adjust_wide_data): Likewise.
17824 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17825 (__m128i_strloadu_tolower): Likewise.
17826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17827 (__m128i_strloadu_tolower): Likewise.
17828 * time/mktime.c (ydhms_diff): Likewise.
17829 * locale/elem-hash.h (elem_hash): Likewise.
17830 * locale/setlocale.c (setdata): Likewise.
17831 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17832 (re_string_wchar_at): Likewise.
17833 (bitset_not, bitset_merge, bitset_mask): Likewise.
17834 [!(__GNUC__ > 3)] (inline): Remove macro.
17835 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17836 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17837 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17838 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17839 * string/memcmp.c (memcmp_bytes): Likewise.
17840 * locale/programs/locarchive.c (compute_hashval): Likewise.
17841 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17842 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17843 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17844 * nss/getent.c (print_rpc, print_protocols): Likewise.
17845 (print_passwd, print_group, print_aliases): Likewise.
17846 * nis/nss-nisplus.h (niserr2nss): Likewise.
17847 * nscd/connections.c (restart_p): Likewise.
17848 Change return type to bool.
17849
eab55bfb
RM
178502013-02-05 Roland McGrath <roland@hack.frob.com>
17851
7bd642f5
RM
17852 * Makeconfig (all-Depend-files): Add existing
17853 $(sorted-subdirs:=/Depend) files.
17854 (all-subdirs): Remove nss.
17855 * sysdeps/unix/inet/Subdirs: Add it here instead.
17856 * hesiod/Depend: New file.
17857
573c29b2
RM
17858 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17859 instead of calling alloca.
17860
b2e25af0
RM
17861 * io/lseek.c (__lseek): Rename to __libc_lseek.
17862 Define __lseek as an alias.
17863
eab55bfb
RM
17864 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17865
9a0d1941
CD
178662013-02-04 Carlos O'Donell <carlos@redhat.com>
17867
17868 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17869 else clause and remove check for non-standard endianness.
17870
b83bbec4
DM
178712013-02-04 David S. Miller <davem@davemloft.net>
17872
17873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17874
6277fdab
JM
178752013-02-04 Joseph Myers <joseph@codesourcery.com>
17876
17877 [BZ #13550]
17878 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17879 (__ubp_memchr): Remove prototype.
17880 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17881 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17882 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17883 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17884 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17885 Remove alias.
17886 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17887 (__ubp_memchr): Likewise.
17888 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17889 (__ubp_memchr): Likewise.
17890 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17891 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17892 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17893 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17894 CHECK_STRING.
17895 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17896 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17897 (__getcwd): Do not use CHECK_STRING.
17898 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17899 <bp-checks.h>.
17900 (__real_chown): Do not use CHECK_STRING.
17901 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17902 <bp-checks.h>.
17903 (fchownat): Do not use CHECK_STRING.
17904 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17905 CHECK_STRING.
17906 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17907 <bp-checks.h>.
17908 (__lchown): Do not use CHECK_STRING.
17909 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17910 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17911 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17912 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17914 include <bp-checks.h>.
17915 (truncate64): Do not use CHECK_STRING.
17916 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17917 <bp-checks.h>.
17918 (__real_chown): Do not use CHECK_STRING.
17919 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17920 <bp-checks.h>.
17921 (__lchown): Do not use CHECK_STRING.
17922 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17923 <bp-checks.h>.
17924 (__chown): Do not use CHECK_STRING.
17925 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17926 <bp-checks.h>.
17927 (truncate64): Do not use CHECK_STRING.
17928 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17929 Likewise.
17930 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17931 (__xmknod): Do not use CHECK_STRING.
17932 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17933 <bp-checks.h>.
17934 (__xmknodat): Do not use CHECK_STRING.
17935 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17936 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17937
903ae060
AS
179382013-02-04 Andreas Schwab <schwab@suse.de>
17939
17940 [BZ #14142]
17941 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17942 * include/netdb.h: Likewise for h_errno.
17943 * elf/tst-stackguard1.c: Include <tls.h>.
17944
542f9466
JK
179452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17946
17947 * elf/link.h (struct link_map): Extend the l_addr comment.
17948 * include/link.h (struct link_map): Likewise.
17949
e782a927
JM
179502013-02-01 Joseph Myers <joseph@codesourcery.com>
17951
17952 [BZ #13550]
17953 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17954 (BOUNDED_1): Remove macro.
17955 * debug/backtrace.c: Don't include <bp-checks.h>.
17956 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17957 (__backtrace): Likewise.
17958 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17959 <bp-checks.h>.
17960 (__backtrace): Don't use BOUNDED_1.
17961 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17962 <bp-checks.h>.
17963 (__backtrace): Don't use BOUNDED_1.
17964 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17965 (__backtrace): Don't use BOUNDED_1.
17966 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17967 (shmat): Don't use BOUNDED_N.
17968
8cf28c5e
JM
179692013-01-31 Joseph Myers <joseph@codesourcery.com>
17970
3a7ac8a0
JM
17971 [BZ #13550]
17972 * sysdeps/generic/bp-start.h: Remove file.
17973 * csu/libc-start.c: Don't include <bp-start.h>.
17974 (LIBC_START_MAIN): Set up __environ directly instead of using
17975 INIT_ARGV_and_ENVIRON.
17976 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17977 <bp-start.h>.
17978
f3499f95
JM
17979 [BZ #13550]
17980 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17981 definitions.
17982 (CHECK_FCNTL): Likewise.
17983 (CHECK_N_PAGES): Likewise.
17984
32a45bea
JM
17985 [BZ #13550]
17986 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17987 definitions.
17988 (CHECK_SIGSET_NULL_OK): Likewise.
17989 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17990 <bp-checks.h>.
17991 (sigpending): Don't use CHECK_SIGSET.
17992 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17993 <bp-checks.h>.
17994 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17995 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17996 <bp-checks.h>.
17997 (do_sigsuspend): Don't use CHECK_SIGSET.
17998 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17999 use CHECK_SIGSET.
18000 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18001 (do_sigwait): Don't use CHECK_SIGSET.
18002 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18003 use CHECK_SIGSET.
18004 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18005 include <bp-checks.h>.
18006 (sigpending): Don't use CHECK_SIGSET.
18007 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18008 include <bp-checks.h>.
18009 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18010 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18011 <bp-checks.h>.
18012 (sigpending): Don't use CHECK_SIGSET.
18013 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18014 <bp-checks.h>.
18015 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18016
2e8a5c8c
JM
18017 [BZ #13550]
18018 * sysdeps/generic/bp-semctl.h: Remove file.
18019 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18020 <bp-checks.h> and <bp-semctl.h>.
18021 (__old_semctl): Don't use CHECK_SEMCTL.
18022 (__new_semctl): Likewise.
18023 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18024 and <bp-semctl.h>.
18025 (__old_semctl): Don't use CHECK_SEMCTL.
18026 (__new_semctl): Likewise.
18027 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18028 <bp-checks.h> and <bp-semctl.h>.
18029 (__old_semctl): Don't use CHECK_SEMCTL.
18030 (__new_semctl): Likewise.
18031 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18032 <bp-checks.h> and <bp-semctl.h>.
18033 (semctl): Don't use CHECK_SEMCTL.
18034
c2d54929
JM
18035 [BZ #13550]
18036 * Makerules (elide-bp-thunks): Remove variable.
18037 (elide-routines.oS): Don't use $(elide-bp-thunks).
18038 (elide-routines.os): Likewise.
18039 (elide-routines.o): Likewise.
18040 (elide-routines.op): Likewise.
18041 (elide-routines.og): Likewise.
18042 (objects): Don't use $(bp-thunks).
18043 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18044 include.
18045 (common-generated): Do not add s-proto-bp.d.
18046 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18047 (int): Likewise.
18048 (typ): Likewise.
18049 Do not generate makefile rules for bounded-pointer thunks.
18050 * sysdeps/generic/bp-thunks.h: Remove file.
18051 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18052 * sysdeps/unix/s-proto-bp.S: Likewise.
18053
8cf28c5e
JM
18054 [BZ #15062]
18055 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18056 parts of result separately when argument is not close to line from
18057 -i to i and one part of argument is small.
18058 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18059 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18060 * math/libm-test.inc (cacos_test): Add more tests.
18061 (casin_test): Likewise.
18062 (casinh_test): Likewise.
18063 * sysdeps/i386/fpu/libm-test-ulps: Update.
18064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18065
c4e33b8d
DM
180662013-01-31 David S. Miller <davem@davemloft.net>
18067
18068 * po/de.po: Update from translation team.
18069
3b60b421
MK
180702013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18071
18072 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18073
bb931195
TS
180742013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18075
b5a5da23
TS
18076 * configure.in (_AC_PROG_CC_C89): New definition.
18077 * configure: Regenerate.
18078
bb931195
TS
18079 * configure.in (AC_PROG_CPP): New definition.
18080 * configure: Regenerate.
18081
8c53a12c
JM
180822013-01-23 Joseph Myers <joseph@codesourcery.com>
18083
18084 * debug/tst-backtrace.h: New file.
18085 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18086 (ret): Remove variable.
18087 (x): Likewise.
18088 (FAIL): Remove macro.
18089 (NO_INLINE): Likewise.
18090 (fn1): Use match function instead of strstr.
18091 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18092 (ret): Remove variable.
18093 (x): Likewise.
18094 (FAIL): Remove macro.
18095 (NO_INLINE): Likewise.
18096 (fn): Use match function instead of strstr.
18097 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18098 (ret): Remove variable.
18099 (x): Likewise.
18100 (FAIL): Remove macro.
18101 (NO_INLINE): Likewise.
18102 (handle_signal): Use match function instead of strstr.
18103 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18104 (ret): Remove variable.
18105 (x): Likewise.
18106 (FAIL): Remove macro.
18107 (NO_INLINE): Likewise.
18108 (handle_signal): Use match function instead of strstr.
18109
4858fa2a
RM
181102013-01-23 Roland McGrath <roland@hack.frob.com>
18111
18112 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18113
bae8e7f5
DM
181142013-01-23 David S. Miller <davem@davemloft.net>
18115
18116 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18117 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18118 argument of CAS if possible.
18119 * sysdeps/sparc/sparc64/bits/atomic.h
18120 (__arch_compare_and_exchange_val_32_acq): Likewise.
18121 (__arch_compare_and_exchange_val_64_acq): Likewise.
18122
9cbbc4ae
PT
181232013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18124
18125 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18126 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18127 Include <limits.h>.
67b3f58c 18128 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18129
5655a0b5
AC
181302013-01-23 Adam Conrad <adconrad@0c3.net>
18131
18132 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18133 (LDFLAGS-tst-array5): Likewise.
18134
052aff95
JM
181352013-01-23 Joseph Myers <joseph@codesourcery.com>
18136
18137 [BZ #15036]
18138 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18139 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18140 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18141 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18142
7c1e01aa
DM
181432013-01-21 David S. Miller <davem@davemloft.net>
18144
18145 * sysdeps/sparc/backtrace.c: New file.
18146 * sysdeps/sparc/sparc32/backtrace.h: New file.
18147 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18148 * sysdeps/sparc/sparc64/backtrace.h: New file.
18149 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18150 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18151 -funwind-tables.
18152
ab087e0a
AS
181532013-01-21 Andreas Schwab <schwab@suse.de>
18154
18155 [BZ #15020]
18156 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18157 closed its stdout.
18158
ed689c2f
AS
181592013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18160
18161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18162 "mpa2.h".
18163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18164
31d470ac
JM
181652013-01-18 Joseph Myers <joseph@codesourcery.com>
18166 Mark Mitchell <mark@codesourcery.com>
18167 Tom de Vries <tom@codesourcery.com>
18168 Paul Pluzhnikov <ppluzhnikov@google.com>
18169
18170 * debug/tst-backtrace2.c: New file.
18171 * debug/tst-backtrace3.c: Likewise.
18172 * debug/tst-backtrace4.c: Likewise.
18173 * debug/tst-backtrace5.c: Likewise.
18174 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18175 (CFLAGS-tst-backtrace3.c): Likewise.
18176 (CFLAGS-tst-backtrace4.c): Likewise.
18177 (CFLAGS-tst-backtrace5.c): Likewise.
18178 (LDFLAGS-tst-backtrace2): Likewise.
18179 (LDFLAGS-tst-backtrace3): Likewise.
18180 (LDFLAGS-tst-backtrace4): Likewise.
18181 (LDFLAGS-tst-backtrace5): Likewise.
18182 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18183 tst-backtrace4 and tst-backtrace5.
18184
90567f30 181852013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18186 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18187
18188 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18189 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18190 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18191 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18193 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18194 "+r" and remove output regs list as redundant. Add explicit inline
18195 asm to specify register of return val to work around compiler codegen
18196 bug. Remove (int) cast on return value. Add return type parameter to
18197 use in macro so that this macro does not truncate return value for
18198 64-bit values.
18199 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18200 pass to INTERNAL_VSYSCALL_NCS.
18201 (INLINE_VSYSCALL): Add 'long int' as return type to
18202 INTERNAL_VSYSCALL_NCS macro invocation.
18203 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18204 INTERNAL_VSYSCALL_NCS macro invocation.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18206
d3b9ea61
SP
182072013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18208
0b57daeb
SP
18209 [BZ #14496]
18210 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18211 Fix application of SIMD FP exception mask.
18212
caa99d06
SP
18213 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18214 mp_no from a power of two.
18215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18216 __mpexp_twomm1. Use __pow_mp.
18217
d3b9ea61
SP
18218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18219 multiplication.
18220
1dbaee3c
DM
182212013-01-17 David S. Miller <davem@davemloft.net>
18222
18223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18224
728d7b43
JM
182252013-01-17 Joseph Myers <joseph@codesourcery.com>
18226
18227 [BZ #15023]
18228 * include/complex.h: Condition contents on [!_COMPLEX_H].
18229 (__kernel_casinhf): New prototype.
18230 (__kernel_casinh): Likewise.
18231 (__kernel_casinhl): Likewise.
18232 * math/Makefile (libm_calls): Add k_casinh.
18233 * math/k_casinh.c: New file.
18234 * math/k_casinhf.c: Likewise.
18235 * math/k_casinhl.c: Likewise.
18236 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18237 finite nonzero arguments.
18238 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18239 finite nonzero arguments.
18240 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18241 finite nonzero arguments.
18242 * math/s_casinh.c: Do not include <float.h>.
18243 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18244 * math/s_casinhf.c: Do not include <float.h>.
18245 (__casinhf): Move code for finite nonzero arguments to
18246 k_casinhf.c.
18247 * math/s_casinhl.c: Do not include <float.h>.
18248 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18249 redefine.
18250 (__casinhl): Move code for finite nonzero arguments to
18251 k_casinhl.c.
18252 * math/libm-test.inc (cacos_test): Add more tests.
18253 * sysdeps/i386/fpu/libm-test-ulps: Update.
18254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18255
2a26ef3a
PT
182562013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18257
18258 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18259 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18260 [!HAVE_MREMAP]: Remove [defined linux] case.
18261 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18262
a897655d
SP
182632013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18264
18265 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18266
881ebe89 182672013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18268
18269 * elf/elf.h (R_386_SIZE32): New relocation.
18270 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18271 R_386_SIZE32.
18272 (elf_machine_rela): Likewise.
18273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18274 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18275
59981e9b
JM
182762013-01-17 Joseph Myers <joseph@codesourcery.com>
18277
18278 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18279 (FP_FAST_FMA): Do not define.
18280 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18281 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18282 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18283 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18284 !_SOFT_FLOAT]: Likewise.
18285 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18286 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18287 value.
18288 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18289 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18291 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18292 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18293 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18294 file.
18295
cfa8054f
AS
182962013-01-16 Andreas Schwab <schwab@suse.de>
18297
18298 [BZ #14327]
18299 * include/stdlib.h (__mktemp): Add declaration.
18300 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18301 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18302
dd930cc5
SP
183032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
881ebe89
SP
18305 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18306 definitions.
18307 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18308 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18309 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18310 definitions here.
18311 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18312 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18313 definitions.
18314 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18315 and ONE.
18316 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18317 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18318 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18319 definitions.
18320 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18321 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18322 definitions.
18323 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18324
dd930cc5
SP
18325 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18326
c19a9f89
DM
183272013-01-15 David S. Miller <davem@davemloft.net>
18328
1aa61767
DM
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18330 trunc{,f} to libm-sysdep_routes.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18333 file.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18336 file.
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18338 file.
18339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18341 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18345 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18347
c42d5e98
DM
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18349 nearbyint{,f} to libm-sysdep_routes.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18352 New file.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18354 file.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18356 New file.
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18358 file.
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18362 file.
18363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18365 file.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18367 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18368 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18369
c19a9f89
DM
18370 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18371 libc_feholdexcept and libc_fesetenv.
18372
357679d2
MF
183732013-01-15 Mike Frysinger <vapier@gentoo.org>
18374
18375 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18376
65a82e3d
DM
183772013-01-14 David S. Miller <davem@davemloft.net>
18378
8b954ab9
DM
18379 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18380 (SPARC_ASM_VIS2_IFUNC): Likewise.
18381 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18383 use of 'siam' instruction.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18385 Likewise.
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18387 Likewise.
18388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18389 Likewise.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18395 file.
18396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18397 file.
18398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18399 file.
18400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18401 file.
18402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18407 new VIS2 routines.
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18411 Likewise.
18412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18417 routines to libm-sysdep_routines.
18418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18419
65a82e3d
DM
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18421 fdim/fdimf to libm-sysdep_routines.
18422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18423 file.
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18426 file.
18427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18430 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18431 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18432 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18433 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18434
e34ab705
SP
184352013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18436
2a91b573
SP
18437 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18438 to optimize copies.
18439
1066a534
SP
18440 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18443
e34ab705
SP
18444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18445 local variable MPTWO.
18446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18447 Likewise.
18448
aba5e596
MF
184492013-01-13 Mike Frysinger <vapier@gentoo.org>
18450
18451 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18452 GLOB_NOESCAPE.
18453
e557e9e5
MF
184542013-01-13 Mike Frysinger <vapier@gentoo.org>
18455
18456 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18457
0428cec9
MF
184582013-01-13 Mike Frysinger <vapier@gentoo.org>
18459
18460 * manual/pattern.texi (glob_t): Document gl_flags.
18461 (glob64_t): Likewise.
18462
8794a964
DM
184632013-01-11 David S. Miller <davem@davemloft.net>
18464
66438c3f
RM
18465 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18466 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18467 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18468 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18469 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18470 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18471 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18472 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18473 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18474 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18475 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18476 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18477 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18478
4ae4244d
DM
18479 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18480 sparc V9 rather than using V8 code.
18481 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18482 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18483
8794a964
DM
18484 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18485 Move to...
18486 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18487 Here.
18488
6270516e
RM
184892013-01-11 Roland McGrath <roland@hack.frob.com>
18490
18491 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18492 not in the main loop.
18493 * configure: Regenerated.
18494
6a57d931
JM
184952013-01-11 Joseph Myers <joseph@codesourcery.com>
18496
18497 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18498 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18499 to just #else.
18500 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18501 [!__GLIBC_HAVE_LONG_LONG] case.
18502 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18503 condition to just #else.
18504 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18505 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18506 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18507 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18508 unconditional.
18509 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18510 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18511 #elif condition to just #else.
18512 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18513 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18514 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18515 #elif condition to just #else.
18516
0e8529e9
SE
185172013-01-11 Steve Ellcey <sellcey@mips.com>
18518
18519 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18520 (EF_MIPS_ARCH_64): Fix value.
18521 (EF_MIPS_ARCH_32R2): New.
18522 (EF_MIPS_ARCH_64R2): New.
18523
740b3dbe
L
185242013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18525
18526 * Makeconfig (+link-pie-before-libc): New.
18527 (+link-pie-after-libc): Likewise.
18528 (+link-pie-tests): Likewise.
18529 (+link-pie): Rewritten.
18530 (link-before-libc): Remove $(config-LDFLAGS).
18531 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18532 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18533 (config-LDFLAGS): Renamed to ...
18534 (rtld-LDFLAGS): This.
18535 (rtld-tests-LDFLAGS): New macro.
18536 (link-libc-rpath-link): Likewise.
18537 (link-libc-tests-rpath-link): Likewise.
18538 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18539 (link-libc): Prepand $(link-libc-rpath-link).
18540 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18541 (test-program-prefix): New macro.
18542 (test-via-rtld-prefix): Likewise.
18543 (test-program-cmd): Likewise.
18544 (host-test-program-cmd): Likewise.
18545 * Makefile ($(common-objpfx)testrun.sh): Replace
18546 $(run-program-prefix) with $(test-program-prefix).
18547 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18548 $(rtld-LDFLAGS).
18549 ($(common-objpfx)shlib.lds): Likewise.
18550 (build-module-helper): Likewise.
18551 ($(common-objpfx)format.lds): Likewise.
18552 * Rules (binaries-pie-tests): New.
18553 (binaries-pie-notests): Likewise.
18554 (binaries-pie): Rewritten.
18555 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18556 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18557 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18558 (make-test-out): Replace $(host-built-program-cmd) with
18559 $(host-test-program-cmd).
18560 * config.make.in (build-hardcoded-path-in-tests): New variable.
18561 * configure.in (--enable-hardcoded-path-in-tests): New configure
18562 option.
18563 (hardcoded_path_in_tests): New AC_SUBST.
18564 * configure: Regenerated.
18565 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18566 $(built-program-cmd) with $(test-program-cmd).
18567 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18568 (test_program_cmd): This.
18569 * elf/Makefile ($(objpfx)order.out): Run test with
18570 $(test-program-prefix).
18571 ($(objpfx)order2.out): Likewise.
18572 ($(objpfx)tst-initorder.out): Likewise.
18573 ($(objpfx)tst-initorder2.out): Likewise.
18574 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18575 $(test-program-cmd).
18576 ($(objpfx)tst-array1-static.out): Likewise.
18577 ($(objpfx)tst-array2.out): Likewise.
18578 ($(objpfx)tst-array3.out): Likewise.
18579 ($(objpfx)tst-array4.out): Likewise.
18580 ($(objpfx)tst-array5.out): Likewise.
18581 ($(objpfx)tst-array5-static.out): Likewise.
18582 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18583 $(test-program-cmd).
18584 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18585 $(run-program-prefix) with $(test-program-prefix).
18586 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18587 (test_program_prefix): This.
18588 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18589 $(run-program-prefix) with $(test-program-prefix).
18590 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18591 (test_program_prefix): This.
18592 * iconvdata/tst-tables.sh: Likewise.
18593 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18594 $(run-program-prefix) with $(test-program-prefix).
18595 ($(objpfx)tst-translit.out): Likewise.
18596 ($(objpfx)tst-gettext2.out): Likewise.
18597 ($(objpfx)tst-gettext4.out): Likewise.
18598 ($(objpfx)tst-gettext6.out): Likewise.
18599 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18600 (test_program_prefix): This.
18601 * intl/tst-gettext2.sh: Likewise.
18602 * intl/tst-gettext4.sh Likewise.
18603 * intl/tst-gettext6.sh: Likewise.
18604 * intl/tst-translit.sh: Likewise.
18605 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18606 with $(test-program-cmd).
18607 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18608 $(run-program-prefix) with $(test-program-prefix).
18609 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18610 (test_program_prefix): This.
18611 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18612 $(run-program-prefix) with $(test-program-prefix).
18613 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18614 (test_program_prefix): This.
18615 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18616 * posix/Makefile ($(objpfx)globtest.out): Replace
18617 $(run-via-rtld-prefix) and $(test-wrapper) with
18618 $(test-program-prefix) and $(test-via-rtld-prefix).
18619 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18620 $(test-program-prefix).
18621 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18622 $(host-test-program-cmd).
18623 (tst-spawn-ARGS): Likewise.
18624 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18625 $(test-program-prefix).
18626 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18627 (test_via_rtld_prefix): This.
18628 (test_wrapper): Renamed to ...
18629 (test_program_prefix): This.
18630 (run_program_prefix): Replaced by test_program_prefix.
18631 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18632 (test_program_prefix): This.
18633 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18634 with $(host-test-program-cmd).
18635 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18636 $(run-program-prefix) with $(test-program-prefix).
18637 ($(objpfx)tst-printf.out): Likewise.
18638 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18639 $(test-program-cmd).
18640 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18641 (test_program_prefix): This.
18642 * stdio-common/tst-unbputc.sh: Likewise.
18643 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18644 $(run-program-prefix) with $(test-program-prefix).
18645 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18646 (test_program_prefix): This.
18647 * string/Makefile ($(objpfx)tst-svc.out): Replace
18648 $(built-program-cmd) with $(test-program-cmd).
18649
c6fe55cf
AJ
186502013-01-11 Andreas Jaeger <aj@suse.de>
18651
18652 [BZ #15003]
18653 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18654 value. Sync with Linux 3.7.
18655
9e6919c8
DM
186562013-01-10 David S. Miller <davem@davemloft.net>
18657
18658 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18659 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18660 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18661
1c9f1a02
RM
186622013-01-10 Roland McGrath <roland@hack.frob.com>
18663
18664 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18665 never set.
18666 * configure: Regenerated.
18667
b9de2dde
DM
186682013-01-10 David S. Miller <davem@davemloft.net>
18669
18670 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18671 sparc V9 rather than using V8 code.
18672 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18673 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18674
e7f68ef4
RM
186752013-01-10 Roland McGrath <roland@hack.frob.com>
18676
18677 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18678 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18679 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18680 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18681 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18682 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18683 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18684 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18685 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18686 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18687 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18688 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18689 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18690 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18691 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18692 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18693 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18694 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18695 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18696 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18697 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18698 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18699 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18700 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18701 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18702 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18703 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18704
5a47cc9c
DM
187052013-01-10 David S. Miller <davem@davemloft.net>
18706
18707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18708
4cf8f209
L
187092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18710
18711 * posix/Makefile (tests-static): New variable.
18712 (tests): Add $(tests-static).
18713 (tst-exec-static-ARGS): New variable.
18714 (tst-spawn-static-ARGS): Likewise.
18715 * posix/tst-exec-static.c: New file.
18716 * posix/tst-spawn-static.c: Likewise.
18717 * posix/tst-exec.c: Support run directly.
18718 * posix/tst-spawn.c: Likewise.
18719
fed0faa1
JM
187202013-01-10 Joseph Myers <joseph@codesourcery.com>
18721
828beb13
JM
18722 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18723 long.
18724 * math/bits/mathcalls.h (llrint): Likewise.
18725 (llround): Likewise.
18726 * stdlib/stdlib.h (struct drand48_data): Likewise.
18727 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18728 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18730 Likewise.
18731 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18732 Likewise.
18733 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18734 (elf_greg_t): Likewise.
18735 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18736 (__jmp_buf): Likewise.
18737 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18738 definitions.
18739 (llrint): Likewise, for all definitions.
18740 (llrintl): Likewise.
18741
fed0faa1
JM
18742 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18743 Remove [__GNUC__] condition.
18744 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18745 condition to just [__USE_ISOC99].
18746 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18747
1a20cb20
L
187482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18749
18750 [BZ #14200]
18751 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18752 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18753 defined.
18754 (_POSIX_V6_ILP32_OFF32): Likewise.
18755 (_XBS5_ILP32_OFF32): Likewise.
18756 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18757 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18758
751b85f7
SP
187592013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18760
7490eb81
SP
18761 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18762
751b85f7
SP
18763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18764 doubles __mpexp_twomm1. Adjust usage.
18765 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18766 Remove.
18767
988197f0
AS
187682013-01-10 Andreas Schwab <schwab@suse.de>
18769
18770 [BZ #14964]
18771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18772 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18773
e83d7298
DM
187742013-01-09 David S. Miller <davem@davemloft.net>
18775
034ed64b 18776 [BZ #15003]
e83d7298
DM
18777 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18778 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18779 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18780 TCP_FASTOPEN): Define.
18781 (tcp_repair_opt): New structure.
18782 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18783 enum values.
18784 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18785 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18786 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18787 (tcp_cookie_transactions): New structure.
18788
d5e0b9bd
AB
187892013-01-09 Anton Blanchard <anton@samba.org>
18790
18791 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18792 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18793 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18795
0c07e3ea
JM
187962013-01-09 Joseph Myers <joseph@codesourcery.com>
18797
18798 * include/features.h (__USE_ANSI): Remove.
18799
232f7002
RM
188002013-01-09 Roland McGrath <roland@hack.frob.com>
18801
ad98e30c
RM
18802 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18803
232f7002
RM
18804 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18805
950c99ca
SP
188062013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18807
b5792741
SP
18808 * sysdeps/s390/fpu/libm-test-ulps: Update.
18809
47cf2278
SP
18810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18811
950c99ca
SP
18812 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18813 (__acr): Likewise.
18814 (__cpy): Likewise.
18815 (norm): Likewise.
18816 (denorm): Likewise.
18817 (__mp_dbl): Likewise.
18818 (__dbl_mp): Likewise.
18819 (add_magnitudes): Likewise.
18820 (sub_magnitudes): Likewise.
18821 (__add): Likewise.
18822 (__sub): Likewise.
18823 (__mul): Likewise.
18824 (__inv): Likewise.
18825 (__dvd): Likewise.
18826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18827 (__acr): Likewise.
18828 (__cpy): Likewise.
18829 (norm): Likewise.
18830 (denorm): Likewise.
18831 (__mp_dbl): Likewise.
18832 (__dbl_mp): Likewise.
18833 (add_magnitudes): Likewise.
18834 (sub_magnitudes): Likewise.
18835 (__add): Likewise.
18836 (__sub): Likewise.
18837 (__mul): Likewise.
18838 (__inv): Likewise.
18839 (__dvd): Likewise.
18840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18841 (__acr): Likewise.
18842 (__cpy): Likewise.
18843 (norm): Likewise.
18844 (denorm): Likewise.
18845 (__mp_dbl): Likewise.
18846 (__dbl_mp): Likewise.
18847 (add_magnitudes): Likewise.
18848 (sub_magnitudes): Likewise.
18849 (__add): Likewise.
18850 (__sub): Likewise.
18851 (__mul): Likewise.
18852 (__inv): Likewise.
18853 (__dvd): Likewise.
18854
eede9df9
JM
188552013-01-08 Joseph Myers <joseph@codesourcery.com>
18856
18857 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18858 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18859 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18860 2 && __USE_EXTERN_INLINES]: Likewise.
18861
c40ea3d9
AJ
188622013-01-08 Andreas Jaeger <aj@suse.de>
18863
18864 [BZ# 14985]
18865 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18866 Remove.
18867 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18868 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18869
2ccdea26
AB
188702013-01-07 Anton Blanchard <anton@samba.org>
18871
18872 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18873 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18874 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18875 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18876 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18877 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18878 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18879 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18881 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18882 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18883 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18884 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18885 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18886 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18887 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18888 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18889 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18895 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18896 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18897 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18898 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18899 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18901 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18902 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18904 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18905 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18906 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18908 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18910 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18914 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18915
a9708fed
JM
189162013-01-07 Joseph Myers <joseph@codesourcery.com>
18917
375607b9
JM
18918 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18919 (__MALLOC_PMT): Likewise.
18920 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18921 [__GNUC__], only on [_LIBC].
18922 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18923 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18924 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18925 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18926 forward declaration.
18927 (realloc_hook_ini): Likewise.
18928 (memalign_hook_ini): Likewise.
18929 (__libc_memalign): Do not use __MALLOC_PMT in variable
18930 declaration.
18931 (__libc_valloc): Likewise.
18932 (__libc_pvalloc): Likewise.
18933 (__libc_calloc): Likewise.
18934 (__posix_memalign): Likewise.
18935
a9708fed
JM
18936 [BZ #14996]
18937 * math/s_casinh.c: Include <float.h>.
18938 (__casinh): Do not do computation with squaring and square root
18939 for large arguments.
18940 * math/s_casinhf.c: Include <float.h>.
18941 (__casinhf): Do not do computation with squaring and square root
18942 for large arguments.
18943 * math/s_casinhl.c: Include <float.h>.
18944 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18945 (__casinhl): Do not do computation with squaring and square root
18946 for large arguments.
18947 * math/libm-test.inc (casin_test): Add more tests.
18948 (casinh_test): Likewise.
18949 * sysdeps/i386/fpu/libm-test-ulps: Update.
18950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18951
afec409a
L
189522013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18953
18954 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18955 (__x86_64_raw_data_cache_size): Likewise.
18956 (__x86_64_data_cache_size_half): Likewise.
18957 (__x86_64_raw_data_cache_size_half): Likewise.
18958 (__x86_64_shared_cache_size): Likewise.
18959 (__x86_64_raw_shared_cache_size): Likewise.
18960 (__x86_64_shared_cache_size_half): Likewise.
18961 (__x86_64_raw_shared_cache_size_half): Likewise.
18962 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18963 to ...
18964 (__x86_data_cache_size): This.
18965 (__x86_64_raw_data_cache_size): Renamed to ...
18966 (__x86_raw_data_cache_size): This.
18967 (__x86_64_data_cache_size_half): Renamed to ...
18968 (__x86_data_cache_size_half): This.
18969 (__x86_64_raw_data_cache_size_half): Renamed to ...
18970 (__x86_raw_data_cache_size_half): This.
18971 (__x86_64_shared_cache_size): Renamed to ...
18972 (__x86_shared_cache_size): This.
18973 (__x86_64_raw_shared_cache_size): Renamed to ...
18974 (__x86_raw_shared_cache_size): This.
18975 (__x86_64_shared_cache_size_half): Renamed to ...
18976 (__x86_shared_cache_size_half): This.
18977 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18978 (__x86_raw_shared_cache_size_half): This.
18979 * sysdeps/x86_64/memcpy.S: Updated.
18980 * sysdeps/x86_64/memset.S: Likewise.
18981 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18984
0b3986d0
DM
189852013-01-04 David S. Miller <davem@davemloft.net>
18986
18987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18988
e47686e9
AS
189892013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18990
d643bac1
AS
18991 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18992 1 to avoid redefinition warning.
18993 (__USE_GNU): Don't define.
18994 (init_signaling_nan): Protoize.
18995
e47686e9
AS
18996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18997
b18decba
SP
189982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
fffb407f
SP
19000 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19002 (__cpymn): Likewise.
19003 (norm): Remove commented code.
19004 (denorm): Likewise.
19005 (__mp_dbl): Likewise.
19006 (__inv): Likewise.
19007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19008 (__cpymn): Likewise.
19009 (norm): Remove commented code.
19010 (denorm): Likewise.
19011 (__mp_dbl): Likewise.
19012 (__inv): Likewise.
19013
b18decba
SP
19014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19015 mp_no value for 1.0 and 2.0.
19016 (norm): Use RADIXI instead of radixi.d.
19017 (denorm): Likewise.
19018 (__mul): Use 0.0 instead of zero.d.
19019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19020 mp_no value for 1.0 and 2.0.
19021 (norm): Use RADIXI instead of radixi.d.
19022 (denorm): Likewise.
19023 (__mul): Use 0.0 instead of zero.d.
19024
cdc1c96f
JM
190252013-01-04 Joseph Myers <joseph@codesourcery.com>
19026
19027 [BZ #14994]
19028 * math/s_casinh.c (__casinh): Reduce finite argument to first
19029 quadrant then set signs of results at the end.
19030 * math/s_casinhf.c (__casinhf): Likewise.
19031 * math/s_casinhl.c (__casinhl): Likewise.
19032 * math/libm-test.inc (casin_test): Add more tests.
19033 (casinh_test): Likewise.
19034 * sysdeps/i386/fpu/libm-test-ulps: Update.
19035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19036
302913e1
SP
190372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19038
6420d207
SP
19039 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19040
a9e48ab4
SP
19041 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19042
b7837264
SP
19043 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19044 declarations.
19045 (denorm): Likewise.
19046 (__mp_dbl): Likewise.
19047 (__inv): Likewise.
19048
f8af25d2
SP
19049 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19050 and adjust the header comment.
19051
302913e1
SP
19052 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19053 variable name from declaration.
19054
5d7dd1ca
L
190552013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19056
19057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19058 Initialize COMMON_CPUID_INDEX_7 element.
19059 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19060 (CPUID_RTM): Likewise.
19061 (HAS_RTM): Likewise.
19062 (COMMON_CPUID_INDEX_7): New enum.
19063
2f5f40f4
AS
190642013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19065
19066 [BZ #14981]
19067 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19068 size is zero, record memory as freed.
19069
4056f4a0
AJ
190702013-01-03 Andreas Jaeger <aj@suse.de>
19071
19072 * po/ia.po: Add new Interlingua translation.
19073
ab15736f 190742012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19075
19076 * locale/programs/localedef.c: Fix description of '--posix' flag.
19077
568035b7
JM
190782013-01-02 Joseph Myers <joseph@codesourcery.com>
19079
e6898b8d
JM
19080 * NEWS: Update dates in second copyright notice.
19081 * README: Update copyright dates in example.
19082 * manual/libc.texinfo: Update copyright dates.
19083 * scripts/test-installation.pl: Update copyright date in --version
19084 output.
19085
0e2f9562
JM
19086 * hurd/ctty-input.c: Fix copyright notice formatting.
19087 * hurd/ctty-output.c: Likewise.
19088 * hurd/dtable.c: Likewise.
19089 * hurd/hurd-raise.c: Likewise.
19090 * hurd/hurdprio.c: Likewise.
19091 * hurd/msgportdemux.c: Likewise.
19092 * misc/sys/file.h: Likewise.
19093 * misc/sys/ioctl.h: Likewise.
19094 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19095 * sysdeps/mach/hurd/chdir.c: Likewise.
19096 * sysdeps/mach/hurd/fchdir.c: Likewise.
19097 * sysdeps/mach/hurd/rename.c: Likewise.
19098 * sysdeps/mach/hurd/rmdir.c: Likewise.
19099 * sysdeps/mach/hurd/seekdir.c: Likewise.
19100 * sysdeps/mach/hurd/setsid.c: Likewise.
19101 * sysdeps/posix/wait3.c: Likewise.
19102
568035b7
JM
19103 * All files with FSF copyright notices: Update copyright dates
19104 using scripts/update-copyrights.
19105 * intl/plural.c: Regenerated.
19106 * locale/programs/charmap-kw.h: Likewise.
19107 * locale/programs/locfile-kw.h: Likewise.
19108
da08f647
SP
191092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19110
0f5477af
SP
19111 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19112 four values.
19113
44e0d4c2
SP
19114 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19115 calculation loop and add branch prediction.
19116
4d55b4e5
SP
19117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19118 check access beyond bounds of m1np.
19119
da08f647
SP
19120 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19121 MPTWO.
19122 (__inv): Remove local variable MPTWO to use the global
19123 constant.
19124 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19125 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19126 variable MPTWO.
19127 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19128 MP3HALFS static const.
19129
8e051029
DM
191302013-01-01 David S. Miller <davem@davemloft.net>
19131
19132 * po/ca.po: Update from translation team.
19133
f4cf5f2d
JM
191342013-01-01 Joseph Myers <joseph@codesourcery.com>
19135
19136 * scripts/update-copyrights: New file.
19137 * Makeconfig: Reformat copyright notice.
19138 * ctype/ctype.h: Likewise.
19139 * debug/swprintf_chk.c: Likewise.
19140 * elf/dl-cache.c: Likewise.
19141 * elf/dl-debug.c: Likewise.
19142 * elf/dl-object.c: Likewise.
19143 * grp/initgroups.c: Likewise.
19144 * hurd/Makefile: Likewise.
19145 * hurd/hurd/signal.h: Likewise.
19146 * hurd/hurdfault.c: Likewise.
19147 * hurd/hurdioctl.c: Likewise.
19148 * hurd/hurdlookup.c: Likewise.
19149 * hurd/intr-msg.c: Likewise.
19150 * iconv/gconv_open.c: Likewise.
19151 * libio/swprintf.c: Likewise.
19152 * locale/lc-ctype.c: Likewise.
19153 * locale/nl_langinfo.c: Likewise.
19154 * mach/Machrules: Likewise.
19155 * mach/Makefile: Likewise.
19156 * malloc/obstack.h: Likewise.
19157 * manual/Makefile: Likewise.
19158 * manual/tsort.awk: Likewise.
19159 * misc/bits/stab.def: Likewise.
19160 * nis/nis_print_group_entry.c: Likewise.
19161 * nis/nis_table.c: Likewise.
19162 * nis/nss_compat/compat-pwd.c: Likewise.
19163 * nis/nss_compat/compat-spwd.c: Likewise.
19164 * po/Makefile: Likewise.
19165 * posix/fnmatch.c: Likewise.
19166 * posix/regex.h: Likewise.
19167 * resolv/Makefile: Likewise.
19168 * resolv/nss_dns/dns-network.c: Likewise.
19169 * resolv/res_hconf.c: Likewise.
19170 * scripts/gen-sorted.awk: Likewise.
19171 * soft-fp/soft-fp.h: Likewise.
19172 * stdio-common/printf.h: Likewise.
19173 * stdlib/monetary.h: Likewise.
19174 * stdlib/random.c: Likewise.
19175 * stdlib/random_r.c: Likewise.
19176 * sysdeps/generic/Makefile: Likewise.
19177 * sysdeps/gnu/Makefile: Likewise.
19178 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19206 * sysdeps/mach/hurd/errnos.awk: Likewise.
19207 * sysdeps/mach/hurd/fork.c: Likewise.
19208 * sysdeps/mach/hurd/getcwd.c: Likewise.
19209 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19210 * sysdeps/mach/hurd/mmap.c: Likewise.
19211 * sysdeps/mach/hurd/utimes.c: Likewise.
19212 * sysdeps/mach/hurd/xmknod.c: Likewise.
19213 * sysdeps/posix/profil.c: Likewise.
19214 * sysdeps/posix/readdir_r.c: Likewise.
19215 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19216 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19217 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19218 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19220 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19221 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19224 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19225 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19226 * sysdeps/pthread/lio_listio.c: Likewise.
19227 * sysdeps/sparc/dl-procinfo.h: Likewise.
19228 * sysdeps/unix/i386/sysdep.S: Likewise.
19229 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19230 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19231 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19232 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19234 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19235 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19236 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19237 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19238 * sysdeps/wordsize-32/divdi3.c: Likewise.
19239 * time/sys/time.h: Likewise.
19240 * wcsmbs/Makefile: Likewise.
19241
0549fbba
DM
192422013-01-01 David S. Miller <davem@davemloft.net>
19243
a141f1a7
DM
19244 * po/fr.po: Update from translation team.
19245
0549fbba
DM
19246 * catgets/gencat.c: Update copyright year.
19247 * csu/version.c: Likewise.
19248 * debug/catchsegv.sh: Likewise.
19249 * debug/pcprofiledump.c: Likewise.
19250 * debug/xtrace.sh: Likewise.
19251 * elf/ldconfig.c: Likewise.
19252 * elf/ldd.bash.in: Likewise.
19253 * elf/pldd.c: Likewise.
19254 * elf/sotruss.ksh: Likewise.
19255 * elf/sprof.c: Likewise.
19256 * iconv/iconv_prog.c: Likewise.
19257 * iconv/iconvconfig.c: Likewise.
19258 * locale/programs/locale.c: Likewise.
19259 * locale/programs/localedef.c: Likewise.
19260 * login/programs/pt_chown.c: Likewise.
19261 * malloc/memusage.sh: Likewise.
19262 * malloc/memusagestat.c: Likewise.
19263 * malloc/mtrace.pl: Likewise.
19264 * nscd/nscd.c: Likewise.
19265 * nss/getent.c: Likewise.
19266 * nss/makedb.c: Likewise.
19267 * posix/getconf.c: Likewise.
19268
18ea052c
SP
192692012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19270
19271 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19272 numbers.
19273
9c89fca6
MF
192742012-12-30 Mike Frysinger <vapier@gentoo.org>
19275
19276 * math/bits/mathcalls.h (modf): Use __nonnull.
19277
085ec079
SP
192782012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19279
19280 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19281 (split): Use macro CN instead of the bare value.
19282 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19283 could be used.
19284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19285 instead of the bare value.
19286 (power1): Likewise.
19287
6d9f97e1
SP
192882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19289
d63f73be
SP
19290 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19291 __ATAN_TWOM.
19292 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19293
6d9f97e1
SP
19294 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19295 their values.
19296 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19297 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19298 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19299 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19300
4c4febf5
AJ
193012012-12-28 Andreas Jaeger <aj@suse.de>
19302
af5843ef
AJ
19303 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19304 values are from Linux 3.7.
19305
4c4febf5
AJ
19306 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19307 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19308
99136f82
SP
193092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19310
2f216c3c 19311 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19312 TRUE case.
19313
99136f82
SP
19314 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19315 (norm): Likewise.
19316 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19317 variables with preprocessor constants.
19318 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19319 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19321
7fffbdff
BH
193222012-12-27 Bruno Haible <bruno@clisp.org>
19323
19324 [BZ #14317]
19325 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19326 only if needed.
19327
b76eb5f0
SP
193282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19329
31a7fe5c
SP
19330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19331 and use variable directly.
19332 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19333
b76eb5f0
SP
19334 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19335 MPONE.
19336 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19337 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19338 variable MPONE.
19339 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19341 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19342 include directive. Remove local variable MPONE.
19343 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19344 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19345 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19346
2c8bfe7d
DM
193472012-12-25 David S. Miller <davem@davemloft.net>
19348
19349 * version.h (RELEASE): Set to "development".
19350 (VERSION): Set to "2.17.90".
19351 * NEWS: Add 2.18 section.
19352
147d03b0
DM
193532012-12-21 David S. Miller <davem@davemloft.net>
19354
19355 * po/hr.po: Update from translation team.
19356
a8ebb2b9
AK
193572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19358
19359 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19360
95b4f1b6
SE
193612012-12-19 Steve Ellcey <sellcey@mips.com>
19362
b2d94007 19363 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19364
cedb2a90
MS
193652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19366
19367 * manual/contrib.texi (Contributors): Spelling correction.
19368
bbf527d6
DM
193692012-12-15 David S. Miller <davem@davemloft.net>
19370
19371 * po/ru.po: Update from translation team.
19372
bc38c906
DM
193732012-12-13 David S. Miller <davem@davemloft.net>
19374
85429b1a
DM
19375 * NEWS: Mention IFUNC testsuite enhancements.
19376
d283e353
DM
19377 * po/pl.po: Update from translation team.
19378 * po/bg.po: Likewise.
19379
bc38c906
DM
19380 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19381 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19382
a181b0d7
DM
193832012-12-11 David S. Miller <davem@davemloft.net>
19384
4641d57e
DM
19385 * po/sv.po: Update from translation team.
19386
f7bc6495
DM
19387 * po/vi.po: Update from translation team.
19388
6fc9048f
DM
19389 * po/cs.po: Update from translation team.
19390
a181b0d7
DM
19391 * po/de.po: Update from translation team.
19392 * po/eo.po: Likewise.
19393 * po/nl.po: Likewise.
19394
f70bfe80
SP
193952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19396
3c8b4190
SP
19397 [BZ #14246]
19398 * manual/argp.texi (Argp Helper Functions): Move node to follow
19399 Argp Parsing State.
19400
f70bfe80
SP
19401 [BZ #14872]
19402 * manual/conf.texi (Limits on File System Capacity): Mention if
19403 terminating null is included in the max size.
19404
188f0adf
AJ
194052012-12-10 Andreas Jaeger <aj@suse.de>
19406
19407 * po/cs.po: Update from translation team.
19408
56e7d3ad
SP
194092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19410
19411 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19412 void pointer and cast to uintptr_t.
19413 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19414 path.
19415 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19416 * sysdeps/s390/s390-64/memset.S: Likewise.
19417
76f2d2ea 194182012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19419
19420 [BZ #14833]
19421 * menual/message.texi (Message Translation): Fix typos.
19422 (Helper programs for gettext): Likewise.
19423
67cbf9a2
AS
194242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19425
19426 [BZ #14898]
19427 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19428 Change to -1.
19429
682d0e9a
DM
194302012-12-07 David S. Miller <davem@davemloft.net>
19431
19432 * po/libc.pot: Update.
19433
573cd484
RH
194342012-12-07 Richard Henderson <rth@redhat.com>
19435
7e9da188 19436 [BZ #10114]
573cd484
RH
19437 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19438 normal/normal case to before the switch.
19439 (_FP_DIV): Likewise.
19440
e933a943
MF
194412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19442 Mike Frysinger <vapier@gentoo.org>
19443
19444 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19445 check for __NR_fadvise64_64.
19446
82123268
CM
194472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19448
19449 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19450 0, not just to plain "0" as a statement.
19451 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19452 with cw.
19453
d9814526
JM
194542012-12-06 Joseph Myers <joseph@codesourcery.com>
19455
19456 * NEWS: Use sourceware.org in Bugzilla URL.
19457
7728c574
SP
194582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19459
f16946dd
SP
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19461 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19462
5704bbcb
SP
19463 * stdio-common/tst-put-error.c (do_test): Add newline to the
19464 padded test to ensure flush.
19465
17aa0516
JL
194662012-12-05 Jeff Law <law@redhat.com>
19467
19468 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19469
363313b5
JM
194702012-12-05 Joseph Myers <joseph@codesourcery.com>
19471
effbd42a
JM
19472 * README: Don't refer to ports add-on as distributed separately.
19473 Mention AArch64 in list of systems supported in the ports add-on.
19474
87600365
JM
19475 * LICENSES: Add more non-FSF copyright and license notices.
19476
a0d7066a
JM
19477 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19478 ((unused)).
19479
66ca5a5b
JM
19480 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19481
363313b5
JM
19482 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19483 10000 as width of padded output.
19484
b37984ad
JM
194852012-12-04 Joseph Myers <joseph@codesourcery.com>
19486
9003570a
JM
19487 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19488
b37984ad
JM
19489 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19490 variable LX with __attribute__ ((unused)).
19491 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19492 Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19496 with __attribute__ ((unused)).
19497
c8df52ec
DM
194982012-12-04 David S. Miller <davem@abraco.davemloft.net>
19499
19500 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19501
b3b099af
JM
195022012-12-04 Joseph Myers <joseph@codesourcery.com>
19503
c33aa6e3
JM
19504 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19505 (CFLAGS-nldbl-acos.c): New variable.
19506 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19507 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19508 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19509 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19510 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19511 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19512 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19513 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19514 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19515 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19516 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19517 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19518 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19519 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19520 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19603
20f0018d
JM
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19605 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19606
b3b099af
JM
19607 [BZ #14914]
19608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19609 whole low double instead of just low 47 bits when splitting values
19610 into two parts.
19611
029264d1
AM
196122012-12-03 Allan McRae <allan@archlinux.org>
19613
19614 * manual/stdio.texi (Predefined Printf Handlers): Remove
19615 @hsep and @vsep usage.
19616
c9d6789e
MF
196172012-12-03 Mike Frysinger <vapier@gentoo.org>
19618
19619 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19620 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19621
4b7634a5
JL
196222012-12-03 Jeff Law <law@redhat.com>
19623
19624 * time/sys/time.h (settimeofday): Do not mark TV argument
19625 as __nonnull.
19626
eb6cbd24
MF
196272012-12-01 Mike Frysinger <vapier@gentoo.org>
19628
19629 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19630 when currently writing and seek to current position when not.
19631 * libio/Makefile (tests): Remove bug-fclose1.
19632 * libio/bug-fclose1.c: Delete.
19633
f638872a
JM
196342012-12-01 Joseph Myers <joseph@codesourcery.com>
19635
19636 * manual/arith.texi (feenableexcept): Fix typo.
19637 (fedisableexcept): Likewise.
19638
48085d14
RM
196392012-11-30 Roland McGrath <roland@hack.frob.com>
19640
19641 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19642 second, differently-typed declaration, rather than a cast.
19643
1a538b9f
SP
196442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19645
19646 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19647 * include/rpc/svc.h: ... here.
19648
d07f2ff1 196492012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19650
19651 [BZ #13013]
19652 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19653 depending n and resplen2 to catch cases where answer
19654 equals answerp2.
19655
c93ec1f0
CD
196562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19657
19658 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19659 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19660
37db69de
MF
196612012-11-29 Mike Frysinger <vapier@gentoo.org>
19662
19663 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19664
e10c4e4f
RM
196652012-11-29 Roland McGrath <roland@hack.frob.com>
19666
19667 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19668
2af1b328
JL
196692012-11-28 Jeff Law <law@redhat.com>
19670
19671 [BZ #13761]
19672 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19673 dataset_temporary. Track alloca usage into alloca_used.
19674 If dataset is large allocate and release it via malloc/free.
19675
111db5b1
FW
196762012-06-04 Florian Weimer <fweimer@redhat.com>
19677
f06cc227 19678 [BZ #14197]
111db5b1
FW
19679 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19680
dd694abd
DM
196812012-11-28 David S. Miller <davem@davemloft.net>
19682
19683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19684
9984dd01
JM
196852012-11-28 Joseph Myers <joseph@codesourcery.com>
19686
19687 [BZ #14803]
19688 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19689 of pi/2 rounded to nearest to 64 bits.
19690 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19691 nearest to 64 bits.
19692 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19693 bits.
19694
14bc93a9
JL
196952012-11-28 Jeff Law <law@redhat.com>
19696 Martin Osvald <mosvald@redhat.com>
19697
19698 [BZ #14889]
19699 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19700 * sunrpc/svc.c: Include time.h.
19701 (__svc_accept_failed): New function.
19702 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19703 any reason other than EINTR, call __svc_accept_failed.
19704 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19705 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19706
e3c6aa3a
AS
197072012-11-28 Andreas Schwab <schwab@suse.de>
19708
19709 * scripts/abilist.awk: Also handle indirect functions in .opd
19710 section.
19711
1bead169
JM
197122012-11-28 Joseph Myers <joseph@codesourcery.com>
19713
19714 [BZ #13881]
19715 * sysdeps/x86/fpu/powl_helper.c: New file.
19716 * sysdeps/x86/fpu/Makefile: Likewise.
19717 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19718 (p3): New object.
19719 (__ieee754_powl): Use __powl_helper for finite arguments except
19720 integer exponents below 8.
19721 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19722 (p3): New object.
19723 (__ieee754_powl): Use __powl_helper for finite arguments except
19724 integer exponents below 8.
19725 * math/libm-test.inc (pow_test): Add more tests and enable some
19726 previously disabled tests.
19727 * sysdeps/i386/fpu/libm-test-ulps: Update.
19728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19729
0817d63d
SP
197302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19731 Carlos O'Donell <carlos_odonell@mentor.com>
19732
19733 * nss/makedb.c (is_prime): Assert that input is odd and greater
19734 than 4. Note that fact in a comment too.
19735 (next_prime): Add 4 to input.
19736
de2fd463
SP
197372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19738
19739 [BZ #11741]
19740 * libio/Makefile (tests): Add test case tst-fwrite-error.
19741 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19742 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19743 * libio/tst-fwrite-error.c: New test case.
19744
c515fb51
L
197452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19746
19747 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19748 before casting to void *.
19749 * include/libc-internal.h (__pointer_type): New macro.
19750 (__integer_if_pointer_type_sub): Likewise.
19751 (__integer_if_pointer_type): Likewise.
19752 (cast_to_integer): Likewise.
19753 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19754 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19755 before casting to atomic64_t.
19756 (atomic_exchange_acq): Likewise.
19757 (__arch_exchange_and_add_body): Likewise.
19758 (__arch_add_body): Likewise.
19759 (atomic_add_negative): Likewise.
19760 (atomic_add_zero): Likewise.
19761
4cf77aa9
JM
197622012-11-26 Joseph Myers <joseph@codesourcery.com>
19763
19764 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19765 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19766 (add_fdes): Likewise.
19767 (linear_search_fdes): Likewise.
19768 (binary_search_unencoded_fdes): Likewise.
19769
d260b3b4
AS
197702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19771
19772 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19773
67060746
AC
197742012-11-24 Adam Conrad <adconrad@0c3.net>
19775
19776 * configure.in: Autodetect C++ header directories.
19777 * configure: Regenerated.
19778
800938a1
MF
197792012-11-23 Mike Frysinger <vapier@gentoo.org>
19780
19781 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19782
4e6e34e6
AS
197832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19784
19785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19786
7c7feb47
JM
197872012-11-22 Joseph Myers <joseph@codesourcery.com>
19788
7184dcdf
JM
19789 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19790 LDBL_MANT_DIG == 106]: Disable some tests.
19791 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19792 Likewise.
19793 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19794 Likewise.
19795
0a42601f
JM
19796 [BZ #14871]
19797 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19798 input for small inputs. Return +/- pi/2 for large inputs.
19799 * math/libm-test.inc (atan_test): Add more tests.
19800
79c9b9fe
JM
19801 * sysdeps/generic/unwind-dw2-fde-glibc.c
19802 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19803 __attribute__ ((unused)).
19804
c60d3bf2
JM
19805 [BZ #14645]
19806 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19807 x * y if x and y are nonzero and z is zero.
19808
ef1e0867
JM
19809 [BZ #14811]
19810 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19811 nonzero exponents with absolute value below 0x1p-117 to +/-
19812 0x1p-117.
19813
1468ded3
JM
19814 [BZ #14869]
19815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19816 up arguments below 2**-450, not just those below 2**-500.
19817 * math/libm-test.inc (hypot_test): Add another test.
19818
8e27e3cc
JM
19819 [BZ #14868]
19820 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19821 Return a+b for ratio over 2**120, not 2**60.
19822 * math/libm-test.inc (hypot_test): Add another test.
19823
c9c0279b
JM
19824 * math/libm-test.inc (clog_test): Use
19825 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19826 (clog10_test): Likewise.
19827
7c7feb47
JM
19828 [BZ #6778]
19829 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19830
fff1530e
AS
198312012-11-22 Andreas Schwab <schwab@suse.de>
19832
19833 * sysdeps/i386/fpu/libm-test-ulps: Update.
19834
94558d30
PT
198352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19836
19837 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19838 printf output with newline.
19839
7e1be741
L
198402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19841
6bfea974
L
19842 [BZ #14865]
19843 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19844 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19845 -z nodlopen, -z initfirst and -z execstack support.
19846 * configure: Regenerated.
19847
7e1be741
L
19848 * elf/elf.h (DF_1_NODIRECT): New macro.
19849 (DF_1_IGNMULDEF): Likewise.
19850 (DF_1_NOKSYMS): Likewise.
19851 (DF_1_NOHDR): Likewise.
19852 (DF_1_EDITED): Likewise.
19853 (DF_1_NORELOC): Likewise.
19854 (DF_1_SYMINTPOSE): Likewise.
19855 (DF_1_GLOBAUDIT): Likewise.
19856 (DF_1_SINGLETON): Likewise.
19857 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19858 DT_1_SUPPORTED_MASK bits.
19859 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19860
105ce2ce
CD
198612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19862
19863 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19864
123be9de
TS
198652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19866
d072f3f7
TS
19867 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19868 macro.
19869
123be9de
TS
19870 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19871 (sendmmsg): Move declarations...
19872 * socket/sys/socket.h: ... here.
19873 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19874 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19875 include it from...
19876 * socket/recvmmsg.c: ... this new file.
19877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19878 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19879 definition of __sendmmsg hidden.
19880 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19881 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19882 Move ENOSYS stub into and include it from...
19883 * socket/sendmmsg.c: ... this new file.
19884 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19885 (sysdep_routines): Move recvmmsg and sendmmsg...
19886 * socket/Makefile (routines): ... here.
19887 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19888 (GLIBC_PRIVATE): Add __sendmmsg.
19889 * include/sys/socket.h (__sendmmsg): Add declarations.
19890 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19891 sendmmsg.
19892
cf9a5d18
JM
198932012-11-20 Joseph Myers <joseph@codesourcery.com>
19894
19895 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19896 variable I1 with __attribute__ ((unused)).
19897 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19898
ecd4caf9
JM
198992012-11-19 Joseph Myers <joseph@codesourcery.com>
19900
be14d48f
JM
19901 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19902 DUMMY variables with __attribute__ ((unused)).
19903
ecd4caf9
JM
19904 * bits/byteswap.h: Include <bits/types.h>.
19905 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19906
986cab95
PT
199072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19908
19909 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19910 string_t. Do not manually set errno.
19911 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19912 length with __strnlen. Make sure to both set errno and return it on
19913 failure.
19914
6d33cc9d
DM
199152012-11-19 David S. Miller <davem@davemloft.net>
19916
19917 With help from Joseph Myers.
19918 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19919 very large arguments properly.
19920 * math/libm-test.inc (atan_test): New tests.
19921 (atan2_test): New tests.
19922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19924
ee663277
JM
199252012-11-19 Joseph Myers <joseph@codesourcery.com>
19926
877f2d8e
JM
19927 [BZ #14856]
19928 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19929 Define to 3.
19930
116fc08a
JM
19931 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19932 [POSIX] (EADDRNOTAVAIL): Likewise.
19933 [POSIX] (EAFNOSUPPORT): Likewise.
19934 [POSIX] (EALREADY): Likewise.
19935 [POSIX] (ECONNABORTED): Likewise.
19936 [POSIX] (ECONNREFUSED): Likewise.
19937 [POSIX] (ECONNRESET): Likewise.
19938 [POSIX] (EDESTADDRREQ): Likewise.
19939 [POSIX] (EDQUOT): Likewise.
19940 [POSIX] (EHOSTUNREACH): Likewise.
19941 [POSIX] (EIDRM): Likewise.
19942 [POSIX] (EISCONN): Likewise.
19943 [POSIX] (ELOOP): Likewise.
19944 [POSIX] (EMULTIHOP): Likewise.
19945 [POSIX] (ENETDOWN): Likewise.
19946 [POSIX] (ENETUNREACH): Likewise.
19947 [POSIX] (ENOBUFS): Likewise.
19948 [POSIX] (ENODATA): Likewise.
19949 [POSIX] (ENOLINK): Likewise.
19950 [POSIX] (ENOMSG): Likewise.
19951 [POSIX] (ENOPROTOOPT): Likewise.
19952 [POSIX] (ENOSR): Likewise.
19953 [POSIX] (ENOSTR): Likewise.
19954 [POSIX] (ENOTCONN): Likewise.
19955 [POSIX] (ENOTSOCK): Likewise.
19956 [POSIX] (EOPNOTSUPP): Likewise.
19957 [POSIX] (EOVERFLOW): Likewise.
19958 [POSIX] (EPROTO): Likewise.
19959 [POSIX] (EPROTONOSUPPORT): Likewise.
19960 [POSIX] (EPROTOTYPE): Likewise.
19961 [POSIX] (ESTALE): Likewise.
19962 [POSIX] (ETIME): Likewise.
19963 [POSIX] (ETXTBSY): Likewise.
19964 [POSIX] (EWOULDBLOCK): Likewise.
19965 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19966 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19967 [POSIX] (SEEK_CUR): Likewise.
19968 [POSIX] (SEEK_END): Likewise.
19969 [POSIX || UNIX98] (mode_t): Do not require.
19970 [POSIX] (off_t): Likewise.
19971 [POSIX] (pid_t): Likewise.
19972 [POSIX] (sys/stat.h): Do not allow header.
19973 [POSIX] (unistd.h): Likewise.
19974 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19975 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19976 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19977 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19978 require.
19979 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19980 sigevent): Specify elements.
19981 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19982 entry.
19983 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19984 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19985
a483863f
JM
19986 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19987 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19988 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19989 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19990 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19991 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19992 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19993 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19995 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19996 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19997 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19998 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19999 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20000 Likewise.
20001 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20002 Likewise.
20003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20004 Likewise.
20005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20006 Likewise.
20007 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20008 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20009 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20010 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20012 Specify lower bound on value.
20013 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20019 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20020 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20021 value.
20022 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20023 as optional.
20024 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20027 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20040 entry.
20041 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20042 optional.
20043 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20049 Likewise.
20050 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20055 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20056 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20057 as optional.
20058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20062 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20063 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20064 specify as optional.
20065 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20068 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20069 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20070 [XPG3] (NL_LANGMAX): Likewise.
20071 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20072 [POSIX || XPG3] (NL_NMAX): Likewise.
20073 [POSIX || XPG3] (NL_SETMAX): Likewise.
20074 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20075 [XPG3] (NZERO): Likewise.
20076 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20077 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20078 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20079 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20080 (REG_ERANGE): Expect.
20081 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20082 optional-constant.
20083 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20084 Use (void) in prototype.
20085 [POSIX] (*_t): Allow.
20086 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20087 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20088 (WRDE_BADVAL): Expect.
20089
5ba924e3
JM
20090 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20091 expect.
20092 [XPG3 || XPG4] (O_RSYNC): Likewise.
20093 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20094 Likewise.
20095 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20096 [XPG3 || XPG4] (sigqueue): Likewise.
20097 [XPG3 || XPG4] (sigtimedwait): Likewise.
20098 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20099 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20100 [XPG3 || XPG4] (vsnprintf): Likewise.
20101 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20102 Likewise.
20103 [XPG3 || XPG4] (blksize_t): Likewise.
20104 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20105 Likewise.
20106 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20107 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20108 [XPG3 || XPG4] (struct itimerspec): Likewise.
20109 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20110 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20111 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20112 [XPG3 || XPG4] (clockid_t): Likewise.
20113 [XPG3 || XPG4] (timer_t): Likewise.
20114 [XPG3 || XPG4] (clock_getres): Likewise.
20115 [XPG3 || XPG4] (clock_gettime): Likewise.
20116 [XPG3 || XPG4] (clock_settime): Likewise.
20117 [XPG3 || XPG4] (nanosleep): Likewise.
20118 [XPG3 || XPG4] (timer_create): Likewise.
20119 [XPG3 || XPG4] (timer_delete): Likewise.
20120 [XPG3 || XPG4] (timer_gettime): Likewise.
20121 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20122 [XPG3 || XPG4] (timer_settime): Likewise.
20123 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20124 [XPG3 || XPG4] (getlogin_r): Likewise.
20125 [XPG3 || XPG4] (pread): Likewise.
20126 [XPG3 || XPG4] (pthread_atfork): Likewise.
20127 [XPG3 || XPG4] (pwrite): Likewise.
20128
ee663277
JM
20129 [BZ #14835]
20130 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20131 <bits/siginfo.h>.
20132
942caa16
PT
201332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20134
e19af380
PT
20135 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20136 finalizing MALLSTREAM.
20137
942caa16
PT
20138 * sysdeps/mach/hurd/syncfs.c: New file.
20139
cfde9b46
SP
201402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20141
20142 [BZ #14719]
20143 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20144 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20145 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20146 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20147 (_nss_dns_gethostbyname4_r): Likewise.
20148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20149 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20150
f6da27e5
PH
201512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20152
20153 [BZ #13763]
20154 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20155
6665d4a2
SM
201562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20157
1f51ee92
SM
20158 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20159 * elf/cache.c (print_entry): Print ",AArch64" for
20160 FLAG_AARCH64_LIB64
20161
6665d4a2
SM
20162 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20163 * elf/cache.c (print_entry): Print ",hard-float" for
20164 FLAG_ARM_LIBHF.
20165
05b227bd
DM
201662012-11-18 David S. Miller <davem@davemloft.net>
20167
20168 With help from Joseph Myers.
20169 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20170 cutoff to 2**-13.
20171 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20172 cutoff to 2**-25.
20173 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20174 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20175 small.
20176 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20177 * math/libm-test.inc (y0_test): New tests.
20178 (y1_test): New tests.
20179 * sysdeps/i386/fpu/libm-test-ulps: Update.
20180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20182
786b0b67
AS
201832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20184
20185 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20186 64-bit targets.
20187 * configure: Regenerated.
20188
8e18b86d
DM
201892012-11-17 David S. Miller <davem@davemloft.net>
20190
20191 [BZ #14811]
20192 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20193 nonzero exponents with absolute value below 0x1p-128 to +/-
20194 0x1p-128.
20195
531f1ae0
JM
201962012-11-17 Joseph Myers <joseph@codesourcery.com>
20197
12df29e2
JM
20198 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20199
150dc1a0
JM
20200 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20201
531f1ae0
JM
20202 * posix/getconf-speclist.c: New file.
20203 * posix/posix-envs.def: Likewise.
20204 * posix/confstr.c (START_ENV_GROUP): New macro.
20205 (END_ENV_GROUP): Likewise.
20206 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20207 (KNOWN_PRESENT_ENV_STRING): Likewise.
20208 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20209 (UNKNOWN_ENVIRONMENT): Likewise.
20210 (confstr): Include posix-envs.def instead of handling
20211 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20212 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20213 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20214 (END_ENV_GROUP): Likewise.
20215 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20216 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20217 (UNKNOWN_ENVIRONMENT): Likewise.
20218 (__sysconf): Include posix-envs.def instead of handling associated
20219 cases directly here.
20220 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20221 preprocessing getconf-speclist.c rather than running getconf or
20222 generating empty file.
20223
a93f9cbc
PT
202242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20225
20226 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20227
d64d9f87
AL
202282012-11-16 Andrej Lajovic <natrij@gmail.com>
20229
20230 [BZ #14672]
20231 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20232
447885eb
DM
202332012-11-16 David S. Miller <davem@davemloft.net>
20234
20235 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20236 smaller than LDBL_EPSILON/2.0L, just return xm1.
20237
bcbf9830
L
202382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20239
20240 * elf/tst-array1.c (init): Set constructor priority to 1000.
20241 (fini): Set destructor priority to 1000.
20242 * elf/tst-array2dep.c: Likewise.
20243
2b766585
SP
202442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20245
20246 [BZ #11741]
20247 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20248 (_IO_new_file_xsputn): Also return EOF if none of the input
20249 data was written when overflow failed.
20250 * libio/iopadn.c (_IO_padn): Likewise.
20251 * libio/iowpadn.c (_IO_wpadn): Likewise.
20252 * stdio-common/tst-put-error.c: Add copyright notice.
20253 (do_test): Add case for printing padded string.
20254 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20255 _IO_padn returned error.
20256 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20257 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20258 return EOF.
20259
b1848fde
SP
202602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20261
20262 * libio/libioP.h: Add comment note that the references to C++
20263 bits are now obsolete.
20264
2fd89785
MS
202652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20266
20267 * math/libm-test.inc (check_complex): Use asprintf.
20268
e3ea5409
JM
202692012-11-14 Joseph Myers <joseph@codesourcery.com>
20270
20271 * debug/pcprofiledump.c (print_version): Update copyright year.
20272 * malloc/memusagestat.c (print_version): Likewise.
20273
2e64d265
L
202742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20275
20276 [BZ #14831]
20277 * elf/Makefile (tests): Add tst-audit8.
20278 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20279 ($(objpfx)tst-audit8.out): New target.
20280 (tst-audit8-ENV): New variable.
20281 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20282 audit if l_reloc_result is NULL.
20283 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20284 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20285 * elf/tst-audit8.c: New file.
20286
c485e4d2
MS
202872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20288
20289 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20290 * misc/Makefile (CFLAGS-select.c): Define.
20291 * posix/Makefile (CFLAGS-pause.c): Define.
20292
3a0d900a
DM
202932012-11-13 David S. Miller <davem@davemloft.net>
20294
20295 * crypt/Makefile: Move test targets after toplevel Rules
20296 inclusion. Grab any necessary sysdep routines when linking.
20297 * crypt/md5.c (md5_process_block): Remove define, we will always
20298 name it __md5_process_block.
20299 (md5_finish_ctx): Update md5_process_block call.
20300 (md5_stream): Likewise.
20301 (md5_process_bytes): Likewise.
20302 (md5_process_block): Rename to __md5_process_block and move to ...
20303 * crypt/md5-block.c: ... here.
20304 * crypt/sha256.c (sha256_process_block): Move to ...
20305 * crypt/sha256-block.c: ... here.
20306 * crypt/sha512.c (sha512_process_block): Move to ...
20307 * crypt/sha512-block.c: ... here.
20308 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20309 path.
20310 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20311 * sysdeps/sparc/sparc64/multiarch/Makefile
20312 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20313 crypt subdir.
20314 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20315 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20316 multiarch changes.
20317 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20318 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20319 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20320 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20321 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20322 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20323 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20324 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20325 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20326 file.
20327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20328 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20329 file.
20330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20331
8ca89318
JM
203322012-11-13 Joseph Myers <joseph@codesourcery.com>
20333
e27d476a
JM
20334 * timezone/tzselect.ksh: Update from tzcode git revision
20335 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20336 * timezone/zdump.c: Likewise.
20337 * timezone/zic.c: Likewise.
20338 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20339 in TZVERSION setting, not $(PKGVERSION).
20340 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20341 REPORT_BUGS_TO settings.
20342
8ca89318
JM
20343 [BZ #14838]
20344 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20345 macro.
20346
47594329
MS
203472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20348
20349 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20350 detection to immediately after _FP_ROUND().
20351 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20352 bits are 0.
20353
640ac3f1
DM
203542012-11-11 David S. Miller <davem@davemloft.net>
20355
20356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20357 inttypes.h
20358 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20359 __close rather than their public counterparts.
20360
3d2577bb
JM
203612012-11-10 Joseph Myers <joseph@codesourcery.com>
20362
20363 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20364 file.
20365 [UNIX98] (sem_timedwait): Do not expect.
20366 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20367 [XPG4 || UNIX98] (sockatmark): Do not expect.
20368 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20369 (clock_getcpuclockid): Do not expect.
20370 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20371 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20372 Do not expect.
20373 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20374 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20375 [UNIX98] (vwscanf): Likewise.
20376 [UNIX98] (vswscanf): Likewise.
20377
fb1ae1ee
JM
203782012-11-09 Joseph Myers <joseph@codesourcery.com>
20379
9ec6f8bd
JM
20380 * timezone/version.h: Remove file.
20381 * timezone/README: Do not refer to version.h.
20382 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20383 $(objpfx)version.h.
20384 ($(objpfx)zdump.o): Likewise.
c3f81911 20385 ($(objpfx)version.h): New target.
9ec6f8bd 20386
0aa8f8a1
JM
20387 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20388 2012i.
20389 * timezone/README: Don't mention modification to tzselect.ksh.
20390 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20391 work on unmodified tzselect.ksh. Substitute version numbers in
20392 tzselect.ksh.
20393
4e87147f
JM
20394 * Makefile (format-me): Remove.
20395 (INSTALL): Adjust indentation. Use commands directly instead of
20396 using $(format-me).
20397
8b748aed
JM
20398 * aclocal.m4 (ACX_PKGVERSION): New macro.
20399 (ACX_BUGURL): Likewise.
20400 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20401 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20402 (REPORT_BUGS_TO): Likewise.
20403 * configure: Regenerated.
20404 * config.h.in (PKGVERSION): New macro.
20405 (REPORT_BUGS_TO): Likewise.
20406 * config.make.in (PKGVERSION): New variable.
20407 (PKGVERSION_TEXI): Likewise.
20408 (REPORT_BUGS_TO): Likewise.
20409 (REPORT_BUGS_TEXI): Likewise.
20410 * Makefile (format-me): Use -I$(common-objpfx)manual.
20411 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20412 ($(common-objpfx)manual/%): New target.
20413 (manual/%): Remove target.
20414 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20415 (print_version): Use PKGVERSION.
20416 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20417 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20418 and REPORT_BUGS_TO.
20419 ($(objpfx)xtrace): Likewise.
20420 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20421 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20422 (print_version): Use PKGVERSION.
20423 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20424 (do_version): Use PKGVERSION.
20425 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20426 REPORT_BUGS_TO.
20427 (common-ldd-rewrite): Likewise.
20428 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20429 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20430 (print_version): Use PKGVERSION.
20431 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20432 * elf/pldd.c (argp_program_bug_address): Remove variable.
20433 (more_help): New function.
20434 (argp): Use more_help.
20435 (print_version): Use PKGVERSION.
20436 * elf/sln.c (main): Use PKGVERSION.
20437 (usage): Use REPORT_BUGS_TO.
20438 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20439 (top level): Use PKGVERSION.
20440 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20441 (print_version): Use PKGVERSION.
20442 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20443 (print_version): Use PKGVERSION.
20444 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20445 (print_version): Use PKGVERSION.
20446 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20447 (print_version): Use PKGVERSION.
20448 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20449 (print_version): Use PKGVERSION.
20450 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20451 (print_version): Use PKGVERSION.
20452 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20453 and BUGURL.
20454 ($(objpfx)memusage): Likewise.
20455 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20456 (do_version): Use PKGVERSION.
20457 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20458 (print_version): Use PKGVERSION.
20459 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20460 ($PKGVERSION): New variable.
20461 ($REPORT_BUGS_TO): Likewise.
20462 (usage): Use $REPORT_BUGS_TO.
20463 (top level): Use $PKGVERSION.
20464 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20465 ($(objpfx)pkgvers.texi): New rule.
20466 ($(objpfx)stamp-pkgvers): Likewise.
20467 * manual/install.texi: Include pkgvers.texi.
20468 (--with-pkgversion): Document new configure option.
20469 (--with-bugurl): Likewise.
20470 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20471 than necessarily for this particular distribution. Use
20472 REPORT_BUGS_TO for where to report bugs.
20473 * INSTALL: Regenerated.
20474 * manual/libc.texinfo: Include pkgvers.texi.
20475 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20476 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20477 (print_version): Use PKGVERSION.
20478 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20479 (print_version): Use PKGVERSION.
20480 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20481 (print_version): Use PKGVERSION.
20482 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20483 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20484 macro.
20485 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20486 (print_version): Use PKGVERSION.
20487 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20488 (print_version): Use PKGVERSION.
20489 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20490 and PKGVERSION.
20491
92e4b6a9
JM
20492 * timezone/checktab.awk: Update from tzcode 2012i.
20493 * timezone/ialloc.c: Likewise.
20494 * timezone/private.h: Likewise.
20495 * timezone/scheck.c: Likewise.
20496 * timezone/tzfile.h: Likewise.
20497 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20498 (TZVERSION): Hardcode tzcode version number.
20499 * timezone/zdump.c: Update from tzcode 2012i.
20500 * timezone/zic.c: Likewise.
20501 * timezone/version.h: New file.
20502 * timezone/README: Describe version.h. Update upstream location.
20503
9bde902c
JM
20504 [BZ #14824]
20505 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20506 (mktemp): Enable declaration.
20507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20511 Likewise.
20512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20513 Likewise.
20514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20515 Likewise.
20516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20517 Likewise.
20518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20519 Likewise.
20520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20521 Likewise.
20522
fb1ae1ee
JM
20523 [BZ #14821]
20524 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20525 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20526 for copies of such integer values.
20527 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20528 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20529
2c1adbcb
AJ
205302012-11-09 Andreas Jaeger <aj@suse.de>
20531
20532 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20533 definitions and declarations that are provided by
20534 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20535
d0f8457e
AK
205362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20537
3a235abb 20538 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20539 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20540 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20541 definition.
20542
57241e26
MS
205432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20544
20545 * elf/elf.h: Update comment before AArch64 relocations.
20546
60e8270d
DM
205472012-11-07 David S. Miller <davem@davemloft.net>
20548
20549 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20550 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20551 (__start_context): Declare.
20552 (__makecontext_ret): Delete.
20553 (__makecontext): Hook up __start_context instead of
20554 __makecontext_ret.
20555 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20556 (sysdep_routines): Add __start_context when in stdlib.
20557
0fbb0fbc
JM
205582012-11-07 Joseph Myers <joseph@codesourcery.com>
20559
20560 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20561 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20562 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20563 hardcoded "nm".
20564 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20565 (READELF): New variable. Use it instead of hardcoded "readelf".
20566
eb48db7e
L
205672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20568
20569 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20570 * sysdeps/x86/Makefile: Here.
20571 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20572 * sysdeps/x86/tst-xmmymm.sh: This.
20573
05bcf62a
JM
205742012-11-07 Joseph Myers <joseph@codesourcery.com>
20575
c4b6cf53
JM
20576 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20577 expectations.
20578 [UNIX98] (pthread_barrier_t): Do not expect.
20579 [UNIX98] (pthread_barrierattr_t): Likewise.
20580 [UNIX98] (pthread_spinlock_t): Likewise.
20581 [UNIX98] (pthread_barrier_destroy): Likewise.
20582 [UNIX98] (pthread_barrier_init): Likewise.
20583 [UNIX98] (pthread_barrier_wait): Likewise.
20584 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20585 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20586 [UNIX98] (pthread_barrierattr_init): Likewise.
20587 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20588 [UNIX98] (pthread_getcpuclockid): Likewise.
20589 [UNIX98] (pthread_mutex_timedlock): Likewise.
20590 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20591 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20592 [UNIX98] (pthread_sigmask): Likewise.
20593 [UNIX98] (pthread_spin_destroy): Likewise.
20594 [UNIX98] (pthread_spin_init): Likewise.
20595 [UNIX98] (pthread_spin_lock): Likewise.
20596 [UNIX98] (pthread_spin_trylock): Likewise.
20597 [UNIX98] (pthread_spin_unlock): Likewise.
20598 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20599 Do not expect.
20600 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20602 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20603 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20604 [XPG3 || XPG4] (pthread_key_t): Likewise.
20605 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20606 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20607 [XPG3 || XPG4] (pthread_once_t): Likewise.
20608 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20609 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20611 [XPG3 || XPG4] (pthread_t): Likewise.
20612
cbe6e120
JM
20613 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20614 not expect.
20615 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20616
1b126443
JM
20617 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20618 Change function return type to int.
20619
b961a573
JM
20620 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20621 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20622 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20623 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20624 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20625 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20626 [!POSIX] (posix_madvise): Likewise.
20627 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20628 && !UNIX98].
20629 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20630 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20631 (mode_t): Likewise.
20632 (posix_mem_offset): Likewise.
20633 (posix_typed_mem_get_info): Likewise.
20634 (posix_typed_mem_open): Likewise.
20635
9e188909
JM
20636 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20637 Change condition to [XOPEN2K8].
20638
05bcf62a
JM
20639 * conform/conformtest.pl: Preprocess allow-header data with -x c
20640 instead of from stdin.
20641 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20642 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20643 [C99-based standards] (cerfc): Likewise.
20644 [C99-based standards] (cexp2): Likewise.
20645 [C99-based standards] (cexpm1): Likewise.
20646 [C99-based standards] (clog10): Likewise.
20647 [C99-based standards] (clog1p): Likewise.
20648 [C99-based standards] (clog2): Likewise.
20649 [C99-based standards] (clgamma): Likewise.
20650 [C99-based standards] (ctgamma): Likewise.
20651 [C99-based standards] (cerff): Likewise.
20652 [C99-based standards] (cerfcf): Likewise.
20653 [C99-based standards] (cexp2f): Likewise.
20654 [C99-based standards] (cexpm1f): Likewise.
20655 [C99-based standards] (clog10f): Likewise.
20656 [C99-based standards] (clog1pf): Likewise.
20657 [C99-based standards] (clog2f): Likewise.
20658 [C99-based standards] (clgammaf): Likewise.
20659 [C99-based standards] (ctgammaf): Likewise.
20660 [C99-based standards] (cerfl): Likewise.
20661 [C99-based standards] (cerfcl): Likewise.
20662 [C99-based standards] (cexp2l): Likewise.
20663 [C99-based standards] (cexpm1l): Likewise.
20664 [C99-based standards] (clog10l): Likewise.
20665 [C99-based standards] (clog1pl): Likewise.
20666 [C99-based standards] (clog2l): Likewise.
20667 [C99-based standards] (clgammal): Likewise.
20668 [C99-based standards] (ctgammal): Likewise.
20669 * conform/data/inttypes.h-data [C99-based standards]: Include
20670 stdint.h-data. Remove all expectations for stdint.h contents.
20671 [C99-based standards] (PRI*): Do not allow.
20672 [C99-based standards] (SCN*): Likewise.
20673 [C99-based standards] (*_t): Likewise.
20674 [C99-based-standards] (PRId8): Expect macro.
20675 [C99-based-standards] (PRIi8): Likewise.
20676 [C99-based-standards] (PRIo8): Likewise.
20677 [C99-based-standards] (PRIu8): Likewise.
20678 [C99-based-standards] (PRIx8): Likewise.
20679 [C99-based-standards] (PRIX8): Likewise.
20680 [C99-based-standards] (SCNd8): Likewise.
20681 [C99-based-standards] (SCNi8): Likewise.
20682 [C99-based-standards] (SCNo8): Likewise.
20683 [C99-based-standards] (SCNu8): Likewise.
20684 [C99-based-standards] (SCNx8): Likewise.
20685 [C99-based-standards] (PRIdLEAST8): Likewise.
20686 [C99-based-standards] (PRIiLEAST8): Likewise.
20687 [C99-based-standards] (PRIoLEAST8): Likewise.
20688 [C99-based-standards] (PRIuLEAST8): Likewise.
20689 [C99-based-standards] (PRIxLEAST8): Likewise.
20690 [C99-based-standards] (PRIXLEAST8): Likewise.
20691 [C99-based-standards] (SCNdLEAST8): Likewise.
20692 [C99-based-standards] (SCNiLEAST8): Likewise.
20693 [C99-based-standards] (SCNoLEAST8): Likewise.
20694 [C99-based-standards] (SCNuLEAST8): Likewise.
20695 [C99-based-standards] (SCNxLEAST8): Likewise.
20696 [C99-based-standards] (PRIdFAST8): Likewise.
20697 [C99-based-standards] (PRIiFAST8): Likewise.
20698 [C99-based-standards] (PRIoFAST8): Likewise.
20699 [C99-based-standards] (PRIuFAST8): Likewise.
20700 [C99-based-standards] (PRIxFAST8): Likewise.
20701 [C99-based-standards] (PRIXFAST8): Likewise.
20702 [C99-based-standards] (SCNdFAST8): Likewise.
20703 [C99-based-standards] (SCNiFAST8): Likewise.
20704 [C99-based-standards] (SCNoFAST8): Likewise.
20705 [C99-based-standards] (SCNuFAST8): Likewise.
20706 [C99-based-standards] (SCNxFAST8): Likewise.
20707 [C99-based-standards] (PRId16): Likewise.
20708 [C99-based-standards] (PRIi16): Likewise.
20709 [C99-based-standards] (PRIo16): Likewise.
20710 [C99-based-standards] (PRIu16): Likewise.
20711 [C99-based-standards] (PRIx16): Likewise.
20712 [C99-based-standards] (PRIX16): Likewise.
20713 [C99-based-standards] (SCNd16): Likewise.
20714 [C99-based-standards] (SCNi16): Likewise.
20715 [C99-based-standards] (SCNo16): Likewise.
20716 [C99-based-standards] (SCNu16): Likewise.
20717 [C99-based-standards] (SCNx16): Likewise.
20718 [C99-based-standards] (PRIdLEAST16): Likewise.
20719 [C99-based-standards] (PRIiLEAST16): Likewise.
20720 [C99-based-standards] (PRIoLEAST16): Likewise.
20721 [C99-based-standards] (PRIuLEAST16): Likewise.
20722 [C99-based-standards] (PRIxLEAST16): Likewise.
20723 [C99-based-standards] (PRIXLEAST16): Likewise.
20724 [C99-based-standards] (SCNdLEAST16): Likewise.
20725 [C99-based-standards] (SCNiLEAST16): Likewise.
20726 [C99-based-standards] (SCNoLEAST16): Likewise.
20727 [C99-based-standards] (SCNuLEAST16): Likewise.
20728 [C99-based-standards] (SCNxLEAST16): Likewise.
20729 [C99-based-standards] (PRIdFAST16): Likewise.
20730 [C99-based-standards] (PRIiFAST16): Likewise.
20731 [C99-based-standards] (PRIoFAST16): Likewise.
20732 [C99-based-standards] (PRIuFAST16): Likewise.
20733 [C99-based-standards] (PRIxFAST16): Likewise.
20734 [C99-based-standards] (PRIXFAST16): Likewise.
20735 [C99-based-standards] (SCNdFAST16): Likewise.
20736 [C99-based-standards] (SCNiFAST16): Likewise.
20737 [C99-based-standards] (SCNoFAST16): Likewise.
20738 [C99-based-standards] (SCNuFAST16): Likewise.
20739 [C99-based-standards] (SCNxFAST16): Likewise.
20740 [C99-based-standards] (PRId32): Likewise.
20741 [C99-based-standards] (PRIi32): Likewise.
20742 [C99-based-standards] (PRIo32): Likewise.
20743 [C99-based-standards] (PRIu32): Likewise.
20744 [C99-based-standards] (PRIx32): Likewise.
20745 [C99-based-standards] (PRIX32): Likewise.
20746 [C99-based-standards] (SCNd32): Likewise.
20747 [C99-based-standards] (SCNi32): Likewise.
20748 [C99-based-standards] (SCNo32): Likewise.
20749 [C99-based-standards] (SCNu32): Likewise.
20750 [C99-based-standards] (SCNx32): Likewise.
20751 [C99-based-standards] (PRIdLEAST32): Likewise.
20752 [C99-based-standards] (PRIiLEAST32): Likewise.
20753 [C99-based-standards] (PRIoLEAST32): Likewise.
20754 [C99-based-standards] (PRIuLEAST32): Likewise.
20755 [C99-based-standards] (PRIxLEAST32): Likewise.
20756 [C99-based-standards] (PRIXLEAST32): Likewise.
20757 [C99-based-standards] (SCNdLEAST32): Likewise.
20758 [C99-based-standards] (SCNiLEAST32): Likewise.
20759 [C99-based-standards] (SCNoLEAST32): Likewise.
20760 [C99-based-standards] (SCNuLEAST32): Likewise.
20761 [C99-based-standards] (SCNxLEAST32): Likewise.
20762 [C99-based-standards] (PRIdFAST32): Likewise.
20763 [C99-based-standards] (PRIiFAST32): Likewise.
20764 [C99-based-standards] (PRIoFAST32): Likewise.
20765 [C99-based-standards] (PRIuFAST32): Likewise.
20766 [C99-based-standards] (PRIxFAST32): Likewise.
20767 [C99-based-standards] (PRIXFAST32): Likewise.
20768 [C99-based-standards] (SCNdFAST32): Likewise.
20769 [C99-based-standards] (SCNiFAST32): Likewise.
20770 [C99-based-standards] (SCNoFAST32): Likewise.
20771 [C99-based-standards] (SCNuFAST32): Likewise.
20772 [C99-based-standards] (SCNxFAST32): Likewise.
20773 [C99-based-standards] (PRId64): Likewise.
20774 [C99-based-standards] (PRIi64): Likewise.
20775 [C99-based-standards] (PRIo64): Likewise.
20776 [C99-based-standards] (PRIu64): Likewise.
20777 [C99-based-standards] (PRIx64): Likewise.
20778 [C99-based-standards] (PRIX64): Likewise.
20779 [C99-based-standards] (SCNd64): Likewise.
20780 [C99-based-standards] (SCNi64): Likewise.
20781 [C99-based-standards] (SCNo64): Likewise.
20782 [C99-based-standards] (SCNu64): Likewise.
20783 [C99-based-standards] (SCNx64): Likewise.
20784 [C99-based-standards] (PRIdLEAST64): Likewise.
20785 [C99-based-standards] (PRIiLEAST64): Likewise.
20786 [C99-based-standards] (PRIoLEAST64): Likewise.
20787 [C99-based-standards] (PRIuLEAST64): Likewise.
20788 [C99-based-standards] (PRIxLEAST64): Likewise.
20789 [C99-based-standards] (PRIXLEAST64): Likewise.
20790 [C99-based-standards] (SCNdLEAST64): Likewise.
20791 [C99-based-standards] (SCNiLEAST64): Likewise.
20792 [C99-based-standards] (SCNoLEAST64): Likewise.
20793 [C99-based-standards] (SCNuLEAST64): Likewise.
20794 [C99-based-standards] (SCNxLEAST64): Likewise.
20795 [C99-based-standards] (PRIdFAST64): Likewise.
20796 [C99-based-standards] (PRIiFAST64): Likewise.
20797 [C99-based-standards] (PRIoFAST64): Likewise.
20798 [C99-based-standards] (PRIuFAST64): Likewise.
20799 [C99-based-standards] (PRIxFAST64): Likewise.
20800 [C99-based-standards] (PRIXFAST64): Likewise.
20801 [C99-based-standards] (SCNdFAST64): Likewise.
20802 [C99-based-standards] (SCNiFAST64): Likewise.
20803 [C99-based-standards] (SCNoFAST64): Likewise.
20804 [C99-based-standards] (SCNuFAST64): Likewise.
20805 [C99-based-standards] (SCNxFAST64): Likewise.
20806 [C99-based-standards] (PRIdMAX): Likewise.
20807 [C99-based-standards] (PRIiMAX): Likewise.
20808 [C99-based-standards] (PRIoMAX): Likewise.
20809 [C99-based-standards] (PRIuMAX): Likewise.
20810 [C99-based-standards] (PRIxMAX): Likewise.
20811 [C99-based-standards] (PRIXMAX): Likewise.
20812 [C99-based-standards] (SCNdMAX): Likewise.
20813 [C99-based-standards] (SCNiMAX): Likewise.
20814 [C99-based-standards] (SCNoMAX): Likewise.
20815 [C99-based-standards] (SCNuMAX): Likewise.
20816 [C99-based-standards] (SCNxMAX): Likewise.
20817 [C99-based-standards] (PRIdPTR): Likewise.
20818 [C99-based-standards] (PRIiPTR): Likewise.
20819 [C99-based-standards] (PRIoPTR): Likewise.
20820 [C99-based-standards] (PRIuPTR): Likewise.
20821 [C99-based-standards] (PRIxPTR): Likewise.
20822 [C99-based-standards] (PRIXPTR): Likewise.
20823 [C99-based-standards] (SCNdPTR): Likewise.
20824 [C99-based-standards] (SCNiPTR): Likewise.
20825 [C99-based-standards] (SCNoPTR): Likewise.
20826 [C99-based-standards] (SCNuPTR): Likewise.
20827 [C99-based-standards] (SCNxPTR): Likewise.
20828 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20829 allow.
20830 * conform/data/stdint.h-data: Update comments to clarify
20831 requirements.
20832 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20833 type.
20834 [C99-based standards] (INT8_MAX): Likewise.
20835 [C99-based standards] (INT16_MIN): Likewise.
20836 [C99-based standards] (INT16_MAX): Likewise.
20837 [C99-based standards] (INT32_MIN): Likewise.
20838 [C99-based standards] (INT32_MAX): Likewise.
20839 [C99-based standards] (INT64_MIN): Likewise.
20840 [C99-based standards] (INT64_MAX): Likewise.
20841 [C99-based standards] (UINT8_MAX): Likewise.
20842 [C99-based standards] (UINT16_MAX): Likewise.
20843 [C99-based standards] (UINT32_MAX): Likewise.
20844 [C99-based standards] (UINT64_MAX): Likewise.
20845 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20846 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20847 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20848 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20849 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20850 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20851 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20852 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20853 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20854 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20855 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20856 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20857 [C99-based standards] (INT_FAST8_MIN): Likewise.
20858 [C99-based standards] (INT_FAST8_MAX): Likewise.
20859 [C99-based standards] (INT_FAST16_MIN): Likewise.
20860 [C99-based standards] (INT_FAST16_MAX): Likewise.
20861 [C99-based standards] (INT_FAST32_MIN): Likewise.
20862 [C99-based standards] (INT_FAST32_MAX): Likewise.
20863 [C99-based standards] (INT_FAST64_MIN): Likewise.
20864 [C99-based standards] (INT_FAST64_MAX): Likewise.
20865 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20866 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20867 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20868 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20869 [C99-based standards] (INTPTR_MIN): Likewise.
20870 [C99-based standards] (INTPTR_MAX): Likewise.
20871 [C99-based standards] (UINTPTR_MAX): Likewise.
20872 [C99-based standards] (INTMAX_MIN): Likewise.
20873 [C99-based standards] (INTMAX_MAX): Likewise.
20874 [C99-based standards] (UINTMAX_MAX): Likewise.
20875 [C99-based standards] (PTRDIFF_MIN): Likewise.
20876 [C99-based standards] (PTRDIFF_MAX): Likewise.
20877 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20878 [C99-based standards] (SIZE_MAX): Likewise.
20879 [C99-based standards] (WCHAR_MAX): Likewise.
20880 [C99-based standards] (WINT_MAX): Likewise.
20881 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20882 constraint on value.
20883 [C99-based standards] (WCHAR_MIN): Likewise.
20884 [C99-based standards] (WINT_MIN): Likewise.
20885 [C99-based standards] (*_t): Allow.
20886 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20887 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20888 Include math.h-data and complex.h-data. Remove all expectations
20889 of math.h and complex.h contents.
20890 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20891 at end of line.
20892 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20893 (struct tm): Expect tag.
20894 [C99-based-standards] (wcstof): Expect function.
20895 [C99-based-standards] (wcstold): Likewise.
20896 [C99-based-standards] (wcstoll): Likewise.
20897 [C99-based-standards] (wcstoull): Likewise.
20898 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20899 macro-int-constant. Specify type.
20900 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20901 constraint on value.
20902 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20903 Specify type.
20904 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20905 Specify value.
20906 [ISO C standards]: Do not allow headers.
20907 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20908 wcs[abcdefghijklmnopqrstuvwxyz]*.
20909 [ISO C standards] (*_t): Do not allow.
20910 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20911 Expect function.
20912 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20913 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20914 Specify type.
20915 [ISO C standards]: Do not allow headers.
20916 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20917 is[abcdefghijklmnopqrstuvwxyz]*.
20918 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20919 to[abcdefghijklmnopqrstuvwxyz]*.
20920 [ISO C standards] (*_t): Do not allow.
20921 * conform/data/stdalign.h-data: New file.
20922 * conform/data/stdbool.h-data: Likewise.
20923 * conform/data/stdnoreturn.h-data: Likewise.
20924
7514feb8
RM
209252012-11-07 Roland McGrath <roland@hack.frob.com>
20926
20927 [BZ #14815]
20928 * manual/filesys.texi (Directory Entries): Typo fix.
20929 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20930
19b2ecfc
MS
209312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20932
20933 * elf/elf.h (EM_AARCH64): New macro.
20934 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20935 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20936 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20937 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20938 (R_AARCH64_TLSDESC): Likewise.
20939 (NT_ARM_TLS): Likewise.
20940 (NT_ARM_HW_BREAK): Likewise.
20941 (NT_ARM_HW_WATCH): Likewise.
20942
60e235ee
JM
209432012-11-07 Joseph Myers <joseph@codesourcery.com>
20944
20945 [BZ #14811]
20946 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20947 (__ieee754_powl): Saturate nonzero exponents with absolute value
20948 below 0x1p-79 to +/- 0x1p-79.
20949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20950 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20951 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20952 nonzero exponents with absolute value below 0x1p-32 to +/-
20953 0x1p-32.
20954 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20955 (__ieee754_powl): Saturate nonzero exponents with absolute value
20956 below 0x1p-79 to +/- 0x1p-79.
20957 * math/libm-test.inc (pow_test): Add more tests.
20958
0ab234b7
AK
209592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20960
20961 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20962 _dl_s390_cap_flags with kernel. Increase string length.
20963 (_dl_s390_platforms): Add z196 and zEC12.
20964
45832f74
JM
209652012-11-07 Joseph Myers <joseph@codesourcery.com>
20966
20967 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20968 Change XOPEN21K to XOPEN2K.
20969
19218757
MK
209702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20971
20972 * string/memmove.c: Use memcpy when possible.
20973
c5f45721
AJ
209742012-11-06 Andreas Jaeger <aj@suse.de>
20975
20976 * po/eo.po: Update from translation team.
20977
82477c28
JM
209782012-11-06 Joseph Myers <joseph@codesourcery.com>
20979
20980 [BZ #14793]
20981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20982 exponent and small x and y exponents, scale x or y up. Increase
20983 by 2 the exponent used in scaling up.
20984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20986 * math/libm-test.inc (fma_test): Add more tests.
20987 (fma_test_towardzero): Likewise.
20988 (fma_test_downward): Likewise.
20989 (fma_test_upward): Likewise.
20990
99252c8c
JM
209912012-11-05 Joseph Myers <joseph@codesourcery.com>
20992
acfa885f
JM
20993 [BZ #14805]
20994 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20995 fenv_t *.
20996
99252c8c
JM
20997 [BZ #14801]
20998 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20999 namespace for names of struct fields.
21000 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21001 fenv_t fields.
21002 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21003 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21004
d6d98dea
ST
210052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21006
21007 [BZ #3665]
21008 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21009
e10bb107
TS
210102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21011
21012 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21013 PTR_DEMANGLE.
21014
21015 [BZ #5246]
21016 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21017 PTR_DEMANGLE.
21018
a0c2940d
JM
210192012-11-04 Joseph Myers <joseph@codesourcery.com>
21020
21021 [BZ #14797]
21022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21023 definitely overflow as x * y not x * y + z.
21024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21026 * math/libm-test.inc (fma_test): Add more tests.
21027 (fma_test_towardzero): Likewise.
21028 (fma_test_downward): Likewise.
21029 (fma_test_upward): Likewise.
21030
b830319d
TS
210312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21032
21033 [BZ #157]
21034
21035 * include/stub-tag.h: Remove file.
21036 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21037 '#include' of it.
21038 * manual/maint.texi (Porting): Don't reference it.
21039 * Makerules ($(objpfx)stubs): Likewise.
21040 * dirent/closedir.c: Don't include <stub-tag.h>.
21041 * dirent/dirfd.c: Likewise.
21042 * dirent/fdopendir.c: Likewise.
21043 * dirent/getdents.c: Likewise.
21044 * dirent/getdents64.c: Likewise.
21045 * dirent/opendir.c: Likewise.
21046 * dirent/readdir.c: Likewise.
21047 * dirent/readdir64.c: Likewise.
21048 * dirent/readdir64_r.c: Likewise.
21049 * dirent/readdir_r.c: Likewise.
21050 * dirent/rewinddir.c: Likewise.
21051 * dirent/seekdir.c: Likewise.
21052 * dirent/telldir.c: Likewise.
21053 * gmon/profil.c: Likewise.
21054 * grp/setgroups.c: Likewise.
21055 * inet/if_index.c: Likewise.
21056 * io/access.c: Likewise.
21057 * io/chdir.c: Likewise.
21058 * io/chmod.c: Likewise.
21059 * io/chown.c: Likewise.
21060 * io/close.c: Likewise.
21061 * io/dup.c: Likewise.
21062 * io/dup2.c: Likewise.
21063 * io/dup3.c: Likewise.
21064 * io/euidaccess.c: Likewise.
21065 * io/faccessat.c: Likewise.
21066 * io/fchdir.c: Likewise.
21067 * io/fchmod.c: Likewise.
21068 * io/fchmodat.c: Likewise.
21069 * io/fchown.c: Likewise.
21070 * io/fchownat.c: Likewise.
21071 * io/fcntl.c: Likewise.
21072 * io/flock.c: Likewise.
21073 * io/fstatfs.c: Likewise.
21074 * io/fstatfs64.c: Likewise.
21075 * io/fstatvfs.c: Likewise.
21076 * io/fstatvfs64.c: Likewise.
21077 * io/futimens.c: Likewise.
21078 * io/fxstat.c: Likewise.
21079 * io/fxstat64.c: Likewise.
21080 * io/fxstatat.c: Likewise.
21081 * io/fxstatat64.c: Likewise.
21082 * io/getcwd.c: Likewise.
21083 * io/isatty.c: Likewise.
21084 * io/lchmod.c: Likewise.
21085 * io/lchown.c: Likewise.
21086 * io/link.c: Likewise.
21087 * io/linkat.c: Likewise.
21088 * io/lseek.c: Likewise.
21089 * io/lseek64.c: Likewise.
21090 * io/lxstat64.c: Likewise.
21091 * io/mkdir.c: Likewise.
21092 * io/mkdirat.c: Likewise.
21093 * io/mkfifo.c: Likewise.
21094 * io/mkfifoat.c: Likewise.
21095 * io/open.c: Likewise.
21096 * io/open64.c: Likewise.
21097 * io/openat.c: Likewise.
21098 * io/openat64.c: Likewise.
21099 * io/pipe.c: Likewise.
21100 * io/pipe2.c: Likewise.
21101 * io/poll.c: Likewise.
21102 * io/posix_fadvise.c: Likewise.
21103 * io/posix_fadvise64.c: Likewise.
21104 * io/posix_fallocate.c: Likewise.
21105 * io/posix_fallocate64.c: Likewise.
21106 * io/read.c: Likewise.
21107 * io/readlink.c: Likewise.
21108 * io/readlinkat.c: Likewise.
21109 * io/rmdir.c: Likewise.
21110 * io/sendfile.c: Likewise.
21111 * io/sendfile64.c: Likewise.
21112 * io/statfs.c: Likewise.
21113 * io/statfs64.c: Likewise.
21114 * io/statvfs.c: Likewise.
21115 * io/statvfs64.c: Likewise.
21116 * io/symlink.c: Likewise.
21117 * io/symlinkat.c: Likewise.
21118 * io/ttyname.c: Likewise.
21119 * io/ttyname_r.c: Likewise.
21120 * io/umask.c: Likewise.
21121 * io/unlink.c: Likewise.
21122 * io/unlinkat.c: Likewise.
21123 * io/utime.c: Likewise.
21124 * io/utimensat.c: Likewise.
21125 * io/write.c: Likewise.
21126 * io/xmknod.c: Likewise.
21127 * io/xmknodat.c: Likewise.
21128 * io/xstat.c: Likewise.
21129 * io/xstat64.c: Likewise.
21130 * login/getpt.c: Likewise.
21131 * login/grantpt.c: Likewise.
21132 * login/unlockpt.c: Likewise.
21133 * math/e_acoshl.c: Likewise.
21134 * math/e_acosl.c: Likewise.
21135 * math/e_asinl.c: Likewise.
21136 * math/e_atan2l.c: Likewise.
21137 * math/e_atanhl.c: Likewise.
21138 * math/e_coshl.c: Likewise.
21139 * math/e_expl.c: Likewise.
21140 * math/e_fmodl.c: Likewise.
21141 * math/e_gammal_r.c: Likewise.
21142 * math/e_hypotl.c: Likewise.
21143 * math/e_j0l.c: Likewise.
21144 * math/e_j1l.c: Likewise.
21145 * math/e_jnl.c: Likewise.
21146 * math/e_lgammal_r.c: Likewise.
21147 * math/e_log10l.c: Likewise.
21148 * math/e_log2l.c: Likewise.
21149 * math/e_logl.c: Likewise.
21150 * math/e_powl.c: Likewise.
21151 * math/e_rem_pio2l.c: Likewise.
21152 * math/e_sinhl.c: Likewise.
21153 * math/e_sqrtl.c: Likewise.
21154 * math/fclrexcpt.c: Likewise.
21155 * math/fedisblxcpt.c: Likewise.
21156 * math/feenablxcpt.c: Likewise.
21157 * math/fegetenv.c: Likewise.
21158 * math/fegetexcept.c: Likewise.
21159 * math/fegetround.c: Likewise.
21160 * math/feholdexcpt.c: Likewise.
21161 * math/fesetenv.c: Likewise.
21162 * math/fesetround.c: Likewise.
21163 * math/feupdateenv.c: Likewise.
21164 * math/fgetexcptflg.c: Likewise.
21165 * math/fraiseexcpt.c: Likewise.
21166 * math/fsetexcptflg.c: Likewise.
21167 * math/ftestexcept.c: Likewise.
21168 * math/k_cosl.c: Likewise.
21169 * math/k_rem_pio2l.c: Likewise.
21170 * math/k_sinl.c: Likewise.
21171 * math/k_tanl.c: Likewise.
21172 * math/s_asinhl.c: Likewise.
21173 * math/s_atanl.c: Likewise.
21174 * math/s_cbrtl.c: Likewise.
21175 * math/s_erfl.c: Likewise.
21176 * math/s_expm1l.c: Likewise.
21177 * math/s_log1pl.c: Likewise.
21178 * math/s_tanhl.c: Likewise.
21179 * misc/acct.c: Likewise.
21180 * misc/brk.c: Likewise.
21181 * misc/chflags.c: Likewise.
21182 * misc/chroot.c: Likewise.
21183 * misc/fchflags.c: Likewise.
21184 * misc/fgetxattr.c: Likewise.
21185 * misc/flistxattr.c: Likewise.
21186 * misc/fremovexattr.c: Likewise.
21187 * misc/fsetxattr.c: Likewise.
21188 * misc/fsync.c: Likewise.
21189 * misc/ftruncate.c: Likewise.
21190 * misc/futimes.c: Likewise.
21191 * misc/futimesat.c: Likewise.
21192 * misc/getdomain.c: Likewise.
21193 * misc/getdtsz.c: Likewise.
21194 * misc/gethostid.c: Likewise.
21195 * misc/gethostname.c: Likewise.
21196 * misc/getloadavg.c: Likewise.
21197 * misc/getpagesize.c: Likewise.
21198 * misc/getsysstats.c: Likewise.
21199 * misc/getxattr.c: Likewise.
21200 * misc/gtty.c: Likewise.
21201 * misc/ioctl.c: Likewise.
21202 * misc/lgetxattr.c: Likewise.
21203 * misc/listxattr.c: Likewise.
21204 * misc/llistxattr.c: Likewise.
21205 * misc/lremovexattr.c: Likewise.
21206 * misc/lsetxattr.c: Likewise.
21207 * misc/lutimes.c: Likewise.
21208 * misc/madvise.c: Likewise.
21209 * misc/mincore.c: Likewise.
21210 * misc/mlock.c: Likewise.
21211 * misc/mlockall.c: Likewise.
21212 * misc/mmap.c: Likewise.
21213 * misc/mprotect.c: Likewise.
21214 * misc/msync.c: Likewise.
21215 * misc/munlock.c: Likewise.
21216 * misc/munlockall.c: Likewise.
21217 * misc/munmap.c: Likewise.
21218 * misc/preadv.c: Likewise.
21219 * misc/preadv64.c: Likewise.
21220 * misc/ptrace.c: Likewise.
21221 * misc/pwritev.c: Likewise.
21222 * misc/pwritev64.c: Likewise.
21223 * misc/readv.c: Likewise.
21224 * misc/reboot.c: Likewise.
21225 * misc/remap_file_pages.c: Likewise.
21226 * misc/removexattr.c: Likewise.
21227 * misc/revoke.c: Likewise.
21228 * misc/select.c: Likewise.
21229 * misc/setdomain.c: Likewise.
21230 * misc/setegid.c: Likewise.
21231 * misc/seteuid.c: Likewise.
21232 * misc/sethostid.c: Likewise.
21233 * misc/sethostname.c: Likewise.
21234 * misc/setregid.c: Likewise.
21235 * misc/setreuid.c: Likewise.
21236 * misc/setxattr.c: Likewise.
21237 * misc/sstk.c: Likewise.
21238 * misc/stty.c: Likewise.
21239 * misc/swapoff.c: Likewise.
21240 * misc/swapon.c: Likewise.
21241 * misc/sync.c: Likewise.
21242 * misc/syncfs.c: Likewise.
21243 * misc/syscall.c: Likewise.
21244 * misc/truncate.c: Likewise.
21245 * misc/ualarm.c: Likewise.
21246 * misc/usleep.c: Likewise.
21247 * misc/ustat.c: Likewise.
21248 * misc/utimes.c: Likewise.
21249 * misc/vhangup.c: Likewise.
21250 * misc/writev.c: Likewise.
21251 * posix/_exit.c: Likewise.
21252 * posix/alarm.c: Likewise.
21253 * posix/execve.c: Likewise.
21254 * posix/fexecve.c: Likewise.
21255 * posix/fork.c: Likewise.
21256 * posix/fpathconf.c: Likewise.
21257 * posix/getaddrinfo.c: Likewise.
21258 * posix/getegid.c: Likewise.
21259 * posix/geteuid.c: Likewise.
21260 * posix/getgid.c: Likewise.
21261 * posix/getgroups.c: Likewise.
21262 * posix/getlogin.c: Likewise.
21263 * posix/getlogin_r.c: Likewise.
21264 * posix/getpgid.c: Likewise.
21265 * posix/getpid.c: Likewise.
21266 * posix/getppid.c: Likewise.
21267 * posix/getresgid.c: Likewise.
21268 * posix/getresuid.c: Likewise.
21269 * posix/getsid.c: Likewise.
21270 * posix/getuid.c: Likewise.
21271 * posix/glob64.c: Likewise.
21272 * posix/nanosleep.c: Likewise.
21273 * posix/pathconf.c: Likewise.
21274 * posix/pause.c: Likewise.
21275 * posix/posix_madvise.c: Likewise.
21276 * posix/pread.c: Likewise.
21277 * posix/pread64.c: Likewise.
21278 * posix/pwrite.c: Likewise.
21279 * posix/pwrite64.c: Likewise.
21280 * posix/sched_getaffinity.c: Likewise.
21281 * posix/sched_getp.c: Likewise.
21282 * posix/sched_gets.c: Likewise.
21283 * posix/sched_primax.c: Likewise.
21284 * posix/sched_primin.c: Likewise.
21285 * posix/sched_rr_gi.c: Likewise.
21286 * posix/sched_setaffinity.c: Likewise.
21287 * posix/sched_setp.c: Likewise.
21288 * posix/sched_sets.c: Likewise.
21289 * posix/sched_yield.c: Likewise.
21290 * posix/setgid.c: Likewise.
21291 * posix/setlogin.c: Likewise.
21292 * posix/setpgid.c: Likewise.
21293 * posix/setresgid.c: Likewise.
21294 * posix/setresuid.c: Likewise.
21295 * posix/setsid.c: Likewise.
21296 * posix/setuid.c: Likewise.
21297 * posix/sleep.c: Likewise.
21298 * posix/spawni.c: Likewise.
21299 * posix/sysconf.c: Likewise.
21300 * posix/times.c: Likewise.
21301 * posix/wait.c: Likewise.
21302 * posix/wait3.c: Likewise.
21303 * posix/wait4.c: Likewise.
21304 * posix/waitpid.c: Likewise.
21305 * resolv/gai_sigqueue.c: Likewise.
21306 * resource/getpriority.c: Likewise.
21307 * resource/getrlimit.c: Likewise.
21308 * resource/getrusage.c: Likewise.
21309 * resource/nice.c: Likewise.
21310 * resource/setpriority.c: Likewise.
21311 * resource/setrlimit.c: Likewise.
21312 * resource/ulimit.c: Likewise.
21313 * rt/aio_cancel.c: Likewise.
21314 * rt/aio_fsync.c: Likewise.
21315 * rt/aio_read.c: Likewise.
21316 * rt/aio_sigqueue.c: Likewise.
21317 * rt/aio_suspend.c: Likewise.
21318 * rt/aio_write.c: Likewise.
21319 * rt/clock_getres.c: Likewise.
21320 * rt/clock_gettime.c: Likewise.
21321 * rt/clock_nanosleep.c: Likewise.
21322 * rt/clock_settime.c: Likewise.
21323 * rt/lio_listio.c: Likewise.
21324 * rt/mq_close.c: Likewise.
21325 * rt/mq_getattr.c: Likewise.
21326 * rt/mq_notify.c: Likewise.
21327 * rt/mq_open.c: Likewise.
21328 * rt/mq_receive.c: Likewise.
21329 * rt/mq_send.c: Likewise.
21330 * rt/mq_setattr.c: Likewise.
21331 * rt/mq_timedreceive.c: Likewise.
21332 * rt/mq_timedsend.c: Likewise.
21333 * rt/mq_unlink.c: Likewise.
21334 * rt/shm_open.c: Likewise.
21335 * rt/shm_unlink.c: Likewise.
21336 * rt/timer_create.c: Likewise.
21337 * rt/timer_delete.c: Likewise.
21338 * rt/timer_getoverr.c: Likewise.
21339 * rt/timer_gettime.c: Likewise.
21340 * rt/timer_settime.c: Likewise.
21341 * setjmp/__longjmp.c: Likewise.
21342 * setjmp/setjmp.c: Likewise.
21343 * signal/kill.c: Likewise.
21344 * signal/killpg.c: Likewise.
21345 * signal/raise.c: Likewise.
21346 * signal/sigaction.c: Likewise.
21347 * signal/sigaltstack.c: Likewise.
21348 * signal/sigblock.c: Likewise.
21349 * signal/sigignore.c: Likewise.
21350 * signal/sigintr.c: Likewise.
21351 * signal/signal.c: Likewise.
21352 * signal/sigpause.c: Likewise.
21353 * signal/sigpending.c: Likewise.
21354 * signal/sigqueue.c: Likewise.
21355 * signal/sigreturn.c: Likewise.
21356 * signal/sigset.c: Likewise.
21357 * signal/sigsetmask.c: Likewise.
21358 * signal/sigstack.c: Likewise.
21359 * signal/sigsuspend.c: Likewise.
21360 * signal/sigtimedwait.c: Likewise.
21361 * signal/sigvec.c: Likewise.
21362 * signal/sigwait.c: Likewise.
21363 * signal/sigwaitinfo.c: Likewise.
21364 * signal/sysv_signal.c: Likewise.
21365 * socket/accept.c: Likewise.
21366 * socket/accept4.c: Likewise.
21367 * socket/bind.c: Likewise.
21368 * socket/connect.c: Likewise.
21369 * socket/getpeername.c: Likewise.
21370 * socket/getsockname.c: Likewise.
21371 * socket/getsockopt.c: Likewise.
21372 * socket/isfdtype.c: Likewise.
21373 * socket/listen.c: Likewise.
21374 * socket/recv.c: Likewise.
21375 * socket/recvfrom.c: Likewise.
21376 * socket/recvmsg.c: Likewise.
21377 * socket/send.c: Likewise.
21378 * socket/sendmsg.c: Likewise.
21379 * socket/sendto.c: Likewise.
21380 * socket/setsockopt.c: Likewise.
21381 * socket/shutdown.c: Likewise.
21382 * socket/sockatmark.c: Likewise.
21383 * socket/socket.c: Likewise.
21384 * socket/socketpair.c: Likewise.
21385 * stdio-common/ctermid.c: Likewise.
21386 * stdio-common/cuserid.c: Likewise.
21387 * stdio-common/remove.c: Likewise.
21388 * stdio-common/rename.c: Likewise.
21389 * stdio-common/renameat.c: Likewise.
21390 * stdio-common/tempname.c: Likewise.
21391 * stdlib/getcontext.c: Likewise.
21392 * stdlib/makecontext.c: Likewise.
21393 * stdlib/setcontext.c: Likewise.
21394 * stdlib/swapcontext.c: Likewise.
21395 * stdlib/system.c: Likewise.
21396 * streams/fattach.c: Likewise.
21397 * streams/fdetach.c: Likewise.
21398 * streams/getmsg.c: Likewise.
21399 * streams/getpmsg.c: Likewise.
21400 * streams/putmsg.c: Likewise.
21401 * streams/putpmsg.c: Likewise.
21402 * sysdeps/unix/bsd/getpt.c: Likewise.
21403 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21404 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21405 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21407 Likewise.
21408 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21409 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21410 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21411 * sysvipc/msgctl.c: Likewise.
21412 * sysvipc/msgget.c: Likewise.
21413 * sysvipc/msgrcv.c: Likewise.
21414 * sysvipc/msgsnd.c: Likewise.
21415 * sysvipc/semctl.c: Likewise.
21416 * sysvipc/semget.c: Likewise.
21417 * sysvipc/semop.c: Likewise.
21418 * sysvipc/semtimedop.c: Likewise.
21419 * sysvipc/shmat.c: Likewise.
21420 * sysvipc/shmctl.c: Likewise.
21421 * sysvipc/shmdt.c: Likewise.
21422 * sysvipc/shmget.c: Likewise.
21423 * termios/tcdrain.c: Likewise.
21424 * termios/tcflow.c: Likewise.
21425 * termios/tcflush.c: Likewise.
21426 * termios/tcgetattr.c: Likewise.
21427 * termios/tcgetpgrp.c: Likewise.
21428 * termios/tcsendbrk.c: Likewise.
21429 * termios/tcsetattr.c: Likewise.
21430 * termios/tcsetpgrp.c: Likewise.
21431 * time/adjtime.c: Likewise.
21432 * time/clock.c: Likewise.
21433 * time/getitimer.c: Likewise.
21434 * time/gettimeofday.c: Likewise.
21435 * time/setitimer.c: Likewise.
21436 * time/settimeofday.c: Likewise.
21437 * time/stime.c: Likewise.
21438 * time/time.c: Likewise.
21439
214402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21441
a20492cf
PT
21442 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21443 /usr/old/bin.
21444
72e182e3
PT
21445 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21446 instead of spaces.
21447 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21448
fbeafede
JM
214492012-11-03 Joseph Myers <joseph@codesourcery.com>
21450
5b5b04d6
JM
21451 [BZ #14796]
21452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21453 FE_TONEAREST before applying Dekker multiplication and Knuth
21454 addition. Clear inexact exceptions and check for exact zero
21455 results afterwards.
21456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21457 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21459 * math/libm-test.inc (fma_test): Add more tests.
21460 (fma_test_towardzero): Likewise.
21461 (fma_test_downward): Likewise.
21462 (fma_test_upward): Likewise.
21463 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21464 function.
21465 (libc_fesetround): New macro.
21466 (libc_fesetroundf): Likewise.
21467 (libc_fesetroundl): Likewise.
21468 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21469 function.
21470 (libc_fesetround_387): Likewise.
21471 (libc_fesetroundf): New macro.
21472 (libc_fesetround): Likewise.
21473 (libc_fesetroundl): Likewise.
21474 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21475 function.
21476 (libc_fesetroundf): New macro.
21477 (libc_fesetround): Likewise.
21478 (libc_fesetroundl): Likewise.
21479 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21480 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21481 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21482 libm_hidden_ver.
21483 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21484 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21485 libm_hidden_def.
21486 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21487 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21488 libm_hidden_ver.
21489 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21490 libm_hidden_def.
21491
fbeafede
JM
21492 [BZ #3439]
21493 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21494 integer constant usable in #if and use that to give value to enum
21495 constant.
21496 (FE_DIVBYZERO): Likewise.
21497 (FE_UNDERFLOW): Likewise.
21498 (FE_OVERFLOW): Likewise.
21499 (FE_INVALID): Likewise.
21500 (FE_INVALID_SNAN): Likewise.
21501 (FE_INVALID_ISI): Likewise.
21502 (FE_INVALID_IDI): Likewise.
21503 (FE_INVALID_ZDZ): Likewise.
21504 (FE_INVALID_IMZ): Likewise.
21505 (FE_INVALID_COMPARE): Likewise.
21506 (FE_INVALID_SOFTWARE): Likewise.
21507 (FE_INVALID_SQRT): Likewise.
21508 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21509 (FE_TONEAREST): Likewise.
21510 (FE_TOWARDZERO): Likewise.
21511 (FE_UPWARD): Likewise.
21512 (FE_DOWNWARD): Likewise.
21513 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21514 (FE_DIVBYZERO): Likewise.
21515 (FE_OVERFLOW): Likewise.
21516 (FE_UNDERFLOW): Likewise.
21517 (FE_INEXACT): Likewise.
21518 (FE_TONEAREST): Likewise.
21519 (FE_DOWNWARD): Likewise.
21520 (FE_UPWARD): Likewise.
21521 (FE_TOWARDZERO): Likewise.
21522 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21523 (FE_UNDERFLOW): Likewise.
21524 (FE_OVERFLOW): Likewise.
21525 (FE_DIVBYZERO): Likewise.
21526 (FE_INVALID): Likewise.
21527 (FE_TONEAREST): Likewise.
21528 (FE_TOWARDZERO): Likewise.
21529 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21530 (FE_OVERFLOW): Likewise.
21531 (FE_UNDERFLOW): Likewise.
21532 (FE_DIVBYZERO): Likewise.
21533 (FE_INEXACT): Likewise.
21534 (FE_TONEAREST): Likewise.
21535 (FE_TOWARDZERO): Likewise.
21536 (FE_UPWARD): Likewise.
21537 (FE_DOWNWARD): Likewise.
21538 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21539 (FE_DIVBYZERO): Likewise.
21540 (FE_OVERFLOW): Likewise.
21541 (FE_UNDERFLOW): Likewise.
21542 (FE_INEXACT): Likewise.
21543 (FE_TONEAREST): Likewise.
21544 (FE_DOWNWARD): Likewise.
21545 (FE_UPWARD): Likewise.
21546 (FE_TOWARDZERO): Likewise.
21547
105ca950
CM
215482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21549
21550 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21551
a542b389
AS
215522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21553
21554 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21555 commands. Quote $PWD.
21556 (blacklist_exports): Don't use remove_newlines. Replace "declare
21557 -x" by "export".
21558 (remove_newlines): Remove.
21559
f62c8abc
L
215602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21563 * stdlib/stdlib.h (atof): Moved to ...
21564 * include/bits/stdlib-float.h: Here. New file.
21565 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21566 * stdlib/bits/stdlib-float.h: New file.
21567 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21568 -mno-sse -mno-mmx.
21569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21570 <xmmintrin.h>.
21571
0155d5b2
JM
215722012-11-02 Joseph Myers <joseph@codesourcery.com>
21573
a68d0680
JM
21574 * conform/conformtest.pl (@headers): Add fenv.h.
21575 * conform/data/fenv.h-data: New file.
21576 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21577 include of <math/fenv.h>.
21578
caf7f573
JM
21579 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21580 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21581 && !UNIX98]. Enables tests for XOPEN2K8.
21582 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21583 POSIX2008]: Likewise.
21584
6c073ad6
JM
21585 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21586 (struct rusage): Do not expect type or its members.
21587
0155d5b2
JM
21588 [BZ #3439]
21589 * math/math.h (FP_NAN): Define macro to integer constant usable in
21590 #if and use that to give value to enum constant.
21591 (FP_INFINITE): Likewise.
21592 (FP_ZERO): Likewise.
21593 (FP_SUBNORMAL): Likewise.
21594 (FP_NORMAL): Likewise.
21595
b5dcacb4
AS
215962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21597
21598 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21599 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21600 arguments.
21601
f7934be8
RM
216022012-11-02 Roland McGrath <roland@hack.frob.com>
21603
21604 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21605 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21606 autoconf-time if not.
21607 * configure.in: Remove AC_PREREQ.
21608
d7d08bde
TMQMF
216092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21610
21611 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21612 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21613 of the internal implementation.
21614
dcdae19a
JM
216152012-11-02 Joseph Myers <joseph@codesourcery.com>
21616
21617 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21618 except include of <misc/sys/syslog.h>.
21619
d6cffd3e
AS
216202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21621
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21623 function returns with a NULL context exit with zero.
21624
b3563932
TMQMF
216252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21626
21627 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21628
b288a93d
L
216292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21630
21631 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21632 (run_program_cmd): This.
21633 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21634 (tst_langinfo): New variable. Use it.
21635
a2421a68
SAS
216362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21637
21638 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21639 floating point opcodes.
21640
6f796e1b
TS
216412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21642
7402596b
TS
21643 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21644 variable.
21645
d0d4f868
TS
21646 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21647
6f796e1b
TS
21648 * sysdeps/mach/hurd/powerpc: Remove directory.
21649 * sysdeps/mach/powerpc: Likewise.
21650
4da224a2
AS
216512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21652
21653 * scripts/check-local-headers.sh: Ignore c++ headers.
21654
341dd673
TS
216552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21656
21657 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21658 __libc_cleanup_region_start argument.
21659
473611b2
JM
216602012-11-01 Joseph Myers <joseph@codesourcery.com>
21661
21662 [BZ #14784]
21663 [BZ #14785]
21664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21665 x * y using scaling, not as x * y + z.
21666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21668 * math/libm-test.inc (fma_test): Add more tests.
21669 (fma_test_towardzero): Likewise.
21670 (fma_test_downward): Likewise.
21671 (fma_test_upward): Likewise.
21672
4078da3d
TS
216732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21674
21675 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21676
903252aa
JM
216772012-10-31 Joseph Myers <joseph@codesourcery.com>
21678
21679 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21680 New variable.
21681
cbc818d0
TS
216822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21683
21684 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21685
5a03cb1e
AS
216862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21687
21688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21689 Fix sort order.
21690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21691 Likewise.
21692
90aff2ff
TMQMF
216932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21694
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21696 Fix the order of the list for glibc 2.17.
21697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21698 Likewise.
21699
1818fcb7
AS
217002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21701
21702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21703
ef82f4da
JM
217042012-10-31 Joseph Myers <joseph@codesourcery.com>
21705
16a0e2ec
JM
21706 [BZ #14610]
21707 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21708 for low part of x being zero before using __atanl (y).
21709 * math/libm-test.inc (atan2_test): Add another test.
21710
0eb69512
JM
21711 * manual/install.texi (Configuring and compiling): Document
21712 general use of test-wrapper and test-wrapper-env.
21713 * INSTALL: Regenerated.
21714
ef82f4da
JM
21715 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21716 (__fma): Do not extract and scale down low bits on after-rounding
21717 systems when result rounded to normal precision would have normal
21718 exponent.
21719 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21720 (__fmal): Do not extract and scale down low bits on after-rounding
21721 systems when result rounded to normal precision would have normal
21722 exponent.
21723 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21724 (__fmal): Do not extract and scale down low bits on after-rounding
21725 systems when result rounded to normal precision would have normal
21726 exponent.
21727 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21728 macro.
21729 (fma_test): Add more tests.
21730 (fma_test_towardzero): Likewise.
21731 (fma_test_downward): Likewise.
21732 (fma_test_upward): Likewise.
21733
954ef0d9
L
217342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21735
21736 * sysdeps/i386/tininess.h: Renamed to ...
21737 * sysdeps/x86/tininess.h: This.
21738 * sysdeps/x86_64/tininess.h: Removed.
21739
df61ffb2
JM
217402012-10-30 Joseph Myers <joseph@codesourcery.com>
21741
21742 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21743 input. Use $(build-program-cmd).
21744 ($(objpfx)tst-array1-static.out): Likewise.
21745 ($(objpfx)tst-array2.out): Likewise.
21746 ($(objpfx)tst-array3.out): Likewise.
21747 ($(objpfx)tst-array4.out): Likewise.
21748 ($(objpfx)tst-array5.out): Likewise.
21749 ($(objpfx)tst-array5-static.out): Likewise.
21750
01767843
CM
217512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21752
47cc1490
CM
21753 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21754 if defined.
21755
01767843
CM
21756 * nss/nsswitch.h (nss_interface_function): Provide new
21757 macro for use with NSS functions.
21758 * grp/initgroups.c: Use new macro.
21759 * nss/getXXbyYY.c: Likewise.
21760 * nss/getXXbyYY_r.c: Likewise.
21761 * nss/getXXent.c: Likewise.
21762 * nss/getXXent_r.c: Likewise.
21763 * sysdeps/posix/getaddrinfo.c: Likewise.
21764
8321aa97
AJ
217652012-10-30 Andreas Jaeger <aj@suse.de>
21766
21767 * po/ru.po: Update Russion translation from translation project.
21768
2a27fd6d
JM
217692012-10-30 Joseph Myers <joseph@codesourcery.com>
21770
8627a232
JM
21771 [BZ #14152]
21772 [BZ #14783]
21773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21774 result and shift together with sticky bit instead of replicating
21775 round-to-nearest rounding.
21776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21778 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21779 missing underflow exceptions.
21780 (fma_test_towardzero): Add more tests.
21781 (fma_test_downward): Likewise.
21782 (fma_test_upward): Likewise.
21783
2a27fd6d
JM
21784 [BZ #14047]
21785 * sysdeps/generic/tininess.h: New file.
21786 * sysdeps/i386/tininess.h: Likewise.
21787 * sysdeps/sh/tininess.h: Likewise.
21788 * sysdeps/x86_64/tininess.h: Likewise.
21789 * stdlib/tst-strtod-underflow.c: Likewise.
21790 * stdlib/tst-tininess.c: Likewise.
21791 * stdlib/strtod_l.c: Include <tininess.h>.
21792 (round_and_return): Do not set errno for exact underflow cases.
21793 Force an underflow exception when setting errno for underflow.
21794 Determine underflow based on rounding to normal precision if
21795 TININESS_AFTER_ROUNDING.
21796 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21797 ERANGE for exact underflow cases.
21798 * stdlib/Makefile (tests): Add tst-tininess and
21799 tst-strtod-underflow.
21800 ($(objpfx)tst-tininess): Use $(link-libm).
21801 ($(objpfx)tst-strtod-underflow): Likewise.
21802
e7170363
AJ
218032012-10-30 Andreas Jaeger <aj@suse.de>
21804
e5088dc6
AJ
21805 [BZ#14767]
21806 * elf/Makefile (tests): Remove conditional for have-initfini-array
21807 since this is now always required and the variable does not exist
21808 anymore.
21809 (tests-static): Likewise.
21810 (modules-names): Likewise.
21811
e7170363 21812 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21813
21814 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21815 merged with constructor/destructor.
21816 (init_array): Likewise.
21817 * elf/tst-array2dep.c (fini_array): Likewise.
21818 (init_array): Likewise.
21819
60457d8a
MF
218202012-10-29 Mike Frysinger <vapier@gentoo.org>
21821
21822 * manual/message.texi: Delete @cartouche tags.
21823
8bece752
PT
218242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21825
94ce799f
PT
21826 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21827 EOPNOTSUPP.
21828 * sysdeps/mach/hurd/fsync.c: Likewise.
21829
8bece752
PT
21830 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21831 [_POSIX_REALTIME_SIGNALS]: Change condition to
21832 [_POSIX_REALTIME_SIGNALS > 0].
21833
86ebe6b1
AJ
218342012-10-27 Andreas Jaeger <aj@suse.de>
21835
21836 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21837 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21839 [__WORDSIZE != 64]: Likewise.
21840
54399c08
L
218412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21842
21843 * iconvdata/tst-table.sh: Remove ${SHELL}.
21844 * iconvdata/tst-tables.sh: Likewise.
21845
e2211bed
DM
218462012-10-25 David S. Miller <davem@davemloft.net>
21847
21848 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21849 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21850 of strtoull.
21851
f303f97c
DM
21852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21853 ifunc-impl-list.c
21854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21855 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21856 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21857 file.
21858
1e9d84cd
RM
218592012-10-25 Roland McGrath <roland@hack.frob.com>
21860
21861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21862 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21863 __getdirentries.
21864
df381762
JM
218652012-10-25 Joseph Myers <joseph@codesourcery.com>
21866 Jim Blandy <jimb@codesourcery.com>
21867
21868 * scripts/cross-test-ssh.sh: New file.
21869 * manual/install.texi (Configuring and compiling): Document use of
21870 cross-test-ssh.sh.
21871 * INSTALL: Regenerated.
21872
bff64913
PT
218732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21874
21875 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21876 EOPNOTSUPP.
21877
25fe8932
JM
218782012-10-25 Joseph Myers <joseph@codesourcery.com>
21879
21880 * Makeconfig (run-program-prefix): Fix comment.
21881
cc1290d0
JM
218822012-10-24 Joseph Myers <joseph@codesourcery.com>
21883 Jim Blandy <jimb@codesourcery.com>
21884
21885 * Makeconfig (test-wrapper): New variable,
21886 (test-wrapper-env): Likewise.
21887 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21888 (run-built-tests): Define to yes.
21889 (run-program-prefix): Use $(test-wrapper).
21890 (built-program-cmd): Likewise.
21891 * Rules (make-test-out): Use $(test-wrapper-env) and
21892 $(host-built-program-cmd).
21893 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21894 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21895 tst-pathopt.sh.
21896 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21897 $(test-wrapper-env) to tst-rtld-load-self.sh.
21898 ($(objpfx)order2.out): Use $(test-wrapper).
21899 ($(objpfx)tst-initorder.out): Likewise.
21900 ($(objpfx)tst-initorder2.out): Likewise.
21901 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21902 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21903 (test_wrapper_env): New variable. Use it to run ld.so.
21904 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21905 Use it to run ld.so.
21906 (test_wrapper_env): Likewise.
21907 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21908 $(test-wrapper) to run-iconv-test.sh.
21909 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21910 (ICONV): Use $test_wrapper.
21911 * posix/Makefile ($(objpfx)globtest.out): Pass
21912 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21913 globtest.sh, not $(run-program-prefix).
21914 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21915 (test_wrapper): Likewise.
21916 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21917 set together with run_via_rtld_prefix.
21918 (run_program_prefix): Define in terms of test_wrapper and
21919 run_via_rtld_prefix.
21920
6e6249d0
RM
219212012-10-24 Roland McGrath <roland@hack.frob.com>
21922
21923 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21924 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21925 Targets removed.
21926
21927 [BZ #14743]
21928 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21929 Declare __clock_getres, __clock_gettime, __clock_settime,
21930 __clock_nanosleep, and __clock_getcpuclockid.
21931 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21932 Remove librt_hidden_def (clock_gettime).
21933 * sysdeps/unix/clock_gettime.c: Likewise.
21934 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21935 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21936 * rt/clock_getres.c: Define __clock_getres as an alias.
21937 * sysdeps/posix/clock_getres.c: Likewise.
21938 * rt/clock_settime.c: Define __clock_settime as an alias.
21939 * sysdeps/unix/clock_settime.c: Likewise.
21940 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21941 * sysdeps/unix/clock_nanosleep.c: Likewise.
21942 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21943 * rt/clock-compat.c: New file.
21944 * rt/Makefile (librt-routines): Add clock-compat and move
21945 $(clock-routines) to ...
21946 (routines): ... here, new variable.
21947 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21948 Don't add get_clockfreq here.
21949 * rt/Versions (libc: GLIBC_2.17): New version set.
21950 Add clock_* symbols here.
21951 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21952 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21953 (GLIBC_2.17): Add clock_* symbols.
21954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21958 Likewise.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21960 Likewise.
21961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21965 * NEWS: Mention the move.
21966
21967 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21968 Use __open, __read, __close rather than their public counterparts.
21969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21970 (__get_clockfreq_via_cpuinfo): Likewise.
21971 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21972 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21973
21974 * config.h.in (HAVE_IFUNC): New #undef.
21975 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21976 was successful.
21977 * configure: Regenerated.
21978
0cae3f4b
MF
219792012-10-24 Mike Frysinger <vapier@gentoo.org>
21980
21981 * configure.in: Move READELF check to start of file.
21982 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21983 libc_cv_asm_gnu_indirect_function in the process.
21984 * configure: Regenerated.
21985
8175a253
MF
219862012-10-24 Mike Frysinger <vapier@gentoo.org>
21987
21988 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21989 send the output to /dev/null.
21990 (libc_cv_cc_with_libunwind): Likewise.
21991 (libc_cv_as_noexecstack): Likewise.
21992 * configure: Regenerate.
21993
0708a7d1
JM
219942012-10-24 Joseph Myers <joseph@codesourcery.com>
21995
10b40d85
JM
21996 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21997
0708a7d1
JM
21998 * posix/globtest.sh (TMPDIR): Do not set.
21999 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22000 (testout): Likewise.
22001
9fddec1a
AJ
220022012-10-24 Andreas Jaeger <aj@suse.de>
22003
3a8db22f
AJ
22004 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22005 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22006 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22007 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22008 posix_fadvise64, posix_fallocate64.
22009
9fddec1a
AJ
22010 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22011 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22012 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22013 Likewise.
22014 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22015 Likewise.
22016 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22017
22018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22019 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22020 <bits/fcntl-linux.h>.
22021 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22022
22023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22024 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22025 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22026 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22027 [__WORDSIZE != 64]: Likewise.
22028
ebfd1bbd
JM
220292012-10-23 Joseph Myers <joseph@codesourcery.com>
22030
03ac099f
JM
22031 * Makeconfig (run-built-tests): New variable.
22032 * Rules [$(cross-compiling) = yes]: Change condition to
22033 [$(run-built-tests) = no].
22034 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22035 to [$(run-built-tests) = yes].
22036 * elf/Makefile [$(cross-compiling) = no]: Likewise
22037 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22038 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22039 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22040 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22041 * io/Makefile [$(cross-compiling) = no]: Likewise.
22042 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22043 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22044 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22045 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22046 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22047 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22048 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22049 * string/Makefile [$(cross-compiling) = no]: Likewise.
22050
ebfd1bbd
JM
22051 * posix/Makefile ($(objpfx)globtest.out): Pass
22052 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22053 $(rtld-installed-name).
22054 * posix/globtest.sh (elf_objpfx): Remove variable.
22055 (rtld_installed_name): Likewise.
22056 (library_path): Likewise.
22057 (run_program_prefix): New variable. Use for running globtest
22058 binary.
22059
166bca24
JB
220602012-10-23 Jim Blandy <jimb@codesourcery.com>
22061 Joseph Myers <joseph@codesourcery.com>
22062
22063 * Makeconfig (host-built-program-cmd): New variable.
22064 * elf/Makefile (tst-stackguard1-ARGS): Use
22065 $(host-built-program-cmd).
22066 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22067 (tst-spawn-ARGS): Likewise.
22068 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22069
88866099
JM
220702012-10-23 Joseph Myers <joseph@codesourcery.com>
22071 Jim Blandy <jimb@codesourcery.com>
22072
22073 * Makeconfig (run-via-rtld-prefix): New variable.
22074 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22075 (built-program-cmd): Likewise.
22076
b4b4c296
AJ
220772012-10-22 Andreas Jaeger <aj@suse.de>
22078
22079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22080 __O_RSYNC if it exists, otherwise to O_SYNC.
22081
6fb54a22
JB
220822012-10-22 Jim Blandy <jimb@codesourcery.com>
22083 Joseph Myers <joseph@codesourcery.com>
22084
22085 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22086 /dev/null.
22087 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22088 from /dev/null
22089 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22090 /dev/null.
22091
481b90b9
AJ
220922012-10-22 Andreas Jaeger <aj@suse.de>
22093
2a0e2669
AJ
22094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22095 Define always.
22096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22097
76e38f9a
AJ
22098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22099 bits/fcntl-linux.h.
22100
7cd37b43
AJ
22101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22102 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22103
481b90b9
AJ
22104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22105 to __O_LARGEFILE.
22106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22107 to __O_LARGEFILE.
22108
aba75984
JB
221092012-10-21 Jim Blandy <jimb@codesourcery.com>
22110 Joseph Myers <joseph@codesourcery.com>
22111
22112 * config.make.in (NM): New variable.
22113
88d4247f
AJ
221142012-10-21 Andreas Jaeger <aj@suse.de>
22115
22116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22117 definitions and declarations that are provided by
22118 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22119
f2eed205
L
221202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22121
22122 [BZ #14683]
22123 * elf/Makefile (tests-static): Add tst-leaks1-static.
22124 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22125 ($(objpfx)tst-leaks1-static): New rule.
22126 ($(objpfx)tst-leaks1-static-mem): Likewise.
22127 (tst-leaks1-static-ENV): New macro.
22128 * elf/dl-open.c (dl_open_worker): Check the main application
22129 only if SHARED is defined.
22130 * elf/tst-leaks1-static.c: New file.
22131
335e6931
AJ
221322012-10-20 Andreas Jaeger <aj@suse.de>
22133
22134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22135 generic values for Linux.
22136 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22137 and declarations that are provided by <bits/fcntl-linux.h> and
22138 include <bits/fcntl-linux.h>.
22139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22141
ac5c94d3
RM
221422012-10-20 Roland McGrath <roland@hack.frob.com>
22143
22144 * io/fcntl.h: Move include of <bits/types.h> to the top and
22145 include it unconditionally.
22146
de54b33a
L
221472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22148
228cfb01
L
22149 * wcsmbs/Makefile (tests-ifunc): New variable.
22150 (tests): Add $(tests-ifunc).
22151 * wcsmbs/test-wcschr-ifunc.c: New file.
22152 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22153 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22154 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22155 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22156 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22157
69f07e5f
L
22158 * string/Makefile (tests-ifunc): New variable.
22159 (tests): Add $(tests-ifunc).
22160 * string/test-memccpy.c (TEST_NAME): New macro.
22161 * string/test-memchr.c (TEST_NAME): Likewise.
22162 * string/test-memcmp.c (TEST_NAME): Likewise.
22163 * string/test-memcpy.c (TEST_NAME): Likewise.
22164 * string/test-memmem.c (TEST_NAME): Likewise.
22165 * string/test-memmove.c (TEST_NAME): Likewise.
22166 * string/test-memset.c (TEST_NAME): Likewise.
22167 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22168 * string/test-stpcpy.c (TEST_NAME): Likewise.
22169 * string/test-stpncpy.c (TEST_NAME): Likewise.
22170 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22171 * string/test-strcasestr.c (TEST_NAME): Likewise.
22172 * string/test-strcat.c (TEST_NAME): Likewise.
22173 * string/test-strchr.c (TEST_NAME): Likewise.
22174 * string/test-strcmp.c(TEST_NAME): Likewise.
22175 * string/test-strcpy.c (TEST_NAME): Likewise.
22176 * string/test-strcspn.c (TEST_NAME): Likewise.
22177 * string/test-strlen.c (TEST_NAME): Likewise.
22178 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22179 * string/test-strncmp.c (TEST_NAME): Likewise.
22180 * string/test-strncpy.c (TEST_NAME): Likewise.
22181 * string/test-strnlen.c (TEST_NAME): Likewise.
22182 * string/test-strpbrk.c (TEST_NAME): Likewise.
22183 * string/test-strrchr.c (TEST_NAME): Likewise.
22184 * string/test-strspn.c (TEST_NAME): Likewise.
22185 * string/test-strstr.c (TEST_NAME): Likewise.
22186 * string/test-bcopy-ifunc.c: New file.
22187 * string/test-bzero-ifunc.c: Likewise.
22188 * string/test-memccpy-ifunc.c: Likewise.
22189 * string/test-memchr-ifunc.c: Likewise.
22190 * string/test-memcmp-ifunc.c: Likewise.
22191 * string/test-memcpy-ifunc.c: Likewise.
22192 * string/test-memmem-ifunc.c: Likewise.
22193 * string/test-memmove-ifunc.c: Likewise.
22194 * string/test-mempcpy-ifunc.c: Likewise.
22195 * string/test-memset-ifunc.c: Likewise.
22196 * string/test-rawmemchr-ifunc.c: Likewise.
22197 * string/test-stpcpy-ifunc.c: Likewise.
22198 * string/test-stpncpy-ifunc.c: Likewise.
22199 * string/test-strcasecmp-ifunc.c: Likewise.
22200 * string/test-strcasestr-ifunc.c: Likewise.
22201 * string/test-strcat-ifunc.c: Likewise.
22202 * string/test-strchr-ifunc.c: Likewise.
22203 * string/test-strchrnul-ifunc.c: Likewise.
22204 * string/test-strcmp-ifunc.c: Likewise.
22205 * string/test-strcpy-ifunc.c: Likewise.
22206 * string/test-strcspn-ifunc.c: Likewise.
22207 * string/test-strlen-ifunc.c: Likewise.
22208 * string/test-strncasecmp-ifunc.c: Likewise.
22209 * string/test-strncat-ifunc.c: Likewise.
22210 * string/test-strncmp-ifunc.c: Likewise.
22211 * string/test-strncpy-ifunc.c: Likewise.
22212 * string/test-strnlen-ifunc.c: Likewise.
22213 * string/test-strpbrk-ifunc.c: Likewise.
22214 * string/test-strrchr-ifunc.c: Likewise.
22215 * string/test-strspn-ifunc.c: Likewise.
22216 * string/test-strstr-ifunc.c: Likewise.
22217
de54b33a
L
22218 * debug/Makefile (tests-ifunc): New variable.
22219 (tests): Add $(tests-ifunc).
22220 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22221 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22222 * debug/test-stpcpy_chk-ifunc.c: New file.
22223 * debug/test-strcpy_chk-ifunc.c: Likewise.
22224
88481c16
SP
222252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22226
22227 [BZ #13601]
22228 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22229 header is not read in.
22230
135948bd
JM
222312012-10-19 Joseph Myers <joseph@codesourcery.com>
22232
89f1c388
JM
22233 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22234 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22235 directly. Pass built executable to script as
22236 $(built-program-cmd).
22237 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22238 $testprogram without using LD_LIBRARY_PATH and $ldso.
22239
e40a0d21
JM
22240 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22241 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22242 $(rtld-installed-name).
22243 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22244 (rtld_installed_name): Likewise.
22245 (library_path): Likewise.
22246 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22247 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22248 $(run-program-prefix) to tst-tables.sh.
22249 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22250 it to run tst-table-from and tst-table-to.
22251 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22252 Pass it to tst-table.sh.
22253 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22254 $(run-program-prefix) to tst-gettext.sh.
22255 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22256 tst-translit.sh.
22257 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22258 tst-gettext2.sh.
22259 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22260 to run tst-gettext.
22261 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22262 to run tst-gettext2.
22263 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22264 to run tst-translit.
22265 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22266 $(run-program-prefix) to tst-mtrace.sh.
22267 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22268 to run tst-mtrace.
22269 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22270 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22271 $(rtld-installed-name).
22272 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22273 (rtld_installed_name): Likewise.
22274 (run_program_prefix): New variable. Use it to run wordexp-test.
22275
728e272a
JM
22276 * Makeconfig (ARCH): Remove all definitions.
22277 (machine): Likewise.
22278 [ARCH]: Remove conditional code.
22279 [!objdir]: Give error.
22280 [!objdir] (objpfx): Remove.
22281 [!objdir] (common-objpfx): Likewise.
22282 [!objdir] (common-objdir): Likewise.
22283 * configure.in (config_makefile): Remove. Hardcode Makefile in
22284 AC_CONFIG_FILES call.
22285 * configure: Regenerated.
22286
d528cdcf
JM
22287 [BZ #13888]
22288 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22289 or TMPDIR.
22290 (testout): Likewise.
22291
135948bd
JM
22292 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22293 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22294 $(rtld-installed-name).
22295 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22296 (rtld_installed_name): Likwise.
22297 (runit): Remove function.
22298 (run_getconf): New variable, Use it for running getconf binary.
22299
38c78296
L
223002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22301
22302 [BZ #14716]
22303 * string/test-memmem.c (check_result): New function.
22304 (do_one_test): Use it.
22305 (check1): New function.
22306 (test_main): Use it.
22307
d077f65f
MT
223082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22309
22310 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22311
ced52c71
JM
223122012-10-18 Joseph Myers <joseph@codesourcery.com>
22313
22314 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22315 (_G_LSEEK64): Likewise.
22316 (_G_MMAP64): Likewise.
22317 (_G_FSTAT64): Likewise.
22318 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22319 (_G_LSEEK64): Likewise.
22320 (_G_MMAP64): Likewise.
22321 (_G_FSTAT64): Likewise.
22322 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22323 unconditional. Call __mmap64 directly.
22324 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22325 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22326 __lseek64 directly.
22327 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22328 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22329 __mmap64 directly.
22330 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22331 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22332 __lseek64 directly.
22333 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22334 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22335 __lseek64 directly.
22336 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22337 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22338 __lseek64 directly.
22339 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22340 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22341 __fxstat64 directly.
22342 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22343 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22344 unconditional.
22345 (freopen64) [!_G_OPEN64]: Remove conditional code.
22346 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22347 unconditional.
22348 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22349 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22350 unconditional.
22351 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22352 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22353 unconditional.
22354 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22355 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22356 unconditional.
22357 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22358 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22359 unconditional.
22360 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22361 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22362 unconditional.
22363 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22364 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22365 unconditional.
22366 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22367
b741de23
SP
223682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22369
22370 [BZ #12140]
22371 * manual/memory.texi (Malloc Tunable Parameters): Add note
22372 about free list pointers overwriting some perturb bytes.
22373 Wording suggested by Roland McGrath.
22374
f9b9d9c9
JM
223752012-10-17 Joseph Myers <joseph@codesourcery.com>
22376
22377 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22378 (lgamma_test): Likewise.
22379 (tgamma_test): Likewise.
22380
172a631a
FW
223812012-10-16 Florian Weimer <fweimer@redhat.com>
22382
22383 [BZ #14700]
22384 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22385 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22386
e9f37252
MK
223872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22388
22389 * NEWS: Mention BZ #14716.
22390 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22391 when removing AVAILABLE1_USES_J macro.
22392
d394eb74
L
223932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22394
22395 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22396 (__bswap_64): __uint64_t for unsigned 64-bit int.
22397
ca38dc17
AS
223982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22399
22400 * include/string.h (memmem): Declare libc hidden alias.
22401 * string/memmem.c (memmem): Define libc hidden alias.
22402 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22403 __read, __close instead of open, read, close.
22404
9a387d1f
L
224052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22406
ac49ecaf
L
22407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22408 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22409 global and hidden.
22410 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22411 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22412 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22413 Likewise.
22414 (__rawmemchr_sse2): Likewise.
22415 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22416 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22417 (__strchr_sse2): Likewise.
22418 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22419 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22420 (__strcasecmp_sse2): Likewise.
22421 (__strncasecmp_sse2): Likewise.
22422 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22423 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22424 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22425 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22426 (__strrchr_sse2): Likewise.
22427 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22428 ifunc-impl-list.c.
22429 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22430 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22431 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22432 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22433 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22434 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22435 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22436 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22437 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22438 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22439 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22440 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22441 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22442 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22443 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22444 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22445 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22446 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22447 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22448 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22449 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22450 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22451 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22452 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22453 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22454 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22455 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22456 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22457 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22458 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22459
b090e8ea
L
22460 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22461 global and hidden.
22462 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22463 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22464 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22465 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22466 Likewise.
22467 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22468 Likewise.
22469 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22470 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22471 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22472 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22473 ifunc-impl-list.c.
22474 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22475 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22476 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22477 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22478 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22479 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22480 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22481 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22482 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22483 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22484 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22485 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22486 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22487 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22488 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22490 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22491 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22492 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22493 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22494 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22495 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22496 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22497 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22498 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22499 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22500 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22501 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22502 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22503 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22504 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22505 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22506 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22507 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22508 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22509 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22510 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22511 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22512 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22513 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22514 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22515
11dd4af6
L
22516 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22517 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22518 * include/ifunc-impl-list.h: New file.
22519 * misc/ifunc-impl-list.c: Likewise.
22520 * misc/Makefile (routines): Add ifunc-impl-list.
22521 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22522 * string/test-string.h: Include <ifunc-impl-list.h>.
22523 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22524 impl_array): New variables.
22525 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22526 are defined.
22527 (test_init): Call __libc_ifunc_impl_list to initialize
22528 func_list if TEST_IFUNC and TEST_NAME are defined.
22529
9a387d1f
L
22530 * string/Makefile (strop-tests): Add bcopy and bzero.
22531 * string/test-bcopy.c: New file.
22532 * string/test-bzero.c: Likewise.
22533 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22534 defined.
22535 * string/test-memset.c: Support bzero test if TEST_BZERO is
22536 defined.
22537 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22538 __libc_memmove.
22539 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22540 __libc_memset.
22541 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22542 of memset.
22543
472371b9
JM
225442012-10-10 Joseph Myers <joseph@codesourcery.com>
22545
1e4a9536
JM
22546 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22547 * configure: Regenerated.
22548
d173d12e
JM
22549 * Makeconfig (+link-static-before-libc): Don't include
22550 $(link-static-libc).
22551
472371b9
JM
22552 * libio/libio.h (_IO_pos_t): Remove.
22553
89a3ad0b
AO
225542012-10-10 Alexandre Oliva <aoliva@redhat.com>
22555
22556 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22557 McGrath.
22558
e7451425
AO
225592012-10-10 Alexandre Oliva <aoliva@redhat.com>
22560
22561 * crypt/crypt-entry.c: Include fips-private.h.
22562 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22563 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22564 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22565 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22566
4ba74a35
AO
225672012-10-10 Alexandre Oliva <aoliva@redhat.com>
22568
22569 * crypt/crypt-private.h: Include stdbool.h.
22570 (_ufc_setup_salt_r): Return bool.
22571 * crypt/crypt-entry.c: Include errno.h.
22572 (__crypt_r): Return NULL with EINVAL for bad salt.
22573 * crypt/crypt_util.c (bad_for_salt): New.
22574 (_ufc_setup_salt_r): Check that salt is long enough and within
22575 the specified alphabet.
22576 * crypt/badsalttest.c: New file.
22577 * crypt/Makefile (tests): Add it.
22578 ($(objpfx)badsalttest): New.
22579
f96f1242
MK
225802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22581
22582 * NEWS: Add entry for BZ #14602.
22583
0e8e0c1c
JM
225842012-10-09 Joseph Myers <joseph@codesourcery.com>
22585
22586 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22587 type-generic.
22588 * math/libm-test.inc: Update comment listing what functions and
22589 macros are tested.
22590 (isgreater_test): New function.
22591 (isgreaterequal_test): Likewise.
22592 (isless_test): Likewise.
22593 (islessequal_test): Likewise.
22594 (islessgreater_test): Likewise.
22595 (isunordered_test): Likewise.
22596 (main): Call the new functions.
22597
273edc5e
RM
225982012-10-09 Roland McGrath <roland@hack.frob.com>
22599
b8493de0
RM
22600 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22601 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22602 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22603 * sysdeps/i386/configure: Regenerated.
22604 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22605 * sysdeps/mach/configure: Regenerated.
22606 * sysdeps/mach/hurd/configure: Regenerated.
22607 * sysdeps/powerpc/configure: Regenerated.
22608 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22609 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22610 * sysdeps/s390/s390-32/configure: Regenerated.
22611 * sysdeps/s390/s390-64/configure: Regenerated.
22612 * sysdeps/sh/configure: Regenerated.
22613 * sysdeps/sparc/configure: Regenerated.
22614 * sysdeps/unix/sysv/linux/configure: Regenerated.
22615 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22616 * sysdeps/x86_64/configure: Regenerated.
22617
273edc5e
RM
22618 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22619 defined. Don't check if MAP is NULL.
22620
c8450f70
JM
226212012-10-09 Joseph Myers <joseph@codesourcery.com>
22622
22623 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22624 (_G_stat64): Likewise.
22625 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22626 (_G_stat64): Likewise.
22627 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22628 instead of struct _G_stat64.
22629 * libio/fileops.c (mmap_remap_check): Likewise.
22630 (decide_maybe_mmap): Likewise.
22631 (_IO_new_file_seekoff): Likewise.
22632 (_IO_file_stat): Likewise.
22633 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22634 _G_off64_t.
22635 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22636 instead of struct _G_stat64.
22637 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22638
57e605ba
MK
226392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22640
22641 [BZ #14602]
22642 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22643 Replace with ...
22644 (CHECK_EOL): New macro.
22645 (two_way_short_needle): Check beginning of haystack for EOL. Use
22646 CHECK_EOL.
22647 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22648 Replace with CHECK_EOL.
22649 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22650 Replace with CHECK_EOL.
22651
ef1bb361
JM
226522012-10-08 Joseph Myers <joseph@codesourcery.com>
22653
22654 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22655 type-generic.
22656 * math/libm-test.inc: Update comment listing what functions and
22657 macros are tested.
22658 (finite_test): New function.
22659 (isinf_test): Likewise.
22660 (isnan_test): Likewise.
22661 (fpclassify_test): Test subnormal input.
22662 (isfinite_test): Likewise.
22663 (isnormal_test): Likewise.
22664 (main): Call the new functions.
22665
55f11534
JN
226662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22667
22668 [BZ #14660]
22669 * Makerules (%.dynsym): Force C locale when running
22670 $(OBJDUMP) --dynamic-syms.
22671
1ab29350
AS
226722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22673
22674 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22675 <stdint.h>.
22676
f1ecb7ef
DM
226772012-10-06 David S. Miller <davem@davemloft.net>
22678
22679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22680 upper 32-bits of the length value in %o2 since we use branch-on-register
22681 tests which consider the entire 64-bit register.
22682
5d41d91a
L
226832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22684
22685 * string/test-strstr.c (check2): Add a test for page boundary.
22686
3baddb72
DM
226872012-10-05 David S. Miller <davem@davemloft.net>
22688
22689 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22690 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22691 file.
22692 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22693 sysdep_routines.
22694 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22695 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22696 and bzero when HWCAP_SPARC_CRYPTO is present.
22697
9cee5585
L
226982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22699
d7e0dab9
L
22700 [BZ #14602]
22701 * string/test-strstr.c (check2): New function.
22702 (test_main): Call check2.
22703
03759f47
L
22704 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22705 and bug-strchr1.
22706 * string/bug-strcasestr1.c (do_test): Moved to ...
22707 * string/test-strcasestr.c (check1): Here. New function.
22708 (do_one_test): Break out result checking code into ...
22709 (check_result): This. New function.
22710 (do_one_test): Call check_result.
22711 (test_main): Call check1.
22712 * string/bug-strchr1.c (do_test): Moved to ...
22713 * string/test-strchr.c (check1): Here. New function.
22714 (do_one_test): Break out result checking code into ...
22715 (check_result): This. New function.
22716 (do_one_test): Call check_result.
22717 (test_main): Call check1.
22718 * string/bug-strstr1.c (main): Moved to ...
046f153e 22719 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22720 (do_one_test): Break out result checking code into ...
22721 (check_result): This. New function.
22722 (do_one_test): Call check_result.
22723 (test_main): Call check1.
22724 * string/bug-strcasestr1.c: Removed.
22725 * string/bug-strchr1.c: Likewise.
22726 * string/bug-strstr1.c: Likewise.
22727
53cea63e
L
22728 * elf/Makefile (dl-routines): Add hwcaps.
22729 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22730 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22731 (_dl_important_hwcaps): Moved to ...
22732 * elf/dl-hwcaps.c: Here. New file.
22733 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22734
9cee5585 22735 [BZ #14557]
bb859b06
L
22736 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22737 if IS_IN_rtld isn't defined.
22738
9cee5585
L
22739 * elf/dl-support.c (_dl_sysinfo_map): New.
22740 Include "get-dynamic-info.h" and "setup-vdso.h".
22741 (_dl_non_dynamic_init): Call setup_vdso.
22742 * elf/dynamic-link.h: Don't include <assert.h>.
22743 (elf_get_dynamic_info): Moved to ...
22744 * elf/get-dynamic-info.h: Here. New file.
22745 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22746 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22747 * elf/setup-vdso.h: Here. New file.
22748 * elf/rtld.c: Include "setup-vdso.h".
22749 (dl_main): Call setup_vdso.
22750
23c31b76
JM
227512012-10-05 Joseph Myers <joseph@codesourcery.com>
22752
28234b07
JM
22753 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22754 creal in comment listing functions tested. List finite, isinf,
22755 isnan, isless, islessequal, isgreater, isgreaterequal,
22756 islessgreater, isunordered, lgamma_r and pow10 as functions and
22757 macros not tested. Mention which functions not tested are aliases
22758 for other functions. Fix typo. Note that signs of NaNs are not
22759 tested.
22760
23c31b76
JM
22761 * scripts/config.guess: Update from config.git.
22762 * scripts/config.sub: Likewise.
22763
9043e228
RM
227642012-10-04 Roland McGrath <roland@hack.frob.com>
22765
22766 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22767 * misc/madvise.c (madvise): Renamed to __madvise.
22768 Make madvise a weak alias.
22769 * include/sys/mman.h: Declare __madvise.
22770 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22771 * sysdeps/unix/syscalls.list
22772 (madvise): Make __madvise the strong name, and madvise a weak alias.
22773 * sysdeps/unix/sysv/linux/syscalls.list
22774 (madvise, mmap): Remove redundant entries.
22775 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22776 * malloc/malloc.c (mtrim): Likewise.
22777 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22778
f57f8055
RM
227792012-10-03 Roland McGrath <roland@hack.frob.com>
22780
22781 * sysdeps/mach/hurd/dl-cache.c: File removed.
22782 * config.h.in (USE_LDCONFIG): New #undef.
22783 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22784 * configure: Regenerated.
22785 * elf/Makefile (dl-routines): Add dl-cache only under
22786 [$(use-ldconfig) = yes].
22787 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22788 cache on [USE_LDCONFIG].
22789 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22790 [USE_LDCONFIG].
22791 * elf/rtld.c (dl_main): Likewise.
22792
5bb0c10a
PT
227932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22794
22795 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22796 _SC_LEVEL4_CACHE_LINESIZE.
22797
010188c6
RM
227982012-10-03 Roland McGrath <roland@hack.frob.com>
22799
22800 * sysdeps/unix/bsd/confstr.h: File removed.
22801
b6c5ec07
AO
228022012-10-02 Alexandre Oliva <aoliva@redhat.com>
22803
22804 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22805 sys/sdt-config.h.
22806
408223d4
RM
228072012-10-02 Roland McGrath <roland@hack.frob.com>
22808
22809 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22810 Make 'mapoff' field ElfW(Off) rather than off_t.
22811
bb9510dc
DL
228122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22813
fc997c6e
DL
22814 * nscd/Makefile: Remove nscd-cflags and all its users.
22815 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22816 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22817
bb9510dc
DL
22818 [BZ #10631]
22819 * malloc.c (malloc_printerr): Clarify error message.
22820
05699367
L
228212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22822
22823 [BZ #14648]
22824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22825 Set bit_FMA_Usable if FMA is supported.
22826 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22827 macro.
22828 (bit_FMA4_Usable): Updated.
22829 (index_FMA_Usable): New macro.
22830 (CPUID_FMA): Likewise
22831 (HAS_FMA): Defined with bit_FMA_Usable.
22832
51367701
RM
228332012-10-01 Roland McGrath <roland@hack.frob.com>
22834
22835 * bits/types.h (__swblk_t): Type removed.
22836 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22837 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22839 (__SWBLK_T_TYPE): Likewise.
22840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22841 (__SWBLK_T_TYPE): Likewise.
22842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22843 (__SWBLK_T_TYPE): Likewise.
22844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22845 (__SWBLK_T_TYPE): Likewise.
22846
4d57bf63 228472012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22848 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22849
22850 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22851 (xdr_mapname): Use YPMAXMAP as maxsize.
22852 (xdr_peername): Use YPMAXPEER as maxsize.
22853 (xdr_keydat): Use YPAXRECORD as maxsize.
22854 (xdr_valdat): Use YPMAXRECORD as maxsize.
22855
93c65d43
RM
228562012-10-01 Roland McGrath <roland@hack.frob.com>
22857
497a03d6
RM
22858 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22859
93c65d43
RM
22860 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22861 * csu/init-first.c: ... here.
22862 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22863 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22864 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22865 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22866 * sysdeps/i386/init-first.c: File removed.
22867 * sysdeps/sh/init-first.c: File removed.
22868
bec749fd
JM
228692012-10-01 Joseph Myers <joseph@codesourcery.com>
22870
22871 [BZ #14645]
22872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22873 if x * y might underflow to zero and z is zero.
22874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22876 * math/libm-test.inc (min_subnorm_value): New variable.
22877 (fma_test): Add more tests.
22878 (fma_test_towardzero): Likewise.
22879 (fma_test_downward): Likewise
22880 (fma_test_upward): Likewise.
22881 (initialize): Set min_subnorm_value.
22882
8ec5b013
JM
228832012-09-29 Joseph Myers <joseph@codesourcery.com>
22884
22885 [BZ #14638]
22886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22887 0 + 0.
22888 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22889 mode for addition resulting in exact zero.
22890 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22892 exact 0 + 0.
22893 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22895 * math/libm-test.inc (fma_test): Add more tests.
22896 (fma_test_towardzero): New function.
22897 (fma_test_downward): Likewise.
22898 (fma_test_upward): Likewise.
22899 (main): Call the new functions.
22900
b1fa802e
DM
229012012-09-28 David S. Miller <davem@davemloft.net>
22902
22903 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22904
d3b9fd9e
RM
229052012-09-28 Roland McGrath <roland@hack.frob.com>
22906
ea4d37b3
RM
22907 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22908 instead of SIGALRM.
22909
ac51c949
RM
22910 * sysdeps/gnu/_G_config.h: Moved to ...
22911 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22912 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22913 * sysdeps/generic/_G_config.h: ... here.
22914
28c195f7
RM
22915 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22916
848917f9
RM
22917 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22918
6bacf05b
RM
22919 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22920 Conditionalize target on [libnss_test1.so-version].
22921
91363dbb
RM
22922 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22923
cc87f7d8
RM
22924 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22925 (elfobjdir): Move out of conditionals.
22926
b1c608fe
RM
22927 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22928 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22929 (__nss_lookup_function): Conditionalize label remove_from_tree on
22930 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22931
1d9a6d96
DM
229322012-09-28 David S. Miller <davem@davemloft.net>
22933
22934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22935 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22936 file.
22937 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22938 sysdep_routines.
22939 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22941 when HWCAP_SPARC_CRYPTO is present.
22942
72581615
PT
229432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22944
22945 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22946
715a900c
JL
229472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22948
22949 [BZ #6530]
22950 * stdio-common/vfprintf.c (process_string_arg): Revert
22951 2000-07-22 change.
22952
229532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22954
22955 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22956 for testcase.
22957 * stdio-common/tst-sprintf.c: Include <locale.h>
22958 (main): Test sprintf's handling of incomplete multibyte
22959 characters.
22960
9bac1d86
L
229612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * elf/dl-runtime.c (VERSYMIDX): Removed.
22964 * elf/dl-version.c (VERSYMIDX): Likewise.
22965 * elf/do-rel.h (VERSYMIDX): Likewise.
22966 (VALIDX): Likewise.
22967 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22968 * elf/rtld.c (VALIDX): Likewise.
22969 (ADDRIDX): Likewise.
9bac1d86
L
22970 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22971 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22972 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22973 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22974 (VALIDX): Likewise.
22975 (ADDRIDX): Likewise.
9bac1d86 22976
b31606c0
PT
229772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22978
22979 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22980
11541177
JL
229812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22982
22983 [BZ #11438]
22984 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22985 to global scope.
22986 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22987 addresses are in the same scope as 192.0.2/24.
22988 * posix/gai.conf: Document new scope table defaults.
22989
adb26fae
SP
229902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22991
22992 [BZ #5298]
22993 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22994 for ftell. Compute offsets from write pointers instead.
22995 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22996
4573c6b0
SP
229972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22998
22999 [BZ #14543]
23000 * libio/Makefile (tests): New test case tst-fseek.
23001 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23002 combination works in wide mode.
23003 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23004 state when the external buffer state changes.
23005
aa9bbfe6
DM
230062012-09-27 David S. Miller <davem@davemloft.net>
23007
23008 [BZ #14376]
23009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23010 pass reloc->r_addend in as the 'high' argument to
23011 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23012
784421e7
DM
23013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23014
c39bc8b8
PT
230152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23016
23017 * rt/tst-aio2.c: Include <pthread.h>.
23018 * rt/tst-aio3.c: Likewise.
23019
1ccc2399
SE
230202012-09-27 Steve Ellcey <sellcey@mips.com>
23021
23022 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23023
31ed4153
L
230242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23025
25f5f885
L
23026 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23027 contents on [SHARED].
31ed4153 23028
b7bfe116
MP
230292012-09-26 Marek Polacek <polacek@redhat.com>
23030
23031 [BZ #14530]
23032 [BZ #13741]
23033 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23034 for C++ and GCC <4.3 as well as for non GCC compilers.
23035
43c4edba
MT
230362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23037
23038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23039
6a1bf82f
RM
230402012-09-25 Roland McGrath <roland@hack.frob.com>
23041
23042 * Makefile.in (all, install): Declare with .PHONY.
23043 Reported by Michael Hope <michael.hope@linaro.org>.
23044
8ad11b9a
TMQMF
230452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23046
23047 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23048 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23049 system header.
23050 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23051 Likewise.
23052 (sydep_routines): Add the new and the internal functions.
23053 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23054 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23056 (GLIBC_2.17): Add the new function.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23058 (GLIBC_2.17): Likewise.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23060 (GLIBC_2.17): Likewise.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23062 (GLIBC_2.17): Likewise.
23063 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23064
7e2fca8d
AM
230652012-09-25 Alan Modra <amodra@gmail.com>
23066
23067 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23068 Add release barrier before setting once_control to say
23069 initialisation is done. Add hints on lwarx. Use macro in
23070 place of isync.
23071 (clear_once_control): Add release barrier.
23072
b87c4b24
JM
230732012-09-25 Joseph Myers <joseph@codesourcery.com>
23074
d032e0d2
JM
23075 [BZ #13629]
23076 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23077 specially.
23078 * math/s_clog10.c (__clog10): Likewise.
23079 * math/s_clog10f.c (__clog10f): Likewise.
23080 * math/s_clog10l.c (__clog10l): Likewise.
23081 * math/s_clogf.c (__clogf): Likewise.
23082 * math/s_clogl.c (__clogl): Likewise.
23083 * math/Makefile (libm-calls): Add x2y2m1.
23084 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23085 (__x2y2m1): Likewise.
23086 (__x2y2m1l): Likewise.
23087 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23088 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23089 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23091 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23092 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23093 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23094 * sysdeps/i386/fpu/libm-test-ulps: Update.
23095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23096
b87c4b24
JM
23097 [BZ #14621]
23098 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23099 int as type of variable DEPTH.
23100 (glob): Use size_t instead of int as type of variables NEWCOUNT
23101 and OLD_PATHC.
23102
6d3bf199
LD
231032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23104
22bf5c17
LD
23105 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23106 Add s_sincosf-sse2.
23107 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23108 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23109 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23110 macros for using routine as __sincosf_ia32.
23111 Use macro for function declaration and weak_alias.
23112 * sysdeps/i386/fpu/libm-test-ulps: Update.
23113
23114 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23116
23117 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23118 subnormal argument.
23119 * math/s_cexpf.c (__cexpf): Likewise.
23120 * math/s_csinf.c (__csinf): Likewise.
23121 * math/s_csinhf.c (__csinhf): Likewise.
23122 * math/s_ctanf.c (__ctanf): Likewise.
23123 * math/s_ctanhf.c (__ctanhf): Likewise.
23124 * math/s_ccosh.c (__ccoshf): Likewise.
23125 * math/s_cexp.c (__cexpl): Likewise.
23126 * math/s_csin.c (__csin): Likewise.
23127 * math/s_csinh.c (__csinh): Likewise.
23128 * math/s_ctan.c (__ctan): Likewise.
23129 * math/s_ctanh.c (ctanh): Likewise.
23130 * math/s_ccoshl.c (__ccoshl): Likewise.
23131 * math/s_cexpl.c (__cexpl): Likewise.
23132 * math/s_csinl.c (__csinl): Likewise.
23133 * math/s_csinhl.c (__csinhl): Likewise.
23134 * math/s_ctanl.c (__ctanl): Likewise.
23135 * math/s_ctanhl.c (__ctanhl): Likewise.
23136
203e5603
JM
231372012-09-25 Joseph Myers <joseph@codesourcery.com>
23138
23139 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23140 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23141 (_IO_off_t): Define to __off_t, not _G_off_t.
23142 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23143 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23144 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23145 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23146 type of __dummy and __dummy2 fields.
23147 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23148 (_G_ssize_t): Likewise.
23149 (_G_off_t): Likewise.
23150 (_G_pid_t): Likewise.
23151 (_G_uid_t): Likewise.
23152 (_G_wchar_t): Likewise.
23153 (_G_wint_t): Likewise.
23154 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23155 (_G_ssize_t): Likewise.
23156 (_G_off_t): Likewise.
23157 (_G_pid_t): Likewise.
23158 (_G_uid_t): Likewise.
23159 (_G_wchar_t): Likewise.
23160 (_G_wint_t): Likewise.
23161 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23162 (_G_ssize_t): Likewise.
23163 (_G_off_t): Likewise.
23164 (_G_pid_t): Likewise.
23165 (_G_uid_t): Likewise.
23166 (_G_wchar_t): Likewise.
23167 (_G_wint_t): Likewise.
23168
9fab36eb
SP
231692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23170
23171 * malloc/arena.c: Include malloc-sysdep.h.
23172 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23173 is sufficient to shrink the heap or an unmap is needed.
23174 * sysdeps/generic/malloc-sysdep.h: New file. Define
23175 new function check_may_shrink_heap.
23176 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23177 new function check_may_shrink_heap.
23178
2b4f00d1
SP
231792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23180
23181 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23182 comments.
23183
9a9028b1
DL
231842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23185
57c69bef
DL
23186 * catgets/test-gencat.sh: Add "set -e".
23187 * elf/tst-pathopt.sh: Likewise.
23188 * grp/tst_fgetgrent.sh: Likewise.
23189 * iconvdata/run-iconv-test.sh: Likewise.
23190 * intl/tst-gettext.sh: Likewise.
23191 * intl/tst-gettext2.sh: Likewise.
23192 * intl/tst-gettext4.sh: Likewise.
23193 * intl/tst-gettext6.sh: Likewise.
23194 * intl/tst-translit.sh: Likewise.
23195 * io/ftwtest-sh: Likewise.
23196 * libio/test-freopen.sh: Likewise.
23197 * malloc/tst-mtrace.sh: Likewise.
23198 * posix/globtest.sh: Likewise.
23199 * posix/tst-getconf.sh: Likewise.
23200 * posix/wordexp-tst.sh: Likewise.
23201 * stdio-common/tst-printf.sh: Likewise.
23202 * stdio-common/tst-unbputc.sh: Likewise.
23203 * stdlib/tst-fmtmsg.sh: Likewise.
23204 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23205 * catgets/Makefile: Do not specify -e option when running
23206 testsuite shell scripts.
23207 * elf/Makefile: Likewise.
23208 * grp/Makefile: Likewise.
23209 * iconvdata/Makefile: Likewise.
23210 * intl/Makefile: Likewise.
23211 * io/Makefile: Likewise.
23212 * libio/Makefile: Likewise.
23213 * malloc/Makefile: Likewise.
23214 * posix/Makefile: Likewise.
23215 * stdio-common/Makefile: Likewise.
23216 * stdlib/Makefile: Likewise.
23217 * sysdeps/x86_64/Makefile: Likewise.
23218
9a9028b1
DL
23219 * io/ftwtest-sh: Add copyright header.
23220 * posix/globtest.sh: Likewise.
23221 * posix/tst-getconf.sh: Likewise.
23222 * posix/wordexp-tst.sh: Likewise.
23223 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23224
ced6f16e
L
232252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23226
94b32c39
L
23227 [BZ #13679]
23228 * Makeconfig (+link): Defined as $(+link-static) if
23229 $(build-shared) isn't yes.
23230 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23231 isn't yes.
23232 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23233
189e935b
L
23234 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23235
ced6f16e
L
23236 [BZ #14562]
23237 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23238 new chunk size with MALLOC_ALIGN_MASK.
23239
a9f8e53a
JM
232402012-09-24 Joseph Myers <joseph@codesourcery.com>
23241
23242 [BZ #5044]
23243 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23244 <rounding-mode.h>.
23245 (__printf_fphex): Determine rounding using get_rounding_mode and
23246 round_away.
23247 * stdio-common/tst-printf-round.c (struct hex_test): New
23248 structure.
23249 (hex_tests): New variable.
23250 (test_hex_in_one_mode): New function.
23251 (do_test): Also run tests for hex float output.
23252
43153109
JM
232532012-09-21 Joseph Myers <joseph@codesourcery.com>
23254
23255 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23256 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23257 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23258 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23259 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23260 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23261 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23262 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23263
8a26625d
JM
232642012-09-20 Joseph Myers <joseph@codesourcery.com>
23265
23266 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23267 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23268 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23269 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23270
f3fd569c
DL
232712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23272
23273 [BZ #14579]
23274 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23275 mode only.
23276 * elf/tst-rtld-load-self.sh: New test.
23277 * elf/Makefile: Run it.
23278
63bbedd4
JM
232792012-09-18 Joseph Myers <joseph@codesourcery.com>
23280
23281 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23282 (tst-writev-ENV): Remove.
23283 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23284
626f8b6a
CM
232852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23286
23287 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23288
b7aaa4d6
JM
232892012-09-17 Joseph Myers <joseph@codesourcery.com>
23290
23291 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23292 unconditional.
23293 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23294 Likewise.
23295 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23296 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23297 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23298 Likewise.
23299
65513990
L
233002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 [BZ #14587]
23303 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23304 * config.make.in (have-cpp-asm-debuginfo): Removed.
23305 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23306 * configure: Regenerated.
23307
784761be
JM
233082012-09-14 Joseph Myers <joseph@codesourcery.com>
23309
23310 [BZ #5044]
23311 * stdio-common/printf_fp.c: Include <stdbool.h> and
23312 <rounding-mode.h>.
23313 (___printf_fp): Determine rounding using get_rounding_mode and
23314 round_away.
23315 * stdio-common/tst-printf-round.c: New file.
23316 * stdio-common/Makefile (tests): Add tst-printf-round.
23317 (link-libm): New variable.
23318 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23319
9503345f
L
233202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23321
23322 [BZ #14576]
23323 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23324 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23325 Likewise.
23326 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23327 Likewise.
23328
ad35fc00
JM
233292012-09-13 Joseph Myers <joseph@codesourcery.com>
23330
23331 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23332 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23333 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23334 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23335
6c9b0f68
JM
233362012-09-12 Joseph Myers <joseph@codesourcery.com>
23337
23338 [BZ #14518]
23339 * include/rounding-mode.h: New file.
23340 * sysdeps/generic/get-rounding-mode.h: Likewise.
23341 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23342 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23343 (MAX_VALUE): New macro.
23344 (MIN_VALUE): Likewise.
23345 (overflow_value): New function.
23346 (underflow_value): Likewise.
23347 (round_and_return): Use overflow_value and underflow_value to
23348 determine return values in overflow and underflow cases. Use
23349 round_away to determine rounding depending on rounding mode.
23350 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23351 determine return values in overflow and underflow cases.
23352 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23353 (struct test_results): New structure.
23354 (struct test): Use struct test_results to store expected results
23355 for all rounding modes.
23356 (TEST): Include expected results for all rounding modes.
23357 (test_in_one_mode): New function.
23358 (do_test): Use test_in_one_mode to compute and check results.
23359 Check results for all rounding modes.
23360 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23361 $(link-libm).
23362
19fcedd5
AM
233632012-12-09 Allan McRae <allan@archlinux.org>
23364
1e9d84cd 23365 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23366
8bbfd2f1
JM
233672012-09-11 Joseph Myers <joseph@codesourcery.com>
23368
23369 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23370 (_G_int32_t): Likewise.
23371 (_G_uint16_t): Likewise.
23372 (_G_uint32_t): Likewise.
23373 (_G_HAVE_BOOL): Likewise.
23374 (_G_HAVE_ATEXIT): Likewise.
23375 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23376 (_G_HAVE_IO_FILE_OPEN): Likewise.
23377 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23378 (_G_int32_t): Likewise.
23379 (_G_uint16_t): Likewise.
23380 (_G_uint32_t): Likewise.
23381 (_G_HAVE_BOOL): Likewise.
23382 (_G_HAVE_ATEXIT): Likewise.
23383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23384 (_G_HAVE_IO_FILE_OPEN): Likewise.
23385 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23386 (_G_int32_t): Likewise.
23387 (_G_uint16_t): Likewise.
23388 (_G_uint32_t): Likewise.
23389 (_G_HAVE_BOOL): Likewise.
23390 (_G_HAVE_ATEXIT): Likewise.
23391 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23392 (_G_HAVE_IO_FILE_OPEN): Likewise.
23393
b1dc5912
L
233942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23395
23396 * csu/libc-tls.c: Update copyright years.
23397
0e886ef9
JM
233982012-09-10 Joseph Myers <joseph@codesourcery.com>
23399
28361c5e
JM
23400 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23401 [!_G_USING_THUNKS]: Remove conditional code.
23402 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23403 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23404
0e886ef9
JM
23405 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23406 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23407 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23408 (_G_VTABLE_LABEL_PREFIX): Likewise.
23409 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23410 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23411 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23412 (_G_VTABLE_LABEL_PREFIX): Likewise.
23413 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23414 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23415 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23416 (_G_VTABLE_LABEL_PREFIX): Likewise.
23417 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23418
bcba7aa2
L
234192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23420
23421 * libio/Makefile: Include ../Makeconfig before tests.
23422 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23423 only if $(build-shared) is yes.
23424
06585ee8
L
23425 * iconv/gconv_db.c: Update copyright years.
23426
80ccd52c
LD
234272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23428
23429 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23430 unwind info if defined PIC. Fix special cases description.
23431 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23432
23433 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23434 DP_HI_MASK entry.
23435 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23436
691bc9c1
L
234372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23438
3d9b46b3
L
23439 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23440
de2139a9
L
23441 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23442 is NULL.
23443
5ca78dd0
L
23444 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23445 (LDLIBS-tst-chk4): This.
23446 (LDFLAGS-tst-chk5): Renamed to ...
23447 (LDLIBS-tst-chk5): This.
23448 (LDFLAGS-tst-chk6): Renamed to ...
23449 (LDLIBS-tst-chk6): This.
23450 (LDFLAGS-tst-lfschk4): Renamed to ...
23451 (LDLIBS-tst-lfschk4): This.
23452 (LDFLAGS-tst-lfschk5): Renamed to ...
23453 (LDLIBS-tst-lfschk5): This.
23454 (LDFLAGS-tst-lfschk6): Renamed to ...
23455 (LDLIBS-tst-lfschk6): This.
23456
691bc9c1
L
23457 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23458 on $(common-objpfx)soversions.mk.
23459
65cafb1c
JM
234602012-09-07 Joseph Myers <joseph@codesourcery.com>
23461
23462 [BZ #10014]
23463 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23464 example host name.
23465
c78ab094
SP
234662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23467
23468 * malloc/arena.c (arena_get_retry): New function that gets
23469 another arena for the caller to try its request on.
23470 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23471 current arena cannot fulfill the request.
23472 (__libc_memalign): Likewise.
23473 (__libc_memalign): Likewise.
23474 (__libc_pvalloc): Likewise.
23475 (__libc_calloc): Likewise.
23476
01f49f59
JT
234772012-09-05 John Tobey <john.tobey@gmail.com>
23478
23479 [BZ #13542]
23480 * manual/arith.texi (Operations on Complex): Fix description
23481 of carg branch cut.
23482
4c23fed5
JM
234832012-09-06 Joseph Myers <joseph@codesourcery.com>
23484
1d3c8572
JM
23485 [BZ #10014]
23486 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23487 host name.
23488
4c23fed5
JM
23489 [BZ #10038]
23490 * manual/memory.texi (Memory): Make order of menu items match
23491 order of sections.
23492
04570aaa
L
234932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23494
23495 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23496 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23497 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23498
b80af2f4
L
234992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23500
23501 * csu/libc-tls.c (static_dtv): Renamed to ...
23502 (_dl_static_dtv): This. Make it global.
23503 (_dl_initial_dtv): Removed.
23504 (__libc_setup_tls): Updated.
23505 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23506 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23507 DL_INITIAL_DTV.
23508
2abe9f15
PM
235092012-09-06 Petr Machata <pmachata@redhat.com>
23510
23511 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23512 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23513 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23514 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23515
0948c3af
L
235162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23517
23518 [BZ #14545]
23519 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23520 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23521 freeing dtv[-1].
23522
a5055ad1
L
235232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23524
23525 [BZ #14544]
23526 * Makeconfig (link-static-before-libc): Replace $(+prector)
23527 with $(+prectorT).
23528 (link-static-after-libc): Replace $(+postctor) with
23529 $(+postctorT).
23530 (link-bounded): Replace $(+prector)/$(+postctor) with
23531 $(+prectorT)/$(+postctorT).
23532 (+prectorT): New macro.
23533 (+postctorT): Likewise.
23534
ed8c2ecd
JM
235352012-09-06 Joseph Myers <joseph@codesourcery.com>
23536
23537 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23538 (round_str): Handle values above the maximum for IBM long double
23539 as inexact.
23540 * stdlib/tst-strtod-round.c (tests): Regenerated.
23541
14c996c8
AK
235422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23543
23544 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23545 assembler flag.
23546 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23547 zarch_nohighgprs around the zarch optimized routines.
23548 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23549 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23550 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23551 for zarch.
23552
430d6ce6
DM
235532012-09-05 David S. Miller <davem@davemloft.net>
23554
23555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23556
ff04dda4
DM
23557 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23558 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23559 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23560 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23561 entries.
23562
24d4e01b
AO
235632012-09-05 Alexandre Oliva <aoliva@redhat.com>
23564
23565 * malloc/arena.c: Fold copyright years.
23566 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23567
61d58174
AO
235682012-09-05 Alexandre Oliva <aoliva@redhat.com>
23569
23570 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23571
20196a5e
AO
235722012-09-05 Alexandre Oliva <aoliva@redhat.com>
23573
23574 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23575
5c447383
AO
235762012-09-05 Alexandre Oliva <aoliva@redhat.com>
23577
23578 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23579 change internal state upon failure.
23580
fad64255
AO
235812012-09-05 Alexandre Oliva <aoliva@redhat.com>
23582
23583 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23584 * malloc/memusage.c (mmap): Likewise.
23585 (mmap64, mremap): Likewise. Adjust name in comment.
23586
1ffb8c90
SP
235872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23588
23589 * libio/fileops.c: Fix typos in comments.
23590 * libio/oldfileops.c: Likewise.
23591 * libio/wfileops.c: Likewise.
23592
6ef9cc37
SP
235932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23594
23595 [BZ #1349]
23596 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23597 (tst-malloc-usable-ENV): Set environment for test case.
23598 * malloc/hooks.c (malloc_check_get_size): New function to get
23599 requested size.
23600 * malloc/malloc.c (musable): Use malloc_check_get_size.
23601 * malloc/tst-malloc-usable.c: New test case.
23602
4d038ae3
AS
236032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23604
23605 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23606
c4e85184
AM
236072012-09-05 Allan McRae <allan@archlinux.org>
23608
b9dafc56 23609 [BZ #13966]
c4e85184
AM
23610 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23611 determine header location.
23612 * configure: Regenerated.
23613
e1343020
AS
236142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23615
23616 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23617 float format.
23618 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23619 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23620 format.
e1343020
AS
23621 (test): Regenerate.
23622
0a9f1987
DM
236232012-09-04 David S. Miller <davem@davemloft.net>
23624
23625 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23626 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23627 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23628
29237804
FW
236292012-09-04 Florian Weimer <fweimer@redhat.com>
23630
23631 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23632 failures.
23633
edb3cb88
FW
23634 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23635
60160d83
JM
236362012-09-04 Joseph Myers <joseph@codesourcery.com>
23637
23638 [BZ #9914]
23639 * libio/iogetdelim.c: Include <limits.h>.
23640 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23641 + len + 1 would overflow.
23642
bcd6c8dc
AJ
236432012-09-03 Andreas Jaeger <aj@suse.de>
23644
23645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23646 * sysdeps/i386/fpu/libm-test-ulps: Update.
23647
4ffffbd2
LD
236482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23649
23650 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23651 Add s_sinf-sse2, s_conf-sse2.
23652
23653 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23654 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23655 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23656 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23657
23658 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23659 for using routine as __sinf_ia32.
23660 Use macro for function declaration and weak_alias.
23661 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23662 for using routine as __cosf_ia32.
23663 Use macro for function declaration and weak_alias.
23664
23665 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23666 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23667
23668 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23669 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23671
23672 * math/libm-test.inc (cos_test): Add more test cases.
23673 (sin_test): Likewise.
23674 (sincos_test): Likewise.
23675
511fa286
AK
236762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23677
23678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23679 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23680 hidden.
23681 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23682
5f30cfec
L
236832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23684
23685 [BZ #14538]
23686 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23687 first element of the GOT.
23688 (elf_machine_load_address): Return the difference between
23689 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23690
0786794f
AM
236912012-09-01 Allan McRae <allan@archlinux.org>
23692
5f30cfec
L
23693 [BZ #13412]
23694 * configure.in (AWK): Require gawk version 3.0 or later.
23695 * configure: Regenerated.
0786794f 23696
26889eac
JM
236972012-09-01 Joseph Myers <joseph@codesourcery.com>
23698
23699 * sysdeps/unix/sysv/linux/kernel-features.h
23700 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23701 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23702 [__NR_clock_getres]: Make code unconditional.
23703 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23704 (clock_getcpuclockid): Remove code left unreachable by removal of
23705 conditionals.
23706 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23707 code unconditional.
23708 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23709 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23710 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23711 Make code unconditional.
23712 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23713 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23714 * sysdeps/unix/sysv/linux/clock_settime.c
23715 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23716 conditional code.
23717 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23718 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23719
d22e28b0
L
237202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23721
23722 [BZ #14476]
23723 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23724 scripts/test-installation.pl.
23725
23726 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23727 and $ld_so_version if it is set.
23728
050af9c4
SP
237292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23730
23731 [BZ #14516]
23732 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23733 failure if reading from procfs failed.
23734 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23735
ad845c0b
JM
237362012-08-27 Joseph Myers <joseph@codesourcery.com>
23737
23738 * sysdeps/unix/sysv/linux/kernel-features.h
23739 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23740 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23741 Remove conditional code.
23742 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23743 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23744 Remove conditional code.
23745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23746 * sysdeps/unix/sysv/linux/i386/fxstat.c
23747 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23749 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23750 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23751 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23752 * sysdeps/unix/sysv/linux/i386/lxstat.c
23753 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23755 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23756 Remove conditional code.
23757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23758 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23759 Remove conditional code.
23760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23761 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23762 <kernel-features.h>.
23763 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23764 Remove.
23765 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23766 Remove conditional code.
23767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23768 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23769 Remove conditional.
23770
5dbf56af
MF
237712012-08-27 Mike Frysinger <vapier@gentoo.org>
23772
23773 [BZ #5400]
23774 * NEWS: Add fixed bug number.
23775
d6e70f43
JM
237762012-08-27 Joseph Myers <joseph@codesourcery.com>
23777
7efb4737
JM
23778 [BZ #14519]
23779 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23780 underflowing exponent in case of negative sign.
23781 * stdlib/tst-strtod-round-data: Add more tests.
23782 * stdlib/tst-strtod-round.c (tests): Regenerated.
23783
af92131a
JM
23784 [BZ #3479]
23785 * stdlib/strtod_l.c (NDIG): Remove.
23786 (HEXNDIG): Likewise.
23787 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23788 smallest representable value.
23789 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23790 lie within an exact representation of 1/2 ulp of the result.
23791 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23792 unconditionally.
23793 (TENS_P9_IDX): Define unconditionally.
23794 (TENS_P9_SIZE): Likewise.
23795 (TENS_P10_IDX): Likewise.
23796 (TENS_P10_SIZE): Likewise.
23797 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23798 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23799 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23800 entries for 10^2^13 and 10^2^14.
23801 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23802 (TENS_P13_IDX): Define.
23803 (TENS_P13_SIZE): Likewise.
23804 (TENS_P14_IDX): Likewise.
23805 (TENS_P14_SIZE): Likewise.
23806 (_fpioconst_pow10): Change array size to
23807 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23808 unconditional.
23809 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23810 1024]: Add entries for 10^2^13 and 10^2^14.
23811 [LAST_POW10 > _LAST_POW10]: Remove #error.
23812 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23813 (_fpioconst_pow10): Change array size to
23814 FPIOCONST_POW10_ARRAY_SIZE.
23815 * stdlib/gen-fpioconst.c: New file.
23816 * stdlib/gen-tst-strtod-round.c: Likewise.
23817 * stdlib/tst-strtod-round-data: Likewise.
23818 * stdlib/tst-strtod-round.c: Likewise.
23819 * stdlib/Makefile (tests): Add tst-strtod-round.
23820
d6e70f43
JM
23821 [BZ #14459]
23822 * stdlib/strtod_l.c: Include <stdint.h>.
23823 (NDEBUG): Do not define.
23824 (round_and_return): Change EXPONENT parameter to type intmax_t.
23825 Rearrange calculations to avoid internal overflow possibilities.
23826 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23827 Rearrange calculations to avoid internal overflow possibilities.
23828 Assert that number fits inside MPNSIZE limbs.
23829 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23830 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23831 calculations and add assertions to avoid internal overflow
23832 possibilities. Add casts to avoid signed/unsigned operations.
23833 * stdlib/tst-strtod-overflow.c: New file.
23834 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23835
1f529f7d
MP
238362012-08-25 Marek Polacek <polacek@redhat.com>
23837
23838 * time/time.h: Fix some typos in comments.
23839
59a629f1
RM
238402012-08-23 Roland McGrath <roland@hack.frob.com>
23841
23842 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23843 * posix/tst-rfc3484-2.c: Likewise.
23844 * posix/tst-rfc3484-3.c: Likewise.
23845
d3bafbc9
SM
238462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23847
23848 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23849 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23850
4efcc022
JM
238512012-08-23 Joseph Myers <joseph@codesourcery.com>
23852
23853 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23854 #include of fxstatat64.c.
23855
3cc3ef96
RM
238562012-08-22 Roland McGrath <roland@hack.frob.com>
23857
f04e2132
RM
23858 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23859 * shadow/getspent_r.c: Likewise.
23860 * shadow/getspnam.c: Likewise.
23861 * shadow/getspnam_r.c: Likewise.
23862 * gshadow/getsgent.c: Likewise.
23863 * gshadow/getsgent_r.c: Likewise.
23864 * gshadow/getsgnam.c: Likewise.
23865 * gshadow/getsgnam_r.c: Likewise.
23866 * inet/getnetbyad.c: Likewise.
23867 * inet/getnetbyad_r.c: Likewise.
23868 * inet/getnetbynm.c: Likewise.
23869 * inet/getnetbynm_r.c: Likewise.
23870 * inet/getnetent.c: Likewise.
23871 * inet/getnetent_r.c: Likewise.
23872 * inet/getproto.c: Likewise.
23873 * inet/getproto_r.c: Likewise.
23874 * inet/getprtent.c: Likewise.
23875 * inet/getprtent_r.c: Likewise.
23876 * inet/getprtname.c: Likewise.
23877 * inet/getprtname_r.c: Likewise.
23878 * inet/getrpcbyname.c: Likewise.
23879 * inet/getrpcbyname_r.c: Likewise.
23880 * inet/getrpcbynumber.c: Likewise.
23881 * inet/getrpcbynumber_r.c: Likewise.
23882 * inet/getrpcent.c: Likewise.
23883 * inet/getrpcent_r.c: Likewise.
23884 * inet/getaliasent.c: Likewise.
23885 * inet/getaliasent_r.c: Likewise.
23886 * inet/getaliasname.c: Likewise.
23887 * inet/getaliasname_r.c: Likewise.
23888 * nscd/getgrgid_r.c: Likewise.
23889 * nscd/getgrnam_r.c: Likewise.
23890 * nscd/gethstbyad_r.c: Likewise.
23891 * nscd/gethstbynm3_r.c: Likewise.
23892 * nscd/getpwnam_r.c: Likewise.
23893 * nscd/getpwuid_r.c: Likewise.
23894 * nscd/getsrvbynm_r.c: Likewise.
23895 * nscd/getsrvbypt_r.c: Likewise.
23896 * nscd/gai.c: Likewise.
23897
c53d909c
RM
23898 * configure.in (build_nscd): New substituted variable, set
23899 by --disable-build-nscd and defaults to $use_nscd.
23900 * configure: Regenerated.
23901 * config.make.in (build-nscd): New substituted variable.
23902 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23903 Change conditional to require [$(build-nscd) = yes] as well.
23904 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23905
3cc3ef96
RM
23906 [BZ# 13696]
23907 * configure.in (use_nscd): New substituted variable, set by
23908 --disable-nscd. If enabled, define USE_NSCD.
23909 * configure: Regenerated.
23910 * config.h.in: Add USE_NSCD.
23911 * config.make.in (use-nscd): New substituted variable.
23912 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23913 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23914 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23915 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23916 (CFLAGS-getgrnam_r.c): Likewise.
23917 (CFLAGS-initgroups.c): Likewise.
23918 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23919 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23920 Variables removed.
23921 * inet/getnetgrent_r.c
23922 (nscd_setnetgrent): New function, broken out of ...
23923 (setnetgrent): ... here. Call it.
23924 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23925 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23926 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23927 * nscd/Makefile (routines, aux): Move definitions after include of
23928 Makeconfig. Conditionalize on [$(use-nscd) != no].
23929 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23930 Conditionalize on [USE_NSCD].
23931 (is_nscd, nscd_init_cb): Likewise.
23932 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23933 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23934 * nss/nss_db/db-init.c: Likewise.
23935 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23936 [USE_NSCD].
23937 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23938 (make_request): Use it.
23939 (cache_valid_p): New function.
23940 (__check_pf): Use it.
23941 * NEWS: Add item for --disable-nscd.
23942
07e51550
DL
239432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23944
23945 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23946 to support sed >= 4.2.1-20-ga9bf076.
23947 * configure: Regenerated.
23948
35a5b08b
RM
239492012-08-22 Roland McGrath <roland@hack.frob.com>
23950
23951 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23952 Conditionalize whole body on [IREL].
23953
8479f23a
JL
239542012-08-22 Jeff Law <law@redhat.com>
23955
23956 [BZ #14505]
23957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23958 if the family is PF_UNSPEC.
23959
48da0b21
MF
239602012-08-22 Mike Frysinger <vapier@gentoo.org>
23961
23962 * Makerules (lib-version): Rename from V.
23963 (install-lib-nosubdir): Change V to lib-version.
23964
15d0da8c
WS
239652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23966
23967 [BZ #14252]
23968 * powerpc32/power6/wcschr.c: New file.
23969 * powerpc32/power6/wcscpy.c: New file.
23970 * powerpc32/power6/wcsrchr.c: New file.
23971 * powerpc64/power6/wcschr.c: New file.
23972 * powerpc64/power6/wcscpy.c: New file.
23973 * powerpc64/power6/wcsrchr.c: New file.
23974
bcca0895
MK
239752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23976
23977 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23978 (two_way_short_needle): Use it.
5a4aaa33
RM
23979 * string/strstr.c (AVAILABLE1_USES_J): Define.
23980 * string/strcasestr.c: Likewise.
99677e57
MK
23981
23982 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23983 array references.
23984 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23985
400726de
MK
23986 [BZ #11607]
23987 * NEWS: Add an entry.
23988 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23989 define their defaults.
23990 (two_way_short_needle): Detect end-of-string on-the-fly.
23991 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23992 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23993 * string/bug-strcasestr1.c: New test.
23994 * string/Makefile: Run it.
23995
20a71f2c
MK
239962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23997
23998 [BZ #11607]
23999 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24000 the first character.
24001
21ad0558
RM
240022012-08-21 Roland McGrath <roland@hack.frob.com>
24003
24004 * csu/elf-init.c (__libc_csu_irel): Function removed.
24005 * csu/libc-start.c (apply_irel): New function.
24006 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24007
0e1d9911
JM
240082012-08-21 Joseph Myers <joseph@codesourcery.com>
24009
24010 * sysdeps/unix/sysv/linux/kernel-features.h
24011 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24012 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24013 <kernel-features.h>.
24014 [__NR_fadvise64_64]: Make code unconditional.
24015 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24016 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24017 !__NR_fadvise64_64)]: Likewise.
24018 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24019 !__NR_fadvise64_64))]: Likewise.
24020 [__NR_fadvise64]: Make code unconditional.
24021 [!__NR_fadvise64]: Remove conditional code.
24022 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24023 <kernel-features.h>.
24024 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24025 unconditional.
24026 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24027 conditional code.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24029 not include <kernel-features.h>.
24030 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24031 unconditional.
24032 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24033 conditional code.
24034 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24035 include <kernel-features.h>.
24036 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24037 unconditional.
24038 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24039 conditional code.
24040
14a50c9d
WS
240412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24042
24043 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24044 slight instruction rearrangements per scrollpipe analysis.
24045 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24046
c0f4faf0
RM
240472012-08-20 Roland McGrath <roland@hack.frob.com>
24048
696da859
RM
24049 * manual/syslog.texi (syslog; vsyslog, closelog):
24050 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24051 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24052
c0f4faf0
RM
24053 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24054 DSOCAPS to match condition on defining it.
24055
348363b2
JM
240562012-08-20 Joseph Myers <joseph@codesourcery.com>
24057
a35cbf28
JM
24058 * sysdeps/unix/sysv/linux/kernel-features.h
24059 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24061 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24062 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24064 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24065 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24067 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24068 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24069
445f7ecd
JM
24070 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24071 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24072
348363b2
JM
24073 * sysdeps/unix/sysv/linux/kernel-features.h
24074 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24075 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24076 unconditional.
24077 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24078 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24079 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24080 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24081 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24082 Make code unconditional.
24083 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24084 (__mmap64) [!__NR_mmap2]: Likewise.
24085 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24086 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24087 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24088 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24089 [__NR_mmap2]: Make code unconditional.
24090 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24091 (__mmap64) [!__NR_mmap2]: Likewise.
24092
bc5bc0e5
AK
240932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24094
24095 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24096
88d506de
AJ
240972012-08-18 Andreas Jaeger <aj@suse.de>
24098
24099 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24100
493387d2
MF
241012012-08-18 Mike Frysinger <vapier@gentoo.org>
24102
24103 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24104 * include/unistd.h (__have_sock_cloexec): Likewise.
24105 (__have_pipe2): Likewise.
24106 (__have_dup3): Likewise.
24107
a277af22
MF
241082012-08-18 Mike Frysinger <vapier@gentoo.org>
24109
24110 [BZ #9685]
24111 * include/unistd.h (__have_pipe2): Change define into an extern int.
24112 (__have_dup3): Likewise.
24113 * socket/have_sock_cloexec.c: Include fcntl.h.
24114 (__have_pipe2): New variable.
24115 (__have_dup3): Likewise.
24116
fdab8fd3
MF
241172012-08-17 Mike Frysinger <vapier@gentoo.org>
24118
24119 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24120
31035e80
MP
241212012-08-17 Marek Polacek <polacek@redhat.com>
24122
24123 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24124 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24125
3bd9e993
RM
241262012-08-17 Roland McGrath <roland@hack.frob.com>
24127
c91c505f
RM
24128 * configure.in: Add AC_SUBST for sysheaders.
24129 * configure: Regenerated.
24130 * config.make.in (sysheaders): New substituted variable.
24131
7c6f9d53
RM
24132 * sysdeps/unix/mkfifo.c: Moved ...
24133 * sysdeps/posix/mkfifo.c: ... here.
24134 * sysdeps/unix/mkfifoat.c: Moved ...
24135 * sysdeps/posix/mkfifoat.c: ... here.
24136
24137 * sysdeps/unix/utime.c: Moved ...
24138 * sysdeps/posix/utime.c: ... here.
24139
24140 * sysdeps/unix/time.c: Moved ...
24141 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24142 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24143 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24144
24145 * sysdeps/unix/nice.c: Moved ...
24146 * sysdeps/posix/nice.c: ... here.
24147
24148 * sysdeps/unix/alarm.c: Moved ...
24149 * sysdeps/posix/alarm.c: ... here.
24150
3bd9e993
RM
24151 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24152
d1f09384
JL
241532012-08-17 Jeff Law <law@redhat.com>
24154
24155 * intl/Makefile (codeset_mo): New variable.
24156 ($(codeset_mo)): New target.
24157 (tst-codeset.out): Depend on that. Remove explicit rule.
24158 (tst-gettext3.out, tst-gettext5.out): Likewise.
24159 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24160 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24161 * intl/tst-codeset.sh: Remove.
24162 * intl/tst-gettext3.sh: Likewise.
24163 * intl/tst-gettext5.sh: Likewise.
24164
2ae1ae5c
RM
241652012-08-17 Roland McGrath <roland@hack.frob.com>
24166
c31fdb83
RM
24167 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24168 * sysdeps/unix/syscalls.list: ... here.
24169
a0844057
RM
24170 * sysdeps/posix/getaddrinfo.c
24171 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24172 (gaiconf_init, gaiconf_reload): Use them.
24173 [!_STATBUF_ST_NSEC]
24174 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24175 Define using time_t rather than struct timespec.
24176
750c1f2a
RM
24177 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24178 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24179 Macros removed.
24180 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24181 [!NO_THREADS].
24182 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24183 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24184 Likewise.
24185
2ae1ae5c
RM
24186 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24187 __libc_cleanup_push argument.
24188
e66a42f5
RM
24189 * bits/param.h: New file.
24190 * misc/sys/param.h: New file.
24191 * include/sys/param.h: New file.
24192 * misc/Makefile (headers): Add bits/param.h.
24193 * sysdeps/generic/sys/param.h: File removed.
24194 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24195 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24196 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24197 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24198
b7c08a66
RM
24199 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24200 last change.
24201
b2e1c562
RM
24202 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24203 [_IO_MTSAFE_IO].
24204 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24205 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24206 New macros.
24207
c75ccd4c
RM
24208 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24209 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24210 rather than -D_IO_MTSAFE_IO conditionally.
24211 * stdio-common/Makefile (CPPFLAGS): Likewise.
24212 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24213 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24214 Use $(libio-mtsafe).
24215 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24216 of -D_IO_MTSAFE_IO.
24217 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24218 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24219 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24220 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24221 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24222 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24223 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24224 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24225 (CFLAGS-fread_u_chk.c): Likewise.
24226 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24227 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24228 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24229 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24230 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24231 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24232 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24233 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24234 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24235
24236 * libio/Makefile: Test [$(libc-reentrant) = yes]
24237 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24238
24239 * Makeconfig
24240 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24241 * sysdeps/pthread/configure: File removed.
24242 * sysdeps/pthread/Makeconfig: New file.
24243 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24244 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24245
d9195db8
GB
242462012-08-16 Gary Benson <gbenson@redhat.com>
24247
24248 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24249 unmapping the first object in a namespace.
24250
86466cd9
RM
242512012-08-16 Roland McGrath <roland@hack.frob.com>
24252
24253 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24254 (__internal_setnetgrent): ... this. Add internal_function to
24255 definition. Add libc_hidden_def.
24256 (setnetgrent): Update caller.
24257 (internal_endnetgrent): Renamed to ...
24258 (__internal_endnetgrent): ... this. Add internal_function to
24259 definition. Add libc_hidden_def.
24260 (endnetgrent): Update caller.
24261 (internal_getnetgrent_r): Renamed to ...
24262 (__internal_getnetgrent_r): ... this. Add internal_function to
24263 definition. Add libc_hidden_def.
24264 (__getnetgrent_r): Update caller.
24265 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24266
c3c8283c
JM
242672012-08-16 Joseph Myers <joseph@codesourcery.com>
24268
24269 * stdlib/longlong.h: Update from GCC.
24270
db1ee0a8
RM
242712012-08-16 Roland McGrath <roland@hack.frob.com>
24272
24273 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24274 on _QL, which is set by umul_ppmm but never used.
24275 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24276 variables, which are set by GMP macros but never used.
24277 * stdio-common/_itowa.c (_itowa): Likewise.
24278 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24279 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24280
30f69637
CD
242812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24282
24283 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24284 struct La_sh_regs is not constant.
24285 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24286 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24287 and struct La_sparc64_regs are not constant.
24288
93a78ac4
JM
242892012-08-16 Joseph Myers <joseph@codesourcery.com>
24290
24291 * sysdeps/unix/sysv/linux/kernel-features.h
24292 (__ASSUME_POSIX_TIMERS): Remove.
24293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24294 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24295 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24296 Make code unconditional.
24297 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24298 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24299 Make code unconditional.
24300 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24301 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24302 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24303 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24304 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24305 Make code unconditional.
24306 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24307 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24308 (__libc_missing_posix_timers): Remove.
24309
dd924cd7
RM
243102012-08-15 Roland McGrath <roland@hack.frob.com>
24311
4b4f2771
RM
24312 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24313 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24314
601c888b
RM
24315 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24316
176790a7
RM
24317 * elf/dl-sym.c: Include <stdlib.h>.
24318
329bc018
RM
24319 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24320 constants, which avoids warnings in 32-bit builds.
24321
e04e272d
RM
24322 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24323 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24324
952bf94a
RM
24325 * misc/lseek.c: File moved to ...
24326 * io/lseek.c: ... here.
24327
7c99b50a
RM
24328 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24329
dd924cd7
RM
24330 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24331 shifting LEN more than 31 bits at once.
24332
b3f479a8
LD
243332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24334
24335 [BZ #14195]
8c4ae0d4
RM
24336 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24337 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24338 * string/test-strncasecmp.c (check1): Renamed to...
24339 (bz12205): ...this.
24340 (bz14195): Add new testcase for two empty input strings and N > 0.
24341 (test_main): Call new testcase, adapt for renamed function.
24342
9c55864e
AJ
243432012-08-15 Andreas Jaeger <aj@suse.de>
24344
24345 [BZ #14090]
24346 * crypt/md5test2.c: New test, based on test supplied by Serge
24347 Belyshev <belyshev@depni.sinp.msu.ru>.
24348 * crypt/Makefile (xtests): Add md5test-giant..
24349 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24350
02dcb6c5
PE
243512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24352
24353 [BZ #14090]
24354 * crypt/md5.c (md5_process_block): Don't assume the buffer
24355 length is less than 2**32.
24356 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24357 length is less than 2**64.
24358
a3f95dcc
RM
243592012-08-15 Roland McGrath <roland@hack.frob.com>
24360
be75d758
RM
24361 * string/str-two-way.h: Include <sys/param.h>.
24362 (MAX): Macro removed.
24363
7312ca90
RM
24364 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24365 Move #define and #undef of memmove to just before and after
24366 including <string.h>.
24367
9a0a5486
RM
24368 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24369 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24370 and after including <string.h>. Move declarations of
24371 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24372 to before #include "string/memmove.c".
24373
67cc348d
RM
24374 * include/dirent.h: Declare __getdirentries.
24375
a3f95dcc
RM
24376 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24377 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24378
ca98e171
MF
243792012-08-14 Mike Frysinger <vapier@gentoo.org>
24380
24381 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24382 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24383 * sysdeps/i386/configure: Regenerated.
24384 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24385 STABS_CURRENT_FILE, and STABS_FUN.
24386 (END): Remove call to STABS_FUN_END.
24387 (STABS_CURRENT_FILE1): Delete.
24388 (STABS_CURRENT_FILE): Likewise.
24389 (STABS_FUN): Likewise.
24390 (STABS_FUN_END): Likewise.
24391 (STABS_FUN2): Likewise.
24392 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24393 * sysdeps/x86_64/configure: Regenerated.
24394
5908bf46
RM
243952012-08-14 Roland McGrath <roland@hack.frob.com>
24396
24397 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24398 * elf/dl-lookup.c: Likewise.
5908bf46 24399
f2c05b9e
JM
244002012-08-14 Joseph Myers <joseph@codesourcery.com>
24401
24402 * sysdeps/unix/sysv/linux/kernel-features.h
24403 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24404 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24405 unconditionally.
24406 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24407 unconditionally.
24408 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24409 condition on __ASSUME_CLONE_THREAD_FLAGS.
24410
e11f5155
AJ
244112012-08-14 Andreas Jaeger <aj@suse.de>
24412
24413 * sysdeps/i386/fpu/libm-test-ulps: Update.
24414
51a9ba86
MK
244152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24416
2fdd4f78
AJ
24417 * include/atomic.h (atomic_exchange_and_add): Split into ...
24418 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24419 New atomic macros.
51a9ba86 24420
ba6cba9e
MT
244212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24422
24423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24424
42443a47
JL
244252012-08-13 Jeff Law <law@redhat.com>
24426
24427 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24428 null byte in the output string.
24429
121dce05
JM
244302012-08-10 Joseph Myers <joseph@codesourcery.com>
24431
24432 * sysdeps/unix/sysv/linux/kernel-features.h
24433 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24434 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24435 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24436 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24437 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24438 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24439 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24440
bf51f568
JL
244412012-08-09 Jeff Law <law@redhat.com>
24442
24443 [BZ #13939]
24444 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24445 When avoid_arena is set, don't retry in the that arena. Pick the
24446 next one, whatever it might be.
24447 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24448 (arena_lock): Pass in new parameter to arena_get2.
24449 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24450 arena_get2.
24451 (__libc_malloc): Unify retrying after main arena failure with
24452 __libc_memalign version.
24453 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24454
f85fa270
L
244552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24456
24457 [BZ #14166]
24458 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24459 to __redirect_strstr.
24460 (__strstr_sse42): Use typeof __redirect_strstr.
24461 (__strstr_ia32): Likewise.
24462 (__libc_strstr): New prototype.
24463 (strstr): Renamed to ...
24464 (__libc_strstr): This.
24465 (strstr): New strong alias of __libc_strstr.
24466 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24467 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24468 __redirect_time.
24469 Include <time.h>.
24470 (__libc_time): New prototype.
24471 (time_ifunc): Replace time with __libc_time.
24472 (time): New strong alias and hidden definition of __libc_time.
24473 (__GI_time): Remove strong alias.
24474 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24475 Include <stddef.h>.
24476 (memmove): Redefined to __redirect_memmove.
24477 (__memmove_sse2): Use typeof __redirect_memmove.
24478 (__memmove_ssse3): Likewise.
24479 (__memmove_ssse3_back): Likewise.
24480 (__libc_memmove): New prototype.
24481 (memmove): Renamed to ...
24482 (__libc_memmove): This.
24483 (memmove): New strong alias of __libc_memmove.
24484
33b4a91e
MS
244852012-08-08 Mark Salter <msalter@redhat.com>
24486
24487 * elf/elf.h
24488 (R_MN10300_TLS_GD): Define.
24489 (R_MN10300_TLS_LD): Likewise.
24490 (R_MN10300_TLS_LDO): Likewise.
24491 (R_MN10300_TLS_GOTIE): Likewise.
24492 (R_MN10300_TLS_IE): Likewise.
24493 (R_MN10300_TLS_LE): Likewise.
24494 (R_MN10300_TLS_DTPMOD): Likewise.
24495 (R_MN10300_TLS_DTPOFF): Likewise.
24496 (R_MN10300_TLS_TPOFF): Likewise.
24497 (R_MN10300_SYM_DIFF): Likewise.
24498 (R_MN10300_ALIGN): Likewise.
24499 (R_MN10300_NUM): Update.
24500
b36137f1
JM
245012012-08-08 Joseph Myers <joseph@codesourcery.com>
24502
24503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24504 Remove.
24505
cdd915fd
RM
245062012-08-08 Roland McGrath <roland@hack.frob.com>
24507
a2433aac
RM
24508 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24509
cdd915fd
RM
24510 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24511 sysdeps/unix -> sysdeps/posix move.
24512 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24513
bf9b740a
AM
245142012-08-07 Allan McRae <allan@archlinux.org>
24515
24516 [BZ #14303]
24517 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24518 (SUNOS_CPP): Likewise.
24519 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24520 not found.
24521 (open_input): Call CPP using execvp.
24522
93df14ee
JM
245232012-08-07 Joseph Myers <joseph@codesourcery.com>
24524
24525 * sysdeps/unix/sysv/linux/kernel-features.h
24526 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24527 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24528 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24529 (__ASSUME_WAITID_SYSCALL): Likewise.
24530 * sysdeps/unix/sysv/linux/dl-execstack.c
24531 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24532 code unconditional.
24533 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24534 conditional code.
24535 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24536 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24537 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24538 code.
24539 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24540 unconditional.
24541 [__ASSUME_WAITID_SYSCALL]: Likewise.
24542 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24543
d34689de
RM
245442012-08-07 Roland McGrath <roland@hack.frob.com>
24545
a281decc
RM
24546 * sysdeps/unix/closedir.c: Renamed to ...
24547 * sysdeps/posix/closedir.c: ... here.
24548 * sysdeps/unix/dirfd.c: Renamed to ...
24549 * sysdeps/posix/dirfd.c: ... here.
24550 * sysdeps/unix/dirstream.h: Renamed to ...
24551 * sysdeps/posix/dirstream.h: ... here.
24552 * sysdeps/unix/fdopendir.c: Renamed to ...
24553 * sysdeps/posix/fdopendir.c: ... here.
24554 * sysdeps/unix/opendir.c: Renamed to ...
24555 * sysdeps/posix/opendir.c: ... here.
24556 * sysdeps/unix/readdir.c: Renamed to ...
24557 * sysdeps/posix/readdir.c: ... here.
24558 * sysdeps/unix/readdir_r.c: Renamed to ...
24559 * sysdeps/posix/readdir_r.c: ... here.
24560 * sysdeps/unix/rewinddir.c: Renamed to ...
24561 * sysdeps/posix/rewinddir.c: ... here.
24562 * sysdeps/unix/seekdir.c: Renamed to ...
24563 * sysdeps/posix/seekdir.c: ... here.
24564 * sysdeps/unix/telldir.c: Renamed to ...
24565 * sysdeps/posix/telldir.c: ... here.
24566 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24567 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24568 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24569 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24570
22895b47
RM
24571 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24572 * bits/fcntl.h: ... here.
24573
707a53b6
RM
24574 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24575 not 0.
24576 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24577 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24578 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24579 (struct flock): Move l_start, l_len to the beginning.
24580 Use __pid_t for l_pid.
24581 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24582 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24583 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24584 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24585 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24586 [__USE_LARGEFILE64] (struct flock64): New type.
24587 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24588
f0bd3e25
RM
24589 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24590 * bits/dirent.h: ... here.
24591
d34689de
RM
24592 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24593 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24594
6dad2c06
JM
245952012-08-07 Joseph Myers <joseph@codesourcery.com>
24596
24597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24598 Change from 2.6.0 to 2.6.16.
24599 * sysdeps/unix/sysv/linux/configure: Regenerated.
24600 * sysdeps/unix/sysv/linux/kernel-features.h
24601 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24602 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24603 version.
24604 (__ASSUME_UTIMES): Likewise.
24605 (__ASSUME_CLONE_STOPPED): Remove.
24606 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24607 architectures, not kernel version.
24608 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24609 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24610 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24611 (__ASSUME_WAITID_SYSCALL): Likewise.
24612 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24613 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24614 * README: State 2.6.16 as minimum Linux kernel version. Do not
24615 refer to older versions.
24616
03af9520
RM
246172012-08-06 Roland McGrath <roland@hack.frob.com>
24618
8e49df1d
RM
24619 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24620 Define alphasort64 as an alias.
24621 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24622 Define versionsort64 as an alias.
24623 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24624 Define scandir64 as an alias.
24625 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24626 Define scandirat64 as an alias.
24627 * dirent/alphasort64.c (alphasort64):
24628 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24629 * dirent/versionsort64.c: Likewise.
24630 * dirent/scandir64.c: Likewise.
24631 * dirent/scandirat64.c: Likewise.
24632 * sysdeps/wordsize-64/alphasort.c: File removed.
24633 * sysdeps/wordsize-64/alphasort64.c: File removed.
24634 * sysdeps/wordsize-64/scandir.c: File removed.
24635 * sysdeps/wordsize-64/scandir64.c: File removed.
24636 * sysdeps/wordsize-64/scandirat.c: File removed.
24637 * sysdeps/wordsize-64/scandirat64.c: File removed.
24638 * sysdeps/wordsize-64/versionsort.c: File removed.
24639 * sysdeps/wordsize-64/versionsort64.c: File removed.
24640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24641 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24646 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24647 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24648
24649 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24651 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24653 [defined __arch64__ || defined __sparcv9]
24654 (__INO_T_MATCHES_INO64_T): New macro.
24655 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24656 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24657 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24658 * sysdeps/unix/sysv/linux/bits/dirent.h
24659 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24660 (_DIRENT_MATCHES_DIRENT64): New macro.
24661
03af9520
RM
24662 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24663 Define lockf64 as an alias.
24664 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24665 Define fseeko64 as an alias.
24666 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24667 Define ftello64 as an alias.
24668 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24669 Define _IO_fgetpos64 and fgetpos64 as aliases.
24670 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24671 Define _IO_fsetpos64 and fsetpos64 as aliases.
24672 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24673 Conditionalize body on this.
24674 * libio/fseeko64.c: Likewise.
24675 * libio/ftello64.c: Likewise.
24676 * libio/iofgetpos64.c: Likewise.
24677 * libio/iofsetpos64.c: Likewise.
24678 * sysdeps/wordsize-64/lockf.c: File removed.
24679 * sysdeps/wordsize-64/lockf64.c: File removed.
24680 * sysdeps/wordsize-64/fseeko.c: File removed.
24681 * sysdeps/wordsize-64/fseeko64.c: File removed.
24682 * sysdeps/wordsize-64/ftello.c: File removed.
24683 * sysdeps/wordsize-64/ftello64.c: File removed.
24684 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24685 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24686 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24687 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24689 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24690 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24691 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24692 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24693 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24695 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24696 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24697 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24698
24699 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24701 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24703 [defined __arch64__ || defined __sparcv9]
24704 (__OFF_T_MATCHES_OFF64_T): New macro.
24705 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24706 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24708 (__OFF_T_MATCHES_OFF64_T): New macro.
24709
c5757acd
L
247102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24711
24712 * stdlib/secure-getenv.c (__secure_getenv): Replace
24713 GLIBC_2_16 with GLIBC_2_17.
24714
3a31811e
L
247152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24716
24717 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24718 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24719
faa2bccb
DM
247202012-08-03 David S. Miller <davem@davemloft.net>
24721
24722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24723
85fe1997
JM
247242012-08-03 Joseph Myers <joseph@codesourcery.com>
24725
24726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24727 Remove.
24728 (__ASSUME_CORRECT_SI_PID): Likewise.
24729 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24730 (__ASSUME_TMPFS_NAME): Likewise.
24731 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24732 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24733 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24734 (HAVE_AUX_SECURE): Make definition unconditional.
24735 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24736 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24737
4f75b7a0
RM
247382012-08-03 Roland McGrath <roland@hack.frob.com>
24739
24740 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24741 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24742 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24743 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24744 __eloop_threshold instead of SYMLOOP_MAX.
24745
24746 * sysdeps/generic/eloop-threshold.h: New file.
24747 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24748 of MAXSYMLINKS.
24749 * elf/chroot_canon.c (chroot_canon): Likewise.
24750
7aab07e4
JM
247512012-08-03 Joseph Myers <joseph@codesourcery.com>
24752
24753 [BZ #13717]
24754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24755 Change to 2.6.0 everywhere.
24756 * sysdeps/unix/sysv/linux/configure: Regenerated.
24757 * sysdeps/unix/sysv/linux/kernel-features.h
24758 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24759 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24760 kernel versions.
24761 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24762 (__ASSUME_FUTEX_REQUEUE): Remove.
24763 (__ASSUME_STATFS64): Define unconditionally.
24764 (__ASSUME_AT_SECURE): Likewise.
24765 (__ASSUME_CORRECT_SI_PID): Likewise.
24766 (__ASSUME_TGKILL): Define without depending on kernel version for
24767 i386.
24768 (__ASSUME_UTIMES): Likewise.
24769 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24770 kernel version.
24771 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24772 (__ASSUME_TMPFS_NAME): Likewise.
24773 * README: Update reference to Linux kernel versions.
24774
b67e9372
MP
247752012-08-02 Marek Polacek <polacek@redhat.com>
24776
1f529f7d 24777 [BZ# 14150]
b67e9372
MP
24778 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24779 libc_cv_asm_type_prefix with %.
24780 * configure: Regenerated.
d2441631
RM
24781 * include/libc-symbols.h: Remove comment about
24782 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24783 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24784 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24785 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24786 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24787 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24788 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24789 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24790 * elf/tst-unique2mod1.c: Likewise.
24791 * elf/tst-unique1mod2.c: Likewise.
24792 * elf/tst-unique1mod1.c: Likewise.
24793 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24794 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24795 Replace ASM_TYPE_DIRECTIVE with .type.
24796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24797 * sysdeps/i386/sysdep.h: Likewise.
24798 * sysdeps/x86_64/sysdep.h: Likewise.
24799 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24801 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24802 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24803 * sysdeps/powerpc/powerpc32/sysdep.h:
24804 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24805 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24806 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24807 * sysdeps/i386/fpu/e_powf.S: Likewise.
24808 * sysdeps/i386/fpu/e_expl.S: Likewise.
24809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24810 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24811 * sysdeps/i386/fpu/e_pow.S: Likewise.
24812 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24813 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24814 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24815 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24816 * sysdeps/i386/fpu/e_log2.S: Likewise.
24817 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24818 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24819 * sysdeps/i386/fpu/e_powl.S: Likewise.
24820 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24821 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24822 * sysdeps/i386/fpu/e_logl.S: Likewise.
24823 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24824 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24825 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24826 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24827 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24828 * sysdeps/i386/fpu/e_log.S: Likewise.
24829 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24830 * sysdeps/i386/fpu/e_logf.S: Likewise.
24831 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24832 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24833 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24834 * sysdeps/i386/fpu/e_log10.S: Likewise.
24835 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24836 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24837 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24838 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24839 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24840 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24841 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24842 * sysdeps/i386/i686/strtok.S: Likewise.
24843 * sysdeps/i386/i386-mcount.S: Likewise.
24844 * sysdeps/i386/strtok.S: Likewise.
24845 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24846 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24847 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24848 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24849 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24850 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24851 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24852 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24853 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24854 * sysdeps/x86_64/_mcount.S: Likewise.
24855 * sysdeps/x86_64/strtok.S: Likewise.
24856 * sysdeps/sh/_mcount.S: Likewise.
24857
2747bf9a
RM
248582012-08-01 Roland McGrath <roland@hack.frob.com>
24859
24860 * libio/iofopen.c: Include <fcntl.h>.
24861 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24862 (_IO_fopen64, fopen64): Define as aliases.
24863 * libio/iofopen64.c: Include <fcntl.h>.
24864 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24865 Conditionalize body on this.
24866 * sysdeps/wordsize-64/iofopen.c: File removed.
24867 * sysdeps/wordsize-64/iofopen64.c: File removed.
24868
3fb791b8
MP
248692012-08-01 Marek Polacek <polacek@redhat.com>
24870
24871 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24872 Use dlfcn directly instead of a variable.
24873 (binfmt-subdir): Do not define.
24874 (dlfcn): Likewise.
24875
a9f1039f
JM
248762012-08-01 Joseph Myers <joseph@codesourcery.com>
24877
23bddc06
JM
24878 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24879 Remove all definitions.
24880 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24881 <kernel-features.h>.
24882 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24883 (miss_F_GETOWN_EX): Remove all definitions.
24884 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24885 macro definition.
24886 [!__ASSUME_FCNTL64]: Remove conditional code.
24887 [__ASSUME_FCNTL64]: Make code unconditional.
24888 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24889 <kernel-features.h>.
24890 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24891 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24892 (lockf64) [__NR_fcntl64]: Make code unconditional.
24893 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24894
a9f1039f
JM
24895 * sysdeps/unix/sysv/linux/kernel-features.h
24896 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24897 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24898 Make code unconditional.
24899 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24900 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24902 [__NR_vfork]: Make code unconditional.
24903 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24904 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24906 [__NR_vfork]: Make code unconditional.
24907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24909
09c0ee5f
RM
249102012-08-01 Roland McGrath <roland@hack.frob.com>
24911
48aec5b9
RM
24912 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24913 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24914
cd97c966
RM
24915 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24916 Define mkstemp64 as an alias.
3f55550c
RM
24917 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24918 Define mkstemps64 as an alias.
cd97c966
RM
24919 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24920 Define mkostemp64 as an alias.
b8625cfc
RM
24921 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24922 Define mkostemps64 as an alias.
cd97c966
RM
24923 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24924 Conditionalize body on this.
24925 * misc/mkostemp64.c: Likewise.
b8625cfc 24926 * misc/mkostemps64.c: Likewise.
3f55550c 24927 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24928 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24929 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24930 * sysdeps/wordsize-64/mkostemp.c: File removed.
24931 * sysdeps/wordsize-64/mkstemp.c: File removed.
24932 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24933 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24934 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24935 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24936
09c0ee5f
RM
24937 [BZ #14138]
24938 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24939 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24940 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24941 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24942
24943 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24944 compat_symbol macros from <shlib-compat.h> rather than the underlying
24945 default_symbol_version and symbol_version macros, so that DEFAULT
24946 lines in shlib-versions are respected.
24947 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24948
7e66ee51
FW
249492012-08-01 Florian Weimer <fweimer@redhat.com>
24950
24951 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24952 Declare with warn_unused_result.
24953 (setgid, setregid, setegid, setresgid): Likewise.
24954 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24955 Likewise.
24956 * WUR-REPORT: Remove set*id functions.
24957
d2a54255
PT
249582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24959
24960 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24961
7ecdb005
RM
249622012-07-31 Roland McGrath <roland@hack.frob.com>
24963
b4180a5e 24964 [BZ #10191]
789bd351
RM
24965 * include/sys/socket.h (__libc_accept, __libc_accept4):
24966 Add attribute_hidden.
24967 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24968
40ce302d
RM
24969 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24970 use of PTR_MANGLE.
24971 * inet/getnetgrent_r.c (setup): Likewise.
24972
7ecdb005
RM
24973 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24974
e2eabb2c
DM
249752012-07-31 David S. Miller <davem@davemloft.net>
24976
24977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24978
d0419dbf
JM
249792012-07-31 Joseph Myers <joseph@codesourcery.com>
24980
24981 [BZ #13629]
24982 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24983 value between 1.0 and 2.0 and smaller part has absolute value less
24984 than 1.0.
24985 * math/s_clog10.c (__clog10): Likewise.
24986 * math/s_clog10f.c (__clog10f): Likewise.
24987 * math/s_clog10l.c (__clog10l): Likewise.
24988 * math/s_clogf.c (__clogf): Likewise.
24989 * math/s_clogl.c (__clogl): Likewise.
24990 * math/libm-test.inc (clog_test): Add more tests.
24991 (clog10_test): Likewise.
24992 * sysdeps/i386/fpu/libm-test-ulps: Update.
24993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24994
2bc13872
FW
249952012-07-31 Florian Weimer <fweimer@redhat.com>
24996
24997 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24998 Exit with zero in case no suitable GID is found, and write a
24999 message to standard error.
25000
bea9b193
RM
250012012-07-30 Roland McGrath <roland@hack.frob.com>
25002
25003 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25004 rather than to 1.
25005 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25006 (MAXPATHLEN): Removed.
25007 (NOGROUP, NODEV): New macros.
25008 (setbit, clrbit, isset, isclr): New macros.
25009 (howmany, roundup, powerof2): New macros.
25010 (DEV_BSIZE): New macro.
25011
25012 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25013 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25014
25015 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25016 definition on [!__NO_LONG_DOUBLE_MATH].
25017
25018 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25019 PTR_MANGLE and PTR_DEMANGLE.
25020
25021 * socket/accept4.c (accept4): Rename to __libc_accept4.
25022 Define accept4 as a weak alias.
25023
25024 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25025 on [_DIRENT_HAVE_D_TYPE].
25026 * io/ftw.c (ftw_dir): Likewise.
25027
25028 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25029
25030 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25031
25032 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25033 Use the BSD numbers rather than the arbitrary ones we had.
25034 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25035 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25036 (SIGXCPU, SIGXFSZ): New macros.
25037 (_NSIG): Now 32.
25038
25039 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25040 initializer on [_LIBC_REENTRANT].
25041
25042 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25043 definitions inside [_POSIX_MAPPED_FILES].
25044
25045 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25046
25047 * dirent/opendir.c: Include <fcntl.h>.
25048
25049 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25050 (__libc_getspecific): Likewise.
25051 (__libc_key_create): Likewise.
25052
25053 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25054 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25055 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25056 (tmpfile64): Define as alias.
25057 * sysdeps/wordsize-64/tmpfile.c: File removed.
25058 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25059 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25060 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25061
25062 * stdio-common/vfscanf.c: Include <stdbool.h>.
25063 * nss/makedb.c: Likewise.
25064 * stdio-common/_i18n_number.h: Likewise.
25065 * argp/argp-help.c: Likewise.
25066 * posix/wordexp.c: Likewise.
25067 * sysdeps/posix/spawni.c: Likewise.
25068 * nss/nss_files/files-initgroups.c: Likewise.
25069 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25070 * nss/nss_files/files-initgroups.c: Likewise.
25071 * nss/nss_db/db-netgrp.c: Likewise.
25072 * nss/nss_db/db-initgroups.c: Likewise.
25073 * io/fchmodat.c: Include <sys/stat.h>.
25074
25075 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25076 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25077
25078 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25079 [HAVE_MMAP].
25080
25081 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25082 Add multiple inclusion protection.
25083
e5abc686
DM
250842012-07-27 David S. Miller <davem@davemloft.net>
25085
25086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25087
815e6fa3
GB
250882012-07-27 Gary Benson <gbenson@redhat.com>
25089
25090 [BZ #14298]
25091 * elf/rtld.c: Include <stap-probe.h>.
25092 (dl_main): Added static probes "init_start" and "init_complete".
25093 * elf/dl-load.c: Include <stap-probe.h>.
25094 (lose): Take new parameter "nsid".
25095 Added static probe "map_failed".
25096 (_dl_map_object_from_fd): Pass namespace id to lose.
25097 Added static probe "map_start".
25098 (open_verify): Pass namespace id to lose.
25099 * elf/dl-open.c: Include <stap-probe.h>.
25100 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25101 and "reloc_complete".
25102 * elf/dl-close.c: Include <stap-probe.h>.
25103 (_dl_close_worker): Added static probes "unmap_start" and
25104 "unmap_complete".
25105 * elf/rtld-debugger-interface.txt: New file documenting the above.
25106
9f98c16c
RM
251072012-07-26 Roland McGrath <roland@hack.frob.com>
25108
25109 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25110 rather than a string variable.
25111 * sunrpc/rpc_main.c (h_output): Likewise.
25112 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25113
f3c22df3
PT
251142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25115
25116 * inet/check_native.c: New file.
25117
3129cfc6
JM
251182012-07-26 Joseph Myers <joseph@codesourcery.com>
25119
da865e95
JM
25120 [BZ #13629]
25121 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25122 if larger part has absolute value 1.0.
25123 * math/s_clog10.c (__clog10): Likewise.
25124 * math/s_clog10f.c (__clog10f): Likewise.
25125 * math/s_clog10l.c (__clog10l): Likewise.
25126 * math/s_clogf.c (__clogf): Likewise.
25127 * math/s_clogl.c (__clogl): Likewise.
25128 * math/libm-test.inc (clog_test): Add more tests.
25129 (clog10_test): Likewise.
25130 * sysdeps/i386/fpu/libm-test-ulps: Update.
25131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25132
3129cfc6
JM
25133 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25134 (pltexit): Likewise.
25135 (La_regs): Likewise.
25136 (La_retval): Likewise.
25137 (int_retval): Likewise.
25138 Update #error for removed macros to refer only to definitions in
25139 tst-audit.h.
25140 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25141 macro.
25142 (pltexit): Likewise.
25143 (La_regs): Likewise.
25144 (La_retval): Likewise.
25145 (int_retval): Likewise.
25146 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25147 macro.
25148 (pltexit): Likewise.
25149 (La_regs): Likewise.
25150 (La_retval): Likewise.
25151 (int_retval): Likewise.
25152 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25153 macro.
25154 (pltexit): Likewise.
25155 (La_regs): Likewise.
25156 (La_retval): Likewise.
25157 (int_retval): Likewise.
25158 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25159 macro.
25160 (pltexit): Likewise.
25161 (La_regs): Likewise.
25162 (La_retval): Likewise.
25163 (int_retval): Likewise.
25164 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25165 macro.
25166 (pltexit): Likewise.
25167 (La_regs): Likewise.
25168 (La_retval): Likewise.
25169 (int_retval): Likewise.
25170 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25171 macro.
25172 (pltexit): Likewise.
25173 (La_regs): Likewise.
25174 (La_retval): Likewise.
25175 (int_retval): Likewise.
25176 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25177 macro definitions in tst-audit.h.
25178 * sysdeps/i386/tst-audit.h: New file.
25179 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25180 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25181 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25182 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25183 * sysdeps/sh/tst-audit.h: Likewise.
25184 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25185 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25186 * sysdeps/x86_64/tst-audit.h: Likewise.
25187
bfc07087
AJ
251882012-07-26 Andreas Jaeger <aj@suse.de>
25189
b1b2aaf8
AJ
25190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25191 ptrace.
25192
25193 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25194 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25195 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25196 PTRACE_O_MASK.
25197 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25199 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25200
bfc07087
AJ
25201 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25202 value.
25203
25204 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25205 _sigsys.
25206 (si_call_addr, si_syscall, si_arch): Define new macro.
25207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25208 _sigsys.
25209 (si_call_addr, si_syscall, si_arch): Define new marcro.
25210 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25211 _sigsys.
25212 (si_call_addr, si_syscall, si_arch): Define new macro.
25213 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25214 _sigsys.
25215 (si_call_addr, si_syscall, si_arch): Define new macro.
25216
89b4b02f
JM
252172012-07-25 Joseph Myers <joseph@codesourcery.com>
25218
25219 [BZ #13717]
25220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25221 Change to 2.4.21 where previously 2.4.1.
25222 * sysdeps/unix/sysv/linux/configure: Regenerated.
25223 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25224 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25225 Linux kernel version.
25226 (__ASSUME_STD_AUXV): Remove.
25227 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25228 kernel version.
25229 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25230 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25231 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25232 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25233 (__ASSUME_NETLINK_SUPPORT): Likewise.
25234 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25235 (__no_netlink_support): Remove conditional definition.
25236 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25237 Remove.
25238 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25239 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25240 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25241 (if_nameindex_ioctl): Remove.
25242 (if_nameindex_netlink): Do not handle __no_netlink_support.
25243 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25244 code.
25245 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25246 Remove conditional code.
25247 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25248 code.
25249 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25250 unconditional.
25251 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25252 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25253 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25254 Remove.
25255 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25256 [!__ASSUME_STD_AUXV]: Remove conditional code.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25258 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25259 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25261 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25262 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25263 code.
25264 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25266 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25267 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25268 conditional code.
25269 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25271 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25272 code.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25274 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25275 conditional code.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25277 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25278 code unconditional.
25279 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25280 conditional code.
25281 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25282 unconditional.
25283 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25284 conditional code.
25285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25286 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25287 unconditional.
25288 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25289 conditional code.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25291 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25292 code unconditional.
25293 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25294 conditional code.
25295 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25296 unconditional.
25297 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25298 conditional code.
25299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25300 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25301 code unconditional.
25302 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25303 conditional code.
25304 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25305 unconditional.
25306 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25307 conditional code.
25308
842a39cd
AS
253092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25310
25311 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25312 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25313 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25314 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25315 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25316 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25317 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25318 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25319 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25320 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25321 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25322 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25323 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25324 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25325 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25326 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25327 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25328 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25329 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25331 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25332 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25334
84b3fd84
FW
253352012-07-25 Florian Weimer <fweimer@redhat.com>
25336
25337 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25338 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25339 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25340 Introduce __libc_secure_getenv.
0c7936d5
FW
25341 * stdlib/Versions (2.17): Add secure_getenv
25342 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25343 * stdlib/secure-getenv.c: Rename __secure_getenv to
25344 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25345 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25346 * stdlib/tst-secure-getenv.c: New.
25347 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25348 * manual/startup.texi (Environment Access): Document
25349 secure_getenv.
84b3fd84
FW
25350 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25351 __libc_secure_getenv.
25352 * inet/ruserpass.c (ruserpass): Likewise.
25353 * malloc/mtrace.c (mtrace): Likewise.
25354 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25355 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25356 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25357 * sysdeps/posix/tempname.c: Likewise. Evaluate
25358 HAVE_SECURE_GETENV.
25359 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25360 __secure_getenv to __libc_secure_getenv.
84b3fd84 25361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25363 Likewise.
25364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25365 Likewise.
25366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25373
56e49b71
JM
253742012-07-25 Joseph Myers <joseph@codesourcery.com>
25375
25376 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25377 (struct La_i86_retval): Likewise.
25378 (struct La_x86_64_regs): Likewise.
25379 (struct La_x86_64_retval): Likewise.
25380 (struct La_x32_regs): Likewise.
25381 (struct La_x32_retval): Likewise.
25382 (struct La_ppc32_regs): Likewise.
25383 (struct La_ppc32_retval): Likewise.
25384 (struct La_ppc64_regs): Likewise.
25385 (struct La_ppc64_retval): Likewise.
25386 (struct La_sh_regs): Likewise.
25387 (struct La_sh_retval): Likewise.
25388 (struct La_s390_32_regs): Likewise.
25389 (struct La_s390_32_retval): Likewise.
25390 (struct La_s390_64_regs): Likewise.
25391 (struct La_s390_64_retval): Likewise.
25392 (struct La_sparc32_regs): Likewise.
25393 (struct La_sparc32_retval): Likewise.
25394 (struct La_sparc64_regs): Likewise.
25395 (struct La_sparc64_retval): Likewise.
25396 (struct audit_ifaces): Remove architecture-specific pltenter and
25397 pltexit members.
25398 * sysdeps/i386/ldsodefs.h: New file.
25399 * sysdeps/powerpc/ldsodefs.h: Likewise.
25400 * sysdeps/s390/ldsodefs.h: Likewise.
25401 * sysdeps/sh/ldsodefs.h: Likewise.
25402 * sysdeps/sparc/ldsodefs.h: Likewise.
25403 * sysdeps/x86_64/ldsodefs.h: Likewise.
25404
354691b7
MP
254052012-07-25 Marek Polacek <polacek@redhat.com>
25406
25407 [BZ #6808]
25408 * math/libm-test.inc (yn_test): Add another test.
25409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25410 to ERANGE when the result is +-Inf.
25411 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25413 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25414 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25415
bf9e2071
JM
254162012-07-24 Joseph Myers <joseph@codesourcery.com>
25417
25418 * conform/data/time.h-data (NULL): Use macro-constant. Require
25419 equal to 0.
25420 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25421 clock_t.
25422 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25423
57633811
TS
254242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25425
25426 * configure.in <sysdeps resolving>: Correct printing
25427 Implies_before.
25428 * configure: Regenerate.
25429
c23c33b0
TS
254302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25431
25432 * math/w_ilogb.c: Include <limits.h>.
25433 * math/w_ilogbl.c: Likewise.
25434
b5982523
JM
254352012-07-20 Joseph Myers <joseph@codesourcery.com>
25436
25437 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25438 va_copy. Document allowing for unavailable va_copy only as
25439 pre-C99 compatibility.
25440 * manual/string.texi (Copying and Concatenation): Use va_copy
25441 instead of __va_copy in concat example.
25442
ac4ea442
PT
254432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25444
25445 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25446 (__sendto): Use create_address_port. Initialize APORT and deallocate
25447 it if not null.
25448
f98eafbd
PT
25449 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25450 with O_NOLINK passed to __file_name_lookup.
25451
898c7aab
PT
25452 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25453 with O_NOLINK passed to __file_name_lookup.
25454
0ced335a
PT
25455 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25456 negative N or less than NGIDS.
25457
b3404dbd
PT
25458 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25459 type to string_t. Set ERANGE as errno and return it if NAME is not big
25460 enough. Use memcpy instead of strncpy.
25461
0f48659e
JM
254622012-07-20 Joseph Myers <joseph@codesourcery.com>
25463
25464 * elf/Makefile (check-data): Remove.
25465 (localplt.data): New vpath directive.
25466 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25467 instead of $(check-data).
25468 * scripts/data/localplt-generic.data: Move to ...
25469 * sysdeps/generic/localplt.data: ... here.
25470 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25471 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25472 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25474 ... here.
25475 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25477 ... here.
25478 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25480 ... here.
25481 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25483 ... here.
25484 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25486 ... here.
25487 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25489 ... here.
25490
d37cbdaa
AZ
254912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25492
25493 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25494 PPC32 and PPC64 files.
25495 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25496 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25497
46f85fc2
AK
254982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25499
25500 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25501 __makecontext_ret to ...
25502 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25503 ... here and call exit if uc_link is NULL. New file.
25504 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25505 __makecontext_ret.S.
25506 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25507 __makecontext_ret to ...
25508 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25509 ... here and call exit if uc_link is NULL. New file.
25510 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25511 __makecontext_ret.S.
25512
08f43f9b
AK
255132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25514
25515 * elf/elf.h (R_390_IRELATIVE): New definition.
25516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25517 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25518 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25520 (elf_machine_lazy_rel): Likewise.
25521 * sysdeps/s390/dl-irel.h: New file.
25522 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25523 * sysdeps/s390/s390-64/memset.S: New asm code.
25524 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25525 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25527 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25528 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25529 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25530 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25531 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25532 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25533 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25534 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25535 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25536 * sysdeps/s390/s390-32/memset.S: New asm code.
25537 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25538
3b05db33
MP
255392012-07-17 Marek Polacek <polacek@redhat.com>
25540
25541 [BZ #14349]
25542 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25543 * sysdeps/s390/s390-64/configure.in: Likewise.
25544 * sysdeps/sparc/configure.in: Likewise.
25545 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25546 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25547 * sysdeps/i386/configure.in: Likewise.
25548 * sysdeps/x86_64/configure.in: Likewise.
25549 * sysdeps/sh/configure.in: Likewise.
25550 * sysdeps/s390/s390-32/configure: Regenerated.
25551 * sysdeps/s390/s390-64/configure: Likewise.
25552 * sysdeps/x86_64/configure: Likewise.
25553 * sysdeps/sh/configure: Likewise.
25554 * sysdeps/powerpc/powerpc64/configure: Likewise.
25555 * sysdeps/powerpc/powerpc32/configure: Likewise.
25556 * sysdeps/sparc/configure: Likwise.
25557 * sysdeps/i386/configure: Likewise.
25558
a66877c6
MP
25559 * elf/dl-open.c: Comment fixes.
25560
cfc82fd8
JM
255612012-07-17 Joseph Myers <joseph@codesourcery.com>
25562
bd29910a
JM
25563 * Makefile [CXX] (check-data): Remove.
25564 [CXX] (c++-types.data): New vpath directive.
25565 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25566 vpath. Do not allow for C++ type data being missing.
25567 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25568 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25569 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25570 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25571 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25572 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25573 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25575 ... here.
25576 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25578 ... here.
25579 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25581 ... here.
25582 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25584 ... here.
25585 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25587 ... here.
25588 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25590 ... here.
25591 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25593 ... here.
25594 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25596
cfc82fd8
JM
25597 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25598 definitions to architecture-specific files.
25599 (TLS_IE): Likewise.
25600 (TLS_LD): Likewise.
25601 (TLS_GD): Likewise.
25602 * sysdeps/i386/tls-macros.h: New file.
25603 * sysdeps/powerpc/tls-macros.h: Likewise.
25604 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25605 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25606 * sysdeps/sh/tls-macros.h: Likewise.
25607 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25608 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25609 * sysdeps/x86_64/tls-macros.h: Likewise.
25610
f7db3170
TS
256112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25612
07cbfc23
TS
25613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25614 zero value for regular exit case.
25615
f7db3170
TS
25616 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25617 (__start_context): Preserve zero value for regular exit case.
25618
dc97c227
TS
256192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25620 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25621
25622 * manual/setjmp.texi (setcontext): Clarify normal process
25623 termination when uc_link is the null pointer.
25624 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25625 exit call.
25626
d0cd7d02
AS
256272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25628
25629 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25630 preprocessor. Test for each exception mask separately.
25631
dd318934
AJ
256322012-07-16 Andreas Jaeger <aj@suse.de>
25633
25634 * po/ru.po: Update from translation team.
25635
8048311a
JM
256362012-07-15 Joseph Myers <joseph@codesourcery.com>
25637
25638 * conform/data/string.h-data (NULL): Use macro-constant. Require
25639 equal to 0.
25640 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25641 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25642 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25643 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25645
b637d46e
AJ
256462012-07-13 Andreas Jaeger <aj@suse.de>
25647
25648 * po/fr.po: Update from translation team.
25649
541428fe
MP
256502012-07-12 Marek Polacek <polacek@redhat.com>
25651
25652 [BZ #14173]
25653 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25654 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25655 loop condition.
25656
ec332e94
JM
256572012-07-12 Joseph Myers <joseph@codesourcery.com>
25658
25659 [BZ #13717]
25660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25661 Change to 2.4.1 where previously 2.4.0.
25662 * sysdeps/unix/sysv/linux/configure: Regenerated.
25663 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25664 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25665 version.
25666 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25667 (__ASSUME_AT_CLKTCK): Remove.
25668 (__ASSUME_AT_PAGESIZE): Likewise.
25669 (__ASSUME_AT_XID): Likewise.
25670 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25671 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25672 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25673 unconditionally.
25674 (HAVE_AUX_PAGESIZE): Likewise.
25675 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25676 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25677 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25678
7b6e99be
JB
256792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25680
25681 [BZ #14307]
25682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25683 the temporary buffer used to invoke __gethostbyname2_r,
25684 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25685 host_data / struct gaih_addrtuple.
25686 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25687 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25688 header file nss/nsswitch.h.
25689 * nss/nsswitch.h (global scope): Add definition of implementation
25690 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25691 resolv/nss_dns/dns-host.c).
25692
608404eb
AJ
256932012-07-11 Andreas Jaeger <aj@suse.de>
25694
25695 * po/fr.po: Update from translation team.
25696
71220aca
AJ
25697 * po/sv.po: Update from translation team
25698 * po/fr.po: Another update from translation team.
25699
28cfe843
AZ
257002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25701
25702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25703 for subnormals or multiply small sinh result by itself.
25704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25706
6b90f981
DM
257072012-07-11 David S. Miller <davem@davemloft.net>
25708
25709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25710
c6825772
AS
257112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25712
25713 [BZ #14347]
25714 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25715 (INTERNAL_MARK): Shift it here.
25716
7b8e0d49
MP
257172012-07-10 Marek Polacek <polacek@redhat.com>
25718
25719 [BZ #14151]
25720 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25721 libc_cv_asm_global_directive with .globl.
25722 * configure: Regenerated.
25723 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25724 with .globl.
25725 * sysdeps/i386/configure: Regenerated.
25726 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25727 with .globl.
25728 * sysdeps/x86_64/configure: Regenerated.
25729 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25730 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25731 * elf/tst-unique2mod2.c: Likewise.
25732 * elf/tst-unique2mod1.c: Likewise.
25733 * elf/tst-unique1mod2.c: Likewise.
25734 * elf/tst-unique1mod1.c: Likewise.
25735 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25736 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25738 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25739 * sysdeps/mach/sysdep.h: Likewise.
25740 * sysdeps/i386/sysdep.h: Likewise.
25741 * sysdeps/i386/i386-mcount.S: Likewise.
25742 * sysdeps/x86_64/_mcount.S: Likewise.
25743 * sysdeps/x86_64/sysdep.h: Likewise.
25744 * sysdeps/sh/_mcount.S: Likewise.
25745 * sysdeps/sh/sysdep.h: Likewise.
25746 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25747 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25748 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25749 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25750 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25751 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25752 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25753 * locale/localeinfo.h: Likewise.
25754 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25755 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25756
6c55cda3
RM
257572012-07-09 Roland McGrath <roland@hack.frob.com>
25758
25759 [BZ #14336]
25760 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25761 system".
25762 * manual/message.texi (The Uniforum approach): Likewise.
25763 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25764 (glibc iconv Implementation): Likewise.
25765
638a572e
JM
257662012-07-09 Joseph Myers <joseph@codesourcery.com>
25767
25768 [BZ #14337]
25769 * math/s_clog.c (__clog): Avoid scaling a value down where that
25770 could result in underflow.
25771 * math/s_clog10.c (__clog10): Likewise.
25772 * math/s_clog10f.c (__clog10f): Likewise.
25773 * math/s_clog10l.c (__clog10l): Likewise.
25774 * math/s_clogf.c (__clogf): Likewise.
25775 * math/s_clogl.c (__clogl): Likewise.
25776 * math/libm-test.inc (clog_test): Add more tests.
25777 (clog10_test): Likewise.
25778 * sysdeps/i386/fpu/libm-test-ulps: Update.
25779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25780
261f4859
AS
257812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25782
0abaf3e4
AS
25783 [BZ #14283]
25784 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25785 by 7 not 8 to examine high bit of fractional part.
25786
261f4859
AS
25787 [BZ #14042]
25788 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25789 for call to __mcount_internal.
25790 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25791 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25792 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25793
f17ac40d
JM
257942012-07-06 Joseph Myers <joseph@codesourcery.com>
25795
9ad63c23
JM
25796 [BZ #14154]
25797 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25798 approximation for values within 0x1p-13f of an odd multiple of
25799 pi/4.
25800 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25801 exception. Add more tests.
25802 * sysdeps/i386/fpu/libm-test-ulps: Update.
25803
f17ac40d
JM
25804 [BZ #6778]
25805 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25806 inputs and return -1 for them. Do not check for +Inf in case not
25807 reachable for +Inf.
25808 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25809 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25810 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25811 and return -1 for them. Do not check for +Inf in case not
25812 reachable for +Inf.
25813 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25814 define.
25815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25816 and return -1 for them. Do not check for +Inf in case not
25817 reachable for +Inf.
25818 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25819 spurious underflow.
25820 * sysdeps/i386/fpu/libm-test-ulps: Update.
25821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25822
fb21f89b
MF
258232012-07-06 Mike Frysinger <vapier@gentoo.org>
25824
25825 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25826
cdfe2c5e
JM
258272012-07-05 Joseph Myers <joseph@codesourcery.com>
25828
25829 [BZ #14157]
25830 [BZ #14331]
25831 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25832 could result in spurious underflow. Scale down values above
25833 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25834 * math/s_csqrtf.c (__csqrtf): Likewise.
25835 * math/s_csqrtl.c (__csqrtl): Likewise.
25836 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25837 spurious underflow.
25838 * sysdeps/i386/fpu/libm-test-ulps: Update.
25839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25840
70d35b67
AS
258412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25842
704bc459
AS
25843 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25844 xopen-msg.sed.
25845 * catgets/xopen-msg.awk: New file.
25846 * catgets/xopen-msg.sed: Removed.
25847
70d35b67
AS
25848 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25849 po2text.sed.
25850 * intl/po2test.awk: New file.
25851 * intl/po2test.sed: Removed.
25852
ca61cf32
JM
258532012-07-04 Joseph Myers <joseph@codesourcery.com>
25854
25855 [BZ #14328]
25856 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25857 or multiply small sinh result by itself.
25858 * math/s_ctanf.c (__ctanf): Likewise.
25859 * math/s_ctanh.c (__ctanh): Likewise.
25860 * math/s_ctanhf.c (__ctanhf): Likewise.
25861 * math/s_ctanhl.c (__ctanhl): Likewise.
25862 * math/s_ctanl.c (__ctanl): Likewise.
25863 * math/libm-test.inc (ctan_test_tonearest): New function.
25864 (ctan_test_towardzero): Likewise.
25865 (ctan_test_downward): Likewise.
25866 (ctan_test_upward): Likewise.
25867 (ctanh_test_tonearest): Likewise.
25868 (ctanh_test_towardzero): Likewise.
25869 (ctanh_test_downward): Likewise.
25870 (ctanh_test_upward): Likewise.
25871 (main): Call these new functions.
25872 * sysdeps/i386/fpu/libm-test-ulps: Update.
25873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25874
ca48a46a
MF
258752012-07-03 Mike Frysinger <vapier@gentoo.org>
25876
25877 * .gitignore: Delete /ports entry.
25878
9d63d37d
AJ
258792012-07-03 Andreas Jaeger <aj@suse.de>
25880
25881 * po/bg.po: Update from translation team.
25882 * po/cs.po: Likewise.
25883 * po/de.po: Likewise.
25884 * po/hr.po: Likewise.
25885 * po/nl.pl: Likewise.
25886 * po/pl.po: Likewise.
25887 * po/vi.po: Likewise.
25888
370ca3d2
JM
258892012-07-03 Joseph Myers <joseph@codesourcery.com>
25890
95f5a9a8
JM
25891 * Makeconfig [!+link] (+link-before-libc): New variable.
25892 [!+link] (+link-after-libc): Likewise.
25893 [!+link] (+link-tests): Likewise.
25894 [!+link] (+link): Define in terms of $(+link-before-libc) and
25895 $(+link-after-libc).
25896 [!+link-static] (+link-static-before-libc): New variable.
25897 [!+link-static] (+link-static-after-libc): Likewise.
25898 [!+link-static] (+link-static-tests): Likewise.
25899 [!+link-static] (+link-static): Define in terms of
25900 $(+link-static-before-libc) and $(+link-static-after-libc).
25901 [build-shared] (link-libc-before-gnulib): New variable.
25902 [build-shared] (link-libc-tests): Likewise.
25903 [build-shared] (link-libc): Define in terms of
25904 $(link-libc-before-gnulib).
25905 [!build-shared] (link-libc-tests): New variable.
25906 (link-libc-static-tests): New variable.
25907 [!gnulib] (gnulib-arch): New variable.
25908 [!gnulib] (gnulib-tests): Likewise.
25909 [!gnulib] (static-gnulib-arch): Likewise.
25910 [!gnulib] (static-gnulib-tests): Likewise.
25911 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25912 Define with "=" instead of ":=".
25913 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25914 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25915 * Rules (binaries-all-notests): New variable.
25916 (binaries-all-tests): Likewise.
25917 (binaries-static-notests): Likewise.
25918 (binaries-static-tests): Likewise.
25919 (binaries-all): Define using $(binaries-all-notests) and
25920 $(binaries-all-tests).
25921 (binaries-static): Define using $(binaries-static-notests) and
25922 $(binaries-static-tests).
25923 (binaries-shared-tests): New variable.
25924 (binaries-shared-notests): Likewise.
25925 (binaries-shared): Remove variable.
25926 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25927 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25928 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25929 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25930 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25931 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25932 * elf/Makefile (sln-modules): New variable.
25933 (extra-objs): Add $(sln-modules:=.o).
25934 (ldconfig-modules): Add static-stubs.
25935 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25936 * elf/static-stubs.c: New file.
25937
7a845b2c
JM
25938 [BZ #14283]
25939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25940 by 7 not 8 to examine high bit of fractional part. Use volatile
25941 variables when splitting into final array of floats if
25942 __FLT_EVAL_METHOD__ != 0.
25943 * math/libm-test.inc (cos_test): Add another test.
25944 (sin_test): Likewise.
25945 * sysdeps/i386/fpu/libm-test-ulps: Update.
25946
e2283f38
JM
25947 [BZ #14273]
25948 * math/libm-test.inc (cosh_test): Add more tests.
25949
370ca3d2
JM
25950 * version.h (RELEASE): Set to "development".
25951 (VERSION): Set to "2.16.90".
25952
ee9247c3
CD
259532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25954
25955 * NEWS: Update copyright. Remove last-updated date.
25956 Mention math library bug fixes and timezone data changes.
25957 * README: Mention GNU/Hurd, x32, and HPPA support status.
25958
4648c381
TS
259592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25960
25961 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25962
aac78a43
AJ
259632012-06-27 Andreas Jaeger <aj@suse.de>
25964
25965 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25966
ed3dbfad
AJ
259672012-06-25 Andreas Jaeger <aj@suse.de>
25968
25969 * sysdeps/s390/fpu/libm-test-ulps: Update.
25970
4d0ee855
AS
259712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25972 Thomas Schwinge <thomas@codesourcery.com>
25973
25974 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25975 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25977 fanotify_mark.
25978
af1bce34
TS
259792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25980
a9fa33ba
TS
25981 * sysdeps/mach/start.c: Remove file.
25982 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25983 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25984 * sysdeps/sh/init-first.c: Likewise.
25985
58f902b8
TS
25986 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25987 registers for frame unwinding purposes, add CFI directives.
25988 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25989 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25990 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25991 Likewise.
25992
1518f58b
TS
25993 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25994 __fortify_fail returning.
25995 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25996
db9b5059
TS
25997 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25998 sysdeps/sh/____longjmp_chk.S.
25999 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26000 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26001 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26002 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26003
967705fe
TS
26004 * sysdeps/sh/abort-instr.h: New file.
26005 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26006 process in case exit returns.
26007
a9def8c4
TS
26008 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26009 initialize the GOT register before use.
26010
2a649725
TS
26011 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26012 calculation of ARGC > 4.
26013
af1bce34
TS
26014 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26015 meaningful names to some local labels.
26016
d230f50a
KK
260172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26018 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26019
26020 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26021 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26022 (__arch_compare_and_exchange_val_16_acq): Likewise.
26023 (__arch_compare_and_exchange_val_32_acq): Likewise.
26024 (atomic_exchange_and_add): Fix gUSA sequence.
26025 (atomic_add): Likewise.
26026 (atomic_add_negative): Likewise.
26027 (atomic_add_zero): Likewise.
26028 (atomic_bit_test_set): Likewise.
26029
0479b305
AS
260302012-06-22 Andreas Schwab <schwab@redhat.com>
26031
26032 [BZ #13579]
26033 * include/link.h (struct link_map): Add l_free_initfini.
26034 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26035 l_initfini.
26036 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26037 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26038 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26039 set.
26040
0e3933b9
CD
260412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26042
26043 * configure.in: Use AC_LANG_SOURCE.
26044 * configure: Regenerate.
26045
4248b1b1
RM
260462012-06-22 Roland McGrath <roland@hack.frob.com>
26047
26048 * configure.in (libc_cv_localstatedir): New substituted variable.
26049 * configure: Regenerated.
26050 * config.make.in (localstatedir): New variable, substituted from
26051 libc_cv_localstatedir.
26052 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26053 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26054 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26055 * sysdeps/gnu/configure: Regenerated.
26056
006dd861
JL
260572012-06-21 Jeff Law <law@redhat.com>
26058
26059 [BZ #14277]
26060 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26061 free. Simplify list management for _LIBC case.
26062
79662d42
JM
260632012-06-21 Joseph Myers <joseph@codesourcery.com>
26064
b7abb4bf
JM
26065 [BZ #14273]
26066 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26067 Clear sign bit of 64-bit integer value before comparing against
26068 overflow value.
26069
79662d42
JM
26070 * sysdeps/mach/configure: Regenerated.
26071
1f150908
L
260722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26073
26074 [BZ #14278]
26075 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26076
28363bbf
JL
260772012-06-21 Jeff Law <law@redhat.com>
26078
26079 [BZ #13882]
26080 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26081 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26083 * elf/dl-open.c (dl_open_worker): Likewise.
26084
09615db4
CD
260852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26086
26087 * scripts/list-sources.sh: Scan PORTS for translations.
26088 * po/libc.pot: Regenerated.
26089
2174c6dd
AJ
260902012-06-21 Andreas Jaeger <aj@suse.de>
26091
26092 [BZ #12194]
26093 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26094 warning.
26095 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26096 * bits/byteswap-16.h (__bswap_16): Likewise.
26097 * bits/byteswap.h (__bswap_constant_16): Likewise.
26098
3ee947b1
L
260992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26100
26101 [BZ #14117]
a2f34833
L
26102 * sysdeps/i386/fpu_control.h: Removed.
26103 * sysdeps/x86_64/fpu_control.h: Moved to ...
26104 * sysdeps/x86/fpu_control.h: Here.
26105
3ee947b1
L
26106 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26107 (_FPU_SETCW): Likewise.
26108
ed1825f8
L
261092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26110
25f1282a
L
26111 [BZ #14117]
26112 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26113 * sysdeps/x86/fpu/bits/mathinline.h: This.
26114 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26115
ed1825f8
L
26116 [BZ #14050]
26117 [BZ #14117]
26118 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26119 functions if __x86_64__ is defined.
26120
36d54b74
CLT
261212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26122
26123 * string/endian.h: Add !__ASSEMBLER__ condition for including
26124 conversion interfaces.
26125
10285c21
JM
261262012-06-15 Joseph Myers <joseph@codesourcery.com>
26127
26128 [BZ #14241]
26129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26130 of ABS(x) in calculating zero to negative powers other than odd
26131 integers.
26132 * math/libm-test.inc (pow_test): Add more tests.
26133
06c5abbd
AJ
261342012-06-15 Andreas Jaeger <aj@suse.de>
26135
26136 * manual/contrib.texi (Contributors): Update entry of Liubov
26137 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26138 Machado Filho.
26139
a3aeac40
CH
261402012-06-15 Cyril Hrubis <metan@ucw.cz>
26141
26142 * string/string.h: Add __wur to GNU version of strerror_r.
26143
49bdf4c1
L
261442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26145
26146 [BZ #14229]
26147 * string/Makefile (tests): Add tst-strtok_r.
26148 * string/tst-strtok_r.c: New file.
26149 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26150 RAX_LP/RDX_LP on SAVE_PTR.
26151
834f9b8d
RM
261522012-06-14 Roland McGrath <roland@hack.frob.com>
26153
26154 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26155
75fa1921
JM
261562012-06-14 Joseph Myers <joseph@codesourcery.com>
26157
26158 * libm_test.inc (csqrt_test): Allow more spurious underflow
26159 exceptions.
26160 (j0_test): Likewise.
26161 (j1_test): Likewise.
26162 (y0_test): Likewise.
26163 (y1_test): Likewise.
26164
771766df
CD
261652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26166
26167 * po/Makefile (libc.pot): Use UTF-8 charset.
26168
ceb9e56b
PP
261692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26170
26171 [BZ #14210]
26172 Suppress sign-conversion warning from FD_SET.
26173 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26174 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26175 not unsigned long int.
26176 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26177
ddb28975
L
261782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26179
26180 [BZ #14050]
26181 [BZ #14117]
26182 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26183 __extern_always_inline instead of __extern_inline.
26184 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26185 (__signbit): Likewise.
26186 (__signbitl): Support C++ namespace.
26187 (lrintf): New inline function.
26188 (lrint): Likewise.
26189 (llrintf): Likewise.
26190 (llrint): Likewise.
26191 (fmaxf): Likewise.
26192 (fmax): Likewise.
26193 (fminf): Likewise.
26194 (fmin): Likewise.
26195 (rint): Likewise.
26196 (rintf): Likewise.
26197 (ceil): Likewise.
26198 (ceilf): Likewise.
26199 (floor): Likewise.
26200 (floorf): Likewise.
26201 (nearbyint): Likewise.
26202 (nearbyintf): Likewise.
26203
d7b4fb26
TS
262042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26205
26206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26207 non-default versions.
26208
eb55f5c2
RM
262092012-06-11 Roland McGrath <roland@hack.frob.com>
26210
26211 [BZ #14218]
26212 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26213
366af02c
TS
262142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26215
99ff6e5c
TS
26216 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26217 (FE_UPWARD, FE_DOWNWARD): Don't define.
26218 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26220
366af02c
TS
26221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26222 reading it.
26223 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26224 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26225
793ea851
KK
262262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26227
26228 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26230 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26231 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26232
a728a38f
L
262332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 [BZ #14117]
c08010c7
L
26236 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26237 * sysdeps/i386/fpu/Implies: New file.
26238 * sysdeps/x86_64/fpu/Implies: Likewise.
26239 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26240 * sysdeps/x86/fpu/bits/fenv.h: This.
26241
a728a38f
L
26242 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26243 __SSE_MATH__.
26244
6e230d11
SP
262452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26246
26247 [BZ #14134]
26248 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26249 character 0xffff that matches the last element of the
26250 conversion table.
26251
1b671feb
AZ
262522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26253
26254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26255 fmodl commit.
26256
6043738b
AZ
262572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26258
26259 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26260 values higher than 25.6283.
26261
34ae0b32
AZ
262622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26263
26264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26265 subnormal exponent extraction and add some __builtin_expect.
26266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26267 Fix for subnormal mantissa calculation.
26268
1214ec8f
MF
262692012-06-04 Mike Frysinger <vapier@gentoo.org>
26270
26271 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26272 cpu2 is -1 and errno is not ENOSYS.
26273
f3d1f93c
L
262742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26275
26276 [BZ #14117]
0e4a3cd7
L
26277 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26278 * sysdeps/x86/bits/string.h: This.
26279 * sysdeps/x86_64/bits/string.h: Removed.
26280
6704c645
L
26281 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26282 if not compiling for x86-64, but compiling for >= i486.
26283
48495318
L
26284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26285 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26286
14adcbfc
L
26287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26288 New macro from Linux kernel 3.4.0.
26289 (FP_XSTATE_MAGIC2): Likewise.
26290 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26291 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26292 (struct _fpx_sw_bytes): New struct.
26293 (struct _xsave_hdr): Likewise.
26294 (struct _ymmh_state): Likewise.
26295 (struct _xstate): Likewise.
26296
68e408ab
L
26297 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26298 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26299 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26300 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26301 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26302 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26303
f3d1f93c
L
26304 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26305 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26306 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26307 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26308 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26309 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26310
d9dc34cd
TMQMF
263112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26312
26313 [BZ #13743]
26314 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26315 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26316 (sysdep_headers): Include sys/platform/ppc.h.
26317 * sysdeps/powerpc/test-gettimebase.c: Test for
26318 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26319 * manual/Makefile (appendices): Include platform.texi.
26320 * manual/contrib.texi (Contributors): Update @node pointers.
26321 * manual/maint.texi (Maintenance): Likewise.
26322 (Platform): New node.
26323 * manual/platform.texi: New file. Document the new features.
26324
4af3879c
SP
263252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26326 Jakub Jelinek <jakub@redhat.com>
26327
26328 [BZ #14188]
26329 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26330 where __builtin_expect is unavailable.
26331
2fd6ff13
DM
263322012-06-03 David S. Miller <davem@davemloft.net>
26333
26334 * stdlib/longlong.h: Updated from GCC.
26335
173f7220
AS
263362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26337
26338 [BZ #14042]
26339 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26340 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26341 __mcount_internal.
26342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26343 (GLIBC_2.16): Likewise.
26344
f34a1c6f
L
263452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26346
26347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26348
88a4576f
JM
263492012-06-01 Joseph Myers <joseph@codesourcery.com>
26350
ea32bcdd
JM
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26352 (default-abi): New variable.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26354 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26355 variable.
26356 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26357 Likewise.
26358 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26359 Likewise.
26360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26361 Likewise.
26362
88a4576f
JM
26363 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26364 definition. Document in comment.
26365
402fe938
DM
263662012-06-01 David S. Miller <davem@davemloft.net>
26367
26368 * stdlib/longlong.h: Updated from GCC.
26369
3553723f
L
263702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26371
26372 [BZ #14117]
3bd872c4
L
26373 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26374 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26375 sys/debugreg.h sys/io.h here.
26376 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26377 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26378 sys/io.h.
26379 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26380 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26381 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26382 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26383 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26384 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26385
3553723f
L
26386 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26387 Define only if __x86_64__ is defined.
26388
4842e4fe
JM
263892012-06-01 Joseph Myers <joseph@codesourcery.com>
26390
c5bfe3d5
JM
26391 [BZ #14048]
26392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26393 Use int64_t for variable i.
26394 * math/libm-test.inc (fmod_test): Add more tests.
26395
4842e4fe
JM
26396 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26397 z computation is not scheduled after fetestexcept.
26398 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26399 Use math_force_eval instead of asm to ensure calculation scheduled
26400 before exception test.
26401 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26402 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26403
efb73488
AJ
264042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26405
26406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26407 computation is not scheduled after fetestexcept.
26408
29bcce7c
L
264092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26410
26411 [BZ #14117]
26412 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26413 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26414
73a68f94
AZ
264152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26416
26417 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26418 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26419
67b6df78
L
264202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26421
edf2933a 26422 [BZ #14117]
ebc64a18
L
26423 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26424 <bits/wordsize.h>.
26425 (__WCHAR_MIN): Support __WORDSIZE == 64.
26426 (__WCHAR_MAX): Likewise.
26427
edf2933a
L
26428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26430
57c6cf40
L
26431 [BZ #14183]
26432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26433 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26434
67b6df78 26435 [BZ #14117]
8eb6281e
L
26436 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26437 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26438
aac639f4
L
26439 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26440 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26441
67b6df78
L
26442 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26443 Defined to 1 if __x86_64__ isn't defined.
26444 (_STAT_VER_LINUX_OLD): New.
26445 (st_atime): Remove duplicate.
26446 (st_mtime): Likewise.
26447 (st_ctime): Likewise.
26448
1c2cfe81
DM
264492012-05-31 David S. Miller <davem@davemloft.net>
26450
26451 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26452 entries.
26453
5be8418c
AS
264542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26455
e7725326
AS
26456 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26457 gen-libm-test.pl.
26458
5be8418c
AS
26459 [BZ #14132]
26460 * elf/dl-reloc.c: Include <_itoa.h>.
26461 (_dl_reloc_bad_type): Remove use of INTUSE.
26462 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26463 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26464 * stdio-common/psiginfo.c (psiginfo): Likewise.
26465 * stdio-common/psignal.c (psignal): Likewise.
26466 * string/strsignal.c (strsignal): Likewise.
26467 * include/signal.h (_sys_siglist): Declare hidden proto.
26468 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26469 INTVARDEF with libc_hidden_data_def.
26470 * stdio-common/itoa-udigits.c: Likewise.
26471 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26472 (_itoa_lower_digits_internal): Remove declaration.
26473 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26474 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26475 (_sys_sigabbrev_internal): Remove aliases.
26476 (_sys_siglist): Define hidden alias.
26477
507352f1
MT
264782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26479
26480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26481 bits/sysctl.h.
26482
42bbb1c3
L
264832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26484
26485 [BZ #14117]
6bd784b6
L
26486 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26487 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26488
8bca20f0
L
26489 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26490 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26491 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26492 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26494 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26495
f9e890a9
L
26496 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26498 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26499
471101a1
L
26500 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26501 with __addr.
26502 (insw): Likewise.
26503 (insl): Likewise.
26504 (outsb): Likewise.
26505 (outsw): Likewise.
26506 (outsl): Likewise.
26507
6451c862
L
26508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26510 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26511
a254b8c9
L
26512 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26513 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26515 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26516 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26517 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26518
b8dfdd92
L
26519 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26520 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26521
578cd270
L
26522 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26523 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26524
de662f5f
L
26525 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26526 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26527 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26528
25653439
L
26529 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26530 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26531 to ...
26532 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26533
6bad24a0
L
26534 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26535 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26536 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26537
42bbb1c3
L
26538 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26539 for x86-64.
26540 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26541
2d10d547
JM
265422012-05-31 Joseph Myers <joseph@codesourcery.com>
26543
26544 * math/math.h (M_El): Use two more decimal places.
26545 (M_LOG2El): Likewise.
26546 (M_LOG10El): Likewise.
26547 (M_LN2l): Likewise.
26548 (M_LN10l): Likewise.
26549 (M_PIl): Likewise.
26550 (M_PI_2l): Likewise.
26551 (M_PI_4l): Likewise.
26552 (M_1_PIl): Likewise.
26553 (M_2_PIl): Likewise.
26554 (M_2_SQRTPIl): Likewise.
26555 (M_SQRT2l): Likewise.
26556 (M_SQRT1_2l): Likewise.
26557
f230c29b
DM
265582012-05-31 David S. Miller <davem@davemloft.net>
26559
26560 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26561 values between float registers.
26562 * sysdeps/sparc/sparc64/memset.S: Likewise.
26563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26564
fed806c3
MF
265652012-05-31 Mike Frysinger <vapier@gentoo.org>
26566
26567 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26568 -D_FORTIFY_SOURCE=1.
26569 (CPPFLAGS-tst-longjmp_chk.c): Define.
26570 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26571 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26572 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26573 CFLAGS-tst-wchar-h.c.
26574
30917259
MP
265752012-05-31 Marek Polacek <polacek@redhat.com>
26576
26577 [BZ #14132]
26578 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26579 __endmntent_internal): Remove declaration.
26580 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26581 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26582 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26583
1c58d5dc
DM
265842012-05-30 David S. Miller <davem@davemloft.net>
26585
26586 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26587 (___Q_simulate_exceptions): Use real FP ops rather than writing
26588 into the %fsr.
26589 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26590 Likewise.
26591
7dc00e0d
L
265922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26593
26594 [BZ #14117]
0bd53985
L
26595 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26596 * sysdeps/x86/bits/xtitypes.h: This.
26597
3a257e66
L
26598 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26599 * sysdeps/x86/bits/wordsize.h: This.
26600
62f62904
L
26601 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26602 * sysdeps/x86/bits/huge_vall.h: This.
26603
404fe9d9
L
26604 * sysdeps/i386/bits/select.h: Removed.
26605 * sysdeps/x86_64/bits/select.h: Renamed to ...
26606 * sysdeps/x86/bits/select.h: This.
26607
d48d0446
L
26608 * sysdeps/i386/bits/setjmp.h: Removed.
26609 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26610 * sysdeps/x86/bits/setjmp.h: This.
26611
7dc00e0d
L
26612 * sysdeps/i386/bits/mathdef.h: Removed.
26613 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26614 * sysdeps/x86/bits/mathdef.h: This.
26615
03277f8f
AS
266162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26617
26618 [BZ #14132]
26619 * include/sys/socket.h (__connect_internal)
26620 (__libc_sa_len_internal): Remove declaration.
26621 (__connect, __libc_sa_len): Declare hidden_proto.
26622 (SA_LEN): Remove use of INTUSE.
26623 * socket/connect.c: Add libc_hidden_def.
26624 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26625 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26626 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26627 alias.
26628 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26629 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26630 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26631 of adding _internal alias.
26632
13764867
L
266332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26634
26635 [BZ #14117]
6bd97696
L
26636 * sysdeps/i386/bits/link.h: Removed.
26637 * sysdeps/i386/bits/linkmap.h: Likewise.
26638 * sysdeps/x86_64/bits/link.h: Renamed to ...
26639 * sysdeps/x86/bits/link.h: This.
26640 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26641 * sysdeps/x86/bits/linkmap.h: This.
26642
f726f0bb
L
26643 * sysdeps/i386/bits/endian.h: Removed.
26644 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26645 * sysdeps/x86/bits/endian.h: This.
26646
13764867
L
26647 * sysdeps/i386/bits/byteswap.h: Removed.
26648 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26649 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26650 * sysdeps/x86/bits/byteswap.h: This.
26651 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26652 * sysdeps/x86/bits/byteswap-16.h: This.
26653 * sysdeps/i386/Implies: Add x86.
26654 * sysdeps/x86_64/Implies: Likewise.
26655
ae251b0b
DM
266562012-05-30 David S. Miller <davem@davemloft.net>
26657
26658 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26659 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26661 (FP_TRAPPING_EXCEPTIONS): Define.
26662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26663 (FP_TRAPPING_EXCEPTIONS): Define.
26664 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26665 subnormals only when inexact has been signalled or underflow
26666 exceptions are enabled.
26667 (_FP_PACK_CANONICAL): Likewise.
26668
d5c90867
L
266692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26670
26671 [BZ #14183]
26672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26673 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26674
63f1549e
RH
266752012-05-30 Richard Henderson <rth@twiddle.net>
26676
8d8f2279
RH
26677 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26678 with #ifndef NOT_IN_libc.
26679
63f1549e
RH
26680 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26681 marked to avoid plt entry.
26682
0ab0291b
L
266832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26684
26685 [BZ #14112]
26686 * Makeconfig (default-abi): New macro.
26687 (abi-includes): Likewise.
26688 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26689 $(abi-$(default-abi)-lib-soname) for soname if defined.
26690 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26691 abi-variants.
26692 * Makefile (installed-stubs): Likewise.
26693 * include/stubs-biarch.h: Removed.
26694 * scripts/lib-names.awk: Only handle one library at a time.
26695 * scripts/soversions.awk: Remove WORDSIZE support.
26696 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26697 entries.
26698 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26699 Removed.
26700 (syscall-list-default-condition): Likewise.
26701 (syscall-list-default-condition): Likewise.
26702 (syscall-list-includes): Likewise.
26703 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26704 syscall-list-* with abi-*. Handle undefined abi-variants.
26705 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26706 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26707 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26708 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26709 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26710 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26711 Removed.
26712 (syscall-list-32-options): Likewise.
26713 (syscall-list-32-condition): Likewise.
26714 (syscall-list-64-options): Likewise.
26715 (syscall-list-64-condition): Likewise.
26716 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26717 macro.
26718 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26719 Renamed to ...
26720 (abi-*): This.
26721 (abi-64-ld-soname): New macro.
26722 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26723 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26724 Renamed to ...
26725 (abi-*): This.
26726 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26727 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26728
4da0431d
JM
267292012-05-30 Joseph Myers <joseph@codesourcery.com>
26730
3a85279c
JM
26731 * sysdeps/unix/sysv/linux/kernel-features.h
26732 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26733 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26734 include <kernel-features.h>.
26735 [!__NR_ftruncate64]: Remove conditional code.
26736 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26737 [__NR_ftruncate64]: Make code unconditional.
26738 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26739 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26740 include <kernel-features.h>.
26741 [!__NR_ftruncate64]: Remove conditional code.
26742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26743 [__NR_ftruncate64]: Make code unconditional.
26744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26746 include <kernel-features.h>.
26747 [!__NR_ftruncate64]: Remove conditional code.
26748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26749 [__NR_ftruncate64]: Make code unconditional.
26750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26752 include <kernel-features.h>.
26753 [!__NR_ftruncate64]: Remove conditional code.
26754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26755 [__NR_ftruncate64]: Make code unconditional.
26756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26757
4da0431d
JM
26758 * configure.in (libc_cv_fpie): Weaken to a compile test using
26759 LIBC_TRY_CC_OPTION.
26760 * configure: Regenerated.
26761
11ef492c
AK
267622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26763
26764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26768 Refreshed.
26769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26775 Refreshed.
26776
d66ef399
DM
267772012-05-27 David S. Miller <davem@davemloft.net>
26778
26779 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26780 (___Q_zero): New.
26781 (__Q_simulate_exceptions): Return void. Change to simulate
26782 exceptions by writing into the %fsr.
26783 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26784 (__Qp_handle_exceptions): Likewise.
26785 (numbers): Delete.
26786 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26787 __Qp_handle_exceptions.
26788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26789 __Qp_handle_exceptions.
26790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26791 as unused and give dummy FP_RND_NEAREST initializer.
26792 (FP_INHIBIT_RESULTS): Define.
26793 (___Q_simulate_exceptions): Update declaration.
26794 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26795 formatting.
26796 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26797 as unused and give dummy FP_RND_NEAREST initializer.
26798 (__Qp_handle_exceptions): Update declaration.
26799 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26800 formatting.
26801
04fb54b5
TS
268022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26803
26804 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26805 the temporary FPU control word.
26806 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26807 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26808 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26809 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26810 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26811 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26812 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26814 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26815 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26816 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26817
3f99608f
KK
268182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26819
26820 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26821 fields.
26822
65a4de4e
CLT
268232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26824
26825 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26826 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26827 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26828 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26829 Likewise.
26830 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26831 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26832 Likewise.
26833
15749d40
UD
268342012-05-27 Ulrich Drepper <drepper@gmail.com>
26835
26836 * po/h.po: Update from translation team.
26837
25dbcb27
AS
268382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26839
3d3f8e55
AS
26840 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26841
25dbcb27
AS
26842 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26843 handling of denormals.
26844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26845 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26846 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26847 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26848 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26851 Likewise.
26852
7ad47a80 268532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26854
26855 [BZ #14152]
26856 * math/libm-test.inc (fma_test): Don't always expect underflow
26857 exception.
26858
9c6ea9fa
SP
268592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26860
26861 [BZ #12416]
26862 * elf/tst-execstack.c: Include stackinfo.h.
26863 (do_test): Adjust test case to ensure that pthread_getattr_np
26864 behaviour remains the same after marking stack executable.
26865
a8239222
JM
268662012-05-25 Joseph Myers <joseph@codesourcery.com>
26867
26868 * sysdeps/unix/sysv/linux/kernel-features.h
26869 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26870 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26871 kernel-features.h.
26872 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26873 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26874 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26875 kernel-features.h.
26876 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26877 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26878
918b5606
L
268792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26880
26881 * configure.in: Define the default includes to being none.
26882 * configure: Regenerated.
26883
3a097cc7
RM
268842012-05-25 Roland McGrath <roland@hack.frob.com>
26885
8422c9a5
RM
26886 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26887 * sysdeps/x86_64/setjmp.S: Likewise.
26888 * sysdeps/i386/bsd-setjmp.S: Likewise.
26889 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26890 * sysdeps/i386/setjmp.S: Likewise.
26891 * sysdeps/i386/__longjmp.S: Likewise.
26892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26893 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26894
3a097cc7
RM
26895 * include/stap-probe.h: New file.
26896 * configure.in: Handle --enable-systemtap.
26897 * configure: Regenerated.
26898 * config.h.in (USE_STAP_PROBE): New #undef.
26899 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26900 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26901 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26902
21708942
JM
269032012-05-25 Joseph Myers <joseph@codesourcery.com>
26904
26905 [BZ #13717]
26906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26907 to 2.4.0 where earlier.
26908 * sysdeps/unix/sysv/linux/configure: Regenerated.
26909 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26910 <kernel-features.h>.
26911 [__ASSUME_32BITUIDS]: Make code unconditional.
26912 [!__ASSUME_32BITUIDS]: Remove conditional code.
26913 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26914 <kernel-features.h>.
26915 [__ASSUME_32BITUIDS]: Make code unconditional.
26916 [!__ASSUME_32BITUIDS]: Remove conditional code.
26917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26918 [__ASSUME_32BITUIDS]: Make code unconditional.
26919 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26920 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26921 <kernel-features.h>.
26922 [__ASSUME_32BITUIDS]: Make code unconditional.
26923 [!__ASSUME_32BITUIDS]: Remove conditional code.
26924 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26925 <kernel-features.h>.
26926 [__ASSUME_32BITUIDS]: Make code unconditional.
26927 [!__ASSUME_32BITUIDS]: Remove conditional code.
26928 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26929 <kernel-features.h>.
26930 [__ASSUME_32BITUIDS]: Make code unconditional.
26931 [!__ASSUME_32BITUIDS]: Remove conditional code.
26932 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26933 <kernel-features.h>.
26934 [__ASSUME_32BITUIDS]: Make code unconditional.
26935 [!__ASSUME_32BITUIDS]: Remove conditional code.
26936 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26937 <kernel-features.h>.
26938 [__ASSUME_32BITUIDS]: Make code unconditional.
26939 [!__ASSUME_32BITUIDS]: Remove conditional code.
26940 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26941 <kernel-features.h>.
26942 [__ASSUME_32BITUIDS]: Make code unconditional.
26943 [!__ASSUME_32BITUIDS]: Remove conditional code.
26944 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26945 <kernel-features.h>.
26946 [__ASSUME_32BITUIDS]: Make code unconditional.
26947 [!__ASSUME_32BITUIDS]: Remove conditional code.
26948 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26949 <kernel-features.h>.
26950 [__ASSUME_32BITUIDS]: Make code unconditional.
26951 [!__ASSUME_32BITUIDS]: Remove conditional code.
26952 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26953 <kernel-features.h>.
26954 [__ASSUME_32BITUIDS]: Make code unconditional.
26955 [!__ASSUME_32BITUIDS]: Remove conditional code.
26956 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26957 <kernel-features.h>.
26958 [__ASSUME_32BITUIDS]: Make code unconditional.
26959 [!__ASSUME_32BITUIDS]: Remove conditional code.
26960 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26961 <kernel-features.h>.
26962 [__NR_setresgid] (__setresgid): Do not declare.
26963 [__ASSUME_32BITUIDS]: Make code unconditional.
26964 [!__ASSUME_32BITUIDS]: Remove conditional code.
26965 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26966 <kernel-features.h>.
26967 [__NR_setresuid] (__setresuid): Do not declare.
26968 [__ASSUME_32BITUIDS]: Make code unconditional.
26969 [!__ASSUME_32BITUIDS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26971 <kernel-features.h>.
26972 [__ASSUME_32BITUIDS]: Make code unconditional.
26973 [!__ASSUME_32BITUIDS]: Remove conditional code.
26974 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26975 <kernel-features.h>.
26976 [__ASSUME_32BITUIDS]: Make code unconditional.
26977 [!__ASSUME_32BITUIDS]: Remove conditional code.
26978 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26979 <kernel-features.h>.
26980 [__ASSUME_32BITUIDS]: Make code unconditional.
26981 [!__ASSUME_32BITUIDS]: Remove conditional code.
26982 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26983 <kernel-features.h>.
26984 [__ASSUME_32BITUIDS]: Make code unconditional.
26985 [!__ASSUME_32BITUIDS]: Remove conditional code.
26986 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26987 <kernel-features.h>.
26988 [__ASSUME_32BITUIDS]: Make code unconditional.
26989 [!__ASSUME_32BITUIDS]: Remove conditional code.
26990 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26991 <kernel-features.h>.
26992 [__ASSUME_32BITUIDS]: Make code unconditional.
26993 [!__ASSUME_32BITUIDS]: Remove conditional code.
26994 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26995 <kernel-features.h>.
26996 [__ASSUME_32BITUIDS]: Make code unconditional.
26997 [!__ASSUME_32BITUIDS]: Remove conditional code.
26998 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26999 <kernel-features.h>.
27000 [__ASSUME_32BITUIDS]: Make code unconditional.
27001 [!__ASSUME_32BITUIDS]: Remove conditional code.
27002 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27003 <kernel-features.h>.
27004 [__ASSUME_32BITUIDS]: Make code unconditional.
27005 [!__ASSUME_32BITUIDS]: Remove conditional code.
27006 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27007 <kernel-features.h>.
27008 [__ASSUME_32BITUIDS]: Make code unconditional.
27009 [!__ASSUME_32BITUIDS]: Remove conditional code.
27010 * sysdeps/unix/sysv/linux/kernel-features.h
27011 (__ASSUME_SETRESUID_SYSCALL): Remove.
27012 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27013 (__ASSUME_32BITUIDS): Likewise.
27014 (__ASSUME_LDT_WORKS): Likewise.
27015 (__ASSUME_O_DIRECTORY): Likewise.
27016 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27017 architecture but not kernel version.
27018 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27019 (__ASSUME_MMAP2_SYSCALL): Likewise.
27020 (__ASSUME_STAT64_SYSCALL): Likewise.
27021 (__ASSUME_IPC64): Likewise.
27022 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27023 <kernel-features.h>.
27024 [__ASSUME_32BITUIDS]: Make code unconditional.
27025 [!__ASSUME_32BITUIDS]: Remove conditional code.
27026 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27027 <kernel-features.h>.
27028 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27029 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27030 132096]: Remove conditional code.
27031 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27032 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27033 <kernel-features.h>.
27034 [__ASSUME_32BITUIDS]: Make code unconditional.
27035 [!__ASSUME_32BITUIDS]: Remove conditional code.
27036 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27037 <kernel-features.h>.
27038 [__ASSUME_32BITUIDS]: Make code unconditional.
27039 [!__ASSUME_32BITUIDS]: Remove conditional code.
27040 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27041 <kernel-features.h>.
27042 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27043 unconditional.
27044 (__setresgid): Do not declare.
27045 [__ASSUME_32BITUIDS]: Make code unconditional.
27046 [!__ASSUME_32BITUIDS]: Remove conditional code.
27047 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27048 <kernel-features.h>.
27049 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27050 unconditional.
27051 (__setresuid): Do not declare.
27052 [__ASSUME_32BITUIDS]: Make code unconditional.
27053 [!__ASSUME_32BITUIDS]: Remove conditional code.
27054 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
27059 <kernel-features.h>.
27060 [__ASSUME_32BITUIDS]: Make code unconditional.
27061 [!__ASSUME_32BITUIDS]: Remove conditional code.
27062
a386f1cc
RH
270632012-05-25 Richard Henderson <rth@twiddle.net>
27064
27065 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27066 dl_hwcap to ifunc resolver.
27067 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27068 elf_ifunc_invoke.
27069 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27070 dl_hwcap to ifunc resolver.
27071 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27072
b6550497
JM
270732012-05-24 Joseph Myers <joseph@codesourcery.com>
27074
27075 [BZ #14153]
27076 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27077 for |x| <= 2**-26, not 2**-57.
27078 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27079 exception.
27080
b0bc23a1
JL
270812012-05-24 Jeff Law <law@redhat.com>
27082
27083 * stdio-common/Makefile (tests): Add bug25.
27084 * stdio-common/bug25.c: New test.
27085
347c92e9
L
270862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27087
27088 [BZ #13576]
27089 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27090 multiple of MALLOC_ALIGNMENT in size.
27091 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27092
6bcc8b3f
JM
270932012-05-24 Joseph Myers <joseph@codesourcery.com>
27094
27095 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27096 Require >= 256.
27097 (FILENAME_MAX): Use macro-int-constant.
27098 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27099 (_IOFBF): Use macro-int-constant.
27100 (_IOLBF): Likewise.
27101 (_IONBF): Likewise.
27102 (SEEK_CUR): Likewise.
27103 (SEEK_END): Likewise.
27104 (SEEK_SET): Likewise.
27105 (TMP_MAX): Likewise.
27106 (EOF): Use macro-int-constant. Require < 0.
27107 (NULL): Use macro-constant. Require == 0.
27108 (stdin): Require type to be FILE *.
27109 (stdout): Likewise.
27110 (stderr): Likewise.
27111 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27112 macro-int-constant.
27113 (EXIT_SUCCESS): Likewise.
27114 (NULL): Use macro-constant. Require == 0.
27115 (RAND_MAX): Use macro-int-constant.
27116 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27117 [C99-based standards] (strtof): Require function.
27118 [C99-based standards] (strtold): Likewise.
27119 [C99-based standards] (strtoll): Likewise.
27120 [C99-based standards] (strtoull): Likewise.
27121 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27122 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27123 [ISO || ISO99 || ISO11] (math.h): Likewise.
27124 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27127
d18ea0c5
AS
271282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27129
27130 [BZ #14132]
56d25bb8
AS
27131 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27132 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27133 * intl/dgettext.c (DCGETTEXT): Likewise.
27134 * intl/gettext.c (DCGETTEXT): Likewise.
27135 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27136 * posix/regex_internal.h (gettext): Likewise.
27137 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27138 Remove declaration.
27139 * include/argz.h (__argz_count_internal)
27140 (__argz_stringify_internal): Remove declaration.
27141 (__argz_count, __argz_stringify): Declare hidden proto.
27142 * intl/dcgettext.c: Remove use of INTDEF.
27143 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27144 * string/argz-stringify.c: Likewise.
27145 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27146 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27147 Declare hidden proto.
d18ea0c5
AS
27148 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27149 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27150 Declare hidden proto.
27151 * include/stdio.h (__asprintf_internal): Don't declare.
27152 (__asprintf): Don't define as macro. Declare hidden proto.
27153 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27154 (__fsetlocking): Declare hidden proto.
27155 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27156 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27157 hidden proto.
27158 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27159 (_IO_setlinebuf): Remove use of INTUSE.
27160 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27161 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27162 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27163 Remove declaration.
27164 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27165 (_IO_do_flush): Remove use of INTUSE.
27166 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27167 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27168 (_IO_adjust_column, _IO_least_wmarker)
27169 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27170 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27171 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27172 (_IO_default_doallocate, _IO_wdefault_doallocate)
27173 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27174 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27175 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27176 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27177 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27178 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27179 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27180 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27181 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27182 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27183 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27184 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27185 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27186 proto.
27187 (_IO_flush_all_internal, _IO_adjust_column_internal)
27188 (_IO_default_uflow_internal, _IO_default_finish_internal)
27189 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27190 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27191 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27192 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27193 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27194 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27195 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27196 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27197 (_IO_file_close_internal, _IO_file_close_it_internal)
27198 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27199 (_IO_file_init_internal, _IO_file_attach_internal)
27200 (_IO_file_fopen_internal, _IO_file_read_internal)
27201 (_IO_file_sync_internal, _IO_file_seek_internal)
27202 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27203 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27204 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27205 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27206 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27207 (_IO_list_all_internal, _IO_link_in_internal)
27208 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27209 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27210 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27211 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27212 (_IO_do_write_internal, _IO_padn_internal)
27213 (_IO_getline_info_internal, _IO_getline_internal)
27214 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27215 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27216 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27217 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27218 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27219 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27220 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27221 with libc_hidden_ver, remove use of INTUSE.
27222 * libio/genops.c: Likewise.
27223 * libio/freopen.c: Likewise.
27224 * libio/freopen64.c: Likewise.
27225 * libio/iofclose.c: Likewise.
27226 * libio/iofdopen.c: Likewise.
27227 * libio/iofflush.c: Likewise.
27228 * libio/iofflush_u.c: Likewise.
27229 * libio/iofgets.c: Likewise.
27230 * libio/iofgets_u.c: Likewise.
27231 * libio/iofopen.c: Likewise.
27232 * libio/iofopncook.c: Likewise.
27233 * libio/iofread.c: Likewise.
27234 * libio/iofread_u.c: Likewise.
27235 * libio/ioftell.c: Likewise.
27236 * libio/iofwrite.c: Likewise.
27237 * libio/iogetline.c: Likewise.
27238 * libio/iogets.c: Likewise.
27239 * libio/iogetwline.c: Likewise.
27240 * libio/iopadn.c: Likewise.
27241 * libio/iopopen.c: Likewise.
27242 * libio/ioseekoff.c: Likewise.
27243 * libio/ioseekpos.c: Likewise.
27244 * libio/iosetbuffer.c: Likewise.
27245 * libio/iosetvbuf.c: Likewise.
27246 * libio/ioungetc.c: Likewise.
27247 * libio/ioungetwc.c: Likewise.
27248 * libio/iovdprintf.c: Likewise.
27249 * libio/iovsprintf.c: Likewise.
27250 * libio/iovsscanf.c: Likewise.
27251 * libio/memstream.c: Likewise.
27252 * libio/obprintf.c: Likewise.
27253 * libio/oldfileops.c: Likewise.
27254 * libio/oldiofclose.c: Likewise.
27255 * libio/oldiofdopen.c: Likewise.
27256 * libio/oldiofopen.c: Likewise.
27257 * libio/oldiopopen.c: Likewise.
27258 * libio/oldstdfiles.c: Likewise.
27259 * libio/putc.c: Likewise.
27260 * libio/setbuf.c: Likewise.
27261 * libio/setlinebuf.c: Likewise.
27262 * libio/stdfiles.c: Likewise.
27263 * libio/strops.c: Likewise.
27264 * libio/vasprintf.c: Likewise.
27265 * libio/vscanf.c: Likewise.
27266 * libio/vsnprintf.c: Likewise.
27267 * libio/vswprintf.c: Likewise.
27268 * libio/wfiledoalloc.c: Likewise.
27269 * libio/wfileops.c: Likewise.
27270 * libio/wgenops.c: Likewise.
27271 * libio/wmemstream.c: Likewise.
27272 * libio/wstrops.c: Likewise.
27273 * libio/__fpurge.c: Likewise.
27274 * libio/__fsetlocking.c: Likewise.
27275 * assert/assert.c: Likewise.
27276 * debug/fgets_chk.c: Likewise.
27277 * debug/fgets_u_chk.c: Likewise.
27278 * debug/fread_chk.c: Likewise.
27279 * debug/fread_u_chk.c: Likewise.
27280 * debug/gets_chk.c: Likewise.
27281 * debug/obprintf_chk.c: Likewise.
27282 * debug/vasprintf_chk.c: Likewise.
27283 * debug/vdprintf_chk.c: Likewise.
27284 * debug/vsnprintf_chk.c: Likewise.
27285 * debug/vsprintf_chk.c: Likewise.
27286 * malloc/mtrace.c: Likewise.
27287 * misc/error.c: Likewise.
27288 * misc/syslog.c: Likewise.
27289 * stdio-common/asprintf.c: Likewise.
27290 * stdio-common/fxprintf.c: Likewise.
27291 * stdio-common/getw.c: Likewise.
27292 * stdio-common/isoc99_fscanf.c: Likewise.
27293 * stdio-common/isoc99_scanf.c: Likewise.
27294 * stdio-common/isoc99_vfscanf.c: Likewise.
27295 * stdio-common/isoc99_vscanf.c: Likewise.
27296 * stdio-common/isoc99_vsscanf.c: Likewise.
27297 * stdio-common/printf-prs.c: Likewise.
27298 * stdio-common/printf_fp.c: Likewise.
27299 * stdio-common/printf_fphex.c: Likewise.
27300 * stdio-common/printf_size.c: Likewise.
27301 * stdio-common/putw.c: Likewise.
27302 * stdio-common/scanf.c: Likewise.
27303 * stdio-common/sprintf.c: Likewise.
27304 * stdio-common/tmpfile.c: Likewise.
27305 * stdio-common/vfprintf.c: Likewise.
27306 * stdio-common/vfscanf.c: Likewise.
27307 * stdlib/strfmon_l.c: Likewise.
27308 * sunrpc/openchild.c: Likewise.
27309 * sunrpc/xdr_stdio.c: Likewise.
27310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27311 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27312
d6c33fda
RM
273132012-05-24 Roland McGrath <roland@hack.frob.com>
27314
c1487492
RM
27315 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27316
27317 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27318 in the third column, to generate for the shared library an IFUNC
27319 that uses _dl_vdso_vsym.
27320 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27321 * Makeconfig (object-suffixes-noshared): New variable.
27322
27323 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27324 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27325 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27326 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27327
d6c33fda
RM
27328 [BZ #14132]
27329 * include/sys/time.h (__gettimeofday): Remove macro.
27330 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27331 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27332 Remove INTDEF.
27333 (__gettimeofday): Add libc_hidden_def.
27334 (gettimeofday): Add libc_hidden_weak.
27335 * sysdeps/mach/gettimeofday.c: Likewise.
27336 * sysdeps/posix/gettimeofday.c: Likewise.
27337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27338 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27340 (__gettimeofday_internal): Remove strong_alias.
27341 (__gettimeofday): Add libc_hidden_def.
27342 (gettimeofday): Add libc_hidden_weak.
27343 * sysdeps/unix/syscalls.list (gettimeofday):
27344 Remove __gettimeofday_internal alias.
27345
b5a2bbe6
L
273462012-05-24 Daniel Jacobowitz <drow@false.org>
27347 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 [BZ #12495]
27350 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27351 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27352 (largebin_index_32_big): New.
27353 (largebin_index): Use it for 16-byte alignment.
27354 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27355 correction with front_misalign.
27356
cfba4fda
L
273572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27358
7f907421
L
27359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27361 Likewise.
27362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27363 Likewise.
27364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27365 Likewise.
27366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27367 Likewise.
27368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27369 Likewise.
27370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27371 Likewise.
27372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27373 Likewise.
27374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27375 Likewise.
27376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27377 Likewise.
27378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27379 Likewise.
27380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27381 Likewise.
27382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27383 Likewise.
27384
cfba4fda
L
27385 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27386 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27387
80bad0cc
JM
273882012-05-24 Joseph Myers <joseph@codesourcery.com>
27389
7a25eb06
JM
27390 [BZ #10846]
27391 [BZ #14036]
27392 * math/libm-test.inc (exp_test): Add test from bug 14036.
27393 (pow_test): Add test from bug 10846.
27394
795405f9
JM
27395 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27396 and other flags.
27397 (special_function): Do not include flags in test name.
27398 (parse_args): Likewise.
27399 * sysdeps/i386/fpu/libm-test-ulps: Update.
27400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27401 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27402 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27404
80bad0cc
JM
27405 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27406 exceptions.
27407 * math/libm-test.inc ("Philosophy"): Update comment about
27408 exception testing.
27409 (UNDERFLOW_EXCEPTION): New macro.
27410 (UNDERFLOW_EXCEPTION_OK): Likewise.
27411 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27412 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27413 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27414 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27415 (INVALID_EXCEPTION_OK): Update value.
27416 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27417 (OVERFLOW_EXCEPTION_OK): Likewise.
27418 (IGNORE_ZERO_INF_SIGN): Likewise.
27419 (test_exceptions): Handle underflow exceptions.
27420 (acos_test): Update for underflow exception expectations.
27421 (cexp_test): Likewise.
27422 (clog_test): Likewise.
27423 (clog10_test): Likewise.
27424 (csqrt_test): Likewise.
27425 (ctan_test): Likewise.
27426 (ctanh_test): Likewise.
27427 (exp_test): Likewise.
27428 (exp10_test): Likewise.
27429 (exp2_test): Likewise.
27430 (expm1_test): Likewise.
27431 (fma_test): Likewise.
27432 (j0_test): Likewise.
27433 (jn_test): Likewise.
27434 (nexttoward_test): Likewise.
27435 (pow_test): Likewise.
27436 (scalbn_test): Likewise.
27437 (scalbln_test): Likewise.
27438 (tan_test): Likewise.
27439 (y1_test): Likewise.
27440 * sysdeps/i386/fpu/libm-test-ulps: Update.
27441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27442
9e0e3d0b
DM
274432012-05-23 David S. Miller <davem@davemloft.net>
27444
27445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27446 (__libc_sigaction): Remove unused local variables.
27447
ccd0a08f
L
274482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27449
27450 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27451
62bdf9a6
PE
274522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27453
f8591f80
PE
27454 mktime: avoid signed integer overflow
27455 * time/mktime.c (__mktime_internal): Do not mishandle the case
27456 where diff == INT_MIN.
27457
94c7d826
PE
27458 mktime: simplify computation of average
27459 * time/mktime.c (ranged_convert): Use new time_t_avg function
27460 instead of rolling our own (probably-slower) code.
27461
ce73d683
PE
27462 mktime: do not assume signed right shift propagates sign bit
27463 * time/mktime.c (isdst_differ): New static function.
27464 (__mktime_internal): No need to normalize tm_isdst now.
27465 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27466 tm_isdst values.
27467
72a22e59
PE
27468 mktime: merge another wrapv change from gnulib
27469 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27470 from some compilers.
27471
68605433
PE
27472 mktime: remove incorrect attempt at unusual arithmetics
27473 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27474 The code didn't really work on such machines anyway.
27475 (TYPE_MINIMUM): Assume two's complement.
27476 (twos_complement_arithmetic): Verify that long_int and time_t
27477 are two's complement (or unsigned, in the latter case).
27478
03cf7fe3
PE
27479 mktime: check signed shifts on long_int and time_t, too
27480 * time/mktime.c (SHR): Check that shifts work as desired
27481 on the types long_int and time_t too, as SHR is used on
27482 such types.
27483
f04dfbc2
PE
27484 mktime: do not assume 'long' is wide enough
27485 * time/mktime.c (verify): Move decl up.
27486 (long_int): New type.
27487 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27488 to remove assumption in the code that 'long' is wide enough to
27489 store year values. This assumption is not true on x32 and on
27490 some non-glibc platforms.
27491
62bdf9a6
PE
27492 mktime: merge wrapv change from gnulib
27493 * time/mktime.c (WRAPV): New macro.
27494 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27495 (guess_time_tm, __mktime_internal): Do not assume that signed
27496 integer overflow wraps around; modern compilers generate code
27497 where this assumption is no longer valid.
27498
5e292e4f
L
274992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27500
27501 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27502 Replace "jmp L(pseudo_end)" with "ret".
27503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27504 Likewise.
27505
8caf8c87
AJ
275062012-05-23 Andreas Jaeger <aj@suse.de>
27507
27508 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27509 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27510
1a09dc56
AJ
275112012-05-23 Andreas Jaeger <aj@suse.de>
27512 Maximilian Attems <max@stro.at>
27513
27514 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27515 New macros.
27516
1c87aba0
L
275172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27518
27519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27520 code so that pseudo_end is just ret and the stack pointer is
27521 correct also for static library in error case.
27522
40e45bd5
JM
275232012-05-23 Joseph Myers <joseph@codesourcery.com>
27524
c2670533
JM
27525 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27526 move to syscalls.list.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27531
40e45bd5
JM
27532 * manual/install.texi (Running make install): Do not mention Linux
27533 kernel version for which pt_chown is not needed.
27534 (Linux): Do not mention problems with nscd with 2.0 kernels.
27535 * INSTALL: Regenerated.
27536
be08eda5
AJ
275372012-05-23 Andreas Jaeger <aj@suse.de>
27538
27539 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27540 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27541 macro.
27542 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27544 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27546 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27550 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27552 * sysdeps/unix/sysv/linux/bits/in.h
27553 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27554
a6a056bb
RM
275552012-05-22 Roland McGrath <roland@hack.frob.com>
27556
27557 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27558 (PREPARE_VERSION): Just use assert instead, it will be elided
27559 under [NDEBUG] anyway.
27560
c9009328
L
275612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27562
27563 * sysdeps/unix/sysv/linux/Makefile: Include
27564 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27565 (sysdep_routines): Remove sysctl.
c9009328
L
27566 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27567 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27568 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27569 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27570 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27571
73338355
AJ
275722012-05-22 Andreas Jaeger <aj@suse.de>
27573
27574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27575 that pseudo_end is just ret and the stack pointer is correct also
27576 for static library in error case.
27577
d44638b0
PP
275782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27579
27580 [BZ #14122]
27581 * nss/nsswitch.c (defconfig_entries): New variable.
27582 (__nss_database_lookup): Don't leak defconfig entries.
27583 (nss_parse_service_list): Don't leak on error paths.
27584 (free_database_entries): New function.
27585 (free_defconfig): New function.
27586 (free_mem): Move common code to free_database_entries.
27587
31a39bd8
L
275882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27589
da0331a8
L
27590 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27591 Add arch_prctl.
27592 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27593
31a39bd8
L
27594 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27595 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27597 New macro.
27598 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27599 (INTERNAL_SYSCALL_TYPES): Likewise.
27600 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27601 (LOAD_REGS_TYPES_[1-6]): Likewise.
27602 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27603 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27604
45470df3
AZ
276052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27606
27607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27608 copysignl for GLIBC_2_0.
27609 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27610 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27612 logbl for GLIBC_2_0.
27613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27614 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27615
98a61bcb
L
276162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27617
a4f6e481
L
27618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27619 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27620
f63d5db6
L
27621 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27622 Use "neg %eax".
27623
98a61bcb
L
27624 * time/mktime.c: Update copyright years.
27625
95770f14
PE
276262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27627
6226efbd
PE
27628 mktime: merge comment-quoting-style change from gnulib
27629 * time/mktime.c: Quote 'like this' in comments.
27630 The GNU coding standards suggest that we no longer quote `like this',
27631 as "`" and "'" are typically rendered asymmetrically nowadays.
27632 The typical gnulib style is to quote 'like this' when quoting
27633 code, and "like this" when quoting English.
27634
b99e4f78
PE
27635 * time/mktime.c (compile-command): Add "-I.".
27636
643e01e6
PE
27637 mktime: merge mktime-internal.h change from gnulib
27638 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27639
2554247d
PE
27640 mktime: merge time_r change from gnulib
27641 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27642
826dd0ab
PE
27643 mktime: merge DEBUG change from gnulib
27644 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27645 case system <time.h> has a #define.
27646
bd83aabe
PE
27647 mktime: merge <sys/types.h> change from gnulib
27648 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27649 since <time.t> is now guaranteed to define time_t.
27650
95770f14
PE
27651 mktime: merge HAVE_CONFIG_H change from gnulib
27652 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27653
5e1a27a9
L
276542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27655
0e44a77e
L
27656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27657 Use "neg %eax".
27658
5e1a27a9
L
27659 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27660 __rlim_t cast.
27661 (struct rusage): Use anonymous union to pad each field to
27662 __syscall_slong_t.
27663
46259bec
DM
276642012-05-21 David S. Miller <davem@davemloft.net>
27665
27666 * Makefules (o-iterator): Remove .s cases.
27667 (compile-command.s): Delete.
27668 (COMPILE.s): Delete.
27669 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27670
59f0c22e
JM
276712012-05-21 Joseph Myers <joseph@codesourcery.com>
27672
27673 * configure.in (libc_cv_predef_stack_protector): Only consider
27674 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27675 * configure: Regenerated.
27676
20c07380
L
276772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27678
bbb3154b
L
27679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27680 New macro. Use R*LP on int and pointer.
27681 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27682 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27683 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27684 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27685
20c07380
L
27686 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27687 [__WORDSIZE_TIME64_COMPAT32] instead of
27688 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27689 (struct utmp): Likewise.
27690 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27691 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27692 Renamed to ...
27693 (__WORDSIZE_TIME64_COMPAT32): This.
27694 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27695 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27696 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27697 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27698 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27699 (__WORDSIZE_TIME64_COMPAT32): New macro.
27700
d8d1017e
AJ
277012012-05-21 Andreas Jaeger <aj@suse.de>
27702
27703 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27704 only if [SHARED]. Add prototype for __wcschr_ia32.
27705
6c7fb145
RM
277062012-05-21 Roland McGrath <roland@hack.frob.com>
27707
27708 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27709 of %rbp unmolested in the jmp_buf while mangling the low bits.
27710 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27711 unmolested high bits of %rbp while demangling the low bits.
27712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27713
66274218
AJ
277142012-05-21 Andreas Jaeger <aj@suse.de>
27715
07c58f8f
AJ
27716 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27717 * sunrpc/svc_simple.c: Use it for registerrpc.
27718 * sunrpc/xcrypt.c: Use it for passwd2des.
27719
66274218
AJ
27720 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27721
61f65140
L
277222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27723
27724 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27725 Don't define if [__SYSCALL_WORDSIZE != 32].
27726 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27727 New macro.
27728
5fefb436
AJ
277292012-05-21 Bruno Haible <bruno@clisp.org>
27730 Andreas Jaeger <aj@suse.de>
27731
27732 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27733 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27734 inptr and inend for must_buffer_ch.
27735 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27736 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27737 * stdio-common/Makefile (tests): Remove bug15.
27738 (bug15-ENV): Remove macro.
27739 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27740 anymore.
27741
d8e272ab
AJ
277422012-05-19 Andreas Jaeger <aj@suse.de>
27743 Roland McGrath <roland@hack.frob.com>
27744
27745 * manual/contrib.texi: Completely rewritten. It contains now an
27746 alphabetical list of contributors and their contributions.
27747
4a56a162
RH
277482012-05-21 Richard Henderson <rth@twiddle.net>
27749
27750 * misc/getauxval.c (__getauxval): Use unsigned long int.
27751 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27752 (getauxval): Use unsigned long int.
27753
d024d23c
L
277542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27755
27756 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27757
cbc00a03
RM
277582012-05-21 Roland McGrath <roland@hack.frob.com>
27759
27760 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27761 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27762 __alignof__ (long double).
27763
478143fa
AZ
277642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27765
27766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27767
c7683a6d
RH
277682012-05-20 Richard Henderson <rth@twiddle.net>
27769
27770 * misc/getauxval.c: New file.
27771 * misc/sys/auxv.h: New file.
27772 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27773 (routines): Add getauxval.
27774 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27776 * elf/dl-sysdep.c (_dl_auxv): Remove.
27777 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27778 * elf/dl-support.c (_dl_auxv): New variable.
27779 (_dl_aux_init): Initialize it.
27780 * manual/startup.texi (Auxiliary Vector): New node.
27781 * sysdeps/generic/bits/hwcap.h: New file.
27782 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27783 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27784 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27785 * sysdeps/sparc/sysdep.h: ... here. Include it.
27786 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27789 Update.
c7683a6d
RH
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27798
a6f1845d
AZ
277992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27800
27801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27802
cbcbe830
DM
278032012-05-19 David S. Miller <davem@davemloft.net>
27804
27805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27806
e0b16cc2
JM
278072012-05-19 Joseph Myers <joseph@codesourcery.com>
27808
27809 [BZ #14123]
27810 * math/s_ccosh.c: Include <float.h>
27811 (__ccosh): Avoid internal overflow calculating sinh and cosh
27812 values before multiplying by sin and cos values.
27813 * math/s_ccoshf.c: Likewise.
27814 * math/s_ccoshl.c: Likewise.
27815 * math/s_csin.c: Likewise.
27816 * math/s_csinf.c: Likewise.
27817 * math/s_csinl.c: Likewise.
27818 * math/s_csinh.c: Likewise.
27819 * math/s_csinhf.c: Likewise.
27820 * math/s_csinhl.c: Likewise.
27821 * math/libm-test.inc (ccos_test): Add more tests.
27822 (ccosh_test): Likewise.
27823 (csin_test): Likewise.
27824 (csinh_test): Likewise.
27825 * sysdeps/i386/fpu/libm-test-ulps: Update.
27826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27827
6ad13e08
L
278282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27829
f66f0ce8
L
27830 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27831 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27832
6ad13e08
L
27833 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27834
b1d072a7
JM
278352012-05-19 Joseph Myers <joseph@codesourcery.com>
27836
27837 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27838 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27839 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27840 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27841 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27842 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27843 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27844 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27845 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27846 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27847 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27848 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27849 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27850 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27851 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27852 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27853 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27854 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27855 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27856 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27857 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27858 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27859 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27860 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27861 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27862 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27863 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27864 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27865 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27866 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27867 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27868
9eae47cb
AJ
278692012-05-18 Andreas Jaeger <aj@suse.de>
27870
27871 * csu/.gitignore: Delete.
27872
bb07f69f
L
278732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27876 (timex): Use __syscall_slong_t.
27877
e6bdb741
AJ
278782012-05-18 Andreas Jaeger <aj@suse.de>
27879 Carlos O'Donell <carlos_odonell@mentor.com>
27880
27881 * manual/install.texi (Configuring and compiling): Update
27882 description about files modified in the source directory.
d6c33fda 27883 * INSTALL: Regenerated.
e6bdb741 27884
1b74487e
L
278852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27886
27887 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27888 value. Use "or" to set return value to -1.
27889 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27890 negate return value.
27891
a88b64b9
TMQMF
278922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27893
27894 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27895 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27896 failure if the compiler has Graphite support disabled.
27897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27898 Likewise.
27899 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27900 CFLAGS-memmove.c): Likewise.
27901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27902 Likewise.
27903
3707636e
L
279042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27905
610b8622
L
27906 * sysdeps/x86_64/x32/_itoa.h: New file.
27907
7cd195df
L
27908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27909 getdents system call only if kernel and user dirents have the
27910 same d_ino and d_off.
27911
94b07d20
L
27912 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27913 LLONG_MAX != LONG_MAX.
27914 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27915 (_fitoa_word): Likewise.
27916
18298070
L
27917 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27918 years.
27919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27920 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27922
553c7ea4
L
27923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27924 include <bits/wordsize.h>. Check __x86_64__ instead of
27925 __WORDSIZE.
27926 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27927 if __x86_64__ is defined. Use anonymous union on fpstate.
27928
3707636e
L
27929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27930 anonymous union.
27931
b53ef01a
AS
279322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27933
37fb1dc0
AS
27934 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27935 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27936 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27937 Refer to _rtld_local_ro instead of _rtld_global_ro.
27938 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27939 Likewise.
27940 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27941 Likewise.
27942 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27943 Likewise.
27944 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27945 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27946 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27947
b53ef01a
AS
27948 * sysdeps/powerpc/powerpc32/dl-machine.c
27949 (__elf_machine_runtime_setup) [PROF]: Don't reference
27950 _dl_prof_resolve.
27951
7a185db2
AJ
279522012-05-18 Andreas Jaeger <aj@suse.de>
27953
27954 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27955 function only available for GCCs before 3.4 since GCC 3.4
27956 introduced a builtin.
27957 (lrint): Likewise.
27958 (llrintf): Likewise.
27959 (llrint): Likewise.
27960 (fmaxf): Likewise.
27961 (fmax): Likewise.
27962 (fminf): Likewise.
27963 (fmin): Likewise.
27964 (rint): Likewise.
27965 (rintf): Likewise.
27966 (nearbyint): Likewise.
27967 (nearbyintf): Likewise.
27968 (ceil): Likewise.
27969 (ceilf): Likewise.
27970 (floor): Likewise.
27971 (floorf): Likewise.
27972
3e5aef87
L
279732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27974
428bd707
L
27975 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27976 on both fields and cast pointer to __syscall_ulong_t.
27977
3e5aef87
L
27978 * bits/types.h (__fsword_t): New type.
27979 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27980 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27982 (__FSWORD_T_TYPE): Likewise.
27983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27984 (__FSWORD_T_TYPE): Likewise.
27985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27986 (__FSWORD_T_TYPE): Likewise.
27987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27988 (__FSWORD_T_TYPE): Likewise.
27989 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27990 __SWORD_TYPE with __fsword_t.
27991 (statfs64): Likewise.
27992
1ba7c3dc
DM
279932012-05-17 David S. Miller <davem@davemloft.net>
27994
27995 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27996
59910343
AJ
279972012-05-17 Andreas Jaeger <aj@suse.de>
27998
27999 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28000 warning.
28001
2e4c1e9e
L
280022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28003
28004 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28005
de7f5ce7
AJ
280062012-05-17 Andreas Jaeger <aj@suse.de>
28007
28008 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28009 when it is used.
28010
286abc3d
CM
280112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28012
28013 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28014
477cc68e
L
280152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28018 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28019
1a0994f5
CD
280202012-05-17 Andreas Jaeger <aj@suse.de>
28021 Carlos O'Donell <carlos_odonell@mentor.com>
28022
28023 [BZ #14059]
28024 * sysdeps/x86_64/multiarch/init-arch.h
28025 (bit_YMM_Usable): Rename to...
28026 (bit_AVX_Usable): ... this.
28027 (bit_FMA4_Usable): New macro.
28028 (bit_XMM_state): New macro.
28029 (bit_YMM_state): New macro.
28030 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28031 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28032 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28033 (CPUID_OSXSAVE): New macro.
28034 (CPUID_AVX): New macro.
28035 (CPUID_FMA4): New macro.
28036 (index_YMM_Usable): Rename to...
28037 (index_AVX_Usable): ... this.
28038 (HAS_AVX): Use HAS_ARCH_FEATURE.
28039 (HAS_FMA4): Likewise.
28040 (HAS_YMM_USABLE): Remove.
28041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28042 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28043 are present.
28044 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28045 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28046 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28047 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28048 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28049
0af797de
CM
280502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28051
28052 * math/libm-test.c: Support platforms without multiple rounding modes.
28053 * math/bug-nextafter.c: Support platforms without FP exceptions.
28054 * math/bug-nexttoward.c: Likewise.
28055 * math/test-fenv.c: Likewise.
28056 * math/test-misc.c: Likewise.
28057 * stdlib/bug-getcontext.c: Likewise.
28058
e39745ff
AJ
280592012-05-17 Andreas Jaeger <aj@suse.de>
28060
28061 * manual/examples/search.c (critter_cmp): Change signature to
28062 avoid warnings.
28063 * manual/string.texi (Collation Functions): Likewise.
28064
48970aba
L
280652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28066
28067 * bits/types.h: Fold copyright years.
28068 * bits/typesizes.h: Likewise.
28069 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28073 * time/time.h: Likewise.
28074
bedee953
PP
280752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28076
28077 [BZ #208]
28078 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28079 in instead of returning them. Return void.
28080 (__libc_mallinfo): Accumulate over all arenas.
28081 (__malloc_stats): Adjust for change in int_mallinfo interface.
28082
61653dfb
RM
280832012-05-16 Roland McGrath <roland@hack.frob.com>
28084
30b99d79
RM
28085 [BZ #10375]
28086 * configure.in (NM): Add AC_CHECK_TOOL for it.
28087 (libc_extra_cflags): New substituted variable.
28088 Check for -fstack-protector being used implicitly.
28089 * configure: Regenerated.
28090 * config.make.in (config-extra-cflags): New variable,
28091 gets @libc_extra_cflags@.
28092 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28093
61653dfb
RM
28094 [BZ #10375]
28095 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28096 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28097 * configure: Regenerated.
28098 * config.make.in (CPPUNDEFS): New substituted variable.
28099 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28100 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28101 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28102
661768bb
L
281032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28106 (mq_attr): Use __syscall_slong_t.
28107
d4261567
L
281082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28111 Check __x86_64__ instead of __WORDSIZE.
28112 (_STAT_VER_LINUX): Likewise.
28113 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28114 __syscall_ulong_t and __syscall_slong_t.
28115 (stat64): Likewise.
28116
cf3ff365
L
281172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28118
28119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28120
76cf3e4d
L
281212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28122
28123 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28124
a637753a
L
281252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28126
28127 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28128 __syscall_ulong_t.
28129
d5e05119
L
28130 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28131 include <bits/wordsize.h>. Check __x86_64__ instead of
28132 __WORDSIZE.
28133 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28134 defined.
28135 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28136
f62ee380
L
28137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28138 include <bits/wordsize.h>. Check __x86_64__ instead of
28139 __WORDSIZE.
28140 (user_regs_struct): Use "__extension__ unsigned long long"
28141 instead of "unsigned long" if __x86_64__ is defined.
28142 (user): Likewise. Pad after pointer field if __ILP32__ is
28143 defined.
28144
4e124ced
JM
281452012-05-16 Joseph Myers <joseph@codesourcery.com>
28146
6a3951a0
JM
28147 * configure.in (makeinfo): Require version 4.5 or later. Allow
28148 versions 5 to 9.
28149 * configure: Regenerated.
28150 * manual/install.texi (texinfo): Increase version requirement to
28151 4.5 or later.
28152 * INSTALL: Regenerated.
28153
4e124ced
JM
28154 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28155
953ca31a
L
281562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28157
28158 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28159
617aca05
L
28160 * sysdeps/x86_64/x32/ffs.c: New file.
28161
5762f7ae
L
28162 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28163 __syscall_ulong_t.
28164 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28165 defined. Use __syscall_ulong_t.
28166 (shminfo): Use __syscall_ulong_t.
28167 (shm_info): Likewise.
28168
a26b6856
L
28169 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28170 __syscall_ulong_t.
28171
cb2b9ef7
L
28172 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28173 <bits/wordsize.h>.
28174 (msgqnum_t): Use __syscall_ulong_t.
28175 (msglen_t): Likewise.
28176 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28177 __syscall_ulong_t.
28178
34683bb0
L
28179 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28181
84a68786
L
28182 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28183
48baa5f1
L
28184 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28185 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28186
180be88b
L
28187 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28188 __syscall_slong_t.
28189
5e90c8ad
L
28190 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28191 include <bits/wordsize.h>. Check __x86_64__ instead of
28192 __WORDSIZE.
28193
23dfb58b
L
28194 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28195 "unsigned long long int" if __x86_64__ is defined.
28196 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28197
ce5d54b0
L
28198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28200 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28201
13dc9eac
L
28202 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28203 <stdint.h>.
28204 (GET_PC): Cast to uintptr_t first.
28205 (GET_FRAME): Likewise.
28206 (GET_STACK): Likewise.
28207
a7895d15
L
28208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28209 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28211 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28213 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28214 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28215 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28216 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28221 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28222 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28237
656416c9
AS
282382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28239
5bd66283
AS
28240 * Makerules (+depfiles): Also collect depfiles from .oS in
28241 $(extra-objs).
28242 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28243 .oS, $(libnldbl-routines)).
28244
656416c9
AS
28245 * Makerules (native-compile-mkdep-flags): Define.
28246 * sunrpc/Makefile (extra-objs): Add $(addprefix
28247 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28248 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28249 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28250 calling $(make-target-directory).
28251
a46f2169
L
282522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28253
28254 * bits/types.h (__snseconds_t): Removed.
28255 * time/time.h (struct timespec): Replace __snseconds_t with
28256 __syscall_slong_t.
28257 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28258 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28259 Likewise.
28260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28261 (__SNSECONDS_T_TYPE): Likewise.
28262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28263 (__SNSECONDS_T_TYPE): Likewise.
28264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28265 (__SNSECONDS_T_TYPE): Likewise.
28266
6af6528b
L
282672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28268
28269 * sysdeps/mach/hurd/bits/typesizes.h
28270 (__SYSCALL_SLONG_TYPE): New macro.
28271 (__SYSCALL_ULONG_TYPE): Likewise.
28272
de986b56
L
282732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28274
28275 * bits/types.h (__syscall_slong_t): New type.
28276 (__syscall_ulong_t): Likewise.
28277
28278 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28279 (__SYSCALL_ULONG_TYPE): Likewise.
28280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28281 (__SYSCALL_SLONG_TYPE): Likewise.
28282 (__SYSCALL_ULONG_TYPE): Likewise.
28283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28284 (__SYSCALL_SLONG_TYPE): Likewise.
28285 (__SYSCALL_ULONG_TYPE): Likewise.
28286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28287 (__SYSCALL_SLONG_TYPE): Likewise.
28288 (__SYSCALL_ULONG_TYPE): Likewise.
28289
85736dc7
L
282902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28291
28292 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28293 Add sigaltstack-offsets.sym.
28294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28295 <sigaltstack-offsets.h>.
28296 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28297 longjmp_msg pointer.
28298 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28299 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28300 signal stack.
28301 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28302
cc03b296
JM
283032012-05-15 Joseph Myers <joseph@codesourcery.com>
28304
a9538892
JM
28305 * elf/stackguard-macros.h: Remove file.
28306 * sysdeps/generic/stackguard-macros.h: New file.
28307 * sysdeps/i386/stackguard-macros.h: Likewise.
28308 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28309 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28310 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28311 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28312 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28313 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28314 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28315 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28316 <elf/stackguard-macros.h>.
28317
cc03b296
JM
28318 [BZ #14109]
28319 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28320 __aligned__ in attribute.
28321 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28322 (gregset_t): Likewise.
28323
93171016
L
283242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28325
28326 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28327 * sysdeps/x86_64/64/Implies-after: Here. New file.
28328 * sysdeps/x86_64/x32/Implies-after: New file.
28329
d86813a0
L
283302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28331
28332 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28333 and access return value for _dl_profile_fixup. Use R10_LP to
28334 load frame size.
28335
2953ec75
L
283362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28337
28338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28339
3b550e9e
L
283402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28343 * sysdeps/x86_64/x32/sysdep.h: New file.
28344
eda41706
L
283452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28348 * sysdeps/x86_64/setjmp.S: Likewise.
28349
9ea01d93
AZ
283502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28351
28352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28353 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28354 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28356 remove unused global constant.
28357
02a91938
CM
283582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28359
28360 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28361 include of <not-cancel.h>.
28362
6540185f
RM
283632012-05-15 Roland McGrath <roland@hack.frob.com>
28364
28365 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28366
509072a0
AJ
283672012-05-15 Jeff Law <law@redhat.com>
28368 Andreas Jaeger <aj@suse.de>
28369
28370 [BZ #13594]
28371 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28372 out from...
28373 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28374 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28375 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28376 code changing __hst_map_handle.map.
28377
ba75122d
RM
283782012-05-15 Roland McGrath <roland@hack.frob.com>
28379
28380 * configure.in (sysnames): Look for Implies-before and Implies-after
28381 files.
28382 * configure: Regenerated.
28383
890d8bd8
L
283842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28387 8-byte data alignment with LP_SIZE alignment.
28388
f6ee6623
L
283892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28392 into R10_LP.
28393
ea2626f6
L
283942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28397
085f715e
L
283982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28399
28400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28401 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28403 Likewise.
28404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28405
be8498fc
L
284062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28407
28408 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28409 (stackinfo_sub_sp): Likewise.
28410
70bc83b9
L
284112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28414 RAX_LP.
28415
9bc0b730
L
284162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28417
28418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28419 into R*_LP.
28420
6d2850e7
L
284212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28424 sizes into R*_LP.
28425
3cb84561
L
284262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28429
54e2ed81
L
284302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28431
28432 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28433 into R11_LP and load __x86_64_shared_cache_size_half into
28434 R8_LP.
28435
8a17f349
L
284362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28437
28438 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28439 R8_LP.
28440
777b1eea
AZ
284412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28442
28443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28444 logb for POWER7.
28445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28446 logbf for POWER7.
28447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28448 logbl for POWER7.
28449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28450 powerpc32/power7/fpu/s_logb.c via #include.
28451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28452 powerpc32/power7/fpu/s_logbf.c via #include.
28453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28454 powerpc32/power7/fpu/s_logbl.c via #include.
28455
d20d4ac2
JM
284562012-05-15 Joseph Myers <joseph@codesourcery.com>
28457
28458 * README.libm: Remove file.
28459
6cdef1ab
L
284602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28461
28462 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28463 count for x32. Use R*_LP and omit operand-size suffix.
28464
0b254d8f
L
284652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28468 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28469 * sysdeps/x86_64/x32/shlib-versions: New file.
28470
ceb809dc
RM
284712012-05-14 Roland McGrath <roland@hack.frob.com>
28472
28473 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28474 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28475 Use _dl_fatal_printf instead.
28476
37f1abd4
JM
284772012-05-14 Joseph Myers <joseph@codesourcery.com>
28478
28479 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28480 set if not set by the user. Do not allow for being unset.
28481 * sysdeps/unix/sysv/linux/configure: Regenerated.
28482
11de3a33
L
284832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28484
28485 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28486 the `q' suffix from lea and replace .quad with ASM_ADDR.
28487
e02f153a
L
284882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28491 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28492 instead of $17.
28493 (PTR_DEMANGLE): Likewise.
28494
520ae0fd
L
284952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28496
28497 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28498 (LP_OP): Likewise.
28499 (ASM_ADDR): Likewise.
28500 (RAX_LP): Likewise.
28501 (RBP_LP): Likewise.
28502 (RBX_LP): Likewise.
28503 (RCX_LP): Likewise.
28504 (RDI_LP): Likewise.
28505 (RSI_LP): Likewise.
28506 (RSP_LP): Likewise.
28507 (R8_LP): Likewise.
28508 (R9_LP): Likewise.
28509 (R10_LP): Likewise.
28510 (R10_LP): Likewise.
28511 (R11_LP): Likewise.
28512 (R12_LP): Likewise.
28513 (R13_LP): Likewise.
28514 (R14_LP): Likewise.
28515 (R15_LP): Likewise.
28516
b985be81
L
285172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28518
28519 * sysdeps/x86_64/x32/dl-machine.h: New file.
28520
6a4888ff
AJ
285212012-05-14 Andreas Jaeger <aj@suse.de>
28522
28523 * manual/Makefile (subdir): Remove export of subdir.
28524 (all): Remove target.
28525 (.PHONY): Remove all from list.
28526 (mkinstalldirs): Remove.
28527 (.PHONY): Remove installdirs from list.
28528 ($(inst_infodir)/libc.info): Use make-target-directory.
28529 (installdirs): Remove.
28530 (subdir_%): Remove.
28531 (glibc-targets): Remove.
28532 (lib): Remove.
28533 (stubs): Remove.
28534 ($(objpfx)stubs ../po/manual.pot): Remove.
28535 ($(objpfx)stamp%): Remove.
28536 (make-target-directory): Remove.
28537 (subdir_install): Remove.
28538 (routines): Remove.
28539 (aux): Remove.
28540 (sources): Remove.
28541 (objects): Remove.
28542 (headers): Remove.
28543
28544 [BZ #13750]
28545 * manual/.gitignore: Remove, it's not needed anymore.
28546 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28547 all files in it.
28548 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28549 directory.
28550 (texis): Renamed to $(objpfx)texis.
28551 (texis-path): New, contains path to generated files.
28552 (chapters.%): Use texis-path for complete path, add extra argument
28553 libc-texinfo.sh.
28554 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28555 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28556 (summary,texi, stamp-summary): Use complete path of
28557 files. Generate files in build dir.
28558 (dir-add.texi): Build in build dir.
28559 (libm-err.texi,stamp-libm-err): Likewise.
28560 (version.texi, stamp-version): Likewise.
28561 (.%c.texi): Likewise.
28562 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28563 (mostlyclean): Remove target.
28564 (realclean): Remove target.
28565 (generated): Add new variable with contents from mostlyclean and
28566 realclean, remove entries duplicated in common-mostlyclean, add
28567 stamp-libm-err and stamp-version.
28568 (generated-dirs): Add libc directory.
28569 ($(inst_infodir)/libc.info): Install files from build dir.
28570
28571 * manual/install.texi (Configuring and compiling): Adjust since
28572 the info files are not part of the tar ball anymore.
28573
7ac77294
AJ
285742012-05-14 Andreas Jaeger <aj@suse.de>
28575
28576 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28577 variable.
28578
ffb7875d
JM
285792012-05-14 Joseph Myers <joseph@codesourcery.com>
28580
28581 [BZ #13717]
28582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28583 to 2.2.0 where earlier.
28584 * sysdeps/unix/sysv/linux/configure: Regenerated.
28585 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28586 Remove conditional code.
28587 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28588 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28589 Remove conditional code.
28590 [!__NR_lchown]: Likewise.
28591 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28592 [__NR_lchown]: Likewise.
28593 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28594 comment referencing __ASSUME_LCHOWN_SYSCALL.
28595 * sysdeps/unix/sysv/linux/i386/sigaction.c
28596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28598 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28599 Remove conditional code.
28600 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28601 (__protocol_available): Remove #if 0 code.
28602 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28603 conditional code.
28604 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28605 * sysdeps/unix/sysv/linux/kernel-features.h
28606 (__ASSUME_GETCWD_SYSCALL): Don't define.
28607 (__ASSUME_REALTIME_SIGNALS): Likewise.
28608 (__ASSUME_PREAD_SYSCALL): Likewise.
28609 (__ASSUME_PWRITE_SYSCALL): Likewise.
28610 (__ASSUME_POLL_SYSCALL): Likewise.
28611 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28612 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28613 non-SPARC.
28614 (__ASSUME_SIOCGIFNAME): Don't define.
28615 (__ASSUME_MSG_NOSIGNAL): Likewise.
28616 (__ASSUME_SENDFILE): Define unconditionally.
28617 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28618 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28619 conditional code.
28620 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28621 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28622 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28623 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28624 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28625 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28626 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28628 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28640 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28651 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28652 Remove conditional code.
28653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28654 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28655 Remove conditional code.
28656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28657 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28658 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28659 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28660 Remove conditional code.
28661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28662 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28663 Remove conditional code.
28664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28665 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28666 Remove conditional code.
28667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28668 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28669 Remove conditional code.
28670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28671 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28672 Remove conditional code.
28673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28674 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28677 * sysdeps/unix/sysv/linux/sigaction.c
28678 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28679 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28680 * sysdeps/unix/sysv/linux/sigpending.c
28681 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28682 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28683 * sysdeps/unix/sysv/linux/sigprocmask.c
28684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28686 * sysdeps/unix/sysv/linux/sigsuspend.c
28687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28690 (__libc_missing_rt_sigs): Remove.
28691 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28692 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28693 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28694 Remove conditional code.
28695 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28696 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28697 return 1.
28698 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28699 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28700 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28701 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28702
1bfb7291
AJ
287032012-05-14 Andreas Jaeger <aj@suse.de>
28704
caae5a81
AJ
28705 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28706 it's not used in glibc.
28707 (__coshm1): Likewise.
28708 (__acosh1p): Likewise.
28709 (__sgn): Likewise.
28710
1bfb7291
AJ
28711 * manual/string.texi (Copying and Concatenation): Add missing
28712 variable in concat example.
28713 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28714
c044d724
L
287152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28716
144c5467 28717 [BZ #14103]
c044d724
L
28718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28719 __builtin_clzl with __builtin_clzll.
28720
2523c62b
L
287212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28722
28723 [BZ #14104]
28724 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28725 libc_freeres_ptr.
28726
d7bb4c42
LD
287272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28728
28729 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28730 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28731 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28732 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28733
9dc4e1fb
MF
287342012-05-14 Mike Frysinger <vapier@gentoo.org>
28735
28736 * NEWS: Update ia64 info.
28737
c7df0112
AS
287382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28739
28740 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28741 used as bcopy.
28742
dc70356c
TS
287432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28744
28745 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28746 * sysdeps/unix/syscalls.list (dup3): Likewise.
28747 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28748 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28749
9fb1a21f
L
287502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28751
28752 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28753 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28754
4822a2a5
L
287552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28758 thread pointer.
28759 (TLS_IE): Use mov/add instead of movq/addq to load thread
28760 pointer.
28761 (TLS_GD_PREFIX): New.
28762 (TLS_GD): Use it.
28763
842b81d6
DM
287642012-05-11 David S. Miller <davem@davemloft.net>
28765
28766 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28767 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28768 (_FPU_SETCW): Likewise.
28769
1cf463cd
L
287702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28771
28772 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28773 is 32-byte aligned.
28774
60cc4a18
AS
287752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28776
28777 [BZ #11837]
28778 * iconvdata/gb18030.c: Update tables.
28779 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28780 characters specially.
28781 (BODY for TO_LOOP): Add encoding of missing ranges.
28782
febb44a4
TS
287832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28784
28785 [BZ #13673]
28786 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28787 * sysdeps/mach/hurd/dup3.c: Likewise.
28788 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28789 * sysdeps/powerpc/memmove.c:: Likewise.
28790
0a10fb9e
L
287912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28792
28793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28794 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28795
df8a552f
L
287962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 * elf/elf.h (R_X86_64_RELATIVE64): New.
28799 (R_X86_64_NUM): Updated.
28800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28801 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28802 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28803 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28804 tst-quad1pie tst-quad2pie
28805 (modules-names): Add tst-quadmod1 tst-quadmod2.
28806 ($(objpfx)tst-quad1): New dependency.
28807 ($(objpfx)tst-quad2): Likewise.
28808 ($(objpfx)tst-quad1pie): Likewise.
28809 ($(objpfx)tst-quad2pie): Likewise.
28810 * sysdeps/x86_64/tst-quad1.c: New file.
28811 * sysdeps/x86_64/tst-quad1pie.c: New file.
28812 * sysdeps/x86_64/tst-quad2.c: Likewise.
28813 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28814 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28815 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28816 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28817 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28818
f34d6f84
ST
288192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28820
f42d41d1
ST
28821 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28822 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28823 * streams/stropts.h (t_scalar_t): Define type.
28824
3c3571fc
ST
28825 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28826 (_PATH_PRESERVE): Set to "/var/lib".
28827 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28828
61f06bd3
ST
28829 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28830 instead of int.
28831
918d4d71
ST
28832 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28833 if __dir_mkfile succeeded.
28834
f34d6f84
ST
28835 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28836 checking for _hurd_dtablesize. Unlock it right after having
28837 finished _hurd_dtable allocation.
28838
10589b4a
TS
288392012-05-10 Thomas Schwinge <thomas@schwinge.name>
28840
674cdbc7
TS
28841 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28842 * sysdeps/mach/hurd/configure: Regenerated.
28843 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28844 special-casing to...
28845 * sysdeps/gnu/configure.in: ... this new file.
28846 * sysdeps/unix/sysv/linux/configure: Regenerated.
28847 * sysdeps/gnu/configure: New generated file.
28848
8e41b99f
TS
28849 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28850 for Linux: use nsec instead of usec, as well as:
28851 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28852 members of type struct timespec.
28853 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28854 New macros.
28855 (struct stat64): Likewise.
28856 (_STATBUF_ST_NSEC): New macro.
28857 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28858
10589b4a
TS
28859 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28860 __strtoul_internal rather than strtoul.
28861
63643c85
PT
288622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28863
28864 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28865 and reject them.
28866
3faebe6a
ST
288672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28868
28869 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28870 which preserves existing values.
28871 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28872
c6474b07
PT
288732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28874
28875 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28876 TIMEOUT values. Return EINVAL for NFDS values either negative or
28877 greater than FD_SETSIZE.
28878
1043890b
ST
288792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28880
28881 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28882 allocated, call __vm_protect to finish enabling the existing space, and
28883 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28884 allocate the remainder.
28885
37ed8b9b
PT
288862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28887
28888 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28889 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28890
db653660
ST
288912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28892
37ed8b9b
PT
28893 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28894 sysdeps/mach/hurd/readlink.c.
b29d4053 28895
db653660
ST
28896 * posix/tst-sysconf.c (posix_options): Only use
28897 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28898 _POSIX_SYNCHRONIZED_IO when they are defined
28899 * sysdeps/mach/hurd/bits/posix_opt.h:
28900 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28901 (_XOPEN_REALTIME): Undefine macro.
28902 (_XOPEN_REALTIME_THREADS): Undefine macro.
28903 (_XOPEN_SHM): Undefine macro.
28904 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28905 macro to -1.
28906 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28907 macro to -1.
28908 (_POSIX_ASYNC_IO): Undefine macro.
28909 (_POSIX_PRIORITIZED_IO): Undefine macro.
28910 (_POSIX_SPIN_LOCKS): Define macro to -1.
28911
ee16e894
ST
28912 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28913 SA_NODEFER, SA_RESETHAND.
28914 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28915 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28916 F_DUPFD_CLOEXEC.
28917
6103ae3b
TS
289182012-05-10 Thomas Schwinge <thomas@schwinge.name>
28919
28920 * elf/Makefile (pldd-modules): Define unconditionally.
28921
80b4e5f3
TS
289222012-05-10 Thomas Schwinge <thomas@schwinge.name>
28923
28924 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28925
edadcbd6
ST
289262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28927
28928 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28929 Return ENOENT when name is empty.
28930 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28931
80694780
TS
289322012-05-10 Thomas Schwinge <thomas@schwinge.name>
28933
1792c087
TS
28934 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28935
80694780
TS
28936 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28937
6b645f0d
ST
289382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28939
80694780
TS
28940 Fix mlock in all cases except non-readable pages.
28941 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28942 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28943
6b645f0d
ST
28944 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28945 (__mkdir): When path is `/', just fail with EEXIST.
28946 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28947
e468f8a3
TS
289482012-05-10 Thomas Schwinge <thomas@schwinge.name>
28949
28950 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28951 <sys/uio.h> (for writev).
28952 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28953 and <sys/param.h> (for MIN).
28954
a4186cff
PT
289552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28956
28957 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28958 REQUESTED_TIME. Properly set the remaining time and return EINTR
28959 if interrupted.
28960
510bbf14
TS
289612012-05-10 Thomas Schwinge <thomas@schwinge.name>
28962
28963 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28964 Depend on against $(link-rpcuserlibs).
28965
5d5722e8
ST
289662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28967
a4186cff
PT
28968 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28969 (__libc_stack_end): Do not use attribute_relro.
28970 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28971 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28972 to libthread-provided value.
a4186cff
PT
28973 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28974 attribute_relro.
5d5722e8 28975
37233df9
TS
289762012-05-10 Thomas Schwinge <thomas@schwinge.name>
28977
be971a2b
TS
28978 [BZ #3748]
28979 * bits/libc-lock.h (__libc_once_get): New macro.
28980 * sysdeps/mach/bits/libc-lock.h: Likewise.
28981 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28983 instead of using implementation details.
28984
37233df9
TS
28985 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28986 * libio/freopen.c: Likewise.
28987 * libio/freopen64.c: Likewise.
28988 * misc/syslog.c: Likewise.
28989 * nscd/connections.c: Likewise.
28990 * nscd/netgroupcache.c: Likewise.
28991 * sysdeps/posix/getcwd.c: Likewise.
28992
38de94a5
RM
289932012-05-10 Roland McGrath <roland@hack.frob.com>
28994
28995 * math/w_ilogbf.c: Add #include <limits.h>.
28996
67530489
ST
289972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28998
a4186cff 28999 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29000 path instead of returning without unlocking.
29001
67530489
ST
29002 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29003 immediate-write ioctls.
29004 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29005
5aa3a74a
TS
290062012-05-10 Thomas Schwinge <thomas@schwinge.name>
29007
18bad2ae
TS
29008 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29009 __builtin_frame_address instead of making assumptions about the
29010 location of the return address relative to DATA. Force early load of
29011 the return address.
29012 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29013 __builtin_frame_address.
29014
5aa3a74a
TS
29015 dup3 for GNU Hurd.
29016 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29017 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29018 implement dup3 and do some further code clean-ups.
29019 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29020 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29021
ecd0de9a
ST
290222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29023
cd9fa985
ST
29024 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29025
a4186cff
PT
29026 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29027 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29028 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29029 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29030 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29031 d->port.lock.
802ca5a5 29032
a4186cff
PT
29033 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29034 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29035 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29036
bcf55240
TS
290372012-05-10 Thomas Schwinge <thomas@schwinge.name>
29038
6960eb42
TS
29039 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29040 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29041 definitions.
29042
eb43375f
TS
29043 accept4 for GNU Hurd.
29044 * include/sys/socket.h (__libc_accept4): New prototype.
29045 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29046 to implement __libc_accept4.
29047 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29048 __libc_accept4.
29049 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29050
bcf55240
TS
29051 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29052 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29053 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29054 signal-defines.sym.
29055
6178c55b
ST
290562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29057
a4186cff 29058 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29059
6f080c2f
TS
290602012-05-10 Thomas Schwinge <thomas@schwinge.name>
29061
29062 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29063 assertion on O_CLOEXEC flag.
29064 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29065 * hurd/intern-fd.c: Likewise.
29066 * hurd/port2fd.c: Likewise.
29067
bcfe3a54
ST
290682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29069
29070 [BZ #3906]
29071 * bits/in.h (IPV6_PKTINFO): Define new macro.
29072 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29073
89c9aa49
AZ
290742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29075
29076 [BZ #13954]
29077 [BZ #13955]
29078 [BZ #13956]
29079 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29081 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29082 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29084 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29085 * math/libm-test.inc (logb_test) : Additional logb tests.
29086
021db4be
AJ
290872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29088 Andreas Jaeger <aj@suse.de>
29089
29090 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29091 * configure: Regenerated.
29092 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29093 * config.make.in (link-obsolete-rpc): New substituted variable.
29094 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29095 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29096 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29097 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29098 so that libc.a contains the symbols.
29099 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29100 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29101 * sunrpc/auth_none.c: Likewise.
29102 * sunrpc/auth_unix.c: Likewise.
29103 * sunrpc/authdes_prot.c: Likewise.
29104 * sunrpc/authuxprot.c: Likewise.
29105 * sunrpc/clnt_gen.c: Likewise.
29106 * sunrpc/clnt_perr.c: Likewise.
29107 * sunrpc/clnt_raw.c: Likewise.
29108 * sunrpc/clnt_simp.c: Likewise.
29109 * sunrpc/clnt_tcp.c: Likewise.
29110 * sunrpc/clnt_udp.c: Likewise.
29111 * sunrpc/clnt_unix.c: Likewise.
29112 * sunrpc/des_crypt.c: Likewise.
29113 * sunrpc/des_soft.c: Likewise.
29114 * sunrpc/get_myaddr.c: Likewise.
29115 * sunrpc/key_call.c: Likewise.
29116 * sunrpc/key_prot.c: Likewise.
29117 * sunrpc/netname.c: Likewise.
29118 * sunrpc/pm_getmaps.c: Likewise.
29119 * sunrpc/pm_getport.c: Likewise.
29120 * sunrpc/pmap_clnt.c: Likewise.
29121 * sunrpc/pmap_prot.c: Likewise.
29122 * sunrpc/pmap_prot2.c: Likewise.
29123 * sunrpc/pmap_rmt.c: Likewise.
29124 * sunrpc/publickey.c: Likewise.
29125 * sunrpc/rpc_cmsg.c: Likewise.
29126 * sunrpc/rpc_common.c: Likewise.
29127 * sunrpc/rpc_dtable.c: Likewise.
29128 * sunrpc/rpc_prot.c: Likewise.
29129 * sunrpc/rpc_thread.c: Likewise.
29130 * sunrpc/rtime.c: Likewise.
29131 * sunrpc/svc.c: Likewise.
29132 * sunrpc/svc_auth.c: Likewise.
29133 * sunrpc/svc_raw.c: Likewise.
29134 * sunrpc/svc_run.c: Likewise.
29135 * sunrpc/svc_tcp.c: Likewise.
29136 * sunrpc/svc_udp.c: Likewise.
29137 * sunrpc/svc_unix.c: Likewise.
29138 * sunrpc/svcauth_des.c: Likewise.
29139 * sunrpc/xcrypt.c: Likewise.
29140 * sunrpc/xdr.c: Likewise.
29141 * sunrpc/xdr_array.c: Likewise.
29142 * sunrpc/xdr_float.c: Likewise.
29143 * sunrpc/xdr_intXX_t.c: Likewise.
29144 * sunrpc/xdr_mem.c: Likewise.
29145 * sunrpc/xdr_rec.c: Likewise.
29146 * sunrpc/xdr_ref.c: Likewise.
29147 * sunrpc/xdr_sizeof.c: Likewise.
29148 * sunrpc/xdr_stdio.c: Likewise.
29149
b5c086a2
RM
291502012-05-10 Roland McGrath <roland@hack.frob.com>
29151
29152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29153 change. Update copyright years.
29154
6d74dd09
JM
291552012-05-10 Joseph Myers <joseph@codesourcery.com>
29156
29157 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29158
28e72501
MK
291592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29160 Joseph Myers <joseph@codesourcery.com>
29161 Paul Pluzhnikov <ppluzhnikov@google.com>
29162
29163 [BZ #14012]
29164 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29165 requiring rpcgen.
29166 [cross-compiling] (extra-libs): Likewise.
29167 [cross-compiling] (extra-libs-others): Likewise.
29168 [cross-compiling] (librpcsvc-routines): Likewise.
29169 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29170 [cross-compiling] (omit-deps): Likewise.
29171 (sunrpc-CPPFLAGS): New variable.
29172 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29173 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29174 (cross-rpcgen-objs): New variable.
29175 (extra-objs): Append $(cross-rpcgen-objs).
29176 ($(cross-rpcgen-objs)): New rule.
29177 ($(objpfx)cross-rpcgen): Likewise.
29178 (rpcgen-cmd): Define to use $(built-program-file). Expand
29179 comment.
29180 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29181 ($(objpfx)x%.stmp): Likewise.
29182 * sunrpc/proto.h [IS_IN_build] (_): Define.
29183 [IS_IN_build] (_libc_intl_domainname): Likewise.
29184
c8c59454
L
291852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29186
29187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29188 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29189 and R_X86_64_TPOFF64.
29190
6f27cd16
JM
291912012-05-10 Joseph Myers <joseph@codesourcery.com>
29192
29193 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29194 sysdeps/unix/sysv/syscalls.list.
29195 (stime): Likewise.
29196 (utime): Likewise.
29197 * sysdeps/unix/sysv/syscalls.list: Remove file.
29198
02467e1c
PE
291992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29200
29201 [BZ #3440]
29202 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29203 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29204 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29205 (__LC_IDENTIFICATION): Make these macros useful in #if
29206 expressions, as required by C99.
29207
da392631
AS
292082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29209
29210 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29211 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29212 after this.
29213
8115f29b
L
292142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29215
29216 * stdlib/longlong.h: Updated from GCC.
29217
bdd74070
AJ
292182012-05-09 Andreas Jaeger <aj@suse.de>
29219
edfe0dbe
AJ
29220 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29221 default is first entry.
29222 (run_mode): Set type.
29223 (main): Remove informal message about syslog.
29224 (options): Fix typo.
29225
bcfe3a54
ST
29226 [BZ #14053]
29227 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29228 to asm.
bcfe3a54
ST
29229 (lrint): Likewise.
29230 (llrintf): Likewise.
29231 (llrint): Likewise.
29232 (rint): Likewise.
29233 (rintf): Likewise.
29234 (nearbyint): Likewise.
29235 (nearbyintf): Likewise.
bdd74070 29236
91d8d69e
AJ
292372012-05-09 Andreas Jaeger <aj@suse.de>
29238 Pedro Alves <palves@redhat.com>
29239
29240 * nscd/nscd.c (run_mode): Use enum.
29241 (main): Cleanup coding style issue.
29242
bb90b80b
AJ
292432012-05-09 Alexandre Oliva <aoliva@redhat.com>
29244 Andreas Jaeger <aj@suse.de>
29245
bcfe3a54
ST
29246 * nscd/nscd.c (go_background): Replaced with...
29247 (run_mode): ... this.
bb90b80b 29248 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29249 (options): Add -F --foreground.
29250 (main): Implement it.
29251 (parse_opt): Parse it.
bb90b80b 29252
1a4b75a1
AJ
292532012-05-09 Andreas Jaeger <aj@suse.de>
29254
29255 [BZ #14083]
29256 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29257 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29258 -Wconversion warning.
29259 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29260 Likewise.
29261
b1cc2472
JM
292622012-05-09 Joseph Myers <joseph@codesourcery.com>
29263
29264 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29265 == 0.
29266 (LC_ALL): Use macro-int-constant.
29267 (LC_COLLATE): Likewise.
29268 (LC_CTYPE): Likewise.
29269 (LC_MESSAGES): Likewise.
29270 (LC_MONETARY): Likewise.
29271 (LC_NUMERIC): Likewise.
29272 (LC_TIME): Likewise.
29273 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29274 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29276 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29277 Specify type.
29278 [C99-based standards] (float_t): Expect type.
29279 [C99-based standards] (double_t): Expect type.
29280 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29281 type.
29282 [C99-based standards] (HUGE_VALL): Likewise.
29283 [C99-based standards] (INFINITY): Likewise.
29284 [C99-based standards] (NAN): Likewise.
29285 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29286 [C99-based standards] (FP_NAN): Likewise.
29287 [C99-based standards] (FP_NORMAL): Likewise.
29288 [C99-based standards] (FP_SUBNORMAL): Likewise.
29289 [C99-based standards] (FP_ZERO): Likewise.
29290 [C99-based standards] (FP_FAST_FMA): Use
29291 optional-macro-int-constant. Specify type. Require == 1.
29292 [C99-based standards] (FP_FAST_FMAF): Likewise.
29293 [C99-based standards] (FP_FAST_FMAL): Likewise.
29294 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29295 [C99-based standards] (FP_ILOGBNAN): Likewise.
29296 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29297 Specify type.
29298 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29299 [C99-based standards] (math_errhandling): Specify type.
29300 [ISO99 || ISO11] (signgam): Do not allow.
29301 [non-C99-based standards] (copysignf): Do not allow.
29302 [non-C99-based standards] (exp2f): Likewise.
29303 [non-C99-based standards] (log2f): Likewise.
29304 [non-C99-based standards] (modff): Allow.
29305 [non-C99-based standards] (erff): Do not allow.
29306 [non-C99-based standards] (erfcf): Likewise.
29307 [non-C99-based standards] (gammaf): Likewise.
29308 [non-C99-based standards] (hypotf): Likewise.
29309 [non-C99-based standards] (j0f): Likewise.
29310 [non-C99-based standards] (j1f): Likewise.
29311 [non-C99-based standards] (jnf): Likewise.
29312 [non-C99-based standards] (lgammaf): Likewise.
29313 [non-C99-based standards] (tgammaf): Likewise.
29314 [non-C99-based standards] (y0f): Likewise.
29315 [non-C99-based standards] (y1f): Likewise.
29316 [non-C99-based standards] (ynf): Likewise.
29317 [non-C99-based standards] (isnanf): Likewise.
29318 [non-C99-based standards] (acoshf): Likewise.
29319 [non-C99-based standards] (asinhf): Likewise.
29320 [non-C99-based standards] (atanhf): Likewise.
29321 [non-C99-based standards] (cbrtf): Likewise.
29322 [non-C99-based standards] (expm1f): Likewise.
29323 [non-C99-based standards] (ilogbf): Likewise.
29324 [non-C99-based standards] (log1pf): Likewise.
29325 [non-C99-based standards] (logbf): Likewise.
29326 [non-C99-based standards] (nextafterf): Likewise.
29327 [non-C99-based standards] (remainderf): Likewise.
29328 [non-C99-based standards] (rintf): Likewise.
29329 [non-C99-based standards] (scalbf): Likewise.
29330 [non-C99-based standards] (copysignl): Likewise.
29331 [non-C99-based standards] (exp2l): Likewise.
29332 [non-C99-based standards] (log2l): Likewise.
29333 [non-C99-based standards] (modfl): Allow.
29334 [non-C99-based standards] (erfl): Do not allow.
29335 [non-C99-based standards] (erfcl): Likewise.
29336 [non-C99-based standards] (gammal): Likewise.
29337 [non-C99-based standards] (hypotl): Likewise.
29338 [non-C99-based standards] (j0l): Likewise.
29339 [non-C99-based standards] (j1l): Likewise.
29340 [non-C99-based standards] (jnl): Likewise.
29341 [non-C99-based standards] (lgammal): Likewise.
29342 [non-C99-based standards] (tgammal): Likewise.
29343 [non-C99-based standards] (y0l): Likewise.
29344 [non-C99-based standards] (y1l): Likewise.
29345 [non-C99-based standards] (ynl): Likewise.
29346 [non-C99-based standards] (isnanl): Likewise.
29347 [non-C99-based standards] (acoshl): Likewise.
29348 [non-C99-based standards] (asinhl): Likewise.
29349 [non-C99-based standards] (atanhl): Likewise.
29350 [non-C99-based standards] (cbrtl): Likewise.
29351 [non-C99-based standards] (expm1l): Likewise.
29352 [non-C99-based standards] (ilogbl): Likewise.
29353 [non-C99-based standards] (log1pl): Likewise.
29354 [non-C99-based standards] (logbl): Likewise.
29355 [non-C99-based standards] (nextafterl): Likewise.
29356 [non-C99-based standards] (remainderl): Likewise.
29357 [non-C99-based standards] (rintl): Likewise.
29358 [non-C99-based standards] (scalbl): Likewise.
29359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29360 [non-C99-based standards] (FP_*): Do not allow.
29361 [C99-based standards] (FP_*): Change to
29362 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29363 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29364 allow.
29365 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29366 (SIG_ERR): Likewise.
29367 [X/Open-based standards] (SIG_HOLD): Likewise.
29368 (SIG_IGN): Likewise.
29369 (SIGABRT): Use macro-int-constant. Specify type. Require
29370 positive value.
29371 (SIGFPE): Likewise.
29372 (SIGILL): Likewise.
29373 (SIGINT): Likewise.
29374 (SIGSEGV): Likewise.
29375 (SIGTER): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29394 [X/Open-based standards] (SIGTRAP): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29399 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29400 allow.
29401
b9f1922d
IW
294022012-05-08 Ian Wienand <ianw@vmware.com>
29403
29404 [BZ #14080]
29405 * time/tzset.c (__tzset_parse_tz): Update default rules for
29406 daylight time changes in the Energy Policy Act of 2005.
29407
1db86e88
AJ
294082012-05-09 Andreas Jaeger <aj@suse.de>
29409
29410 [BZ #13983]
29411 * elf/ldconfig.c (parse_conf): Change string to make clear that
29412 ldconfig only issued a warning if ld.so.conf does not exist.
29413
dee4a4e3
DM
294142012-05-08 David S. Miller <davem@davemloft.net>
29415
ee0db190
DM
29416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29417 movxtod instead of popping the value on the stack.
29418
dee4a4e3
DM
29419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29420
6a43ec98
CD
294212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29422
29423 * config.h.in: Add HAVE_ARM_PCS_VFP.
29424
05c2c961
RMG
294252012-05-08 Roland Mc Grath <roland@hack.frob.com>
29426
bcfe3a54
ST
29427 [BZ #13979]
29428 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29429 checking but the checks are disabled for any reason.
05c2c961 29430
4b30f61a
L
294312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29432
29433 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29434 and ELF64_R_TYPE with ELFW(R_TYPE).
29435
eee2bc67
JM
294362012-05-08 Joseph Myers <joseph@codesourcery.com>
29437
7ea5391a
JM
29438 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29439 (ulimit): Likewise.
29440
eee2bc67
JM
29441 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29442 (settimeofday): Likewise.
29443
abb66a67
MF
294442012-05-08 Mike Frysinger <vapier@gentoo.org>
29445
29446 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29447 a struct th_u2 inside the union, and move tu_block/tu_code into
29448 a new th_u3 union of tu_block/tu_code inside of that. Move
29449 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29450 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29451 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29452 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29453 (th_stuff): Change to th_u1.tu_stuff.
29454 (th_data): Define.
29455 (th_msg): Change to th_u1.th_u2.tu_data.
29456
7f18b530
DM
294572012-05-07 David S. Miller <davem@davemloft.net>
29458
05760585
DM
29459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29460
7f18b530
DM
29461 [BZ #14074]
29462 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29463 (SETUP_PIC_REG): Use it.
29464 (SETUP_PIC_REG_LEAF): Use it.
29465
495fd99f
JM
294662012-05-07 Joseph Myers <joseph@codesourcery.com>
29467
29468 [BZ #13885]
29469 [BZ #13923]
29470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29471 USE_AS_EXPM1L.
29472 (EXPL_FINITE): Likewise.
29473 (FLDLOG): Likewise.
29474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29475 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29476 e_expl.S.
29477 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29478 USE_AS_EXPM1L.
29479 (EXPL_FINITE): Likewise.
29480 (FLDLOG): Likewise.
29481 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29482 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29483 e_expl.S.
29484 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29485 test of -max_value argument for long double.
29486 * sysdeps/i386/fpu/libm-test-ulps: Update.
29487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29488
6693d694
DM
294892012-05-06 David S. Miller <davem@davemloft.net>
29490
29491 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29492 quad soft-float symbols whose references which are compiler
29493 generated.
29494 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29495
6c23e11c
JM
294962012-05-06 Joseph Myers <joseph@codesourcery.com>
29497
d8b82cad
JM
29498 [BZ #13884]
29499 [BZ #13914]
29500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29501 USE_AS_EXP10L.
29502 (EXPL_FINITE): Likewise.
29503 (FLDLOG): Likewise.
29504 (c0): Likewise.
29505 (c1): Likewise.
29506 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29507 Adjust comments for base varying.
29508 (__expl_finite): Change alias to EXPL_FINITE.
29509 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29510 e_expl.S.
29511 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29512 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29513 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29514 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29516 USE_AS_EXP10L.
29517 (EXPL_FINITE): Likewise.
29518 (FLDLOG): Likewise.
29519 (c0): Likewise.
29520 (c1): Likewise.
29521 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29522 Adjust comments for base varying.
29523 (__expl_finite): Change alias to EXPL_FINITE.
29524 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29525 tests for bugs.
29526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29527
6c23e11c
JM
29528 [BZ #14064]
29529 * math/libm-test.inc (check_float_internal): Correct ulp
29530 calculation for subnormal expected results.
29531
29ba805c
AJ
295322012-05-06 Andreas Jaeger <aj@suse.de>
29533
29534 * Makeconfig (+math-flags): New, set to -frounding-math.
29535 (+cflags): Add +math-flags so that all of glibc gets compiled with
29536 it.
29537
29538 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29539
7b17aeda
JM
295402012-05-05 Joseph Myers <joseph@codesourcery.com>
29541
5779f134
JM
29542 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29543 Disable one test.
29544
41498f4d
JM
29545 [BZ #13787]
29546 [BZ #13922]
29547 [BZ #14036]
29548 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29549 (__ieee754_expl): Allow for and saturate large arguments.
29550 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29551 (u_threshold): Likewise.
29552 (__exp): Call __ieee754_exp before checking for overflow and
29553 underflow.
29554 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29555 (u_threshold): Likewise.
29556 (__expf): Call __ieee754_expf before checking for overflow and
29557 underflow.
29558 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29559 (u_threshold): Likewise.
29560 (__expl): Call __ieee754_expl before checking for overflow and
29561 underflow.
29562 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29563 (__ieee754_expl): Allow for and saturate large arguments.
29564 * math/libm-test.inc (exp_test): Add another test. Do not allow
29565 missing overflow exception on overflow.
29566 (expm1_test): Do not allow missing overflow exception on overflow.
29567
6698b8bf
JM
29568 * sysdeps/i386/fpu/e_expl.c: Move to ...
29569 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29570 rather than using inline asm.
29571 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29572 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29573 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29574
7b17aeda
JM
29575 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29576 (nice): Likewise.
29577 (poll): Likewise.
29578 (signal): Likewise.
29579 (time): Likewise.
29580 (times): Likewise.
29581
f7c85819
JM
295822012-05-04 Joseph Myers <joseph@codesourcery.com>
29583
29584 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29585 sysdeps/unix/common/syscalls.list.
29586 (fchmod): Likewise.
29587 (fchown): Likewise.
29588 (ftruncate): Likewise.
29589 (getrusage): Likewise.
29590 (gettimeofday): Likewise.
29591 (setpgid): Likewise.
29592 (setregid): Likewise.
29593 (setreuid): Likewise.
29594 (sigaction): Likewise.
29595 (truncate): Likewise.
29596 (vhangup): Likewise.
29597 * sysdeps/unix/common/syscalls.list: Remove file.
29598 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29599 * sysdeps/unix/sysv/linux/Implies: Likewise.
29600
336270d0
L
296012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29602
29603 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29605 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29606 Moved to ...
29607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29608 Here.
29609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29610 to ...
29611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29613 to ...
29614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29615 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29616 to ...
29617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29618 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29619 to ...
29620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29621 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29622 to ...
29623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29624 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29625 to ...
29626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29627 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29628 to ...
29629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29630 Here.
29631 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29632 to ...
29633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29634 Here.
29635 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29636 to ...
29637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29638 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29639 Moved to ...
29640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29641 Here.
29642 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29643 to ...
29644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29645
d128e450
JM
296462012-05-04 Joseph Myers <joseph@codesourcery.com>
29647
fa8ee516
JM
29648 * sysdeps/unix/common/bits/dirent.h: Remove file.
29649 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29650
d128e450
JM
29651 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29652 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29653 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29654 * sysdeps/unix/bsd/isatty.c: Likewise.
29655 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29656 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29657 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29658
ff8faaf0 296592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29660
62881be4 29661 [BZ #13563]
31dc8730
AZ
29662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29663 long double comparison inaccuracies.
29664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29666
6fef930c
AS
296672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29668
29669 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29671
8f203e6c
JM
296722012-05-04 Joseph Myers <joseph@codesourcery.com>
29673
29674 [BZ #14049]
29675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29676 nonzero digits before rounding a hex value.
29677 * stdlib/tst-strtod.c (tests): Add another test.
29678
5197d9c2
AK
296792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29680
29681 * sysdeps/s390/fpu/libm-test-ulps: Update.
29682
f0c1dedf
AJ
296832012-05-03 Andreas Jaeger <aj@suse.de>
29684
29685 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29686 does not get optimized out.
29687 (malloc_opt_barrier): New.
29688
a65ef2ae 296892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29690 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29691
2b942cb7 29692 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29693 intermediate file deletion.
2b942cb7 29694 (generated): Add .symlist files.
a65ef2ae 29695
54b71e02
JM
296962012-05-03 Joseph Myers <joseph@codesourcery.com>
29697
29698 [BZ #13775]
29699 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29700 Redirect under this condition.
29701 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29702 [__USE_GNU] (__dprintf_chk): Not under this condition.
29703 [__USE_GNU] (__vdprintf_chk): Likewise.
29704 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29705 under this condition.
29706 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29707 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29708 [__USE_XOPEN2K8] (vdprintf): Likewise.
29709 [__USE_GNU] (__dprintf_chk): Not under this condition.
29710 [__USE_GNU] (__vdprintf_chk): Likewise.
29711 [__USE_GNU] (dprintf): Likewise.
29712 [__USE_GNU] (vdprintf): Likewise.
29713
d3dfcc41
RM
297142012-05-03 Roland McGrath <roland@hack.frob.com>
29715
29716 * elf/Makefile (common-generated): Set this instead of generated for
29717 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29718 $(all-built-dso)-derived lists.
29719
7ac30cc5
AJ
297202012-05-03 Andreas Jaeger <aj@suse.de>
29721
0c51e550
AJ
29722 * sysdeps/i386/fpu/libm-test-ulps: Update.
29723
7ac30cc5
AJ
29724 * FAQ: Removed.
29725 * FAQ.in: Likewise.
29726 * scripts/gen-FAQ.pl: Likewise.
29727 * manual/install.texi (Installation): Point to online location of
29728 FAQ.
29729 * Makefile (files-for-dist): Remove FAQ.
29730 (FAQ): Remove.
29731
d4c2917f
AM
297322012-05-02 Allan McRae <allan@archlinux.org>
29733
29734 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29735 (LDFLAGS-reldepmod5.so): Likewise.
29736 (LDFLAGS-reldep6mod1.so): Likewise.
29737 (LDFLAGS-reldep6mod4.so): Likewise.
29738 (LDFLAGS-reldep8mod3.so): Likewise.
29739 (LDFLAGS-unload4mod1.so): Likewise.
29740 (LDFLAGS-unload4mod2.so): Likewise.
29741 (LDFLAGS-tst-initorder): Likewise.
29742 (LDFLAGS-tst-initordera2.so): Likewise.
29743 (LDFLAGS-tst-initordera3.so): Likewise.
29744 (LDFLAGS-tst-initordera4.so): Likewise.
29745 (LDFLAGS-tst-initorderb2.so): Likewise.
29746 (LDFLAGS-noload): Likewise.
29747 (LDFLAGS-next): Likewise.
29748 (LDFLAGS-order2mod1.so): Likewise.
29749 (LDFLAGS-order2mod2.so): Likewise.
29750 (LDFLAGS-tst-initorder2): Likewise.
29751 (LDFLAGS-tst-initorder2a.so): Likewise.
29752 (LDFLAGS-tst-initorder2b.so): Likewise.
29753 (LDFLAGS-tst-initorder2c.so): Likewise.
29754 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29755
d77f993f
DM
297562012-05-02 David S. Miller <davem@davemloft.net>
29757
29758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29759
171a70b4
PP
297602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29761
29762 [BZ #14055]
29763 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29764
0be196ad
AJ
297652012-05-02 Andreas Jaeger <aj@suse.de>
29766
29767 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29768 since we manipulate rounding mode.
29769 (CPPFLAGS-test-idouble.c): Likewise.
29770 (CPPFLAGS-test-ifloat.c): Likewise.
29771 (CFLAGS-test-ldouble.c): Likewise.
29772 (CFLAGS-test-double.c): Likewise.
29773 (CFLAGS-test-float.c): Likewise.
29774 (CFLAGS-test-misc.c): Likewise.
29775 (CFLAGS-test-test-fenv.c): Likewise.
29776
4f9d04aa
AZ
297772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29778
2b942cb7
RM
29779 [BZ #2550]
29780 [BZ #2570]
29781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29782 comparisons to determine direction to adjust input.
4f9d04aa 29783
82a79e7d
RM
297842012-05-01 Roland McGrath <roland@hack.frob.com>
29785
f5a01ca9
RM
29786 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29787 output to the target.
29788
90fe4186
RM
29789 * scripts/localplt.awk: New file.
29790 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29791 (check-localplt-CFLAGS): Variable removed.
29792 ($(all-built-dso:=.jmprel)): New static pattern rule.
29793 (generated): Add those targets.
29794 (localplt-built-dso): New variable.
29795 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29796
29797 * elf/check-localplt.c: File removed.
29798
82397ed6
RM
29799 * scripts/check-execstack.awk: New file.
29800 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29801 (check-execstack-CFLAGS): Variable removed.
29802 ($(objpfx)check-execstack.h): Target removed.
29803 ($(objpfx)execstack-default): New target.
29804 (generated): Add that instead of check-execstack.h.
29805 ($(all-built-dso:=.phdr)): New static pattern rule.
29806 (generated): Add those targets.
29807 * elf/check-execstack.c: File removed.
29808
82a79e7d
RM
29809 * scripts/check-textrel.awk: New file.
29810 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29811 (check-textrel-CFLAGS): Variable removed.
29812 (all-built-dso): Use := to define.o
29813 ($(all-built-dso:=.dyn)): New static pattern rule.
29814 (generated): Add those targets.
29815 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29816 * config.make.in (READELF): New substituted variable.
29817 * elf/check-textrel.c: File removed.
29818
62fde54f 298192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29820
615605c9
JM
29821 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29822 allow.
29823 * conform/data/ctype.h-data [C99-based standards] (isblank):
29824 Expect function.
29825 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29826 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29828 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29829 Specify type. Require positive value.
29830 (EILSEQ): Likewise.
29831 (ERANGE): Likewise.
29832 [ISO || POSIX] (EILSEQ): Do not expect.
29833 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29834 Specify type. Require positive value.
29835 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29836 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29837 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29843 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29848 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29909 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29910 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29911 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29912 Require >= 2.
29913 (FLT_ROUNDS): Expect as macro, not constant.
29914 (FLT_MANT_DIG): Use macro-int-constant.
29915 (DBL_MANT_DIG): Likewise.
29916 (LDBL_MANT_DIG): Likewise.
29917 (FLT_DIG): Likewise.
29918 (DBL_DIG): Likewise.
29919 (LDBL_DIG): Likewise.
29920 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29921 (DBL_MIN_EXP): Likewise.
29922 (LDBL_MIN_EXP): Likewise.
29923 (FLT_MAX_EXP): Use macro-int-constant.
29924 (DBL_MAX_EXP): Likewise.
29925 (LDBL_MAX_EXP): Likewise.
29926 (FLT_MAX_10_EXP): Likewise.
29927 (DBL_MAX_10_EXP): Likewise.
29928 (LDBL_MAX_10_EXP): Likewise.
29929 (FLT_MAX): Use macro-constant.
29930 (DBL_MAX): Likewise.
29931 (LDBL_MAX): Likewise.
29932 (FLT_EPSILON): Use macro-constant. Give upper bound.
29933 (DBL_EPSILON): Likewise.
29934 (LDBL_EPSILON): Likewise.
29935 (FLT_MIN): Likewise.
29936 (DBL_MIN): Likewise.
29937 (LDBL_MIN): Likewise.
29938 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29939 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29940 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29941 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29942 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29943 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29944 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29945 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29946 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29947 [ISO11] (FLT_TRUE_MIN): Likewise.
29948 [ISO11] (LDBL_TRUE_MIN): Likewise.
29949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29950 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29951 (SCHAR_MIN): Use macro-int-constant. Specify type.
29952 (SCHAR_MAX): Likewise.
29953 (UCHAR_MAX): Likewise.
29954 (CHAR_MIN): Likewise.
29955 (CHAR_MAX): Likewise.
29956 (MB_LEN_MAX): Use macro-int-constant.
29957 (SHRT_MIN): Use macro-int-constant. Specify type.
29958 (SHRT_MAX): Likewise.
29959 (USHRT_MAX): Likewise.
29960 (INT_MAX): Likewise.
29961 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29962 bound negative.
29963 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29964 bound with "U".
29965 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29966 bound with "L".
29967 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29968 bound negative. Suffix upper bound with "L".
29969 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29970 bound with "UL".
29971 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29972 Specify type.
29973 [C99-based standards] (LLONG_MAX): Likewise.
29974 [C99-based standards] (ULLONG_MAX): Likewise.
29975 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29976 == 0.
29977 [ISO11] (max_align_t): Require type.
29978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29979
c9140a62
JM
29980 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29981 from $CFLAGS, without defining away __attribute__ calls.
29982 (checknamespace): Use $CFLAGS_namespace.
29983
9af0bf29
JM
29984 * conform/conformtest.pl (@keywords): Only include C99 keywords
29985 for standards based on C99 or C11.
29986
343222a2
JM
29987 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29988 Disable tests.
29989 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29990 UNIX98]: Likewise.
29991
661f8cf0
JM
29992 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29993 usability of symbols in #if.
29994
ee74b9cb
JM
29995 * conform/conformtest.pl: If macro or constant types start
29996 "promoted:", expect the symbol to be of the following type
29997 promoted by the integer promotions.
62fde54f 29998
aafc49b3
JM
29999 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30000 in one place. Also handle "macro-constant".
30001
fefdf574
JM
30002 * conform/conformtest.pl: Only accept expected macro values with
30003 "==". Parse all "macro" lines in one place.
30004 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30005
f2d922fe
JM
30006 * conform/conformtest.pl: Handle braced types on "constant" lines
30007 instead of handling "typed-constant".
30008 * conform/data/signal.h-data: Use "constant" instead of
30009 "typed-constant".
30010
d22956c9
JM
30011 * conform/conformtest.pl: Handle "optional-" at start of lines in
30012 one place rather than duplicating several cases. Handle each
30013 format of "macro" line with initial "optional-".
30014
028e2e38
JM
30015 * conform/conformtest.pl: Only accept expected constant or
30016 optional-constant values with "==". Parse all "constant" lines in
30017 one place. Parse all "optional-constant" lines in one place.
30018 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30019 * conform/data/fmtmsg.h-data: Likewise.
30020 * conform/data/netinet/in.h-data: Likewise.
30021 * conform/data/tar.h-data: Likewise.
30022 * conform/data/limits.h-data: Use "==" form on "constant" and
30023 "optional-constant" lines.
30024
1b8f2850
JM
30025 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30026 Use -std=c99 for XOPEN2K.
30027 (@knownproblems): Remove.
30028 (newtoken): Don't check %isknown.
30029
a05a144b
JM
30030 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30031 Do not expect macro.
30032 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30033 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30034 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30035 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30036 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30037 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30040 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30041 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30042 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30043 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30044 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30045 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30046 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30047 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30048 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30049 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30050 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30051 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30062 [XPG3] (acosh): Likewise.
30063 [XPG3] (asinh): Likewise.
30064 [XPG3] (atanh): Likewise.
30065 [XPG3] (cbrt): Likewise.
30066 [XPG3] (expm1): Likewise.
30067 [XPG3] (ilogb): Likewise.
30068 [XPG3] (log1p): Likewise.
30069 [XPG3] (logb): Likewise.
30070 [XPG3] (nextafter): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30073 [XPG3] (remainder): Likewise.
30074 [XPG3] (rint): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30082 [UNIX98 || XOPEN2K] (scalb): Expect.
30083 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30084 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30220
73c5ebe3
JM
30221 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30222 _XOPEN_SOURCE_EXTENDED for XPG4.
30223
39c33b6c
JM
30224 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30225
62fde54f
JM
30226 * Makeconfig (localtime): Remove variable.
30227 (inst_localtime-file): Likewise.
30228
0741d64c
AS
302292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30230
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30232 Update.
30233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30234 Update.
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30236 Update.
30237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30238 Update.
30239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30240 Update.
30241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30242 Update.
30243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30244 Update.
30245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30246 Update.
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30248 Update.
30249
7cb029ee
JM
302502012-05-01 Joseph Myers <joseph@codesourcery.com>
30251
30252 [BZ #2550]
30253 [BZ #2570]
30254 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30255 comparisons to determine direction to adjust input.
30256 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30257 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30259 Likewise.
30260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30261 Likewise.
30262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30263 Likewise.
30264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30266 Likewise.
30267 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30268 Likewise.
30269 * math/libm-test.inc (nexttoward_test): Add more tests.
30270
412bd966
AS
302712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30272
30273 [BZ #14040]
30274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30275 in version GLIBC_2.1, not GLIBC_2.0.
30276 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30277 Likewise.
30278
9568c0c2
JM
302792012-04-30 Joseph Myers <joseph@codesourcery.com>
30280
adfbc8ac
JM
30281 [BZ #13942]
30282 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30283 (1 - x) * (1 + x).
30284 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30285 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30286 * math/libm-test.inc (acos_test): Add more tests.
30287 (asin_test): Likewise.
30288 * sysdeps/i386/fpu/libm-test-ulps: Update.
30289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30290
5ba3cc69
JM
30291 [BZ #14034]
30292 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30293 of square root.
30294 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30295 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30296 * math/libm-test.inc (acos_test_tonearest): New function.
30297 (acos_test_towardzero): Likewise.
30298 (acos_test_downward): Likewise.
30299 (acos_test_upward): Likewise.
30300 (asin_test_tonearest): Likewise.
30301 (asin_test_towardzero): Likewise.
30302 (asin_test_downward): Likewise.
30303 (asin_test_upward): Likewise.
30304 (main): Call the new functions.
30305 * sysdeps/i386/fpu/libm-test-ulps: Update.
30306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30307
9568c0c2
JM
30308 [BZ #13884]
30309 [BZ #13924]
30310 * math/e_exp10.c: Include <float.h>.
30311 (__ieee754_exp10): Handle underflow here rather than multiplying
30312 large negative argument by M_LN10.
30313 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30314 of __ieee754_expf.
30315 * math/e_exp10l.c: Include <float.h>.
30316 (__ieee754_exp10l): Handle underflow here rather than multiplying
30317 large negative argument by M_LN10l.
30318 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30319 spurious overflow exception on underflow.
30320
5ac3ea17
MP
303212012-04-29 Marek Polacek <polacek@redhat.com>
30322
30323 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30324 (__fortify_function): New macro.
30325 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30326 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30327 __extern_always_inline.
30328 * libio/bits/stdio2.h: Likewise.
30329 * libio/bits/stdio.h: Likewise.
30330 * string/string.h: Likewise.
30331 * string/bits/string3.h: Likewise.
30332 * include/stdio.h: Likewise.
30333 * stdlib/bits/stdlib.h: Likewise.
30334 * stdlib/stdlib.h: Likewise.
30335 * rt/bits/mqueue2.h: Likewise.
30336 * rt/mqueue.h: Likewise.
30337 * posix/bits/unistd.h: Likewise.
30338 * posix/unistd.h: Likewise.
30339 * io/bits/poll2.h: Likewise.
30340 * io/bits/fcntl2.h: Likewise.
30341 * io/fcntl.h: Likewise.
30342 * io/sys/poll.h: Likewise.
30343 * misc/bits/syslog.h: Likewise.
30344 * misc/bits/syslog-ldbl.h: Likewise.
30345 * misc/sys/syslog.h: Likewise.
30346 * socket/bits/socket2.h: Likewise.
30347 * socket/sys/socket.h: Likewise.
30348 * debug/tst-chk1.c: Likewise.
30349 * wcsmbs/bits/wchar2.h: Likewise.
30350 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30351 * wcsmbs/wchar.h: Likewise.
30352
ecf0ebfb
AJ
303532012-04-29 Andreas Jaeger <aj@suse.de>
30354
30355 * Makerules (tests): Remove enable-check-abi protection.
30356 (check-abi-warn): Remove.
30357 (check-abi-%): Remove check-abi-warn usage.
30358
30359 * configure.in: Remove check-abi configure option.
30360 * configure: Regenerated.
30361 * config.make.in (enable-check-abi): Remove.
30362
6d5c57fa
AS
303632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30364
24c5d07e 30365 [BZ #14033]
ded5180a
AS
30366 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30367 double functions to double *_finite functions.
30368
7e0d315d
AS
30369 [BZ #13941]
30370 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30371 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30372 LDBL_MIN_EXP.
30373 * stdio-common/Makefile (tests): Add tst-sprintf3.
30374 * stdio-common/tst-sprintf3.c: New file.
30375
6d5c57fa
AS
30376 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30377 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30378
0749ff8b
JM
303792012-04-28 Joseph Myers <joseph@codesourcery.com>
30380
30381 * conform/conformtest.pl: Remove duplicate typed-constant
30382 handling.
30383
8dbd5d7b
DM
303842012-04-28 David S. Miller <davem@davemloft.net>
30385
30386 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30387 (check-abi-%): Remove AWK script prerequisite and explicit
30388 abilist directory.
30389 (check-abi): Rewrite to just diff the symlist with the abilist.
30390 (config-tls, config-abi-config): Delete, no longer used.
30391 (update-abi-%): Remove AWK script and explicit abilist directory.
30392 (update-abi): Rewrite to simply compare and conditionally copy the
30393 symlist and the sysdep abilist file. Remove update-abi-config
30394 checks.
30395 * abilist/ld.abilist: Remove.
30396 * abilist/libBrokenLocale.abilist: Remove.
30397 * abilist/libanl.abilist: Remove.
30398 * abilist/libcrypt.abilist: Remove.
30399 * abilist/libdl.abilist: Remove.
30400 * abilist/librt.abilist: Remove.
30401 * abilist/libthread_db.abilist: Remove.
30402 * abilist/libutil.abilist: Remove.
30403 * scripts/extract-abilist.awk: Remove.
30404 * scripts/merge-abilist.awk: Remove.
30405 * sysdeps/generic/libcidn.abilist: New file.
30406 * sysdeps/generic/libnss_compat.abilist: New file.
30407 * sysdeps/generic/libnss_db.abilist: New file.
30408 * sysdeps/generic/libnss_dns.abilist: New file.
30409 * sysdeps/generic/libnss_files.abilist: New file.
30410 * sysdeps/generic/libnss_hesiod.abilist: New file.
30411 * sysdeps/generic/libnss_nis.abilist: New file.
30412 * sysdeps/generic/libnss_nisplus.abilist: New file.
30413 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30414 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30415 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30416 file.
30417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30418 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30419 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30420 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30421 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30423 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30424 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30425 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30426 file.
30427 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30428 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30429 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30430 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30431 file.
30432 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30434 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30435 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30436 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30437 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30438 file.
30439 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30440 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30441 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30442 file.
30443 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30445 New file.
30446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30447 New file.
30448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30449 New file.
30450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30451 New file.
30452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30453 New file.
30454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30455 New file.
30456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30457 New file.
30458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30459 New file.
30460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30461 New file.
30462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30463 New file.
30464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30465 New file.
30466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30467 New file.
30468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30469 New file.
30470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30471 file.
30472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30473 New file.
30474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30475 New file.
30476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30477 file.
30478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30479 New file.
30480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30481 New file.
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30483 file.
30484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30485 New file.
30486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30487 New file.
30488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30489 New file.
30490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30491 New file.
30492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30493 New file.
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30495 New file.
30496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30498 file.
30499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30500 New file.
30501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30502 file.
30503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30504 file.
30505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30506 file.
30507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30508 file.
30509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30510 file.
30511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30512 New file.
30513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30514 file.
30515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30516 file.
30517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30518 New file.
30519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30520 file.
30521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30523 file.
30524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30525 New file.
30526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30527 file.
30528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30529 file.
30530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30531 file.
30532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30533 file.
30534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30535 file.
30536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30537 New file.
30538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30539 file.
30540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30541 file.
30542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30543 New file.
30544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30545 file.
30546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30547 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30548 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30549 file.
30550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30551 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30552 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30554 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30555 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30556 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30557 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30558 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30559 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30562 file.
30563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30564 New file.
30565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30566 file.
30567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30568 file.
30569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30570 file.
30571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30572 file.
30573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30574 file.
30575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30576 New file.
30577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30578 New file.
30579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30580 file.
30581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30582 New file.
30583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30584 file.
30585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30587 file.
30588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30589 New file.
30590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30591 file.
30592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30593 file.
30594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30595 file.
30596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30597 file.
30598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30599 file.
30600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30601 New file.
30602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30603 New file.
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30605 file.
30606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30607 New file.
30608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30609 file.
30610
41d73a1b
JM
306112012-04-28 Joseph Myers <joseph@codesourcery.com>
30612
30613 * conform/conformtest.pl: Fix typo in handling typed-constant from
30614 allow-header.
30615
28aeeda4
JM
306162012-04-27 Joseph Myers <joseph@codesourcery.com>
30617
adae8f5e
JM
30618 * README: Cut down references to pre-2.6 Linux kernels and
30619 Linuxthreads. Update lists of configurations in libc and ports
30620 and sort alphabetically. Say "or newer" with Linux kernel version
30621 requirements.
30622
28aeeda4
JM
30623 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30624
a462cb63
RA
306252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30626
30627 [BZ #887]
30628 * math/libm-test.inc (logb_test_downward): New test to expose
30629 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30630 rounding mode.
30631
6ad3493e
JM
306322012-04-27 Joseph Myers <joseph@codesourcery.com>
30633
30634 [BZ #14027]
30635 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30636 to be done.
30637 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30638 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30639
2ce4f015
JM
306402012-04-26 Joseph Myers <joseph@codesourcery.com>
30641
5aeb141a
JM
30642 * sysdeps/unix/i386/brk.S: Remove file.
30643 * sysdeps/unix/i386/dl-brk.S: Likewise.
30644 * sysdeps/unix/i386/pipe.S: Likewise.
30645 * sysdeps/unix/i386/sigreturn.S: Likewise.
30646 * sysdeps/unix/i386/syscall.S: Likewise.
30647 * sysdeps/unix/i386/vfork.S: Likewise.
30648 * sysdeps/unix/i386/wait.S: Likewise.
30649
7143acae
JM
30650 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30651 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30652
2ce4f015
JM
30653 * configure.in (arm*-none*): Do not allow without
30654 --enable-hacker-mode.
30655 (netbsd*): Remove case setting base_os.
30656 (386bsd*): Likewise.
30657 (freebsd*): Likewise.
30658 (bsdi*): Likewise.
30659 (osf*): Likewise.
30660 (sunos*): Likewise.
30661 (ultrix*): Likewise.
30662 (newsos*): Likewise.
30663 (dynix*): Likewise.
30664 (*bsd*): Likewise.
30665 (sysv*): Likewise.
30666 (isc*): Likewise.
30667 (esix*): Likewise.
30668 (sco*): Likewise.
30669 (minix*): Likewise.
30670 (irix4*): Likewise.
30671 (irix6*): Likewise.
30672 (solaris[2-9]*): Likewise.
30673 (none): Likewise.
30674 * configure: Regenerated.
30675
0ac229c8
AZ
306762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30677
30678 [BZ #11521]
30679 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30680 overflow or cancellation in calculating denominator.
30681 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30683 down expression to avoid unexpected rounding in newer GCCs.
30684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30685
33f244f4
DM
306862012-04-26 David S. Miller <davem@davemloft.net>
30687
30688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30689 long-double compat symbols.
30690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30703
cfa1f3e8
DM
307042012-04-25 David S. Miller <davem@davemloft.net>
30705
30706 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30707 HWCAP_* values only after the memory barriers have been defined.
30708 (atomic_full_barrier): Define.
30709 (atomic_read_barrier): Define.
30710 (atomic_write_barrier): Define.
30711
6e236b92
SP
307122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30713
30714 * shlib-versions: Add libgcc_s version information.
30715 * sysdeps/generic/libgcc_s.h: Remove.
30716 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30717 libgcc_s.h.
30718 * sysdeps/gnu/unwind-resume.c: Likewise.
30719 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30720
aab39a09
DM
307212012-04-25 David S. Miller <davem@davemloft.net>
30722
30723 * sysdeps/unix/sparc/brk.S: Delete.
30724 * sysdeps/unix/sparc/dl-brk.S: Delete.
30725 * sysdeps/unix/sparc/pipe.S: Delete.
30726 * sysdeps/unix/sparc/sysdep.S: Delete.
30727 * sysdeps/unix/sparc/sysdep.h: Delete.
30728 * sysdeps/unix/sparc/vfork.S: Delete.
30729 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30730 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30732 ret_ERRVAL, r0, r1, MOVE): Define.
30733 (JUMPTARGET): Remove.
30734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30735 sysdeps/unix/sparc/sysdep.h
30736 (ENTRY, END): Remove.
30737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30738
a3cc4f48
JM
307392012-04-25 Joseph Myers <joseph@codesourcery.com>
30740
2ed8cda2
JM
30741 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30742 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30743 -DIS_IN_build.
30744
35d76d59
JM
30745 * timezone/README: Update upstream location and email address for
30746 tzcode and tzdata.
30747 * timezone/zdump.c: Update from tzcode 2012b.
30748 * timezone/zic.c: Likewise.
30749
a3cc4f48
JM
30750 * configure.in (libc_cv_as_needed): Remove test.
30751 * configure: Regenerated.
30752 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30753 conditional definition.
30754 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30755 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30756 * config.make.in (have-as-needed): Remove variable.
30757
ceab42c3
SP
307582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30759 Paul Pluzhnikov <ppluzhnikov@google.com>
30760
30761 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30762 strings correctly.
30763
3ce2865f
CLT
307642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30765
30766 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30767 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30768 * sysdeps/sh/strlen.S: Likewise.
30769
f37e0d68
JM
307702012-04-24 Joseph Myers <joseph@codesourcery.com>
30771
ae186e9a
JM
30772 * sysdeps/unix/fork.S: Remove file.
30773 * sysdeps/unix/i386/fork.S: Likewise.
30774 * sysdeps/unix/sparc/fork.S: Likewise.
30775
b96914af
JM
30776 * sysdeps/unix/system.c: Remove file.
30777 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30778
f37e0d68
JM
30779 * sysdeps/unix/getegid.S: Remove file.
30780 * sysdeps/unix/geteuid.S: Likewise.
30781
87ef29ca
RM
307822012-04-24 Roland McGrath <roland@hack.frob.com>
30783
83bcd236
RM
30784 * scripts/check-localplt.awk: New file.
30785 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30786 of diff.
30787 * scripts/data/localplt-generic.data: Add a comment.
30788
87ef29ca
RM
30789 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30790 NODE when __dir_mkfile failed.
30791 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30792 Reported by Ludovic Courtès <ludo@gnu.org>.
30793
e5a6e567
AJ
307942012-04-24 Andreas Jaeger <aj@suse.de>
30795
30796 * Makerules (common-clean): Also remove gen-as-const-headers
30797 files.
30798
c1820385
JM
307992012-04-24 Joseph Myers <joseph@codesourcery.com>
30800
30801 * Makerules (native-compile): Do not change working directory for
30802 build. Use $(OUTPUT_OPTION) in command.
30803 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30804
94e02fc4
AZ
308052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30806
30807 [BZ #13886]
30808 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30809 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30810 * math/libm-test.inc (floor_test): Add more tests.
30811 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30812
3a533ca3
JM
308132012-04-24 Joseph Myers <joseph@codesourcery.com>
30814
940ab4b3
JM
30815 * sysdeps/unix/getdents.c: Remove file.
30816 * sysdeps/unix/sysv/getdents.c: Likewise.
30817 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30818
90e037bd
JM
30819 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30820 sysdeps/unix/mman/syscalls.list.
30821 (mmap): Likewise.
30822 (mprotect): Likewise.
30823 (msync): Likewise.
30824 (munmap): Likewise.
30825 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30826 * sysdeps/unix/mman/syscalls.list: Remove.
30827 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30828
3a533ca3
JM
30829 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30830 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30831 * configure: Regenerated.
30832 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30833 $(libgcc_s_suffix).
30834 * config.make.in (libgcc_s_suffix): Remove variable.
30835
1ad743de
JM
308362012-04-23 Joseph Myers <joseph@codesourcery.com>
30837
4ad451e2
JM
30838 * sysdeps/unix/sysv/gethostname.c: Move to ...
30839 * sysdeps/posix/gethostname.c: ... here.
30840
5e37ce39
JM
30841 * sysdeps/unix/execve.S: Remove file.
30842
1ad743de
JM
30843 * sysdeps/unix/_exit.S: Remove file.
30844
4e681b5b
AJ
308452012-04-23 Andreas Jaeger <aj@suse.de>
30846
30847 [BZ #13739]
30848 * manual/Makefile: Remove make dist support, there's no
30849 need for a stand-alone documentation tar ball.
30850 (TEXI2DVI): Define always, it's not in Makeconfig.
30851 (dist): Removed.
30852 (tar-it): Removed.
30853 (edition): Removed.
30854 (glibc-doc-$(edition).tar): Removed
30855 (%.Z): Removed.
30856 (%.gz): Removed.
30857 (%.uu): Removed.
30858 (ETAGS): Remove, it's in Makeconfig.
30859 (move-if-change): Remove, it's in Makeconfig.
30860
38686a03 308612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30862
30863 [BZ #13970]
30864 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30865 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30866 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30867 (strtod_l, strtof_l, strtold_l): Remove __wur.
30868 It is not necessarily an error to ignore strtol's return value.
30869 One can reliably look at the stored endptr to decide whether
30870 the number had valid syntax.
30871
7c0616fa
AJ
308722012-04-21 Andreas Jaeger <aj@suse.de>
30873
803cb6b7 30874 [BZ #13739]
7c0616fa
AJ
30875 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30876
b0fe253f
JM
308772012-04-21 Joseph Myers <joseph@codesourcery.com>
30878
30879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30880 * sysdeps/unix/sysv/Versions: Remove file.
30881
8280f22d
MT
308822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30883
30884 [BZ #13927]
30885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30886
75ce411f 308872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30888
30889 [BZ #7064]
30890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30891 version from __vm86.
30892
097d59fa
JM
308932012-04-20 Joseph Myers <joseph@codesourcery.com>
30894
a90f3bcb
JM
30895 * sysdeps/unix/common/lxstat.c: Remove file.
30896 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30897
edc7ea78
JM
30898 * sysdeps/unix/sysv/Makefile: Remove file.
30899
cb78c221
JM
30900 * sysdeps/unix/sysv/direct.h: Remove file.
30901
efa6a45f
JM
30902 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30903 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30904 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30905 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30906 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30907 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30908 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30909
9c9f2d0c
JM
30910 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30911
4541c83b
JM
30912 * sysdeps/unix/xmknod.c: Remove file.
30913 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30914
f5d153a0
JM
30915 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30916
aa746595
JM
30917 * sysdeps/unix/sysv/i386/time.S: Remove file.
30918
cce5905e
JM
30919 * sysdeps/unix/fxstat.c: Remove file.
30920 * sysdeps/unix/xstat.c: Likewise.
30921 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30922
37fa3841
JM
30923 * sysdeps/unix/sysv/sigaction.c: Remove file.
30924
ff1962a3
JM
30925 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30926 (sysdep_headers): Remove variable.
30927 [termio.h not in sysdep_headers] (generated): Likewise.
30928 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30929 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30930 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30931 * sysdeps/unix/sysv/tcflow.c: Likewise.
30932 * sysdeps/unix/sysv/tcflush.c: Likewise.
30933 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30934 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30935 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30936 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30937 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30938
e7740d31
JM
30939 * sysdeps/unix/siglist.c: Remove file.
30940
ee06f18b
JM
30941 * sysdeps/unix/getppid.S: Remove file.
30942
097d59fa
JM
30943 * sysdeps/unix/mkdir.c: Remove file.
30944 * sysdeps/unix/rmdir.c: Likewise.
30945
ff3d51ec
AS
309462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30947
30948 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30949 ERR_MAX value.
30950 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30951 errlist-compat value.
30952
50f81fd7
DM
309532012-04-18 David S. Miller <davem@davemloft.net>
30954
30955 * sysdeps/generic/memcopy.h (reg_char): Delete.
30956 * debug/strcat_chk.c: Use char, not reg_char.
30957 * debug/strcpy_chk.c: Likewise.
30958 * debug/strncat_chk.c: Likewise.
30959 * debug/strncpy_chk.c: Likewise.
30960 * string/memchr.c: Likewise.
30961 * string/memrchr.c: Likewise.
30962 * string/rawmemchr.c: Likewise.
30963 * string/strcat.c: Likewise.
30964 * string/strchr.c: Likewise.
30965 * string/strchrnul.c: Likewise.
30966 * string/strcmp.c: Likewise.
30967 * string/strcpy.c: Likewise.
30968 * string/strncat.c: Likewise.
30969 * string/strncmp.c: Likewise.
30970 * string/strncpy.c: Likewise.
30971
8ff41c46
WS
309722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30973
30974 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30975 __builtin_memcopy is called when src and dest ranges are known to not
30976 overlap.
30977
6b652f46
WS
309782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30979
30980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30981 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30982 fwd_align_merge macro call.
30983 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30984 bwd_align_merge macro call.
30985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30986
b282631e
WS
309872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30988
30989 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30990 bwd_align_merge macros.
30991 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30992 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30994
95aa737c
DM
309952012-04-18 David S. Miller <davem@davemloft.net>
30996
30997 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30998
7a99a614
AJ
309992012-04-18 Andreas Jaeger <aj@suse.de>
31000
31001 [BZ# 6794]
31002 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31003 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31005
31006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31007 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31009
31010 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31011 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31012 Adjust for changed ldbl-128 files.
31013
31014 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31015 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31017
e5270c23
DM
310182012-04-17 David S. Miller <davem@davemloft.net>
31019
31020 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31021
fb5e92c9
AS
310222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31023
31024 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31025 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31026 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31027 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31028 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31029 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31030
76da7265
AZ
310312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31032
31033 [BZ #6794]
31034 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31035 * math/libm-test.inc: Add ilogb errno and exception tests.
31036 * math/w_ilogb.c: New file: ilogb wrapper.
31037 * math/w_ilogbf.c: New file: ilogbf wrapper.
31038 * math/w_ilogbl.c: New file: ilogbl wrapper.
31039 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31040 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31041 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31042 exception being thrown with 0.0 as argument.
31043 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31044 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31045 exception being thrown with 0.0 as argument.
31046 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31047 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31048 exception being thrown with 0.0 as argument.
31049 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31050 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31051 exception being thrown with 0.0 as argument.
31052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31053 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31054 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31055 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31056 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31058 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31059 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31060 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31061
0396e69d
PB
310622012-04-17 Petr Baudis <pasky@ucw.cz>
31063
31064 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31065 with altivec.
31066
750b5926
MP
310672012-04-16 Marek Polacek <polacek@redhat.com>
31068
31069 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31070
751728a1
MP
310712012-04-16 Marek Polacek <polacek@redhat.com>
31072
31073 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31074 operands of fdivp instruction.
31075
34a27407
L
310762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31077
31078 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31079 * elf/tst-auditmod3b.c: Likewise.
31080 * elf/tst-auditmod4b.c: Likewise.
31081 * elf/tst-auditmod5b.c: Likewise.
31082 * elf/tst-auditmod6b.c: Likewise.
31083 * elf/tst-auditmod6c.c: Likewise.
31084 * elf/tst-auditmod7b.c: Likewise.
31085 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31086 * sysdeps/x86_64/preconfigure.in: Likewise.
31087 * sysdeps/x86_64/preconfigure: Regenerated.
31088
7e73e17d
L
310892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31090
31091 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31092 __ILP32__.
31093
c7a6ab72
AB
310942012-04-13 Antoine Balestrat <merkil33@gmail.com>
31095
31096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31097 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31098
a9e8e0e0
CL
310992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31100
31101 [BZ #13973]
31102 * locale/iso-639.def: Fix gl language name. Spotted by
31103 Yaron Shahrabani.
31104
ec98af7d
RM
311052012-04-12 Roland McGrath <roland@hack.frob.com>
31106
31107 [BZ #2074]
31108 * libio/libio.h (__io_write_fn): Update comment.
31109
247c3ede
PB
311102012-04-12 Petr Baudis <pasky@ucw.cz>
31111
31112 [BZ #2074]
31113 * stdio.texi (Hook Functions): The user provided writer function
31114 is not allowed to return -1.
31115
55939d6d
DM
311162012-04-11 David S. Miller <davem@davemloft.net>
31117
31118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31119
90020f5a
MF
311202012-04-11 Mike Frysinger <vapier@gentoo.org>
31121
31122 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31123 Add a leading slash to rtkaio.
31124
288f9098
JM
311252012-04-11 Jim Meyering <meyering@redhat.com>
31126
90020f5a
MF
31127 [BZ #11959]
31128 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31129 It is not necessarily an error to ignore fwrite's return
31130 value. One can reliably use ferror to test for errors after
31131 the fact.
288f9098 31132
4be2b570
L
311332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31134
31135 * bits/types.h (__snseconds_t): New type.
31136 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31137
31138 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31140 (__SNSECONDS_T_TYPE): Likewise.
31141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31142 (__SNSECONDS_T_TYPE): Likewise.
31143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31144 (__SNSECONDS_T_TYPE): Likewise.
31145
288f9098 311462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31147
31148 [BZ #2636]
31149 * manual/time.texi (Processor Time): Return type of times is
31150 elapsed real time since an arbitrary point in the past.
31151 (CPU Time): Move CLK_TCK from here...
31152 (Processor Time): ...to here. Correct description.
31153 * manual/conf.texi (Constants for Sysconf): Correct description of
31154 _SC_CLK_TCK.
31155
d7dd4413
DM
311562012-04-10 David S. Miller <davem@davemloft.net>
31157
31158 [BZ #13967]
31159 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31160 where the is a gap between DT_REL(A) and DT_JMPREL.
31161
b46068fc
L
311622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31163
31164 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31165 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31166 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31167
73d65cc3
SP
311682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31169
31170 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31171 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31172 (dl_main): Handle --inhibit-cache.
31173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31174 _dl_inhibit_cache.
31175 * elf/dl-load.c (_dl_map_object): Use it.
31176 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31177
bcc8d661
JM
311782012-04-09 Joseph Myers <joseph@codesourcery.com>
31179
8f9a2fae
JM
31180 [BZ #13872]
31181 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31182 (__ieee754_powl): Saturate large exponents rather than testing for
31183 overflow of y*log2(x).
31184 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31185 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31186 exceptions.
31187
bcc8d661
JM
31188 [BZ #11521]
31189 * math/s_ctan.c: Include <float.h>.
31190 (__ctan): Avoid internal overflow or cancellation in calculating
31191 denominator.
31192 * math/s_ctanf.c: Likewise.
31193 * math/s_ctanl.c: Likewise.
31194 * math/s_ctanh.c: Likewise.
31195 * math/s_ctanhf.c: Likewise.
31196 * math/s_ctanhl.c: Likewise.
31197 * math/libm-test.inc (ctan_test): Add more tests.
31198 (ctanh_test): Likewise.
31199 * sysdeps/i386/fpu/libm-test-ulps: Update.
31200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31201
823fbbb4
AJ
312022012-04-09 Andreas Jaeger <aj@suse.de>
31203
03879793
AJ
31204 [BZ #6894]
31205 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31206 is an optional BSD extension.
31207
823fbbb4
AJ
31208 [BZ #10254]
31209 * manual/stdio.texi (Opening Streams): Document additional fopen
31210 parameters.
31211
8de131cb
RM
312122012-04-09 Roland McGrath <roland@hack.frob.com>
31213
31214 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31215 %eax without telling the compiler.
31216
c0ed9d7d
CD
312172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31218
31219 [BZ # 13963]
31220 * manual/install.texi: Use sourceware.org.
31221
c483f6b4
JM
312222012-04-09 Joseph Myers <joseph@codesourcery.com>
31223
d7dd9453
JM
31224 [BZ #13873]
31225 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31226 (__ieee754_pow): Generate overflow and underflow using huge*huge
31227 and tiny*tiny rather than just returning constant infinity or zero
31228 for large exponents.
31229 * math/libm-test.inc (pow_test): Require overflow exceptions for
31230 applicable cases of large exponents.
31231
c483f6b4
JM
31232 [BZ #706]
31233 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31234 (__ieee754_pow): Use iterative multiplication algorithm only for
31235 integer exponents with absolute value below 1024. Check for odd
31236 integer exponents when using algorithm for real exponents.
31237 * math/libm-test.inc (pow_test): Add more tests.
31238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31239
d2de7579
JM
312402012-04-08 Joseph Myers <joseph@codesourcery.com>
31241
31242 [BZ #13705]
31243 * math/libm-test.inc (exp_test): Do not allow overflow exception
31244 on underflow test.
31245
f77f1232
AJ
312462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31247
31248 [BZ #13705]
31249 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31250 instead of __kernel_standard_f.
31251
3884932b
MF
312522012-04-08 Mike Frysinger <vapier@gentoo.org>
31253
31254 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31255 * sysdeps/x86_64/memset_chk.S: Likewise.
31256
54472e9c
AJ
312572012-04-08 Andreas Jaeger <aj@suse.de>
31258
6ab0fbfc
AJ
31259 [BZ #10153]
31260 * manual/startup.texi (Environment Access): Describe return value
31261 for putenv and setenv.
31262
61efba8c
AJ
31263 [BZ #6895]
31264 * manual/filesys.texi (Directory Entries): Add description for
31265 DT_LNK.
31266
95c3f29a
AJ
31267 [BZ #6890]
31268 * manual/filesys.texi (Directory Entries): Clarify that it's file
31269 system not operating system in the description of DT_UNKNOWN.
31270
54472e9c
AJ
31271 [BZ #6578]
31272 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31273
624254b1
SC
312742012-04-08 Stephen Compall <s11@member.fsf.org>
31275
31276 [BZ #6649]
31277 * manual/llio.texi (Opening and Closing Files): Add cross
31278 reference to explain mode argument.
31279
1e4920e0
MF
312802012-04-07 Mike Frysinger <vapier@gentoo.org>
31281
31282 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31283 * sysdeps/x86_64/memset_chk.S: Likewise.
31284
5ed848f3
DM
312852012-04-07 David S. Miller <davem@davemloft.net>
31286
31287 * elf/elf.h (R_SPARC_WDISP10): Define.
31288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31289 R_SPARC_SIZE32.
31290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31291 R_SPARC_SIZE64 and R_SPARC_H34.
31292
96154cd8
CD
312932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31294
31295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31296 conditions and remove no longer applicable assertion.
31297
9904dc47
L
312982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31299
31300 * bits/byteswap.h: Include <features.h>.
31301 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31302 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31303
f8887d0a
L
313042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31305
31306 * bits/byteswap.h (__bswap_16): Removed.
31307 Include <bits/byteswap-16.h> to get __bswap_16.
31308 * sysdeps/i386/bits/byteswap.h: Likewise.
31309 * sysdeps/s390/bits/byteswap.h: Likewise.
31310 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31311 * bits/byteswap-16.h: New file.
31312 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31313 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31314 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31315 * string/Makefile (headers): Add bits/byteswap-16.h.
31316
62470f60
PP
313172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31318
31319 [BZ #13895]
31320 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31321 extra indirection.
31322 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31323 * nss/tst-nss-static.c: New.
31324
4dad7bab
RM
313252012-04-06 Robert Millan <rmh@gnu.org>
31326
31327 [BZ #6486]
31328 * manual/llio.texi (File Position Primitive): lseek
31329 refers to WHENCE when it really means OFFSET.
31330
e9142a17
AJ
313312012-04-06 Andreas Jaeger <aj@suse.de>
31332
2c040eff
AJ
31333 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31334 strncmp declarations.
31335
e9142a17
AJ
31336 * abilist/libc.abilist: Add __poll and __ppoll.
31337
ff9f1c5f
DM
313382012-04-05 David S. Miller <davem@davemloft.net>
31339
dcd2ae90
DM
31340 * scripts/check-local-headers.sh: Accept a host triplet in the
31341 path matched by the exclude regexp.
31342
993eb054
DM
31343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31344 definition.
31345 * sysdeps/powerpc/powerpc32/dl-machine.h
31346 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31347 * sysdeps/s390/s390-32/dl-machine.h
31348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31349 * sysdeps/sparc/sparc32/dl-machine.h
31350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31351 * sysdeps/sparc/sparc64/dl-machine.h
31352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31353
ff9f1c5f
DM
31354 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31355 lazy binding.
48e2e132 31356 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31357 undefined symbol errors.
31358
48e2e132 31359 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31360 DT_NEEDED entries.
31361
e80d6f94
MM
313622012-04-05 Michael Matz <matz@suse.de>
31363
31364 [BZ #13592]
31365 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31366
349fa79f
AJ
313672012-04-05 Andreas Jaeger <aj@suse.de>
31368
31369 [BZ #13908]
31370 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31371 comment.
31372
f402708f
KK
313732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31374
31375 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31376 which ROUND is no valid rounding mode.
31377
2ecccfc9
KK
313782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31379
31380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31381 read again.
31382 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31383
8a53f50f
KK
313842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31385
31386 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31387 an exception using FPU order intentionally.
31388
313892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31390
31391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31392 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31393 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31394 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31395
d653abb7
SJ
313962012-04-05 Simon Josefsson <simon@josefsson.org>
31397
31398 [BZ #12340]
31399 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31400 EINVAL when BUFLEN is too smal.
31401
c3b1bf7d
TS
314022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31403
31404 [BZ #13553]
31405 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31406 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31407
b1aa60f3
AJ
314082012-04-03 Andreas Jaeger <aj@suse.de>
31409
c3b1bf7d 31410 [BZ #13938]
67f60a26
AJ
31411 * manual/setjmp.texi (System V contexts): Fix sentence.
31412
b1aa60f3
AJ
31413 [BZ #13926]
31414 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31415 New macro for this case.
31416 [!__GNUC__] (__bswap_64): New inline function for this case.
31417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31418 * bits/byteswap.h: Likewise.
31419 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31420 ull, guard with __GLIBC_HAVE_LONG_LONG.
31421
31422 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31423 __GLIBC_HAVE_LONG_LONG.
31424
31425 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31426 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31427
39c59c35
TMQMF
314282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31429
31430 [BZ #13691]
31431 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31432 inptr and inend, rather than using last_ch.
31433
135ffda8
DM
314342012-04-02 David S. Miller <davem@davemloft.net>
31435
31436 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31437 * stdio-common/printf-parse.h (read_int): Change return type to
31438 'int', return -1 on INT_MAX overflow.
31439 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31440 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31441 overflows INT_MAX. Check for overflow of in-format-string precision
31442 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31443 SIZE_MAX not INT_MAX for integer overflow test.
31444 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31445 skip the construct in the format string but do not record anything.
31446 * stdio-common/bug22.c: Adjust to test both width/prevision
31447 INT_MAX overflow as well as total length INT_MAX overflow. Check
31448 explicitly for proper errno values.
31449
228c019e
TS
314502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31451
302cadd3
TS
31452 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31453 CHAR_MAX.
31454 * string/test-strcmp.c [! WIDE]: Likewise.
31455 * time/tst-mktime2.c: Likewise for INT_MAX.
31456 * string/test-string.h: #include <sys/param.h> for MIN.
31457
228c019e
TS
31458 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31459 * sysdeps/i386/init-first.c (init): Likewise.
31460 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31461 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31462 * sysdeps/sh/init-first.c (init): Likewise.
31463
cfa633f5
UD
314642012-04-01 Ulrich Drepper <drepper@gmail.com>
31465
31466 * po/ru.po: Update from translation team.
d1635ef8 31467 * po/vi.po: Likewise.
cfa633f5 31468
6cd0a5ea
SP
314692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31470
31471 * resolv/nss_dns/dns-host.c: Merge copyright years.
31472
4b43400f
LD
314732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31474
31475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31476 Optimize memcpy with prefetch if
31477 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31478 src, dst pointers have unequal 16 byte alignments.
31479
48c41d04
SP
314802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31481
31482 [BZ #13928]
31483 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31484 from a CNAME entry and return the minimum ttl for the query.
31485 (gaih_getanswer_slice): Likewise.
31486
b8dc394d
JL
314872012-03-30 Jeff Law <law@redhat.com>
31488
31489 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31490 due to long keys.
31491 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31492 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31493
2f5a5ed0
JL
31494 * resolv/nss_dns/dns-host.c: Update copyright year.
31495
1d39e359
UD
314962012-03-30 Ulrich Drepper <drepper@gmail.com>
31497
c030f70c 31498 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31499 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31500
1d39e359
UD
31501 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31502 comments for sendmmsg.
31503
315042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31505
31506 [BZ #13691]
31507 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31508 with only 1 character between 0x0041 and 0x01b0.
31509 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31510 * wcsmbs/tst-mbsnrtowcs.c: New file.
31511
20fde227
DM
315122012-03-29 David S. Miller <davem@davemloft.net>
31513
31514 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31515 small copies by hand.
31516
984a4237
JL
315172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31518
31519 [BZ #13761]
31520 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31521 _nss_compat_initgroups_dyn): Fall back to malloc/free
31522 for large group memberships.
31523
18c9d62b
DM
315242012-03-28 David S. Miller <davem@davemloft.net>
31525
88d85d4f
DM
31526 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31527 that branches into memcpy.
31528 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31529 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31531 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31533 bits.
31534 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31535 implementation too.
31536 * sysdeps/sparc/mempcpy.S: New file.
31537
e5aa83e1
DM
31538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31539 the IFUNC routine in the libc case.
31540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31541
88570753
DM
31542 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31543 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31544 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31545 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31546 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31547 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31548 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31549 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31550
249d7567
DM
31551 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31552 loop to 256 bytes instead of 64 bytes and fix test signedness.
31553
18c9d62b
DM
31554 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31555 * sysdeps/sparc/sparc32/Makefile: rather than here...
31556 * sysdeps/sparc/sparc64/Makefile: and here.
31557
05f3d1f6
UD
315582012-03-28 Ulrich Drepper <drepper@gmail.com>
31559
31560 * malloc/mallocbug.c: Avoid warnings about unused variables.
31561
86ae07a8
JL
315622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31563
31564 [BZ #13760]
31565 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31566 in the right place. Discard and retry query if response is
31567 larger than input buffer size.
31568
41bf21a1
JM
315692012-03-28 Joseph Myers <joseph@codesourcery.com>
31570
d6270972
JM
31571 [BZ #369]
31572 [BZ #2678]
31573 [BZ #3866]
31574 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31575 x for large integer exponent.
31576 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31577 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31578 sign of result as needed afterwards.
31579 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31580 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31581 result for underflowing pow the same as for overflow.
31582 (__kernel_standard_l): Handle powl overflow and underflow here
31583 rather than calling __kernel_standard.
31584 * math/libm-test.inc (pow_test): Add more tests.
31585
414fca03 31586 [BZ #3868]
41bf21a1
JM
31587 [BZ #13879]
31588 [BZ #13910]
31589 [BZ #13911]
31590 [BZ #13912]
31591 [BZ #13913]
31592 [BZ #13915]
31593 [BZ #13916]
31594 [BZ #13917]
31595 [BZ #13918]
31596 [BZ #13919]
31597 [BZ #13920]
31598 [BZ #13921]
31599 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31600 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31601 (__kernel_standard_l): New function.
31602 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31603 __kernel_standard.
31604 * math/w_acosl.c (__acosl): Likewise.
31605 * math/w_asinl.c (__asinl): Likewise.
31606 * math/w_atan2l.c (__atan2l): Likewise.
31607 * math/w_atanhl.c (__atanhl): Likewise.
31608 * math/w_coshl.c (__coshl): Likewise.
31609 * math/w_exp10l.c (__exp10l): Likewise.
31610 * math/w_exp2l.c (__exp2l): Likewise.
31611 * math/w_fmodl.c (__fmodl): Likewise.
31612 * math/w_hypotl.c (__hypotl): Likewise.
31613 * math/w_j0l.c (__j0l, __y0l): Likewise.
31614 * math/w_j1l.c (__j1l, __y1l): Likewise.
31615 * math/w_jnl.c (__jnl, __ynl): Likewise.
31616 * math/w_lgammal.c (__lgammal): Likewise.
31617 * math/w_log10l.c (__log10l): Likewise.
31618 * math/w_log2l.c (__log2l): Likewise.
31619 * math/w_logl.c (__logl): Likewise.
31620 * math/w_powl.c (__powl): Likewise.
31621 * math/w_remainderl.c (__remainderl): Likewise.
31622 * math/w_scalbl.c (sysv_scalbl): Likewise.
31623 * math/w_sinhl.c (__sinhl): Likewise.
31624 * math/w_sqrtl.c (__sqrtl): Likewise.
31625 * math/w_tgammal.c (__tgammal): Likewise.
31626 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31627 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31628 * math/libm-test.inc (acos_test): Add more tests.
31629 (acosh_test): Likewise.
31630 (asin_test): Likewise.
31631 (atanh_test): Likewise.
31632 (exp_test): Likewise.
31633 (exp10_test): Likewise.
31634 (exp2_test): Likewise.
31635 (expm1_test): Likewise.
31636 (lgamma_test): Likewise.
31637 (log_test): Likewise.
31638 (log10_test): Likewise.
31639 (log1p_test): Likewise.
31640 (log2_test): Likewise.
31641 (pow_test): Do not allow some spurious overflow exceptions.
31642 (sqrt_test): Add more tests.
31643 (tgamma_test): Likewise.
31644 (y0_test): Likewise.
31645 (y1_test): Likewise.
31646 (yn_test): Likewise.
31647
dd62fda6
AB
316482012-03-27 Anton Blanchard <anton@samba.org>
31649
31650 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31651 MAP_HUGETLB.
31652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31655
1e3cdfda
AJ
316562012-03-27 David S. Miller <davem@davemloft.net>
31657
b855ab85
DM
31658 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31659
1e3cdfda
AJ
31660 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31661 have-as-vis3 check.
31662
316632012-03-27 Andreas Jaeger <aj@suse.de>
31664
31665 * sysdeps/x86_64/elf/configure.in: Moved to ...
31666 * sysdeps/x86_64/configure.in: ... here.
31667 * sysdeps/x86_64/elf/start.S: Moved to ...
31668 * sysdeps/x86_64/start.S: ... here.
31669 * sysdeps/x86_64/elf/configure: Delete.
31670
31671 * sysdeps/x86_64/configure.in: Merge contents from
31672 sysdeps/i386/configure.in (without i686 check).
31673
31674 * sysdeps/i386/elf/Versions: Merge into ...
31675 * sysdeps/i386/Versions: ... this.
31676 * sysdeps/i386/elf/Versions: Delete file.
31677 * sysdeps/i386/elf/start.S: Moved to ...
31678 * sysdeps/i386/start.S: ...here.
31679 * sysdeps/i386/elf/configure.in: Merge into...
31680 * sysdeps/i386/configure.in: ...here.
31681 * sysdeps/i386/elf/configure.in: Delete file.
31682 * sysdeps/i386/elf/configure: Delete file.
31683
31684 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31685 * debug/backtracesyms.c: ... here.
31686 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31687 * debug/backtracesymsfd.c: ... here.
31688 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31689 * sysdeps/generic/ifunc-sel.h: ... here.
31690
31691 * sysdeps/unix/i386/start.c: Delete file.
31692 * sysdeps/unix/sparc/start.c: Delete file.
31693 * sysdeps/unix/start.c: Delete file.
31694
31695 * sysdeps/sh/elf/configure.in: Moved to ...
31696 * sysdeps/sh/configure.in: ... here.
31697 * sysdeps/sh/elf/start.S: Moved to ...
31698 * sysdeps/sh/start.S: ... here.
31699 * sysdeps/sh/elf/configure: Delete file.
31700
31701 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31702 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31703 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31704 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31705 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31706 * sysdeps/powerpc/powerpc64/start.S: here.
31707 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31708 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31709 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31710 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31711 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31712
31713 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31714 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31715 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31716 * sysdeps/powerpc/powerpc32/start.S: ... here.
31717 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31718 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31719 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31720
31721 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31722 * sysdeps/powerpc/ifunc-sel.h: ... here.
31723 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31724 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31725
31726 * sysdeps/sparc/elf/configure.in: Moved to ...
31727 * sysdeps/sparc/configure.in: ... here.
31728 * sysdeps/sparc/elf/configure: Delete file.
31729 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31730 * sysdeps/sparc/sparc32/start.S: ... here.
31731 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31732 * sysdeps/sparc/sparc64/start.S: ... here.
31733 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31734 * sysdeps/sparc/sparc32/Makefile: ... this.
31735 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31736 * sysdeps/sparc/sparc64/Makefile: ... this.
31737
31738 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31739 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31740 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31741 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31742 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31743 * sysdeps/s390/s390-32/setjmp.S: ... here.
31744 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31745 * sysdeps/s390/s390-32/configure.in: ... here.
31746 * sysdeps/s390/s390-32/elf/configure: Delete file.
31747 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31748 * sysdeps/s390/s390-32/start.S: ... here.
31749
31750 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31751 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31752 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31753 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31754 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31755 * sysdeps/s390/s390-64/setjmp.S: ... here.
31756 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31757 * sysdeps/s390/s390-64/configure.in: ... here
31758 * sysdeps/s390/s390-64/elf/configure: Delete file.
31759 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31760 * sysdeps/s390/s390-64/start.S: ... here.
31761 * sysdeps/s390/s390-64/elf/configure: Delete.
31762
31763 * configure.in: Remove support for elf directories in sysdeps.
31764
31765 * configure: Regenerated.
31766 * sysdeps/i386/configure: Regenerated.
31767 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31768 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31769 * sysdeps/s390/s390-32/configure: Regenerated.
31770 * sysdeps/s390/s390-64/configure: Regenerated.
31771 * sysdeps/sh/configure: Regenerated.
31772 * sysdeps/sparc/configure: Regenerated.
31773 * sysdeps/x86_64/configure: Regenerated.
31774
a3f61311
AS
317752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31776
c876e002
AS
31777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31778
a3f61311
AS
31779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31780 denormal result into account.
31781
ac4c54f0
RM
317822012-03-25 Roland McGrath <roland@hack.frob.com>
31783
31784 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31785 Reported by Allan McRae <allan@archlinux.org>.
31786
6a9b9c02
JL
317872012-03-23 Jeff Law <law@redhat.com>
31788
31789 * nss/getnssent.c (__nss_getent): Fix typo.
31790
4c42a0c1
DM
317912012-03-23 David S. Miller <davem@davemloft.net>
31792
31793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31794
1532c7ac
L
317952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31798 to pad to uint64_t for each field.
31799 (dl_tls_index): Replace unsigned long with uint64_t.
31800
3ff42526
PP
318012012-03-23 Daniel Jacobowitz <dmj@google.com>
31802 Paul Pluzhnikov <ppluzhnikov@google.com>
31803
31804 [BZ #6528]
31805 * grp/Makefile (otherlibs): Don't set it.
31806 * inet/Makefile (otherlibs): Likewise.
31807 * login/Makefile (otherlibs): Likewise.
31808 * nscd/Makefile (otherlibs): Likewise.
31809 * posix/Makefile (otherlibs): Likewise.
31810 * pwd/Makefile (otherlibs): Likewise.
31811 * rt/Makefile (otherlibs): Likewise.
31812 * sunrpc/Makefile (otherlibs): Likewise.
31813 * nss/Makefile (otherlibs): Likewise.
31814 Add libnss_files to routines and static-only-routines.
31815 ($(objpfx)getent): Remove rule.
31816 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31817 static-only-routines.
31818
7c69cd14
JM
318192012-03-22 Joseph Myers <joseph@codesourcery.com>
31820
31821 [BZ #13892]
31822 * math/s_cexp.c: Include <float.h>.
31823 (__cexp): Handle exp result overflowing not necessarily
31824 overflowing both real and imaginary parts of result.
31825 * math/s_cexpf.c: Likewise.
31826 * math/s_cexpl.c: Likewise.
31827 * math/libm-test.inc (cexp_test): Add more tests.
31828 * sysdeps/i386/fpu/libm-test-ulps: Update.
31829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31830
81b035fe
L
318312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31832
31833 * include/link.h (ELFW): New macro.
31834 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31835 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31836
1da7940c
L
318372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31840 with uint64_t.
31841
b749dbb9
L
318422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31843
31844 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31845 declaration.
31846 (struct La_x32_retval): Likewise.
31847
2ff87f3f
L
318482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31849
31850 * sysdeps/x86_64/preconfigure.in: New file.
31851 * sysdeps/x86_64/preconfigure: New generated file.
31852
c0df8e69
JM
318532012-03-22 Joseph Myers <joseph@codesourcery.com>
31854
48e44791
JM
31855 [BZ #13824]
31856 * math/e_exp2l.c: Include <float.h>.
31857 (__ieee754_exp2l): Handle overflow and underflow cases
31858 separately. Only pass fractional part of argument to
31859 __ieee754_expl.
31860 * math/libm-test.inc (exp2_test): Add more tests.
31861
c0df8e69
JM
31862 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31863 negating x to take absolute value.
31864 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31865 Likewise.
31866 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31868 Likewise.
31869 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31870 computing low part if x was negated.
31871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31872
c8e43ba7
L
318732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31874
31875 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31876 la_x32_gnu_pltexit.
31877 (pltexit): Cast int_retval to ptrdiff_t.
31878 * elf/tst-auditmod3b.c: Likewise.
31879 * elf/tst-auditmod4b.c: Likewise.
31880 * elf/tst-auditmod5b.c: Likewise.
31881 * elf/tst-auditmod6b.c: Likewise.
31882 * elf/tst-auditmod6c.c: Likewise.
31883 * elf/tst-auditmod7b.c: Likewise.
31884
31885 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31886 and x32_gnu_pltexit.
31887
31888 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31889 __ELF_NATIVE_CLASS.
31890 (La_x32_regs): New macro.
31891 (La_x32_retval): Likewise.
31892 (la_x32_gnu_pltenter): New function prototype.
31893 (la_x32_gnu_pltexit): Likewise.
31894
7998fa78
AS
318952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31896
dcb33988
AS
31897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31898 exponent.
31899
233fc563
AS
31900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31901
7998fa78
AS
31902 * configure.in (libc_cv_cc_nofma): Check for option to disable
31903 generation of FMA instructions.
31904 * configure: Regenerate.
31905 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31906 * sysdeps/ieee754/dbl-64/Makefile: New file.
31907 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31908 Remove brandred-fma4.
31909 (CFLAGS-brandred-fma4.c): Remove.
31910 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31912 define.
31913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31914 define.
31915
8e95c99a
L
319162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31917
31918 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31919 LLONG_MAX != LONG_MAX.
31920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31921 (_fitoa_word): Likewise.
31922 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31923 LLONG_MAX != LONG_MAX.
31924 * stdio-common/_itowa.h: Include <_itoa.h>.
31925 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31926 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31927 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31928 only if not defined.
31929 (_ITOA_WORD_TYPE): Likewise.
31930 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31931 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31932
6f4db457
DM
319332012-03-21 David S. Miller <davem@davemloft.net>
31934
31935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31936
7785fe5a
L
319372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31938
31939 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31940 of x86_64 when setting libc_cv_slibdir, libdir and
31941 libc_cv_localedir.
31942 * sysdeps/unix/sysv/linux/configure: Regenerated.
31943
4535cd55
JM
319442012-03-21 Joseph Myers <joseph@codesourcery.com>
31945
31946 * manual/lang.texi (Old Varargs): Remove section.
31947 (How Variadic): Update menu.
31948 (va_start): Do not mention varargs.h.
31949
17228132
TS
319502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31951 Joseph Myers <joseph@codesourcery.com>
31952
31953 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31954 link test.
31955 * configure: Regenerated.
31956
8149f976
TS
319572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31958
05f3d1f6
UD
31959 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31960 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31961 conformtest.pl
8149f976 31962
1a4ac776
JM
319632012-03-21 Joseph Myers <joseph@codesourcery.com>
31964
be22ce65
JM
31965 * NOTES: Remove.
31966 * Makefile (files-for-dist): Remove NOTES.
31967 (NOTES): Remove rule.
31968 * README: Don't refer to NOTES.
31969 * manual/creature.texi: Don't include macros.texi.
31970 * manual/intro.texi (creature.texi): Remove comment referring to
31971 NOTES.
31972
40b601fb
JM
31973 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31974 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31975 * configure: Regenerated.
31976 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31977 LIBC_TRY_CC_OPTION.
31978 (libc_cv_as_i686): Likewise.
31979 (libc_cv_cc_avx): Likewise.
31980 (libc_cv_cc_sse2avx): Likewise.
31981 (libc_cv_cc_fma4): Likewise.
31982 (libc_cv_cc_novzeroupper): Likewise.
31983 * sysdeps/i386/configure: Regenerated.
31984
1a4ac776
JM
31985 [BZ #13883]
31986 * sysdeps/i386/fpu/s_cexp.S: Remove.
31987 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31989 * math/libm-test.inc (cexp_test): Add more tests.
31990 * sysdeps/i386/fpu/libm-test-ulps: Update.
31991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31992
a458e7fe
AM
319932012-03-21 Allan McRae <allan@archlinux.org>
31994
31995 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31996
0cb7efc5
JM
319972012-03-21 Joseph Myers <joseph@codesourcery.com>
31998
31999 [BZ #13871]
32000 * math/w_exp2.c: Do not include <float.h>.
32001 (o_threshold, u_threshold): Remove.
32002 (__exp2): Calculate result before checking finiteness and calling
32003 __kernel_standard.
32004 * math/w_exp2f.c: Likewise.
32005 * math/w_exp2l.c: Likewise.
32006 * math/libm-test.inc (exp2_test): Require overflow exception for
32007 1e6 input.
2460d3aa
JM
32008
32009 [BZ #3866]
32010 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32011 range of signed 64-bit integers before using fistpll. Remove
32012 checks for whether integers fit in mantissa bits.
32013 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32014 the range of signed 32-bit integers before using fistpl. Remove
32015 checks for whether integers fit in mantissa bits.
32016 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32017 (__ieee754_powl): Test for y outside the range of signed 64-bit
32018 integers before using fistpll. Reduce 64-bit values to 63-bit
32019 ones as needed.
32020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32021 divide-by-zero is raised for zero to large negative powers.
32022 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32023 (__ieee754_powl): Test for y outside the range of signed 64-bit
32024 integers before using fistpll. Reduce 64-bit values to 63-bit
32025 ones as needed.
32026 * math/libm-test.inc (pow_test): Add more tests.
32027
eb96ffb0
L
320282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32029
32030 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32031 <stdio-common/_itoa.h>.
32032 * debug/segfault.c: Likewise.
32033 * elf/dl-cache.c: Likewise.
32034 * elf/dl-minimal.c: Likewise.
32035 * elf/dl-misc.c: Likewise.
32036 * elf/dl-sysdep.c: Likewise.
32037 * elf/dl-version.c: Likewise.
32038 * elf/rtld.c: Likewise.
32039 * hurd/hurdsock.c: Likewise.
32040 * hurd/lookup-retry.c: Likewise.
32041 * malloc/malloc.c: Likewise.
32042 * malloc/mtrace.c: Likewise.
32043 * nscd/nscd_getgr_r.c: Likewise.
32044 * nscd/nscd_getpw_r.c: Likewise.
32045 * nscd/nscd_getserv_r.c: Likewise.
32046 * posix/getopt_init.c: Likewise.
32047 * posix/wordexp.c: Likewise.
32048 * stdio-common/_itoa.c: Likewise.
32049 * stdio-common/printf_fphex.c: Likewise.
32050 * stdio-common/vfprintf.c: Likewise.
32051 * string/_strerror.c: Likewise.
32052 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32053 * sysdeps/i386/i686/hp-timing.h: Likewise.
32054 * sysdeps/mach/_strerror.c: Likewise.
32055 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32056 * sysdeps/mach/hurd/sethostid.c: Likewise.
32057 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32058 * sysdeps/mach/xpg-strerror.c: Likewise.
32059 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32060 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32061 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32062 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32063 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32064 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32066 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32067 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32068 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32069 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32070 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32071 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32072 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32073 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32074 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32075 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32076 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32077 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32078 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32080
32081 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32082
32083 * stdio-common/_itoa.h: Moved to ...
32084 * sysdeps/generic/_itoa.h: Here.
32085
32086 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32087
32088 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32089 instead of "_itoa.h" and "_itowa.h".
32090 * stdio-common/vfprintf.: Likewise.
32091
d1af992d
L
320922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32093
32094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32095 <bits/wordsize.h>.
32096 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32097 (__signbit): Likwise.
32098 (llrintf): Likwise.
32099 (llrint): Likwise.
32100
114883e0
L
321012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32102
32103 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32104 __WORDSIZE != 64.
32105
c135cc1b
JM
321062012-03-20 Joseph Myers <joseph@codesourcery.com>
32107
32108 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32109 OVERFLOW_EXCEPTION_OK.
32110 * math/libm-test.inc ("Philosophy"): Update comment about
32111 exception testing.
32112 (OVERFLOW_EXCEPTION): Define.
32113 (OVERFLOW_EXCEPTION_OK): Likewise.
32114 (INVALID_EXCEPTION_OK): Renumber.
32115 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32116 (IGNORE_ZERO_INF_SIGN): Likewise.
32117 (test_exceptions): Handle FE_OVERFLOW.
32118 (exp10_test): Expect overflow exceptions.
32119 (exp2_test): Likewise.
32120 (expm1_test): Likewise.
32121 (nextafter_test): Likewise.
32122 (pow_test): Likewise.
32123 (scalbn_test): Likewise.
32124 (scalbln_test): Likewise.
32125
95443d88
L
321262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * sysdeps/x86_64/bits/atomic.h
32129 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32130 64bit integer.
32131 (atomic_exchange_acq): Likewise.
32132 (__arch_exchange_and_add_body): Likewise.
32133 (__arch_add_body): Likewise.
32134 (atomic_add_negative): Likewise.
32135 (atomic_add_zero): Likewise.
32136
490df6c4
L
321372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32138
c2722551 32139 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32140 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32141
5e52b189
L
321422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32145 Check __x86_64__ instead of __WORDSIZE.
32146
a9879d4c
L
321472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32150
5df98260
DM
321512012-03-19 David S. Miller <davem@davemloft.net>
32152
e1497744
DM
32153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32154
5df98260
DM
32155 * sysdeps/sparc/fpu/fenv_private.h: New file.
32156 * sysdeps/sparc/fpu/math_private.h: Use it.
32157 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32158 Remove.
32159 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32160 (libc_feholdexcept_setroundl): Remove.
32161 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32162 Remove.
32163 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32164 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32165
b4c35121
L
321662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32167
32168 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32169 int64_t instead of long int.
32170 (INSERT_WORDS64): Likwise.
32171
56965fd7
L
321722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32173
32174 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32175 _Unwind_GetCFA return to _Unwind_Ptr first.
32176
83d1aec8
JM
321772012-03-19 Joseph Myers <joseph@codesourcery.com>
32178
1897ad44
JM
32179 [BZ #13629]
32180 * math/s_clog.c: Include <float.h>.
32181 (__clog): Scale large or subnormal inputs.
32182 * math/s_clogf.c: Likewise.
32183 * math/s_clogl.c: Likewise.
32184 * math/s_clog10.c: Include <float.h>.
32185 (M_LOG10_2): Define.
32186 (__clog10): Scale large or subnormal inputs.
32187 * math/s_clog10f.c: Likewise.
32188 * math/s_clog10l.c: Likewise.
32189 * math/libm-test.inc (clog_test): Add more tests.
32190 (clog10_test): Likewise.
32191 * sysdeps/i386/fpu/libm-test-ulps: Update.
32192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32193
7726d6a9
JM
32194 [BZ #11451]
32195 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32196 x and y.
32197 * math/libm-test.inc (atan2_test): Add another test.
32198
83d1aec8
JM
32199 * Makerules (common-objdir-compile): Remove.
32200 * sysdeps/unix/Makefile (config-generated): Do not add
32201 $(unix-generated) to variable.
32202 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32203 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32204 Remove rule.
32205 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32206 Likewise.
32207 [generic bits/local_lim.h] (before-compile): Do not append to
32208 variable.
32209 [generic bits/local_lim.h] (common-generated): Likewise.
32210 [generic sys/param.h] (before-compile): Do not append to variable.
32211 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32212 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32213 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32214 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32215 include.
32216 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32217 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32218 [generic sys/param.h] ($(addprefix
32219 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32220 [generic sys/param.h] (common-generated): Do not append to
32221 variable.
32222 [generic sys/param.h] (sysdep_headers): Likewise.
32223 [generic bits/errno.h] (before-compile): Do not append to
32224 variable.
32225 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32226 rule.
32227 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32228 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32229 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32230 [generic bits/errno.h] (common-generated): Do not append to
32231 variable.
32232 [generic bits/ioctls.h] (before-compile): Do not append to
32233 variable.
32234 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32235 rule.
32236 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32237 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32238 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32239 rule.
32240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32241 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32242 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32243 [generic bits/ioctls.h] (common-generated): Do not append to
32244 variable.
32245 [generic sys/syscall.h] (syscall.h): Remove variable.
32246 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32247 rule.
32248 [generic sys/syscall.h] (before-compile): Do not append to
32249 variable.
32250 [generic sys/syscall.h] (common-generated): Likewise.
32251 * sysdeps/unix/errnos-tmpl.c: Remove file.
32252 * sysdeps/unix/errnos.awk: Likewise.
32253 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32254 * sysdeps/unix/ioctls.awk: Likewise.
32255 * sysdeps/unix/mk-local_lim.c: Likewise.
32256 * sysdeps/unix/snarf-ioctls: Likewise.
32257
4851a949
RH
322582012-03-19 Richard Henderson <rth@twiddle.net>
32259
bd37f2ee
RH
32260 * sysdeps/i386/fpu/fenv_private.h: New file.
32261 * sysdeps/i386/fpu/math_private.h: Use it.
32262 (math_opt_barrier, math_force_eval): Remove.
32263 (libc_feholdexcept_setround_53bit): Remove.
32264 (libc_feupdateenv_53bit): Remove.
32265 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32266 (math_opt_barrier, math_force_eval): Remove.
32267 (libc_feholdexcept): Remove.
32268 (libc_feholdexcept_setround): Remove.
32269 (libc_fetestexcept, libc_fesetenv): Remove.
32270 (libc_feupdateenv_test): Remove.
32271 (libc_feupdateenv, libc_feholdsetround): Remove.
32272 (libc_feresetround): Remove.
32273
d0adc922
RH
32274 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32275 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32276
0fe0f1f8
RH
32277 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32278 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32279 (libc_feupdateenv_testl): New.
32280 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32281 (libc_feupdateenv_testf): New.
32282 (libc_feupdateenv): Use libc_feupdateenv_test.
32283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32285
eb92c487
RH
32286 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32287 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32288 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32289 (libc_feresetround_noex): New.
32290 (libc_feresetround_noexf): New.
32291 (libc_feresetround_noexl): New.
32292 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32293 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32294 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32295 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32296 SET_RESTORE_ROUND.
32297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32299 (__cos): Likewise.
32300 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32302 SET_RESTORE_ROUND_NOEX.
32303 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32304 SET_RESTORE_ROUND_NOEXF.
32305 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32306 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32307 (libc_feholdsetroundf): New.
32308 (libc_feresetround, libc_feresetroundf): New.
32309
7d2e8012
RH
32310 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32311 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32312 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32313
b4dabbb4
RH
32314 * sysdeps/generic/math_private.h: Include <fenv.h>.
32315 (default_libc_feholdexcept): New.
32316 (default_libc_feholdexcept_setround): New.
32317 (default_libc_fesetenv, default_libc_feupdateenv): New.
32318 (libc_feholdexcept): Only define if undefined.
32319 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32321 (libc_feholdexcept_setroundl): Likewise.
32322 (libc_feholdexcept_setround_53bit): Likewise.
32323 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32326 (libc_feupdateenv_53bit): Likewise.
32327 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32328 (libc_feholdexcept): Convert from macro to inline function.
32329 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32330 (libc_fesetenv, libc_feupdateenv): Likewise.
32331
4851a949
RH
32332 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32333 not previously defined.
32334 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32335 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32336 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32337 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32338 * sysdeps/ieee754/flt-32/math_private.h: New file.
32339 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32340 math_private.h below SET_FLOAT_WORD.
32341 (__isnan, __isinf_ns, __finite): Remove.
32342 (__isnanf, __isinf_nsf, __finitef): Remove.
32343
e79d442e
AS
323442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32345
32346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32347
90b80344
DM
323482012-03-17 David S. Miller <davem@davemloft.net>
32349
32350 [BZ #6471]
32351 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32352 for 2.16.
32353
edc21804
DM
323542012-03-16 David S. Miller <davem@davemloft.net>
32355
77e927af
DM
32356 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32357 warnings.
32358
374976dd
DM
32359 [BZ #6471]
32360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32361 properly.
32362 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32363 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32364 sysdep_routines when subdir is sysvipc.
32365 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32366 __getshmlba helper.
32367
edc21804
DM
32368 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32369
473c3ef3
L
323702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32373 [__LP64__].
32374
eb0f39b6
L
323752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32378 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32379 (__lround): Renamed to ...
32380 (__llround): This. Replace long int with long long int.
32381 Define lround functions as aliases of llround functions.
32382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32383
6b6cd74b
L
323842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32385
32386 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32387 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32388 adresses to uintptr_t. Replace "long int" and "unsigned long
32389 int" with "greg_t" on va_arg.
32390
f1a77b01
L
323912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32392
32393 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32394 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32395
32396 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32397 Move e_machine check before EI_CLASS check. Handle x32
32398 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32399 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32400 SKIP_EM_IA_64 and include
32401 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32402
32403 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32404 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32405 (add_system_dir): New macro.
32406
32407 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32408 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32409
11b90b9f
JM
324102012-03-16 Joseph Myers <joseph@codesourcery.com>
32411
c36e1d23
JM
32412 [BZ #2551]
32413 [BZ #2552]
32414 [BZ #2553]
32415 [BZ #2554]
32416 [BZ #2562]
32417 [BZ #2563]
32418 [BZ #2565]
32419 [BZ #2566]
32420 [BZ #2576]
32421 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32422 (y0): Likewise.
32423 * math/w_j0f.c (j0f): Likewise.
32424 (y0f): Likewise.
32425 * math/w_j0l.c (__j0l): Likewise.
32426 (__y0l): Likewise.
32427 * math/w_j1.c (j1): Likewise.
32428 (y1): Likewise.
32429 * math/w_j1f.c (j1f): Likewise.
32430 (y1f): Likewise.
32431 * math/w_j1l.c (__j1l): Likewise.
32432 (__y1l): Likewise.
32433 * math/w_jn.c (jn): Likewise.
32434 (yn): Likewise.
32435 * math/w_jnf.c (jnf): Likewise.
32436 (ynf): Likewise.
32437 * math/w_jnl.c (__jnl): Likewise.
32438 (__ynl): Likewise.
32439 * math/libm-test.inc (j0_test): Add more tests.
32440 (j1_test): Likewise.
32441 (jn_test): Likewise. Add trailing semicolon to existing test.
32442 (y0_test): Likewise.
32443 (y1_test): Likewise.
32444 * sysdeps/i386/fpu/libm-test-ulps: Update.
32445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32446
11b90b9f
JM
32447 [BZ #13851]
32448 [BZ #13854]
32449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32450 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32451 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32452 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32453 (__tanl): Set errno for infinite argument.
32454 * sysdeps/i386/fpu/mptan.c: Remove.
32455 * sysdeps/i386/fpu/s_tan.S: Likewise.
32456 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32457 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32458 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32459 * math/libm-test.inc (tan_test): Add more tests and enable more
32460 tests for double and long double.
32461 * sysdeps/i386/fpu/libm-test-ulps: Update.
32462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32463
6a1bd2a1
JK
324642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32465
32466 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32467 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32468
10a803e0
RM
324692012-03-16 Roland McGrath <roland@hack.frob.com>
32470
32471 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32472 * configure.in: Use it for both main tree and add-ons.
32473 * configure: Regenerated.
32474
f196c7f7
L
324752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32476
32477 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32478
8848d99d
JM
324792012-03-16 Joseph Myers <joseph@codesourcery.com>
32480
96cbe7f4
JM
32481 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32482 in comment.
32483
8848d99d
JM
32484 [BZ #13851]
32485 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32486 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32487 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32488 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32489 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32490 infinite argument.
32491 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32493 != 0 for prec == 2.
32494 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32495 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32496 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32497 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32498 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32499 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32500 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32501 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32502 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32503 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32504 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32505 * math/libm-test.inc (cos_test): Add more tests and enable more
32506 tests for long double.
32507 (sin_test): Likewise.
32508 (sincos_test): Likewise.
32509 * sysdeps/i386/fpu/libm-test-ulps: Update.
32510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32511
dd7f4703
DM
325122012-03-16 David S. Miller <davem@davemloft.net>
32513
32514 * sysdeps/sparc/fpu/math_private.h: New file.
32515
006f1daa
DM
325162012-03-15 David S. Miller <davem@davemloft.net>
32517
c0c83bc8
DM
32518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32519 file.
e6a62e18 32520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32522 file.
e6a62e18
DM
32523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32528 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32529 sysdep routines.
32530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32531
88cb87d9
DM
32532 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32533 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32534
006f1daa 32535 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32537 sparc-ifunc.h
006f1daa 32538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32540 Likewise.
32541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32542 Likewise.
006f1daa
DM
32543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32547 Likewise.
006f1daa
DM
32548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32553 Likewise.
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32555 Likewise.
006f1daa
DM
32556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32580
11e0098e
AS
325812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32582
32583 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32584 scaling.
32585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32586
e85b09d0
AJ
325872012-03-15 Andreas Jaeger <aj@suse.de>
32588
32589 [BZ #13852]
32590 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32591 ieee754/flt-32 implementation for sin, cos and sincos.
32592 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32593 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32594 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32595 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32596 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32597 ieee754/flt-32 implementation for tan.
32598
32599 * math/libm-test.inc (cos_test): Enable some large input tests for
32600 float as well
32601 (sin_test): Likewise.
32602 (sincos_test): Likewise.
32603 (tan_test): Add tests for large input.
32604
32605 * sysdeps/i386/fpu/libm-test-ulps: Update.
32606
81c64153
AJ
326072012-03-15 Andreas Jaeger <aj@suse.de>
32608
32609 [BZ #13658]
32610 * math/libm-test.inc (cos_test): Add more test cases.
32611 (sin_test): Likewise.
32612 (sincos_test): Likewise.
32613
7bbfa5c6
AJ
326142012-03-15 Andreas Jaeger <aj@suse.de>
32615
32616 [BZ #13837]
32617 * math/libm-test.inc (cos_test): Add a test case for large input
32618 value.
32619 (sin_test): Likewise.
32620 (sincos_test): Likewise.
32621
326222012-03-15 Andreas Jaeger <aj@suse.de>,
32623 Joseph Myers <joseph@codesourcery.com>
32624
32625 [BZ #13658]
0671f479 32626 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32627 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32628 * sysdeps/i386/fpu/branred.c: Likewise.
32629 * sysdeps/i386/fpu/dosincos.c: Likewise.
32630 * sysdeps/i386/fpu/mpa.c: Likewise.
32631 * sysdeps/i386/fpu/s_cos.S: Likewise.
32632 * sysdeps/i386/fpu/s_sin.S: Likewise.
32633 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32634 * sysdeps/i386/fpu/sincos32.c: Likewise.
32635
32636 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32637 Define.
32638 (libc_feupdateenv_53bit): Define.
32639 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32640 Define.
32641 (libc_feupdateenv_53bit): Define.
32642
32643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32644 53 bit (without extend i386 double precision).
32645
32646 * math/libm-test.inc (sincos_test): Add tests for large input.
32647 (sin): Likewise.
32648 (cos): Likewise.
32649
32650 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32651
9cad04ea
AS
326522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32653
32654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32655
f7062b9a
DM
326562012-03-15 David S. Miller <davem@davemloft.net>
32657
32658 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32659 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32660 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32661 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32674 file.
f7062b9a 32675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32677 file.
f7062b9a 32678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32680 file.
f7062b9a 32681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32683 file.
f7062b9a
DM
32684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32686 fmin/fmax sysdep routines.
32687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32688
7bd951ff
DM
326892012-03-14 David S. Miller <davem@davemloft.net>
32690
559398ab
DM
32691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32720 routines.
32721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32722 file.
559398ab 32723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32725 file.
559398ab 32726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32728 file.
559398ab 32729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32731 file.
559398ab 32732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32734 file.
559398ab 32735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32737 file.
32738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32739 file.
32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32741 file.
32742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32743 file.
32744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32745 New file.
32746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32747 file.
32748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32749 file.
559398ab 32750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32752 file.
559398ab 32753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32755 file.
559398ab 32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32758 file.
559398ab 32759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32761 VIS3 routines.
559398ab
DM
32762
32763 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32764 New file.
32765
5a1c1e32
DM
32766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32767
eae47a36
DM
32768 * sysdeps/sparc/configure.in: New file.
32769 * sysdeps/sparc/configure: Generate.
32770 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32771 * configure: Regenerate.
32772 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32773 * config.make.in (have-as-vis3): New.
32774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32775 available use -Av9d instead of -Av9a.
32776 * sysdeps/sparc/sparc64/Makefile: Likewise.
32777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32779 New file.
32780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32781 file.
32782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32783 New file.
32784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32785 file.
eae47a36
DM
32786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32791
c0c83bc8
DM
32792 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32793 fzeros/fnegs to load 0x80000000 into a float register instead of
32794 using the stack.
7bd951ff
DM
32795 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32796
bd951ccb
JM
327972012-03-14 Joseph Myers <joseph@codesourcery.com>
32798
32799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32800 bits/syscall.h.
32801 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32802 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32803 ($(inst_includedir)/bits/syscall.h): Remove rule.
32804 ($(objpfx)bits/syscall.d): Include instead of
32805 $(objpfx)syscall-list.d.
32806 (generated): Change syscall-list.h and syscall-list.d to
32807 bits/syscall.h and bits/syscall.d.
32808
bb4e6db2
RM
328092012-03-14 Roland McGrath <roland@hack.frob.com>
32810
32811 [BZ #13846]
32812 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32813
aa4a2ae1
JM
328142012-03-14 Joseph Myers <joseph@codesourcery.com>
32815
e456826d
JM
32816 [BZ #13841]
32817 * math/s_csqrt.c: Include <float.h>.
32818 (__csqrt): Scale large or subnormal inputs.
32819 * math/s_csqrtf.c: Likewise.
32820 * math/s_csqrtl.c: Likewise.
32821 * math/libm-test.inc (csqrt_test): Add more tests.
32822 * sysdeps/i386/fpu/libm-test-ulps: Update.
32823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32824
aa4a2ae1
JM
32825 [BZ #13840]
32826 * math/libm-test.inc (hypot_test): Add more tests.
32827
7c10fd35
DM
328282012-03-13 David S. Miller <davem@davemloft.net>
32829
32830 [BZ #13840]
32831 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32832 double-precision for the calculation instead of scaling.
32833
f453b98b
JM
328342012-03-13 Joseph Myers <joseph@codesourcery.com>
32835
32836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32837 manipulate bits before adding and subtracting TWO52[sx].
32838 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32840 Likewise.
32841 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32842
09a3453f
DM
328432012-03-13 David S. Miller <davem@davemloft.net>
32844
8e59da90
DM
32845 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32846 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32848 rtld-global-offsets.h
32849 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32850
2a8ab7f2
DM
32851 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32852 large parameters.
32853
10f62770
DM
32854 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32855
5f0bdb18
DM
32856 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32857 'err' in the ifdef scope in which it is actually used.
32858
09a3453f
DM
32859 * nss/nss_db/db-init.c: Include string.h
32860
b4b2eb5e
DM
328612012-03-12 David S. Miller <davem@davemloft.net>
32862
98bb2f1c
DM
32863 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32864 masking out of the most significant byte of random value used.
32865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32866 Fix coding style in previous change.
32867
b4b2eb5e
DM
32868 * sysdeps/unix/sysv/linux/kernel-features.h
32869 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32870 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32871 expression.
32872 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32873 later.
32874
6e226b09
DM
328752012-03-11 David S. Miller <davem@davemloft.net>
32876
a1bcbd40
DM
32877 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32878 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32880 for 'resultvar' otherwise things get truncated on 64-bit.
32881
cb9d6174
DM
32882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32883 Fix masking out of the most significant byte of random value used.
32884
6e226b09
DM
32885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32886
058c132d
AS
328872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32888
32889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32890
2d2cd515
DM
328912012-03-09 David S. Miller <davem@davemloft.net>
32892
32893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32894 variables with appropriate CPP guards.
32895 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32896 frame pointer, not the stack pointer. Correct layout comments. Fix test
32897 on resulting framesize and the management of the outregs buffer for pltexit.
32898 Preserve floating point return values across _dl_call_pltexit call.
32899 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32900 framesize and the management of the outregs buffer for pltexit.
32901 Preserve floating point return values across _dl_call_pltexit
32902 call.
32903 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32904 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32905 (print_exit): Fix format string for return register value.
32906
9a07f9d0
JM
329072012-03-10 Joseph Myers <joseph@codesourcery.com>
32908
32909 * sunrpc/Makefile (others): Add rpcgen.
32910 ($(objpfx)rpcgen): Remove special build rule and dependency on
32911 libc.
32912 * sunrpc/rpcgen.c: New file.
32913
547b5e30
PE
329142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32915
c524201a
PE
32916 [BZ #13673]
32917 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32918 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32919 * sysdeps/i386/crti.S: Likewise.
32920 * sysdeps/i386/crtn.S: Likewise.
32921 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32922 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32923 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32924 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32925 * sysdeps/sh/crti.S: Likewise.
32926 * sysdeps/sh/crtn.S: Likewise.
32927 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32928
7b6235f2
PE
32929 [BZ #13673]
32930 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32931 with URL.
32932 * locale/programs/locfile-kw.gperf: Likewise.
32933 * locale/programs/charmap-kw.h: Regenerated.
32934 * locale/programs/locfile-kw.h: Likewise.
32935
547b5e30
PE
32936 [BZ #13673]
32937 * intl/plural.y: Replace FSF snail mail address with URL.
32938 * intl/plural.c: Regenerated.
32939
5f0a5dae
RH
329402012-03-09 Richard Henderson <rth@twiddle.net>
32941
32942 * include/math_private.h: Remove file.
32943 * math/math_private.h: Move file ...
32944 * sysdeps/generic/math_private.h: ... here.
32945
b8c03620
RH
32946 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32947 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32948 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32949
4e234f5d 32950 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32951 and <math_private.h>.
32952 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32953 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32954 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32955 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32956 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33071 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33080 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33081 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33084 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33086 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33091 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33095 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33096 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33098 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33099 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33100 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33101 * sysdeps/ieee754/k_standard.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33262 * sysdeps/ieee754/s_lib_version.c: Likewise.
33263 * sysdeps/ieee754/s_matherr.c: Likewise.
33264 * sysdeps/ieee754/s_signgam.c: Likewise.
33265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33268 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33271 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33272 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33273 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33274 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33275 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33276 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33279 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33282 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33286
1991fa03
JM
332872012-03-09 Joseph Myers <joseph@codesourcery.com>
33288
33289 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33290 * sunrpc/rpc_main.c: Likewise.
33291 * sunrpc/rpc_svcout.c: Likewise.
33292
60d6f5a6
DM
332932012-03-09 David S. Miller <davem@davemloft.net>
33294
33295 * include/math_private.h: New file.
33296
4962050e
JM
332972012-03-09 Joseph Myers <joseph@codesourcery.com>
33298
02a6f887
JM
33299 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33300 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33301 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33302 from <bits/socket_type.h>.
33303 (enum __socket_type): Don't define here.
33304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33306 bits/socket_type.h.
33307
c6e013c1
JM
33308 [BZ #13566]
33309 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33310 checking __USE_GNU.
33311
4962050e
JM
33312 * Makerules ($(inst_includedir)/%.h): New rule.
33313 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33314 (install-others): Remove variable setting.
33315 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33316
38842f45
RH
333172012-03-08 Richard Henderson <rth@twiddle.net>
33318
67bb6da6
RH
33319 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33320 from macro to inline function; merge with the
33321 !__LIBC_INTERNAL_MATH_INLINES version.
33322 (__ieee754_sqrtf): Likewise.
33323
15194b4b
RH
33324 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33325 to inline function.
33326 (__rintf, __floor, __floorf): Likewise.
33327
64e21ede
RH
33328 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33329 macro to inline function.
33330 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33331
38842f45
RH
33332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33333 not <math/math_private.h>.
33334
c64bf5fe
DM
333352012-03-08 David S. Miller <davem@davemloft.net>
33336
33337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33338 copyright year.
33339 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33340
82d86f28
TS
333412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33342
33343 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33344 normalization.
33345 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33346 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33347
aea5d727
UD
333482012-03-08 Ulrich Drepper <drepper@gmail.com>
33349
33350 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33351 be defined individually, they must be defined as a block. Define
33352 S for printing a string instead of hidint the different by using a
33353 macro for adding the 'l'.
33354 * stdio-common/tst-fphex-wide.c: Adjust.
33355
70bca0a3
MP
333562012-03-07 Marek Polacek <polacek@redhat.com>
33357
33358 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33359
65b81130
MP
333602012-03-08 Marek Polacek <polacek@redhat.com>
33361
33362 [BZ #13806]
33363 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33364 * stdio-common/tst-fphex.c: Define a few macros to make the
33365 test reusable. Use them.
33366 * stdio-common/tst-fphex-wide.c: New file.
33367
07037eeb
JM
333682012-03-08 Joseph Myers <joseph@codesourcery.com>
33369
a7a93d50
JM
33370 [BZ #6911]
33371 * manual/macros.texi (gnusystems): New macro.
33372 (nongnusystems): Likewise.
33373 (gnulinuxhurdsystems): Likewise.
33374 (gnuhurdsystems): Likewise..
33375 (gnulinuxsystems): Likewise.
33376 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33377 variants of the GNU system, not "GNU system".
33378 * manual/conf.texi: Likewise.
33379 * manual/errno.texi: Likewise. Update example of errno macro
33380 expansion.
33381 * manual/filesys.texi: Likewise.
33382 (getumask): Document as specific to GNU/Hurd.
33383 * manual/install.texi: Likewise. Reword some references to
33384 GNU/Linux.
33385 * manual/intro.texi: Likewise.
33386 * manual/io.texi: Likewise.
33387 (File Name Portability): Detail which constraints are inapplicable
33388 to all GNU systems and which are only inapplicable to GNU/Hurd.
33389 * manual/job.texi: Likewise.
33390 * manual/llio.texi: Likewise.
33391 (O_NOCTTY): Document as present on GNU/Linux.
33392 * manual/maint.texi: Likewise.
33393 * manual/memory.texi: Likewise.
33394 * manual/pattern.texi: Likewise.
33395 * manual/pipe.texi: Likewise.
33396 * manual/process.texi: Likewise.
33397 * manual/resource.texi: Likewise.
33398 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33399 child on GNU/Hurd.
33400 * manual/setjmp.texi: Likewise.
33401 * manual/signal.texi: Likewise.
33402 * manual/startup.texi: Likewise.
33403 * manual/stdio.texi: Likewise.
33404 * manual/terminal.texi: Likewise.
33405 (ONLCR): Document as POSIX.
33406 (OXTABS): Document availability on GNU/Linux as XTABS.
33407 (ONOEOT): Document availability separately from other bits.
33408 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33409 * manual/time.texi: Likewise.
33410 * manual/users.texi: Likewise.
33411 * INSTALL: Regenerated.
33412 * sysdeps/gnu/errlist.c: Regenerated.
33413
07037eeb
JM
33414 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33415 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33416 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33417 puts.
33418 * configure: Regenerated.
33419
d1d3431a
JM
334202012-03-07 Joseph Myers <joseph@codesourcery.com>
33421
af6a1e37
JM
33422 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33423 default includes instead of AC_HEADER_CHECK.
33424 * sysdeps/i386/configure: Regenerated.
33425
d1d3431a
JM
33426 [BZ #10716]
33427 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33428 * math/s_cacoshf.c (__cacoshf): Likewise.
33429 * math/s_cacoshl.c (__cacoshl): Likewise.
33430 * math/s_casinh.c (__casinh): Set signs of result from argument.
33431 * math/s_casinhf.c (__casinhf): Likewise.
33432 * math/s_casinhl.c (__casinhl): Likewise.
33433 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33434 (casinh_test): Add more tests.
33435 * sysdeps/i386/fpu/libm-test-ulps: Update.
33436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33437
482ff4da
UD
334382012-03-07 Ulrich Drepper <drepper@gmail.com>
33439
872fda05
UD
33440 * po/zh_TW.po: Update from translation team.
33441
a4300c7a
UD
33442 * login/Makefile (distribute): Remove variable.
33443 * catgets/Makefile: Likewise.
33444 * mach/Makefile: Likewise.
33445 * malloc/Makefile: Likewise.
33446 * misc/Makefile: Likewise.
33447 * iconv/Makefile: Likewise.
33448 * nscd/Makefile: Likewise.
33449 * hurd/Makefile: Likewise.
33450 * manual/Makefile: Likewise.
33451 * locale/Makefile: Likewise.
33452 * intl/Makefile: Likewise.
33453 * conform/Makefile: Likewise.
33454 * nss/Makefile: Likewise.
33455 * time/Makefile: Likewise.
33456 * soft-fp/Makefile: Likewise.
33457 * dirent/Makefile: Likewise.
33458 * gmon/Makefile: Likewise.
33459 * po/Makefile: Likewise.
33460 * rt/Makefile: Likewise.
33461 * socket/Makefile: Likewise.
33462 * math/Makefile: Likewise.
33463 * signal/Makefile: Likewise.
33464 * debug/Makefile: Likewise.
33465 * elf/Makefile: Likewise.
33466 * timezone/Makefile: Likewise.
33467 * stdlib/Makefile: Likewise.
33468 * iconvdata/Makefile: Likewise.
33469 * sunrpc/Makefile: Likewise.
33470 * io/Makefile: Likewise.
33471 * argp/Makefile: Likewise.
33472 * inet/Makefile: Likewise.
33473 * hesiod/Makefile: Likewise.
33474 * grp/Makefile: Likewise.
33475 * csu/Makefile: Likewise.
33476 * wctype/Makefile: Likewise.
33477 * crypt/Makefile: Likewise.
33478 * libio/Makefile: Likewise.
33479 * string/Makefile: Likewise.
33480 * nis/Makefile: Likewise.
33481 * resolv/Makefile: Likewise.
33482 * stdio-common/Makefile: Likewise.
33483 * wcsmbs/Makefile: Likewise.
33484 * dlfcn/Makefile: Likewise.
33485 * posix/Makefile: Likewise.
33486
3b7c4e74 33487 [BZ #6959]
482ff4da
UD
33488 * timezone/Makefile: Don't install timezone files, just the programs
33489 and scripts.
33490
f72ed77d
UD
334912012-03-06 Ulrich Drepper <drepper@gmail.com>
33492
a000466f
UD
33493 * nss/databases.def: Add missing gshadow entry.
33494
f72ed77d
UD
33495 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33496
a53b7a4e
MP
334972012-03-06 Marek Polacek <polacek@redhat.com>
33498
33499 [BZ #13726]
33500 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33501 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33502 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33503 * stdio-common/tst-long-dbl-fphex.c: New file.
33504
e9258400
DM
335052012-03-06 David S. Miller <davem@davemloft.net>
33506
33507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33508 (set_obp_int): New function.
33509 (get_obp_int): New function.
33510 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33512 Avoid unused variable warnings on 'val' and use builtin_expect.
33513 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33514 __builtin_expect.
e9258400
DM
33515 (INLINE_CLONE_SYSCALL): Likewise.
33516
3bd2c723
DM
335172012-03-05 David S. Miller <davem@davemloft.net>
33518
33519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33520
bbb78d03
AS
335212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33522
884c5db4
AS
33523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33524
bbb78d03
AS
33525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33526 only for |x| >= 40.
33527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33528
1c9f702a 335292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33530
33531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33532 Replace gettimeofday with __vdso_gettimeofday.
33533
7be16f82
RM
33534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33535 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33536 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33537
33538 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33539 time with __vdso_time.
33540
ed58a00f
JM
335412012-03-05 Joseph Myers <joseph@codesourcery.com>
33542
33543 * manual/lang.texi (size_t): Note types to which size_t may be
33544 equivalent with the GNU C Library, but do not describe when
33545 differences between them are significant.
33546
30ee4ced
AJ
335472012-03-05 Andreas Jaeger <aj@suse.de>
33548
33549 * sysdeps/i386/fpu/libm-test-ulps: Update.
33550
b7cd39e8
JM
335512012-03-05 Joseph Myers <joseph@codesourcery.com>
33552
33553 [BZ #3976]
33554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33555 (__ieee754_pow): Save and restore rounding mode and use
33556 round-to-nearest for main computations.
33557 * math/libm-test.inc (pow_test_tonearest): New function.
33558 (pow_test_towardzero): Likewise.
33559 (pow_test_downward): Likewise.
33560 (pow_test_upward): Likewise.
33561 (main): Call the new functions.
33562 * sysdeps/i386/fpu/libm-test-ulps: Update.
33563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33564
33565 [BZ #3976]
33566 * math/libm-test.inc (cosh_test_tonearest): New function.
33567 (cosh_test_towardzero): Likewise.
33568 (cosh_test_downward): Likewise.
33569 (cosh_test_upward): Likewise.
33570 (sinh_test_tonearest): Likewise.
33571 (sinh_test_towardzero): Likewise.
33572 (sinh_test_downward): Likewise.
33573 (sinh_test_upward): Likewise.
33574 (main): Call the new functions.
33575 * sysdeps/i386/fpu/libm-test-ulps: Update.
33576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33577
6c6a98c9
TV
335782012-03-05 Tom de Vries <tom@codesourcery.com>
33579
33580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33581 default stack guard is set in last bytes.
33582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33583
21bb2d2e 335842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33585
21bb2d2e 33586 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33587
21bb2d2e
AJ
33588 [BZ #13656]
33589 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33590 possibly allocate from heap instead of stack.
33591 * stdio-common/bug-vfprintf-nargs.c: New file.
33592 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33593
c6922934
AS
335942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33595
33596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33597
bc957d53
MP
335982012-03-03 Marek Polacek <polacek@redhat.com>
33599
33600 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33601 * math/math_private.h: Likewise.
33602 * stdlib/tst-strtod.c: Likewise.
33603 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33604 * sysdeps/x86_64/bits/atomic.h: Likewise.
33605
6358490d
DM
336062012-03-02 David S. Miller <davem@davemloft.net>
33607
33608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33612 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33613 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33615 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33616
01ae168d
RM
336172012-03-02 Roland McGrath <roland@hack.frob.com>
33618
d9a17c07
RM
33619 [BZ #13792]
33620 * manual/examples/README: New file, says the example source files
33621 can be used under GPL>=2.
33622 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33623 line containing just "*/".
33624 * manual/examples/add.c: Add copyright header (GPL>=2).
33625 * manual/examples/argp-ex1.c: Likewise.
33626 * manual/examples/argp-ex2.c: Likewise.
33627 * manual/examples/argp-ex3.c: Likewise.
33628 * manual/examples/argp-ex4.c: Likewise.
33629 * manual/examples/atexit.c: Likewise.
33630 * manual/examples/db.c: Likewise.
33631 * manual/examples/dir.c: Likewise.
33632 * manual/examples/dir2.c: Likewise.
33633 * manual/examples/execinfo.c: Likewise.
33634 * manual/examples/filecli.c: Likewise.
33635 * manual/examples/filesrv.c: Likewise.
33636 * manual/examples/fmtmsgexpl.c: Likewise.
33637 * manual/examples/genpass.c: Likewise.
33638 * manual/examples/inetcli.c: Likewise.
33639 * manual/examples/inetsrv.c: Likewise.
33640 * manual/examples/isockad.c: Likewise.
33641 * manual/examples/longopt.c: Likewise.
33642 * manual/examples/memopen.c: Likewise.
33643 * manual/examples/memstrm.c: Likewise.
33644 * manual/examples/mkfsock.c: Likewise.
33645 * manual/examples/mkisock.c: Likewise.
33646 * manual/examples/mygetpass.c: Likewise.
33647 * manual/examples/pipe.c: Likewise.
33648 * manual/examples/popen.c: Likewise.
33649 * manual/examples/rprintf.c: Likewise.
33650 * manual/examples/search.c: Likewise.
33651 * manual/examples/select.c: Likewise.
33652 * manual/examples/setjmp.c: Likewise.
33653 * manual/examples/sigh1.c: Likewise.
33654 * manual/examples/sigusr.c: Likewise.
33655 * manual/examples/stpcpy.c: Likewise.
33656 * manual/examples/strdupa.c: Likewise.
33657 * manual/examples/strftim.c: Likewise.
33658 * manual/examples/strncat.c: Likewise.
33659 * manual/examples/subopt.c: Likewise.
33660 * manual/examples/swapcontext.c: Likewise.
33661 * manual/examples/termios.c: Likewise.
33662 * manual/examples/testopt.c: Likewise.
33663 * manual/examples/testpass.c: Likewise.
33664 * manual/examples/timeval_subtract.c: Likewise.
33665
01ae168d
RM
33666 [BZ #13792]
33667 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33668 function to ...
33669 * manual/timeval_subtract.c.texi: ... here, new file.
33670
49efa33d
DM
336712012-03-02 David S. Miller <davem@davemloft.net>
33672
33673 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33674
28afd92d
JM
336752012-03-02 Joseph Myers <joseph@codesourcery.com>
33676
804360ed
JM
33677 [BZ #3976]
33678 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33679 (__sin): Save and restore rounding mode and use round-to-nearest
33680 for all computations.
33681 (__cos): Save and restore rounding mode and use round-to-nearest
33682 for all computations.
33683 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33684 <fenv.h>.
33685 (tan): Save and restore rounding mode and use round-to-nearest for
33686 all computations.
33687 * math/libm-test.inc (cos_test_tonearest): New function.
33688 (cos_test_towardzero): Likewise.
33689 (cos_test_downward): Likewise.
33690 (cos_test_upward): Likewise.
33691 (sin_test_tonearest): Likewise.
33692 (sin_test_towardzero): Likewise.
33693 (sin_test_downward): Likewise.
33694 (sin_test_upward): Likewise.
33695 (tan_test_tonearest): Likewise.
33696 (tan_test_towardzero): Likewise.
33697 (tan_test_downward): Likewise.
33698 (tan_test_upward): Likewise.
33699 (main): Call the new functions.
33700 * sysdeps/i386/fpu/libm-test-ulps: Update.
33701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33702
a6d06d7b
JM
33703 [BZ #10135]
33704 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33705 small n, then large n, before computing and testing k+n.
33706 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33708 Likewise.
33709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33710 Likewise.
33711 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33712 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33719 * math/libm-test.inc (scalbn_test): Add more tests.
33720 (scalbln_test): Likewise.
33721
07e12bb3
JM
33722 * manual/filesys.texi (mode_t): Describe constraints on size and
33723 signedness, not exact equivalence to a particular type.
33724 (ino_t): Likewise.
33725 (ino64_t): Likewise.
33726 (dev_t): Likewise.
33727 (nlink_t): Likewise.
33728 (blkcnt_t): Likewise.
33729 (blkcnt64_t): Likewise.
33730 * manual/llio.texi (off_t): Likewise.
33731
28afd92d
JM
33732 [BZ #3976]
33733 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33734 (__ieee754_exp): Save and restore rounding mode and use
33735 round-to-nearest for all computations.
33736 * math/libm-test.inc (exp_test_tonearest): New function.
33737 (exp_test_towardzero): Likewise.
33738 (exp_test_downward): Likewise.
33739 (exp_test_upward): Likewise.
33740 (main): Call the new functions.
33741 * sysdeps/i386/fpu/libm-test-ulps: Update.
33742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33743
b1eeb65d
CD
337442012-03-01 Chris Demetriou <cgd@google.com>
33745
33746 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33747 have predictable order.
33748
53362a4b
DM
337492012-03-01 David S. Miller <davem@davemloft.net>
33750
3c969083
DM
33751 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33752
759707de
DM
33753 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33754 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33755 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33756 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33757
dfdb8ff2
DM
33758 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33759 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33760 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33762 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33763 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33764 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33765 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33766 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33767
ead89f96
DM
33768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33769
7f66bd07
DM
33770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33771 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33773
53362a4b
DM
33774 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33781 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33782 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33785 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33787 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33788 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33790 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33791 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33792 * sysdeps/sparc/elf/configure: Regenerated.
33793
7b1902cb
JM
337942012-03-01 Joseph Myers <joseph@codesourcery.com>
33795
bec039bc
JM
33796 * configure.in (AS, LD): Require binutils 2.20 or later.
33797 * configure: Regenerated.
33798 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33799 as required minimum version.
33800 * INSTALL: Regenerated.
33801
7b1902cb
JM
33802 [BZ #2541]
33803 [BZ #4108]
33804 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33805 before squaring exponent.
33806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33807 bottom long double and 27 bits of top long double before squaring
33808 exponent.
33809 * math/libm-test.inc (erfc_test): Add more tests.
33810 * sysdeps/i386/fpu/libm-test-ulps: Update.
33811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33813
f775c276
KT
338142012-03-01 Kai Tietz <ktietz@redhat.com>
33815
33816 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33817 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33818 containing bit-fields.
33819 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33820 * soft-fp/single.h (_FP_UNION_S): Likewise.
33821 * soft-fp/double.h (_FP_UNION_D): Likewise.
33822
5b8a4d4a
JM
338232012-02-29 Joseph Myers <joseph@codesourcery.com>
33824
0bab47b6
JM
33825 [BZ #13786]
33826 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33827 not include ../strcmp.S.
33828 [USE_AS_STRNCASECMP_L]: Likewise.
33829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33830 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33831 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33832 (__strncasecmp_l_ia32): Define as alias to
33833 __strncasecmp_l_nonascii.
33834
0fcad3e2
JM
33835 [BZ #5794]
33836 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33837 * sysdeps/i386/fpu/libm-test-ulps: Update.
33838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33839
5b8a4d4a
JM
33840 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33842
8fdceb2e
JL
338432012-02-29 Jeff Law <law@redhat.com>
33844
33845 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33846 out of bounds read.
33847
1f393a11
MP
338482012-02-29 Marek Polacek <polacek@redhat.com>
33849
33850 [BZ #13706]
33851 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33852 * elf/Makefile: Add rules to run tst-unused-dep.out.
33853
8847f037
DM
338542012-02-28 David S. Miller <davem@davemloft.net>
33855
33856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33860 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33861 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33862
169d7f11
JM
338632012-02-29 Joseph Myers <joseph@codesourcery.com>
33864
33865 * math/libm-test.inc (llround_test): Move one test from
33866 lround_test. Use TEST_f_L in moved test.
33867 (lround_test): Move misplaced test to llround_test. Add testcase
33868 from bug 2561.
33869
39adf059
UD
338702012-02-28 Ulrich Drepper <drepper@gmail.com>
33871
33872 * sysdeps/x86_64/fpu/e_expf.S: New file.
33873 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33874
71b5d1c5
SB
338752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33876
33877 [BZ #13637]
33878 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33879 of remain_len that may cause incomplete multi-byte character and
33880 false match.
33881 * posix/bug-regex33.c: New file.
33882 * posix/Makefile (tests): Add bug-regex33.
33883
1f77f049
JM
338842012-02-28 Joseph Myers <joseph@codesourcery.com>
33885
33886 * manual/macros.texi: New file.
33887 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33888 * manual/libc.texinfo: Include macros.texi.
33889 * manual/creatute.texi: Likewise.
33890 * manual/install.texi: Likewise.
33891 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33892 @glibcadj{} in references to the GNU C Library.
33893 * manual/charset.texi: Likewise.
33894 * manual/conf.texi: Likewise.
33895 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33896 when not using those macros.
33897 * manual/creature.texi: Likewise.
33898 * manual/crypt.texi: Likewise.
33899 * manual/errno.texi: Likewise.
33900 * manual/filesys.texi: Likewise.
33901 * manual/header.texi: Likewise.
33902 * manual/install.texi: Likewise.
33903 * manual/intro.texi: Likewise.
33904 * manual/io.texi: Likewise.
33905 * manual/job.texi: Likewise.
33906 * manual/lang.texi: Likewise.
33907 * manual/libc.texiinfo: Likewise.
33908 * manual/llio.texi: Likewise.
33909 * manual/locale.texi: Likewise.
33910 * manual/maint.texi: Likewise.
33911 * manual/math.texi: Likewise.
33912 * manual/memory.texi: Likewise.
33913 * manual/message.texi: Likewise.
33914 * manual/nss.texi: Likewise.
33915 * manual/pattern.texi: Likewise.
33916 * manual/process.texi: Likewise.
33917 * manual/resource.texi: Likewise.
33918 * manual/search.texi: Likewise.
33919 * manual/setjmp.texi: Likewise.
33920 * manual/signal.texi: Likewise.
33921 * manual/socket.texi: Likewise.
33922 * manual/startup.texi: Likewise.
33923 * manual/stdio.texi: Likewise.
33924 * manual/string.texi: Likewise.
33925 * manual/sysinfo.texi: Likewise.
33926 * manual/syslog.texi: Likewise.
33927 * manual/terminal.texi: Likewise.
33928 * manual/time.texi: Likewise.
33929 * manual/users.texi: Likewise.
33930 * INSTALL: Regenerated.
33931 * NOTES: Regenerated.
d40c5d54 33932 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33933
450bf206
AS
339342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33935
33936 * include/dirent.h: Include <dirstream.h> before
33937 <dirent/dirent.h>.
33938
741a235b
DM
339392012-02-28 David S. Miller <davem@davemloft.net>
33940
33941 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33942 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33943 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33945
d6b5aa58
DM
339462012-02-27 David S. Miller <davem@davemloft.net>
33947
1aff59a3
DM
33948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33950 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33951 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33952
d6b5aa58
DM
33953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33954 frame pointer instead of stack pointer relative arg slot.
33955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33958
433f48bf
CD
339592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33960
33961 [BZ #3992]
33962 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33963
d674b76d
DM
339642012-02-27 David S. Miller <davem@davemloft.net>
33965
33966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33972 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33974
0e7727f7
JM
339752012-02-27 Joseph Myers <joseph@codesourcery.com>
33976
33977 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33978 later. Allow versions 5-9.
43be4ca2 33979 * configure: Regenerated.
0e7727f7
JM
33980 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33981 required minimum version and 4.6 as recommended version. Do not
33982 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33983 * INSTALL: Regenerated.
0e7727f7 33984
a78bc654
DM
339852012-02-27 David S. Miller <davem@davemloft.net>
33986
428d5830
DM
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33991 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33992 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33995
a78bc654
DM
33996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33997 manipulate bits before adding and subtracting TWO112[sx].
33998 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33999
4579f81c
RM
340002012-02-27 Roland McGrath <roland@hack.frob.com>
34001
36c8acb4
RM
34002 [BZ #13775]
34003 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34004 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34005 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34006 being in POSIX, because they are in 1003.1-2008.
34007
84ad622b
RM
34008 * rt/tst-aio.c: Include <fcntl.h>.
34009 * rt/tst-aio7.c: Likewise.
34010 * rt/tst-aio64.c: Likewise.
34011
4579f81c
RM
34012 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34013
abd923db
JM
340142012-02-27 Joseph Myers <joseph@codesourcery.com>
34015
34016 * manual/install.texi (--with-headers): Describe headers as
34017 interface headers, not private headers.
34018 (Specific advice for GNU/Linux systems): Describe use of headers
34019 from "make headers_install", not private headers from older
34020 kernels.
43be4ca2 34021 * INSTALL: Regenerated.
abd923db
JM
34022 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34023 Change to 2.6.19.
34024 * sysdeps/unix/sysv/linux/configure: Regenerated.
34025
6664049b
JM
34026 * manual/llio.texi (fclean): Remove documentation.
34027
bb8b6697
JM
34028 * manual/Makefile (libc-texi-generated): New variable. Include
34029 version.texi.
34030 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34031 $(libc-texi-generated), not duplicated list of files.
34032 (version.texi, stamp-version): New rules.
34033 (realclean): Remove $(libc-texi-generated), not individual files
34034 from that list. Do not remove dir-add.texinfo.
34035 * manual/libc.texinfo: Comment out uses of edition numbers and
34036 references to printed manual. Remove last-updated dates.
34037 (EDITION): Comment out.
34038 (ISBN): Likewise.
34039 (VERSION, UPDATED): Remove.
34040 (version.texi): Include.
34041
12e5c3b9
AS
340422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34043
34044 * sysdeps/posix/spawni.c: Include <signal.h>.
34045 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34046 * sysdeps/pthread/aio_fsync.c: Likewise.
34047
4efeffc1 340482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34049
ba63ba08
UD
34050 * conform/Makefile (tests): Run only when not cross-compiling and
34051 when fast-check is not defined.
34052
d94a4670
UD
34053 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34054 * conform/data/limits.h-data: Fixes for POSIX2008.
34055 * conform/run-conformtest.sh: Run all tests.
34056 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34057 headers.
34058 * include/bits/dlfcn.h: Likewise.
34059 * include/langinfo.h: Likewise.
34060 * include/monetary.h: Likewise.
34061 * include/sys/poll.h: Likewise.
34062
34063 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34064 for __USE_GNU.
34065 * posix/spawn.h: Define __need_sigset_t.
34066 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34067 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34068 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34069 to get sigevent_t only.
34070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34071 only for __USE_GNU.
34072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34073 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34074 process_vm_writev only for __USE_GNU.
34075 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34076
34077 * conform/Makefile: For now ignore errors from run-conformtest.
34078 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34079 POSIX to avoid namespace pollution. Don't prepend headers.
34080 * conform/data/aio.h-data: Fixes for POSIX testing.
34081 * conform/data/fcntl.h-data: Likewise.
34082 * conform/data/glob.h-data: Likewise.
34083 * conform/data/grp.h-data: Likewise.
34084 * conform/data/pthread.h-data: Likewise.
34085 * conform/data/pwd.h-data: Likewise.
34086 * conform/data/signal.h-data: Likewise.
34087 * conform/data/spawn.h-data: Likewise.
34088 * conform/data/stdio.h-data: Likewise.
34089 * conform/data/stdlib.h-data: Likewise.
34090 * conform/data/stropts.h-data: Likewise.
34091 * conform/data/sys/mman.h-data: Likewise.
34092 * conform/data/sys/stat.h-data: Likewise.
34093 * conform/data/sys/types.h-data: Likewise.
34094 * conform/data/sys/wait.h-data: Likewise.
34095 * conform/data/time.h-data: Likewise.
34096 * conform/data/unistd.h-data: Likewise.
34097 * conform/data/utime.h-data: Likewise.
34098
34099 * io/sys/stat.h: fchmod was always in POSIX.
34100 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34101 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34102 * rt/aio.h: Define __need_timespec before including <time.h>.
34103 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34104 struct. Add forward declaration of pthread_attr_t and use it in
34105 sigevent.
34106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34108 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34109 always remove CLK_TCK definition.
34110
c20105c3
AS
341112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34112
34113 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34114
7a270350
UD
341152012-02-25 Ulrich Drepper <drepper@gmail.com>
34116
31341567
UD
34117 * conform/run-conformtest.sh: New file.
34118 * conform/Makefile: Run run-conformtest for tests.
34119 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34120 support.
34121
34122 * conform/data/uchar.h-data: New file.
34123 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34124 * conform/data/arpa/inet.h-data: Likewise.
34125 * conform/data/assert.h-data: Likewise.
34126 * conform/data/complex.h-data: Likewise.
34127 * conform/data/cpio.h-data: Likewise.
34128 * conform/data/ctype.h-data: Likewise.
34129 * conform/data/dirent.h-data: Likewise.
34130 * conform/data/dlfcn.h-data: Likewise.
34131 * conform/data/errno.h-data: Likewise.
34132 * conform/data/fcntl.h-data: Likewise.
34133 * conform/data/float.h-data: Likewise.
34134 * conform/data/fmtmsg.h-data: Likewise.
34135 * conform/data/fnmatch.h-data: Likewise.
34136 * conform/data/ftw.h-data: Likewise.
34137 * conform/data/glob.h-data: Likewise.
34138 * conform/data/grp.h-data: Likewise.
34139 * conform/data/iconv.h-data: Likewise.
34140 * conform/data/inttypes.h-data: Likewise.
34141 * conform/data/langinfo.h-data: Likewise.
34142 * conform/data/libgen.h-data: Likewise.
34143 * conform/data/limits.h-data: Likewise.
34144 * conform/data/locale.h-data: Likewise.
34145 * conform/data/math.h-data: Likewise.
34146 * conform/data/monetary.h-data: Likewise.
34147 * conform/data/mqueue.h-data: Likewise.
34148 * conform/data/ndbm.h-data: Likewise.
34149 * conform/data/net/if.h-data: Likewise.
34150 * conform/data/netdb.h-data: Likewise.
34151 * conform/data/netinet/in.h-data: Likewise.
34152 * conform/data/nl_types.h-data: Likewise.
34153 * conform/data/poll.h-data: Likewise.
34154 * conform/data/pthread.h-data: Likewise.
34155 * conform/data/pwd.h-data: Likewise.
34156 * conform/data/regex.h-data: Likewise.
34157 * conform/data/sched.h-data: Likewise.
34158 * conform/data/search.h-data: Likewise.
34159 * conform/data/semaphore.h-data: Likewise.
34160 * conform/data/setjmp.h-data: Likewise.
34161 * conform/data/signal.h-data: Likewise.
34162 * conform/data/spawn.h-data: Likewise.
34163 * conform/data/stdarg.h-data: Likewise.
34164 * conform/data/stdio.h-data: Likewise.
34165 * conform/data/stdlib.h-data: Likewise.
34166 * conform/data/string.h-data: Likewise.
34167 * conform/data/strings.h-data: Likewise.
34168 * conform/data/stropts.h-data: Likewise.
34169 * conform/data/sys/ipc.h-data: Likewise.
34170 * conform/data/sys/mman.h-data: Likewise.
34171 * conform/data/sys/msg.h-data: Likewise.
34172 * conform/data/sys/resource.h-data: Likewise.
34173 * conform/data/sys/select.h-data: Likewise.
34174 * conform/data/sys/sem.h-data: Likewise.
34175 * conform/data/sys/shm.h-data: Likewise.
34176 * conform/data/sys/socket.h-data: Likewise.
34177 * conform/data/sys/stat.h-data: Likewise.
34178 * conform/data/sys/statvfs.h-data: Likewise.
34179 * conform/data/sys/time.h-data: Likewise.
34180 * conform/data/sys/timeb.h-data: Likewise.
34181 * conform/data/sys/times.h-data: Likewise.
34182 * conform/data/sys/types.h-data: Likewise.
34183 * conform/data/sys/uio.h-data: Likewise.
34184 * conform/data/sys/un.h-data: Likewise.
34185 * conform/data/sys/utsname.h-data: Likewise.
34186 * conform/data/sys/wait.h-data: Likewise.
34187 * conform/data/syslog.h-data: Likewise.
34188 * conform/data/tar.h-data: Likewise.
34189 * conform/data/termios.h-data: Likewise.
34190 * conform/data/utime.h-data: Likewise.
34191 * conform/data/utmpx.h-data: Likewise.
34192 * conform/data/varargs.h-data: Likewise.
34193 * conform/data/wchar.h-data: Likewise.
34194 * conform/data/wctype.h-data: Likewise.
34195 * conform/data/wordexp.h-data: Likewise.
34196
34197 * include/stropts.h: New file.
34198 * include/uchar.h: New file.
34199 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34200 * include/assert.h: Likewise.
34201 * include/ctype.h: Likewise.
34202 * include/dirent.h: Likewise.
34203 * include/dlfcn.h: Likewise.
34204 * include/fcntl.h: Likewise.
34205 * include/fnmatch.h: Likewise.
34206 * include/glob.h: Likewise.
34207 * include/grp.h: Likewise.
34208 * include/libio.h: Likewise.
34209 * include/locale.h: Likewise.
34210 * include/math.h: Likewise.
34211 * include/net/if.h: Likewise.
34212 * include/netdb.h: Likewise.
34213 * include/netinet/in.h: Likewise.
34214 * include/pthread.h: Likewise.
34215 * include/pwd.h: Likewise.
34216 * include/regex.h: Likewise.
34217 * include/sched.h: Likewise.
34218 * include/search.h: Likewise.
34219 * include/setjmp.h: Likewise.
34220 * include/signal.h: Likewise.
34221 * include/stdio.h: Likewise.
34222 * include/stdlib.h: Likewise.
34223 * include/string.h: Likewise.
34224 * include/sys/cdefs.h: Likewise.
34225 * include/sys/mman.h: Likewise.
34226 * include/sys/msg.h: Likewise.
34227 * include/sys/resource.h: Likewise.
34228 * include/sys/select.h: Likewise.
34229 * include/sys/socket.h: Likewise.
34230 * include/sys/stat.h: Likewise.
34231 * include/sys/statvfs.h: Likewise.
34232 * include/sys/time.h: Likewise.
34233 * include/sys/times.h: Likewise.
34234 * include/sys/uio.h: Likewise.
34235 * include/sys/utsname.h: Likewise.
34236 * include/sys/wait.h: Likewise.
34237 * include/termios.h: Likewise.
34238 * include/time.h: Likewise.
34239 * include/ulimit.h: Likewise.
34240 * include/unistd.h: Likewise.
34241 * include/utime.h: Likewise.
34242 * include/wchar.h: Likewise.
34243 * include/wctype.h: Likewise.
34244 * include/wordexp.h: Likewise.
34245
34246 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34247
7a270350
UD
34248 * time/time.h: TIME_UTC must be a macro.
34249 Make timespec_get available for ISO C11 only as well.
34250
7724defc
UD
342512012-02-24 Ulrich Drepper <drepper@gmail.com>
34252
34253 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34254 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34255
6b1d1d46
JM
342562012-02-24 Joseph Myers <joseph@codesourcery.com>
34257
34258 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34259
0f8bbd69
JM
342602012-02-24 Joseph Myers <joseph@codesourcery.com>
34261
34262 * manual/texinfo.tex: Update to version 2012-01-19.16.
34263
66ab80bc
JM
342642012-02-24 Joseph Myers <joseph@codesourcery.com>
34265
34266 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34267
74981cc5
RM
342682012-02-24 Roland McGrath <roland@hack.frob.com>
34269
ee968201
RM
34270 [BZ #13738]
34271 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34272 * manual/fdl-1.3.texi: New file.
34273 * manual/fdl-1.1.texi: File removed.
34274
74981cc5
RM
34275 [BZ #13738]
34276 * manual/libc.texinfo (FDL_VERSION): New @set.
34277 Use it for mention of FDL in cover text.
34278 (Documentation License): Use it in @include file name.
34279
7bb764bc
JM
342802012-02-22 Joseph Myers <joseph@codesourcery.com>
34281 Roland McGrath <roland@hack.frob.com>
34282
34283 [BZ #5461]
34284 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34285 not LONG_LONG_MAX and LONG_LONG_MIN.
34286 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34287 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34288 name.
34289 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34290
6cbeae47
JM
342912012-02-22 Joseph Myers <joseph@codesourcery.com>
34292
34293 [BZ #2547]
34294 [BZ #11365]
34295 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34296 manipulate bits before adding and subtracting TWO23[sx].
34297 * math/libm-test.inc (nearbyint_test): Add more tests.
34298
fe45ce09
JM
342992012-02-22 Joseph Myers <joseph@codesourcery.com>
34300
34301 [BZ #2548]
34302 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34303 bits before adding and subtracting TWO23[sx].
34304 * math/libm-test.inc (rint_test): Add more tests.
34305 (rint_test_tonearest): Likewise.
34306 (rint_test_towardzero): Likewise.
34307 (rint_test_downward): Likewise.
34308 (rint_test_upward: Likewise.
34309
ff3b3d82
JM
343102012-02-22 Joseph Myers <joseph@codesourcery.com>
34311
34312 [BZ #10110]
34313 * include/stdc-predef.h: New file. Extracted from features.h.
34314 * include/features.h: Include stdc-predef.h.
34315 * Makefile (headers): Add stdc-predef.h.
34316 * CONFORMANCE (Compiler limitations): Update.
34317
ef0aab35
JM
343182012-02-22 Joseph Myers <joseph@codesourcery.com>
34319
34320 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34321
58639409
DM
343222012-02-21 David S. Miller <davem@davemloft.net>
34323
34324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34326
c0e70b25
DM
343272012-02-20 David S. Miller <davem@davemloft.net>
34328
34329 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34330 using a normal save/restore sequence, rather than allocating a
34331 dummy stack frame just to store a frame pointer and restore.
34332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34333
fb06851d
JM
343342012-02-21 Joseph Myers <joseph@codesourcery.com>
34335
34336 * manual/install.texi: Fix stray word in line-wrapped comment.
34337
7a8b71c3
DM
343382012-02-20 David S. Miller <davem@davemloft.net>
34339
d510c123
DM
34340 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34341 both binutils and gcc support GOTDATA.
34342
0722d7c2
DM
34343 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34344 "rd %pc" in the PIC register setup sequences.
34345
3d2b3019
DM
34346 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34347 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34349 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34355 (SYSCALL_ERROR_HANDLER): Likewise.
34356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34357 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34359 (SYSCALL_ERROR_HANDLER): Likewise.
34360
c80098a9
DM
34361 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34362 (HAVE_GCC_GOTDATA): New.
34363 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34364 relocation support in both binutils and gcc.
34365 * sysdeps/sparc/elf/configure: Regenerate.
34366
3a2545a0
DM
34367 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34368 * sysdeps/sparc/sparc32/elf/configure: Delete.
34369 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34370 * sysdeps/sparc/sparc64/elf/configure: Delete.
34371 * sysdeps/sparc/elf/configure.in: New file.
34372 * sysdeps/sparc/elf/configure: Generate.
34373
7a8b71c3
DM
34374 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34375 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34376 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34377 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34378 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34379
f1e86fca
JM
343802012-02-21 Joseph Myers <joseph@codesourcery.com>
34381
34382 * manual/install.texi: Do not mention specific glibc version
34383 numbers.
34384 * manual/libc.texinfo (VERSION, UPDATED): Update.
34385 (@copying): Use @copyright{} and range of years.
34386
0e7dfaef
JM
343872012-02-21 Joseph Myers <joseph@codesourcery.com>
34388
34389 [BZ #13695]
34390 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34391 [crti.S not in sysdirs] (generated): Do not append.
34392 [crti.S not in sysdirs] (omit-deps): Likewise.
34393 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34394 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34395 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34396 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34397 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34398 Likewise.
34399 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34400 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34401 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34402 * csu/defs.awk: Remove file.
34403 * sysdeps/generic/initfini.c: Likewise.
34404 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34405 variable.
34406 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34407 Likewise.
34408
599af3ca
JM
344092012-02-20 Joseph Myers <joseph@codesourcery.com>
34410
34411 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34412 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34413 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34416 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34417 <bits/epoll.h>.
34418 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34419 (__EPOLL_PACKED): Define to empty if not defined by
34420 <bits/epoll.h>.
34421 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34423 bits/epoll.h.
34424
0e499750
JM
344252012-02-20 Joseph Myers <joseph@codesourcery.com>
34426
34427 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34428 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34429 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34431 <bits/timerfd.h>.
34432 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34434 bits/timerfd.h.
34435
5ad91f6e
JM
344362012-02-20 Joseph Myers <joseph@codesourcery.com>
34437
34438 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34439 in C locale.
34440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34441 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34444
06b99b02
AJ
344452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34446
34447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34449
7638c0fd
AS
344502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34451
34452 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34453 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34454 defined.
34455 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34456 Likewise.
34457 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34458 entry for 2.16.
34459
92221550
AJ
344602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34461
34462 * math/w_acos.c: Use non-signaling floating-point comparisons.
34463 * math/w_acosf.c: Likewise.
34464 * math/w_acosh.c: Likewise.
34465 * math/w_acoshf.c: Likewise.
34466 * math/w_acoshl.c: Likewise.
34467 * math/w_acosl.c: Likewise.
34468 * math/w_asin.c: Likewise.
34469 * math/w_asinf.c: Likewise.
34470 * math/w_asinl.c: Likewise.
34471 * math/w_atanh.c: Likewise.
34472 * math/w_atanhf.c: Likewise.
34473 * math/w_atanhl.c: Likewise.
34474 * math/w_exp2.c: Likewise.
34475 * math/w_exp2f.c: Likewise.
34476 * math/w_exp2l.c: Likewise.
34477 * math/w_j0.c: Likewise.
34478 * math/w_j0f.c: Likewise.
34479 * math/w_j0l.c: Likewise.
34480 * math/w_j1.c: Likewise.
34481 * math/w_j1f.c: Likewise.
34482 * math/w_j1l.c: Likewise.
34483 * math/w_jn.c: Likewise.
34484 * math/w_jnf.c: Likewise.
34485 * math/w_log.c: Likewise.
34486 * math/w_log10.c: Likewise.
34487 * math/w_log10f.c: Likewise.
34488 * math/w_log10l.c: Likewise.
34489 * math/w_log2.c: Likewise.
34490 * math/w_log2f.c: Likewise.
34491 * math/w_log2l.c: Likewise.
34492 * math/w_logf.c: Likewise.
34493 * math/w_logl.c: Likewise.
34494 * math/w_sqrt.c: Likewise.
34495 * math/w_sqrtf.c: Likewise.
34496 * math/w_sqrtl.c: Likewise.
34497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34498 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34500 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34501 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34502
ebaf36eb
JM
345032012-02-19 Joseph Myers <joseph@codesourcery.com>
34504
34505 [BZ #9739]
34506 * manual/string.texi (strnlen): Use correct parameter name in
34507 equivalent expression.
34508
71c254a6
JM
345092012-02-19 Joseph Myers <joseph@codesourcery.com>
34510
34511 [BZ #11174]
34512 * manual/users.texi (seteuid): Consistently use neweuid for
34513 argument name.
34514
16d2c631
JM
345152012-02-19 Joseph Myers <joseph@codesourcery.com>
34516
34517 [BZ #13704]
34518 * manual/nss.texi (Services in the NSS configuration): Correct
34519 list of services in example configuration file.
34520
cd837b09
NB
345212012-02-19 Nick Bowler <nbowler@draconx.ca>
34522
34523 [BZ #11322]
34524 * manual/arith.texi: Remove statements about negative zero
34525 behaving identically to zero.
34526
02c4bbad
JM
345272012-02-18 Joseph Myers <joseph@codesourcery.com>
34528
34529 [BZ #5993]
34530 * manual/install.texi: Do not document upgrading from libc5.
34531
366842e7
JM
345322012-02-18 Joseph Myers <joseph@codesourcery.com>
34533
34534 [BZ #4596]
34535 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34536
dd54084d
DM
345372012-02-18 David S. Miller <davem@davemloft.net>
34538
34539 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34540 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34541 %o7 across the call.
34542 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34543 instead.
34544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34545 SETUP_PIC_REG_LEAF.
34546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34547 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34548 * sysdeps/sparc/crtn.S: Likewise.
34549
2bcc53a3
UD
345502012-02-17 Ulrich Drepper <drepper@gmail.com>
34551
34552 * aout/Makefile: Remove.
34553
09c093b5
RK
345542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34555
34556 [BZ #13058]
34557 * manual/examples/argp-ex1.c (main): Format definition in GNU
34558 style.
34559 * manual/examples/argp-ex2.c (main): Likewise.
34560 * manual/examples/argp-ex3.c (main): Likewise.
34561 * manual/examples/argp-ex4.c (main): Likewise.
34562 * manual/examples/longopt.c (main): Use new-style prototype
34563 definition.
34564 * manual/examples/strncat.c (main): Specify return type and use
34565 (void) for arguments.
34566 * manual/examples/subopt.c (main): Use char **argv argument.
34567
2ee633a2
JM
345682012-02-17 Joseph Myers <joseph@codesourcery.com>
34569
34570 [BZ #5077]
34571 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34572 rounding modes.
34573
0520adde
FB
345742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34575
34576 [BZ #6907]
34577 * manual/string.texi (strchr): Change when strchrnul is
34578 recommended.
34579
3f4081cd
DGM
345802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34581
34582 [BZ #174]
34583 * manual/locale.texi (setlocale): Document LOCPATH.
34584
d1b10e78
JM
345852012-02-17 Joseph Myers <joseph@codesourcery.com>
34586
34587 [BZ #10210]
34588 * manual/process.texi (execle): Move @dots{} before last argument.
34589
79c6869c
PB
345902012-02-17 Paul Bolle <pebolle@tiscali.nl>
34591
34592 [BZ #12047]
34593 * manual/charset.texi (Generic Charset Conversion): Fix typo
34594 (LC_TYPE -> LC_CTYPE).
34595
cc6e48bc
NB
345962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34597
34598 [BZ #5805]
34599 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34600 (scalbnf): Likewise.
34601 (scalbnl): Likewise.
34602 (scalbln): Likewise.
34603 (scalblnf): Likewise.
34604 (scalblnl): Likewise.
34605 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34606 (vwarnx): Likewise.
34607 (verr): Likewise.
34608 (verrx): Likewise.
34609 * manual/filesys.texi (telldir): Use braces around return type.
34610 * manual/llio.texi (mmap): Add space after comma.
34611 (mmap64): Likewise.
34612 * manual/math.texi (jn): Use @var{} on parameter names.
34613 (jnf): Likewise.
34614 (jnl): Likewise.
34615 (yn): Likewise.
34616 (ynf): Likewise.
34617 (ynl): Likewise.
34618 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34619 line.
34620 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34621 "...".
34622 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34623 (sched_get_priority_max): Likewise.
34624 * manual/signal.texi (sigvec): Add space after comma.
34625 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34626 names.
34627 (if_indextoname): Likewise.
34628 (if_freenameindex): Likewise.
34629 (sendto): Use ',' instead of '.' in prototype.
34630 * manual/startup.texi (syscall): Use @dots{} instead of literal
34631 "...".
34632 * manual/stdio.texi (__fpending): Separate initial words of
34633 paragraph from @deftypefun line.
34634 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34635 "...".
34636 (vsyslog): Use @var{} on parameter names.
34637 * manual/terminal.texi (stty): Use @var{} on parameter names.
34638 * manual/users.texi (getutmp): Use @var{} on parameter names.
34639 (getutmpx): Likewise.
34640
5b23062f
JM
346412012-02-17 Joseph Myers <joseph@codesourcery.com>
34642
34643 [BZ #6884]
34644 * manual/stdio.texi (fopen): Fix typos in description of
34645 ",ccs=STRING".
34646
8dee4833
AJ
346472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34648
34649 [BZ #4026]
34650 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34651 get clock_id definition.
34652
9078ce93
TS
346532012-02-17 Thomas Schwinge <thomas@schwinge.name>
34654
34655 [BZ #4822]
34656 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34657 (madvise): Cast every argument to void on its own.
34658
3835c55f
JM
346592012-02-17 Joseph Myers <joseph@codesourcery.com>
34660
34661 [BZ #9902]
34662 * manual/startup.texi (Exit Status): Fix typo.
34663
35c47e37
JM
346642012-02-17 Joseph Myers <joseph@codesourcery.com>
34665
34666 [BZ #10140]
34667 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34668 * manual/examples/argp-ex2.c: Likewise.
34669 * manual/examples/argp-ex3.c: Likewise.
34670
e3b69ca7
RH
346712012-02-16 Richard Henderson <rth@redhat.com>
34672
34673 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34674 * sysdeps/s390/s390-32/initfini.c: Remove.
34675 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34676 * sysdeps/s390/s390-64/initfini.c: Remove.
34677
df83af67
KK
346782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34679
34680 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34681 compiler output for sysdeps/generic/initfini.c.
34682 * sysdeps/sh/elf/initfini.c: Remove file.
34683
f63f3380
DM
346842012-02-16 David S. Miller <davem@davemloft.net>
34685
fb59b3a4
DM
34686 [BZ #11494]
34687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34688
f63f3380
DM
34689 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34690 * sysdeps/sparc/crti.S: New file.
34691 * sysdeps/sparc/crtn.S: New file.
34692 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34693 * sysdeps/sparc/sparc64/Makefile: Likewise.
34694
df6a4a4a
MF
346952012-02-15 Mike Frysinger <vapier@gentoo.org>
34696
6dd8f3dc 34697 [BZ #3335]
df6a4a4a
MF
34698 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34699
1cac7236
RM
347002012-02-15 Roland McGrath <roland@hack.frob.com>
34701
d2c736f8
RM
34702 [BZ #4822]
34703 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34704
1cac7236
RM
34705 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34706 (write, read, close): Likewise.
34707 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34708
8e475601
JM
347092012-02-15 Joseph Myers <joseph@codesourcery.com>
34710
34711 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34712 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34713 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34714 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34715 <bits/signalfd.h>.
34716 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34718 bits/signalfd.h.
34719
ed656b40
MP
347202012-02-14 Marek Polacek <polacek@redhat.com>
34721
34722 * sysdeps/x86_64/crti.S: New file.
34723 * sysdeps/x86_64/crtn.S: New file.
34724 * sysdeps/x86_64/elf/initfini.c: Remove file.
34725
2a979d3a
JM
347262012-02-13 Joseph Myers <joseph@codesourcery.com>
34727
34728 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34729 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34730 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34731 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34732 <bits/inotify.h>.
34733 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34735 bits/inotify.h.
34736
2a418ac3
JM
347372012-02-13 Joseph Myers <joseph@codesourcery.com>
34738
34739 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34740 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34741 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34742 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34743 <bits/eventfd.h>.
34744 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34746 bits/eventfd.h.
34747
fb779be7
TS
347482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34749
e19e83c5
RM
34750 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34751 __feraiseexcept instead of feraiseexcept.
7c35ffed 34752
fb779be7
TS
34753 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34754 nanosleep invocations.
34755 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34756 strings, and add error checking for a nanosleep invocations.
34757
59ba27a6
PE
347582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34759
34760 Replace FSF snail mail address with URLs, as per GNU coding standards.
34761 Most of the snail mail addresses were wrong anyway, and omitting
34762 them makes the source code easier to maintain. Almost all of the
34763 changes are to license notices and to locale LC_IDENTIFICATION
34764 addresses, except for this one:
34765 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34766 not its snail mail address.
34767
57b957eb
RH
347682012-02-09 Richard Henderson <rth@twiddle.net>
34769
af850b1c
RH
34770 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34771 of kernel-features.h.
34772
57b957eb
RH
34773 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34774
6b73181a
MP
347752012-02-08 Marek Polacek <polacek@redhat.com>
34776
34777 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34778 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34779 * sysdeps/gnu/_G_config.h: Likewise.
34780 * sysdeps/generic/_G_config.h: Likewise.
34781
26ecc33a
AS
347822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34783
6c6dbc63
AS
34784 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34785 tests.
34786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34787
e216c012
AS
34788 * sysdeps/powerpc/powerpc32/crti.S: New file.
34789 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34790 * sysdeps/powerpc/powerpc64/crti.S: New file.
34791 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34792
26ecc33a
AS
34793 * Makeconfig (have-initfini): Don't set.
34794 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34795 * configure.in (nopic_initfini): Don't substitute.
34796 * config.h.in (HAVE_INITFINI): Don't #undef.
34797 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34798 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34799
3add8e13
JM
348002012-02-08 Joseph Myers <joseph@codesourcery.com>
34801
34802 Support crti.S and crtn.S provided directly by architectures.
34803 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34804 [crti.S in sysdirs] (omit-deps): Likewise.
34805 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34806 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34807 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34808 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34809 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34810 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34811 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34812 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34813 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34814 compiler output for sysdeps/generic/initfini.c.
34815 * sysdeps/i386/elf/Makefile: Remove file.
34816 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34817
a22f12b4
MP
348182012-02-07 Marek Polacek <polacek@redhat.com>
34819
34820 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34821 * sysdeps/gnu/_G_config.h: Likewise.
34822 * sysdeps/mach/hurd/_G_config.h: Likewise.
34823
148cf100
MP
348242012-02-07 Marek Polacek <polacek@redhat.com>
34825
34826 * math/Makefile (tests): Add tst-CMPLX2.
34827 * math/tst-CMPLX2.c: New file.
34828
cfdc0dd7
AS
348292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34830
84ba42c4
AS
34831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34832
cfdc0dd7
AS
34833 * math/libm-test.inc (jn_test): Add missing L suffix.
34834
622c86f4
MP
348352012-02-06 Marek Polacek <polacek@redhat.com>
34836
34837 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34838 * sysdeps/i386/fpu/e_powf.S: Likewise.
34839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34841 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34842 * sysdeps/i386/fpu/e_pow.S: Likewise.
34843 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34844 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34845 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34846 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34847 * sysdeps/i386/fpu/e_log2.S: Likewise.
34848 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34849 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34850 * sysdeps/i386/fpu/e_powl.S: Likewise.
34851 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34852 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34853 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34854 * sysdeps/i386/fpu/e_logl.S: Likewise.
34855 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34856 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34857 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34858 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34859 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34861 * sysdeps/i386/fpu/e_log.S: Likewise.
34862 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34864 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34865 * sysdeps/i386/fpu/e_logf.S: Likewise.
34866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34868 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34871 * sysdeps/i386/fpu/e_log10.S: Likewise.
34872 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34874 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34875 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34876 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34878 * sysdeps/i386/asm-syntax.h: Likewise.
34879 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34881 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34882 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34883 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34885 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34886 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34887 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34888 * sysdeps/powerpc/sysdep.h: Likewise.
34889 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34891
d4a54ac6
JM
348922012-02-06 Joseph Myers <joseph@codesourcery.com>
34893
34894 [BZ #411]
34895 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34896
314054ea
JM
348972012-02-06 Joseph Myers <joseph@codesourcery.com>
34898
34899 * sysdeps/i386/sysdep.h: Include <features.h>.
34900 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34901 version.
34902
d8e0ca50
JM
349032012-02-05 Joseph Myers <joseph@codesourcery.com>
34904
34905 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34906 Define.
34907 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34908 LOAD_PIC_REG_STR.
34909
b1da7dd9
JM
349102012-02-03 Joseph Myers <joseph@codesourcery.com>
34911
34912 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34913 (SETUP_PIC_REG): Use GET_PC_THUNK.
34914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34915 macro.
34916
9a1d9254
JM
349172012-02-03 Joseph Myers <joseph@codesourcery.com>
34918
34919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34920 for non-PIC compilation.
34921 (SETUP_PIC_REG): Add .p2align directive.
34922 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34923 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34924 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34956 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34957 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34958 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34959 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34960 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34961 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34962 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34963
65dc3b75
JM
349642012-02-03 Joseph Myers <joseph@codesourcery.com>
34965
34966 * math/tst-CMPLX.c: Include <stdio.h>.
34967
d55bf177
JM
349682012-01-31 Joseph Myers <joseph@codesourcery.com>
34969
34970 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34971 float.
34972 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34973 * sysdeps/sparc/bits/mathdef.h: Likewise.
34974
69db4f8f
MP
349752012-01-31 Marek Polacek <polacek@redhat.com>
34976
34977 * libio/libio.h: Don't define _PARAMS.
34978 * locale/programs/config.h: Don't define PARAMS.
34979 * stdlib/strtol_l.c: Likewise.
34980 (__strtol_l): Remove PARAMS from the prototype.
34981
41b81892
UD
349822012-01-31 Ulrich Drepper <drepper@gmail.com>
34983
3b49edc0
UD
34984 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34985 names. Just use the correct names. Remove unnecessary wrapper
34986 functions.
34987 * malloc/arena.c: Likewise.
34988 * malloc/hooks.c: Likewise.
34989
41b81892
UD
34990 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34991 ARENA_TEST says not to. Simplify test for creation of a new arena.
34992 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34993
27a25b6e
UD
349942012-01-30 Ulrich Drepper <drepper@gmail.com>
34995
34996 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34997 into tail calls.
34998 (update_get_addr): New function.
34999 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35000 GET_ADDR_MODULE parameter.
35001
c8a89e7d
JM
350022012-01-30 Joseph Myers <joseph@codesourcery.com>
35003
35004 * crypt/cert.c: Remove __STDC__ conditionals.
35005 * crypt/crypt-entry.c: Likewise.
35006 * crypt/crypt_util.c: Likewise.
35007 * libio/filedoalloc.c: Likewise.
35008 * libio/fileops.c: Likewise.
35009 * libio/genops.c: Likewise.
35010 * libio/iofclose.c: Likewise.
35011 * libio/iofdopen.c: Likewise.
35012 * libio/iofopen.c: Likewise.
35013 * libio/iofopen64.c: Likewise.
35014 * libio/iogetdelim.c: Likewise.
35015 * libio/iopopen.c: Likewise.
35016 * libio/obprintf.c: Likewise.
35017 * libio/oldfileops.c: Likewise.
35018 * libio/oldiofclose.c: Likewise.
35019 * libio/oldiofdopen.c: Likewise.
35020 * libio/oldiofopen.c: Likewise.
35021 * libio/oldiopopen.c: Likewise.
35022 * libio/wfiledoalloc.c: Likewise.
35023 * libio/wgenops.c: Likewise.
35024 * locale/programs/xmalloc.c: Likewise.
35025 * misc/syslog.c: Likewise.
35026 * stdio-common/xbug.c: Likewise.
35027 * string/memchr.c: Likewise.
35028 * string/memcmp.c: Likewise.
35029 * string/memrchr.c: Likewise.
35030 * string/rawmemchr.c: Likewise.
35031 * sysdeps/posix/getcwd.c: Likewise.
35032 * time/strftime_l.c: Likewise.
35033
3b100462
JM
350342012-01-30 Joseph Myers <joseph@codesourcery.com>
35035
35036 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35037 * config.make.in (config-cflags-sse2avx): Define.
35038 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35039 Fix typo.
35040
607998af
CM
350412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35042
35043 * scripts/config.guess: Update from upstream config git repository.
35044 * scripts/config.sub: Likewise.
35045
3601428f
CM
350462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35047
3ac8b282
CM
35048 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35049 (EM_NUM): Update.
35050 (R_TILEPRO_*, R_TILEGX_*): New macros.
35051
e034841e
CM
35052 * scripts/firstversions.awk: Fix bug in version range handling.
35053
540d7568
CM
35054 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35055
3601428f
CM
35056 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35057
463de862
CM
35058 * include/sys/epoll.h: New file.
35059 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35060 libc_hidden_def.
35061
73139a76
UD
350622012-01-28 Ulrich Drepper <drepper@gmail.com>
35063
96bc5b45
UD
35064 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35065 Avoid unnecessary __WORDSIZE == 64 test.
35066 (fmaxf): Use VEX format if possible.
35067 (fmax): Likewise.
35068 (fminf): Likewise.
35069 (fmin): Likewise.
35070
56f6f6a2
UD
35071 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35072 * math/math_private.h: Remove libc_fegetround* and
35073 libc_fesetround*.
35074 * sysdeps/i386/configure.in: Check for -msse2avx.
35075 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35076 also if SSE2AVX is defined.
35077 Remove libc_fegetround* and libc_fesetround*.
35078 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35079 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35081 of HAS_YMM_USABLE.
35082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35087
73139a76
UD
35088 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35089
d73f93a4
AZ
350902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35091
35092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35093 size is not set.
35094 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35095
6ee65ed6
UD
350962012-01-27 Ulrich Drepper <drepper@gmail.com>
35097
35098 [BZ #13618]
35099 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35100 relocation.
35101 * Makeconfig (libm): Define.
35102 * elf/Makefile: Add rules to build and run tst-relsort1.
35103 * elf/tst-relsort1.c: New file.
35104 * elf/tst-relsort1mod1.c: New file.
35105 * elf/tst-relsort1mod2.c: New file.
35106
8db21882
JM
351072012-01-27 Joseph Myers <joseph@codesourcery.com>
35108
35109 * math/s_ldexp.c: Remove __STDC__ conditionals.
35110 * math/s_ldexpf.c: Likewise.
35111 * math/s_ldexpl.c: Likewise.
35112 * math/s_nextafter.c: Likewise.
35113 * math/s_nexttowardf.c: Likewise.
35114 * math/s_significand.c: Likewise.
35115 * math/s_significandf.c: Likewise.
35116 * math/s_significandl.c: Likewise.
35117 * math/w_jnl.c: Likewise.
35118 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35119 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35120 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35121 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35122 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35124 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35127 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35128 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35133 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35135 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35137 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35138 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35140 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35142 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35143 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35146 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35147 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35148 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35149 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35150 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35152 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35158 * sysdeps/ieee754/k_standard.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35238 * sysdeps/ieee754/s_matherr.c: Likewise.
35239 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35243
965a54a4
JM
352442012-01-26 Joseph Myers <joseph@codesourcery.com>
35245
35246 * crypt/md5.h: Remove __STDC__ conditionals.
35247 * libio/libioP.h: Likewise.
35248 * locale/programs/config.h: Likewise.
35249 * sysdeps/generic/sysdep.h: Likewise.
35250 * sysdeps/i386/asm-syntax.h: Likewise.
35251 * sysdeps/s390/asm-syntax.h: Likewise.
35252 * sysdeps/unix/sysdep.h: Likewise.
35253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35255
7071ad79
JM
352562012-01-26 Joseph Myers <joseph@codesourcery.com>
35257
35258 * libio/libio.h: Remove __STDC__ conditionals.
35259 * malloc/obstack.h: Likewise.
35260 * math/complex.h: Likewise.
35261 * math/math.h: Likewise.
35262 * sysdeps/generic/_G_config.h: Likewise.
35263 * sysdeps/gnu/_G_config.h: Likewise.
35264 * sysdeps/mach/hurd/_G_config.h: Likewise.
35265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35266 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35267 * sysdeps/sparc/bits/mathdef.h: Likewise.
35268
afc5ed09
UD
352692012-01-26 Ulrich Drepper <drepper@gmail.com>
35270
35271 [BZ #13583]
35272 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35273 Clean up HAS_* macros.
afc5ed09 35274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35275 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35276 possible.
35277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35278 HAS_AVX.
35279 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35280 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35282 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35283 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35284
bdb6de1d
JM
352852012-01-25 Joseph Myers <joseph@codesourcery.com>
35286
35287 * elf/tst-unique3.cc (gets): Remove declaration.
35288 * elf/tst-unique3lib.cc (gets): Likewise.
35289 * elf/tst-unique3lib2.cc (gets): Likewise.
35290 * elf/tst-unique4.cc (gets): Likewise.
35291
b15549e6
UD
352922012-01-24 Ulrich Drepper <drepper@gmail.com>
35293
35294 * include/stdio.h: Add C++ protection. Add gets declarations and
35295 definitions.
35296 * debug/tst-chk1.c: Don't declare gets here.
35297 * stdio-common/tst-gets.c: Likewise.
35298
a037381f
JM
352992012-01-24 Joseph Myers <joseph@codesourcery.com>
35300
35301 * posix/glob: Remove directory.
35302
f1d4aa75
JM
353032012-01-24 Joseph Myers <joseph@codesourcery.com>
35304
35305 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35306
81c0c964
PT
353072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35308
35309 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35310 of the non-standard EPFNOSUPPORT.
35311
0ea698ae
ST
353122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35313
35314 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35315 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35316 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35317
d220b117
UD
353182012-01-21 Ulrich Drepper <drepper@gmail.com>
35319
35320 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35321
3e1aa84e
UD
353222012-01-20 Ulrich Drepper <drepper@gmail.com>
35323
35324 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35325 transient errors.
35326 * nscd/grpcache.c (cache_addgr): Likewise.
35327 * nscd/hstcache.c (cache_addhst): Likewise.
35328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35329 * nscd/pwdcache.c (cache_addpw): Likewise.
35330 * nscd/servicescache.c (cache_addserv): Likewise.
35331
400aa020
UD
353322012-01-16 Ulrich Drepper <drepper@gmail.com>
35333
d77e7869
UD
35334 * malloc/malloc.c: Various cleanups.
35335 * malloc/hooks.c: Likewise.
35336
400aa020
UD
35337 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35338 * stdlib/bug-fmtmsg1.c: New file.
35339
35340 * stdlib/fmtmsg.c (init): Add missing unlock.
35341 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35342
e0a309cf
MP
353432012-01-12 Marek Polacek <polacek@redhat.com>
35344
35345 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35346 and _GNU_SOURCE.
35347
929d11c7
WS
353482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35349
35350 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35351 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35352 macro to ensure uniqueness of label name.
35353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35355
41d0e869
UD
353562012-01-11 Ulrich Drepper <drepper@gmail.com>
35357
0cc5ed3b
UD
35358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35359
41d0e869
UD
35360 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35362 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35364
a47a831a
UD
353652012-01-10 Ulrich Drepper <drepper@gmail.com>
35366
daa891c0
UD
35367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35368
35369 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35370 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35372
e58ef0f2
UD
35373 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35374
a47a831a 35375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35376 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35379
35380 * math/bits/math-finite.h: Add ldexp support.
35381
a0bfc9c7
MP
353822012-01-10 Marek Polacek <polacek@redhat.com>
35383
35384 * locale/programs/localedef.h (show_archive_content): Add noreturn
35385 attribute.
35386
d6e97a1d
UD
353872012-01-09 Ulrich Drepper <drepper@gmail.com>
35388
35389 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35390
d5835c26
UD
353912012-01-08 Ulrich Drepper <drepper@gmail.com>
35392
e5f484c6
UD
35393 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35394
d5835c26
UD
35395 * io/Makefile (headers): Add bits/poll2.h.
35396
d1f741e9
WS
353972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35398
35399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35400 typo #include statement.
35401
ec09c1c4
UD
354022012-01-08 Ulrich Drepper <drepper@gmail.com>
35403
35404 * include/sys/cdefs.h: Define __attribute_alloc_size.
35405 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35406 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35407 * elf/pldd.c: Likewise.
35408 * iconv/iconv_charmap.c: Likewise.
35409 * iconv/iconvconfig.c: Likewise.
35410 * iconv/strtab.c: Likewise.
35411 * locale/programs/locale.c: Likewise.
35412 * locale/programs/localedef.h: Likewise.
35413 * locale/programs/simple-hash.c: Likewise.
35414 * nscd/nscd.h: Likewise.
35415 * nss/makedb.c: Likewise.
35416 * sysdeps/generic/ldconfig.h: Likewise.
35417 * locale/programs/localedef.c: Remove xmalloc prototype.
35418 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35419
20b38e03
PP
354202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35421
35422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35423 appropriate.
35424
a0da5fe1
UD
354252012-01-08 Ulrich Drepper <drepper@gmail.com>
35426
1d5a644a 35427 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35428 * math/tst-CMPLX.c: New file.
1d5a644a 35429
8784a6db
UD
35430 * math/complex.h (CMPLXL): Fix typo.
35431
d9a216c0
UD
35432 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35433 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35434 GLIBC_2.16.
35435 * debug/tst-chk1.c: Add poll and ppoll tests.
35436 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35437 * include/sys/poll.h: Add hidden proto for ppoll.
35438 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35439 * sysdeps/mach/hurd/ppoll.c: Likewise.
35440 * io/ppoll.c: Likewise.
35441 * debug/poll_chk.c: New file.
35442 * debug/ppoll_chk.c: New file.
35443 * include/bits/poll2.h: New file.
35444 * io/bits/poll2.h: New file.
35445
ac097f5c
UD
35446 [BZ #1350]
35447 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35448
2119dcfa
UD
35449 * configure.in: static is always set to yes. Remove.
35450 * config.make.in: Don't set build-static.
35451 * Makeconfig: Remove use of build-static.
35452 * dlfcn/Makefile: Likewise.
35453 * elf/Makefile: Likewise.
35454 * math/Makefile: Likewise.
35455 * misc/Makefile: Likewise.
35456 * nptl/Makefile: Likewise.
35457 * sysdeps/mach/hurd/Makefile: Likewise.
35458
121766a9
UD
35459 * configure.in: PWD_P is not used anymore.
35460 * config.make.in: Remove PWD_P entry.
35461
51a1d39c 35462 * configure.in: Remove last remnants of RANLIB.
8720d066 35463 No need to check for signed size_t anymore.
215f4bdc
UD
35464 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35465 and IA-64.
3857022a 35466 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35467 * aclocal.m4: Likewise.
35468
d3ed7225
UD
35469 * wcsmbs/mbrtoc16.c: Implement using towc function.
35470 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35471 * wcsmbs/wcsmbsload.c: Likewise.
35472 * iconv/gconv_simple.c: Likewise.
35473 * iconv/gconv_int.h: Likewise.
35474 * iconv/gconv_builtin.h: Likewise.
35475 * iconv/iconv_prog.c: Remove CHAR16 handling.
35476
35477 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35478
35479 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35480
a0da5fe1
UD
35481 * configure.in: Remove --with-elf and --enable-bounded options.
35482 Dont set base_machine for ia64. More non-ELF conditions removed.
35483 Remove testing and setting of leading underscore information.
35484 * config.make.in (build-bounded): Set to no.
35485 * config.h.in: Remove NO_UNDERSCORES entry.
35486 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35487 them.
35488 * csu/start.c: Remove !NO_UNDERSCORE code.
35489 * locale/localeinfo.h: Likewise.
35490 * sysdeps/generic/machine-gmon.h: Likewise.
35491 * sysdeps/generic/sysdep.h: Likewise.
35492 * sysdeps/i386/sysdep.h: Likewise.
35493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35494 * sysdeps/mach/sysdep.h: Likewise.
35495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35497 * sysdeps/sh/sysdep.h: Likewise.
35498 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35499 * sysdeps/unix/i386/sysdep.S: Likewise.
35500 * sysdeps/unix/sparc/start.c: Likewise.
35501 * sysdeps/unix/sparc/sysdep.S: Likewise.
35502 * sysdeps/unix/sparc/sysdep.h: Likewise.
35503 * sysdeps/unix/start.c: Likewise.
35504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35505 * sysdeps/x86_64/sysdep.h: Likewise.
35506
df78418a
UD
355072012-01-07 Ulrich Drepper <drepper@gmail.com>
35508
a784e502
UD
35509 [BZ #13553]
35510 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35511 for non-gcc.
35512 * argp/argp-fmtstream.h: Use const instead __const.
35513 * argp/argp.h: Likewise.
35514 * assert/assert.h: Likewise.
35515 * bits/fenv.h: Likewise.
35516 * bits/sched.h: Likewise.
35517 * bits/sigset.h: Likewise.
35518 * bits/sigthread.h: Likewise.
35519 * catgets/nl_types.h: Likewise.
35520 * conform/data/pthread.h-data: Likewise.
35521 * crypt/crypt-private.h: Likewise.
35522 * crypt/crypt.h: Likewise.
35523 * crypt/crypt_util.c: Likewise.
35524 * ctype/ctype.h: Likewise.
35525 * debug/execinfo.h: Likewise.
35526 * debug/mbsnrtowcs_chk.c: Likewise.
35527 * debug/mbsrtowcs_chk.c: Likewise.
35528 * debug/wcsnrtombs_chk.c: Likewise.
35529 * debug/wcsrtombs_chk.c: Likewise.
35530 * debug/wcstombs_chk.c: Likewise.
35531 * dirent/dirent.h: Likewise.
35532 * dlfcn/dlfcn.h: Likewise.
35533 * elf/neededtest4.c: Likewise.
35534 * grp/grp.h: Likewise.
35535 * gshadow/gshadow.h: Likewise.
35536 * iconv/gconv.h: Likewise.
35537 * iconv/gconv_int.h: Likewise.
35538 * iconv/gconv_simple.c: Likewise.
35539 * iconv/iconv.h: Likewise.
35540 * iconv/loop.c: Likewise.
35541 * iconv/skeleton.c: Likewise.
35542 * include/aio.h: Likewise.
35543 * include/aliases.h: Likewise.
35544 * include/argz.h: Likewise.
35545 * include/arpa/inet.h: Likewise.
35546 * include/assert.h: Likewise.
35547 * include/dirent.h: Likewise.
35548 * include/dlfcn.h: Likewise.
35549 * include/execinfo.h: Likewise.
35550 * include/fcntl.h: Likewise.
35551 * include/fenv.h: Likewise.
35552 * include/glob.h: Likewise.
35553 * include/grp.h: Likewise.
35554 * include/libintl.h: Likewise.
35555 * include/mntent.h: Likewise.
35556 * include/netdb.h: Likewise.
35557 * include/pwd.h: Likewise.
35558 * include/rpc/netdb.h: Likewise.
35559 * include/sched.h: Likewise.
35560 * include/search.h: Likewise.
35561 * include/shadow.h: Likewise.
35562 * include/signal.h: Likewise.
35563 * include/stdio.h: Likewise.
35564 * include/stdlib.h: Likewise.
35565 * include/string.h: Likewise.
35566 * include/sys/socket.h: Likewise.
35567 * include/sys/stat.h: Likewise.
35568 * include/sys/statfs.h: Likewise.
35569 * include/sys/statvfs.h: Likewise.
35570 * include/sys/syslog.h: Likewise.
35571 * include/sys/time.h: Likewise.
35572 * include/sys/uio.h: Likewise.
35573 * include/time.h: Likewise.
35574 * include/unistd.h: Likewise.
35575 * include/utmp.h: Likewise.
35576 * include/wchar.h: Likewise.
35577 * include/wctype.h: Likewise.
35578 * inet/aliases.h: Likewise.
35579 * inet/arpa/inet.h: Likewise.
35580 * inet/netinet/ether.h: Likewise.
35581 * inet/netinet/in.h: Likewise.
35582 * intl/libintl.h: Likewise.
35583 * io/bits/fcntl2.h: Likewise.
35584 * io/fcntl.h: Likewise.
35585 * io/ftw.h: Likewise.
35586 * io/sys/poll.h: Likewise.
35587 * io/sys/stat.h: Likewise.
35588 * io/sys/statfs.h: Likewise.
35589 * io/sys/statvfs.h: Likewise.
35590 * io/utime.h: Likewise.
35591 * libio/bits/stdio.h: Likewise.
35592 * libio/bits/stdio2.h: Likewise.
35593 * libio/libio.h: Likewise.
35594 * libio/libioP.h: Likewise.
35595 * libio/stdio.h: Likewise.
35596 * locale/lc-ctype.c: Likewise.
35597 * locale/locale.h: Likewise.
35598 * login/utmp.h: Likewise.
35599 * malloc/arena.c: Likewise.
35600 * malloc/malloc.c: Likewise.
35601 * malloc/malloc.h: Likewise.
35602 * malloc/mcheck.c: Likewise.
35603 * malloc/mtrace.c: Likewise.
35604 * math/bits/mathcalls.h: Likewise.
35605 * math/fenv.h: Likewise.
35606 * math/math_private.h: Likewise.
35607 * misc/bits/error.h: Likewise.
35608 * misc/bits/syslog.h: Likewise.
35609 * misc/err.h: Likewise.
35610 * misc/error.h: Likewise.
35611 * misc/fstab.h: Likewise.
35612 * misc/mntent.h: Likewise.
35613 * misc/regexp.h: Likewise.
35614 * misc/search.h: Likewise.
35615 * misc/sgtty.h: Likewise.
35616 * misc/sys/mman.h: Likewise.
35617 * misc/sys/syslog.h: Likewise.
35618 * misc/sys/uio.h: Likewise.
35619 * misc/sys/xattr.h: Likewise.
35620 * misc/ttyent.h: Likewise.
35621 * nis/rpcsvc/ypclnt.h: Likewise.
35622 * nss/nss.h: Likewise.
35623 * posix/bits/unistd.h: Likewise.
35624 * posix/fnmatch.h: Likewise.
35625 * posix/glob.h: Likewise.
35626 * posix/sched.h: Likewise.
35627 * posix/spawn.h: Likewise.
35628 * posix/sys/wait.h: Likewise.
35629 * posix/unistd.h: Likewise.
35630 * posix/wordexp.h: Likewise.
35631 * pwd/pwd.h: Likewise.
35632 * resolv/netdb.h: Likewise.
35633 * resource/sys/resource.h: Likewise.
35634 * rt/aio.h: Likewise.
35635 * rt/bits/mqueue2.h: Likewise.
35636 * rt/mqueue.h: Likewise.
35637 * shadow/shadow.h: Likewise.
35638 * signal/signal.h: Likewise.
35639 * socket/send.c: Likewise.
35640 * socket/sendto.c: Likewise.
35641 * socket/sys/socket.h: Likewise.
35642 * stdio-common/printf.h: Likewise.
35643 * stdlib/bits/stdlib.h: Likewise.
35644 * stdlib/fmtmsg.h: Likewise.
35645 * stdlib/monetary.h: Likewise.
35646 * stdlib/stdlib.h: Likewise.
35647 * stdlib/ucontext.h: Likewise.
35648 * streams/stropts.h: Likewise.
35649 * string/argz.h: Likewise.
35650 * string/bits/string2.h: Likewise.
35651 * string/string.h: Likewise.
35652 * string/strings.h: Likewise.
35653 * sunrpc/rpc/auth.h: Likewise.
35654 * sunrpc/rpc/auth_des.h: Likewise.
35655 * sunrpc/rpc/clnt.h: Likewise.
35656 * sunrpc/rpc/netdb.h: Likewise.
35657 * sunrpc/rpc/pmap_clnt.h: Likewise.
35658 * sunrpc/rpc/xdr.h: Likewise.
35659 * sysdeps/generic/inttypes.h: Likewise.
35660 * sysdeps/generic/net/if.h: Likewise.
35661 * sysdeps/generic/sys/swap.h: Likewise.
35662 * sysdeps/gnu/net/if.h: Likewise.
35663 * sysdeps/gnu/utmpx.h: Likewise.
35664 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35665 * sysdeps/i386/i486/bits/string.h: Likewise.
35666 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35667 * sysdeps/s390/bits/string.h: Likewise.
35668 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35669 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35670 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35671 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35672 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35673 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35674 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35676 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35678 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35679 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35680 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35681 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35682 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35683 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35684 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35690 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35691 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35692 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35693 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35695 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35696 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35698 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35699 * sysvipc/sys/ipc.h: Likewise.
35700 * sysvipc/sys/msg.h: Likewise.
35701 * sysvipc/sys/sem.h: Likewise.
35702 * sysvipc/sys/shm.h: Likewise.
35703 * termios/termios.h: Likewise.
35704 * time/sys/time.h: Likewise.
35705 * time/time.h: Likewise.
35706 * wcsmbs/bits/wchar2.h: Likewise.
35707 * wcsmbs/uchar.h: Likewise.
35708 * wcsmbs/wchar.h: Likewise.
35709 * wctype/wctype.h: Likewise.
35710
0269750c
UD
35711 [BZ #13551]
35712 * Makeconfig: Remove all but ELF support including AIX support.
35713 * Makerules: Likewise.
35714 * config.h.in: Likewise.
35715 * config.make.in: Likewise.
35716 * configure: Likewise.
35717 * configure.in: Likewise.
35718 * csu/Makefile: Likewise.
35719 * csu/version.c: Likewise.
35720 * debug/Makefile: Likewise.
35721 * dlfcn/Makefile: Likewise.
35722 * elf/Makefile: Likewise.
35723 * extra-lib.mk: Likewise.
35724 * iconv/Makefile: Likewise.
35725 * include/libc-symbols.h: Likewise.
35726 * include/shlib-compat.h: Likewise.
35727 * resolv/Makefile: Likewise.
35728 * resolv/res_libc.c: Likewise.
35729 * rt/Makefile: Likewise.
35730 * sysdeps/i386/asm-syntax.h: Likewise.
35731 * sysdeps/i386/sysdep.h: Likewise.
35732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35733 * sysdeps/mach/sysdep.h: Likewise.
35734 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35735 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35736 * sysdeps/s390/asm-syntax.h: Likewise.
35737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35739 * sysdeps/sh/sysdep.h: Likewise.
35740 * sysdeps/unix/sparc/sysdep.h: Likewise.
35741 * sysdeps/wordsize-32/divdi3.c: Likewise.
35742 * sysdeps/x86_64/sysdep.h: Likewise.
35743
00bbd29b
UD
35744 * argp/Versions: Remove _argp_unlock_xxx.
35745
35746 [BZ #13559]
35747 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35748 * abilist/libBrokenLocale.abilist: Likewise.
35749 * abilist/libanl.abilist: Likewise.
35750 * abilist/libc.abilist: Likewise.
35751 * abilist/libcrypt.abilist: Likewise.
35752 * abilist/libdl.abilist: Likewise.
35753 * abilist/libm.abilist: Likewise.
35754 * abilist/libnsl.abilist: Likewise.
35755 * abilist/libpthread.abilist: Likewise.
35756 * abilist/libresolv.abilist: Likewise.
35757 * abilist/librt.abilist: Likewise.
35758 * abilist/libthread_db.abilist: Likewise.
35759 * abilist/libutil.abilist: Likewise.
35760 * abilist/libnss_db.abilist: New file.
35761
35762 * scripts/abilist.awk: Add support for indirect functions.
35763
a2693a0e
UD
35764 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35765
3f05895f
UD
35766 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35767
ecb6fb48
UD
35768 * shlib-versions: Remove entries for ports architectures.
35769
664f8cb9
UD
35770 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35771 files in ports.
35772 * elf/stackguard-macros.h: Remove support for IA-64.
35773 * elf/tst-auditmod1.c: Likewise.
35774 * sysdeps/generic/ldsodefs.h: Likewise.
35775
7ae81d88
UD
35776 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35777 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35778 configure files.
35779
bdeba135
UD
35780 [BZ #13552]
35781 * configure.in: Remove --enable-omitfp support.
35782 * FAQ.in: Adjust.
35783 * config.make.in: Likewise.
35784 * Makeconfig: Likewise.
35785 * manual/install.texi: Likewise.
35786
d75a0a62
UD
35787 In case anyone cares, the IA-64 architecture could move to ports.
35788 * sysdeps/ia64/*: Removed.
35789 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35790 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35791
dcc9756b
UD
35792 [BZ #13555]
35793 * configure.in: Remove entries for unsupported architectures.
35794
d3761ebc 35795 [BZ #13533]
9954432e
UD
35796 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35797 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35798 routines.
35799 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35800 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35801 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35802 fall back to using wcrtomb.
35803 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35804 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35805 renaming.
35806 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35807 * wcsmbs/tst-c16c32-1.c: New file.
35808
35809 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35810 local variable.
35811
c3a87236
UD
35812 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35813
28926a1b
UD
35814 * elf/tst-unique3.cc: Add explicit declaration of gets.
35815 * elf/tst-unique3lib.cc: Likewise.
35816 * elf/tst-unique3lib2.cc: Likewise.
35817 * elf/tst-unique4.cc: Likewise.
35818
df78418a
UD
35819 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35820
8ecd6b2a
JM
358212012-01-06 Joseph Myers <joseph@codesourcery.com>
35822
35823 [BZ #13566]
35824 * assert/assert.h (static_assert): Don't define for C++.
35825 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35826 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35827
9f115170
UD
358282012-01-03 Ulrich Drepper <drepper@gmail.com>
35829
5e0d0300
UD
35830 * iconv/loop.c (single loop): Fix assertion in storing of
35831 remaining bytes.
35832
9f115170
UD
35833 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35834
81fb02b0
UD
358352012-01-01 Ulrich Drepper <drepper@gmail.com>
35836
35837 * posix/getconf.c: Update copyright year.
35838 * nss/getent.c: Likewise.
a316c1f6 35839 * nss/makedb.c: Likewise.
81fb02b0
UD
35840 * iconv/iconvconfig.c: Likewise.
35841 * iconv/iconv_prog.c: Likewise.
35842 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35843 * elf/pldd.c: Likewise.
35844 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35845 * catgets/gencat.c: Likewise.
35846 * csu/version.c: Likewise.
35847 * elf/ldd.bash.in: Likewise.
35848 * elf/sprof.c (print_version): Likewise.
35849 * locale/programs/locale.c: Likewise.
35850 * locale/programs/localedef.c: Likewise.
a316c1f6 35851 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35852 * nscd/nscd.c (print_version): Likewise.
35853 * debug/xtrace.sh: Likewise.
35854 * malloc/memusage.sh: Likewise.
35855 * malloc/mtrace.pl: Likewise.
35856 * debug/catchsegv.sh: Likewise.
35857
2ba92745
JJ
358582011-12-30 Jakub Jelinek <jakub@redhat.com>
35859
35860 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35861 pure attribute.
35862
dadebdae
UD
358632011-12-24 Ulrich Drepper <drepper@gmail.com>
35864
d3761ebc 35865 [BZ #13533]
db6af3eb
UD
35866 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35867 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35868 transformations.
35869 * iconv/gconv_int.h: Likewise.
35870 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35871 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35872 from libc for GLIBC_2.16.
35873 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35874 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35875 * wcsmbs/uchar.h: Really define mbstate_t.
35876 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35877 * wcsmbs/c16rtomb.c: New file.
35878 * wcsmbs/mbrtoc16.c: New file.
35879 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35880 for C/POSIX locale.
35881 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35882 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35883
dadebdae
UD
35884 * wcsmbs/wchar.h: Add missing __restrict.
35885
67371b56
UD
358862011-12-23 Ulrich Drepper <drepper@gmail.com>
35887
74033a25
UD
35888 [BZ #13532]
35889 * time/Makefile (routines): Add timespec_get.
35890 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35891 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35892 timespec for ISO C11.
35893 * time/timespec_get.c: New file.
35894 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35895 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35896
380d7e87
UD
35897 [BZ #13531]
35898 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35899 * stdlib/stdlib.h: Declare aligned_alloc.
35900 * Versions.def: Add GLIBC_2.16 for libc.
35901 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35902
4e9e7a35
UD
35903 [BZ 13527]
35904 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35905 ISO C11.
35906
380d7e87 35907 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35908 code.
35909
03a71829
UD
35910 [BZ #13528]
35911 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35912
839e283e
UD
35913 [BZ #13529]
35914 * assert/assert.h (static_assert): Define.
35915
ce5294e2 35916 * version.h: Update for 2.16 development version.
90fa7312 35917
8d44e150 35918 [BZ #13526]
d7809905
UD
35919 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35920 _ISOC11_SOURCE.
35921
c0da14cd
UD
35922 * version.h (RELEASE): Bump for 2.15 release.
35923 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35924
530a3249
MP
35925 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35926 Patch by Marek Polacek <mpolacek@redhat.com>.
35927
67371b56
UD
35928 * bits/byteswap.h: Protect long long constants with __extension__.
35929 * sysdeps/i386/bits/byteswap.h: Likewise.
35930 * sysdeps/ia64/bits/byteswap.h: Likewise.
35931 * sysdeps/s390/bits/byteswap.h: Likewise.
35932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35933
15db4de1
LD
359342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35935
35936 [BZ #13540]
bbe315ea
LD
35937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35938 destination buffer.
15db4de1
LD
35939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35940
2b2596b1
MP
359412011-12-23 Marek Polacek <polacek@redhat.com>
35942
35943 * elf/dl-addr.c (determine_info): Add inline keyword.
35944 * elf/tst-auditmod4b.c (check_avx): Likewise.
35945 * elf/tst-auditmod6b.c (check_avx): Likewise.
35946 * elf/tst-auditmod6c.c (check_avx): Likewise.
35947 * elf/tst-auditmod7b.c (check_avx): Likewise.
35948
70c6c246
UD
359492011-12-23 Ulrich Drepper <drepper@gmail.com>
35950
35951 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35952 !__SSE_MATH__.
35953
c044cf14
LD
359542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35955
15db4de1 35956 [BZ #13540]
c044cf14
LD
35957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35958 processing for last bytes.
35959
6b13d9d9
BH
359602011-08-06 Bruno Haible <bruno@clisp.org>
35961
d455f537
BH
35962 [BZ #13061]
35963 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35964 U+0385, not to U+1FEE.
35965
6b13d9d9
BH
35966 [BZ #13062]
35967 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35968 entry for U+00A5 U+0301.
35969
db910efd
UD
359702011-12-22 Ulrich Drepper <drepper@gmail.com>
35971
27deeafc
UD
35972 [BZ #13166]
35973 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35974 buffer for the output is too small.
35975
aed9d171
UD
35976 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35977 optimization.
35978
db910efd
UD
35979 [BZ #13185]
35980 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35981 SSE flags if possible.
35982
2bd779ae
LD
359832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35984
e7f9dac3 35985 [BZ #13540]
2bd779ae
LD
35986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35987 processing for last bytes.
35988
154bfc16
JM
359892011-12-22 Joseph Myers <joseph@codesourcery.com>
35990
35991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35992 (syscall-list-default-options, syscall-list-default-condition)
35993 (syscall-list-includes): Define.
35994 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35995 list of ABIs and options and #if conditions for each ABI. Do not
35996 handle common syscalls between ABIs specially.
35997 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35998 Remove.
35999 (syscall-list-variants, syscall-list-32bit-options)
36000 (syscall-list-32bit-condition, syscall-list-64bit-options)
36001 (syscall-list-64bit-condition): Define.
36002 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36003 (syscall-list-variants, syscall-list-32bit-options)
36004 (syscall-list-32bit-condition, syscall-list-64bit-options)
36005 (syscall-list-64bit-condition): Define.
36006 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36007 Remove.
36008 (syscall-list-variants, syscall-list-32bit-options)
36009 (syscall-list-32bit-condition, syscall-list-64bit-options)
36010 (syscall-list-64bit-condition): Define.
36011 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36012 Remove.
36013 (syscall-list-variants, syscall-list-32bit-options)
36014 (syscall-list-32bit-condition, syscall-list-64bit-options)
36015 (syscall-list-64bit-condition): Define.
36016
21eaf3a5
UD
360172011-12-22 Ulrich Drepper <drepper@gmail.com>
36018
16c6f992
UD
36019 * locale/iso-639.def: Add brx entry.
36020
41043168
UD
36021 [BZ #13328]
36022 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36023 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36024
21eaf3a5
UD
36025 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36026 __feraiseexcept_renamed.
36027
e3a851a2
UD
360282011-12-21 Ulrich Drepper <drepper@gmail.com>
36029
4920765e
UD
36030 [BZ #13538]
36031 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36032 EPOLLET with unsigned values.
36033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36035
e3a851a2
UD
36036 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36037 to large cancellation.
36038 * math/s_cacoshf.c: Likewise.
36039 * math/s_cacoshl.c: Likewise.
36040
b27e24b8
RK
360412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36042
36043 [BZ #13305]
aebefeee 36044 [BZ #12786]
b27e24b8
RK
36045 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36046 * math/s_cacoshf.c: Likewise.
36047 * math/s_cacoshl.c: Likewise.
36048
ee190f67
UD
360492011-12-21 Ulrich Drepper <drepper@gmail.com>
36050
36051 [BZ #13439]
36052 * iconv/gconv.h: Define __GCONV_SWAP.
36053 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36054 * iconvdata/utf-16.c: Likewise.
36055 * iconvdata/utf-32.c: Likewise.
36056
707f25df
AS
360572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36058
36059 [BZ #13524]
36060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36061 numerator after shifting it by one limb.
36062
d2daaa1e
RÁE
360632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36064
36065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36066 under [__USE_EXTERN_INLINES].
36067
a4647e72
UD
360682011-12-17 Ulrich Drepper <drepper@gmail.com>
36069
36070 [BZ #13446]
36071 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36072
f0b264f1
AZ
360732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36074
36075 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36076 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36077 optimized code.
36078 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36079 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36080 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36081 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36082 for strncasecmp/strncasecmp_l compilation.
36083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36084 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36085
8ef4f244
MP
360862011-12-08 Marek Polacek <mpolacek@redhat.com>
36087
36088 [BZ #13484]
36089 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36090 of __asm__.
36091
97ac2654
UD
360922011-12-17 Ulrich Drepper <drepper@gmail.com>
36093
36094 [BZ #13506]
36095 * time/tzfile.c (__tzfile_read): Check values from file header.
36096
91d2a845
WS
360972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36098
36099 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36100 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36101 * powerpc/powerpc32/dl-start.S: Likewise.
36102 * powerpc/powerpc32/elf/start.S: Likewise.
36103 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36104 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36105 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36106 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36107 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36108 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36109 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36110 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36111 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36112 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36113 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36114 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36115 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36116 * powerpc/powerpc32/memset.S: Likewise.
36117 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36118 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36119 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36120 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36121 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36122 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36123 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36124 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36125 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36126 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36127 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36130
a1267ba1
AZ
361312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36132
36133 * math/libm-test.inc: Added more nearbyint tests.
36134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36138
ad8ac1bd
RL
361392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36140
36141 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36142 FD_CLOEXEC.
36143
1d3e4b61
UD
361442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36145
36146 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36147 Add wcscpy-ssse3 wcscpy-c.
36148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36149 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36150 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36151 * sysdeps/x86_64/wcschr.S: New file.
36152 * sysdeps/x86_64/wcsrchr.S: New file.
36153 * string/test-strcmp.c: Remove checking of wcscmp function for
36154 wrong alignments.
36155 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36156 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36157 wcsrchr-sse2 wcsrchr-c.
36158 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36159 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36160 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36161 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36162 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36163 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36164 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36165 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36167 * wcsmbc/wcschr.c (WCSCHR): New macro.
36168
5b330a2d
UD
361692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36170
36171 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36172 * wcsmbs/test-wcsrchr.c: New file.
36173 * string/test-strrchr.c: Add wcsrchr support.
36174 (WIDE): New macro.
36175 * wcsmbs/test-wcscpy.c: New file.
36176 * string/test-strcpy.c: Add wcscpy support.
36177 (WIDE): New macro.
26428b7c 36178
f039c043
UD
361792011-12-10 Ulrich Drepper <drepper@gmail.com>
36180
36181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36182 the inner loop.
36183
850fb039
AS
361842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36185
36186 [BZ #13472]
36187 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36188
4efbd5cb
UD
361892011-12-04 Ulrich Drepper <drepper@gmail.com>
36190
52ff5dd0 36191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36192 Minor optimizations.
52ff5dd0 36193
4efbd5cb
UD
36194 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36195 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36196 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36197
8a426e12
UD
361982011-12-03 Ulrich Drepper <drepper@gmail.com>
36199
aff2453d
UD
36200 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36201 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36202 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36203 for gcc to avoid warnings.
36204 * inet/Makefile (tests): Add tst-checks.
36205 * inet/tst-checks.c: New file.
36206
36207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36208 warning.
36209
36210 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36211 __wmemcmp_sse2.
36212
36213 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36214 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36215
8a426e12
UD
36216 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36217
9bea3473
UD
362182011-12-02 Ulrich Drepper <drepper@gmail.com>
36219
3a965496
UD
36220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36221 problem.
36222
9bea3473
UD
36223 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36224
f101631b
UD
362252011-11-29 Joseph Myers <joseph@codesourcery.com>
36226
36227 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36228 conditional on GCC version.
36229 (__arch_compare_and_exchange_val_8_acq)
36230 (__arch_compare_and_exchange_val_16_acq)
36231 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36232 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36233 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36234
a98275aa
UD
362352011-12-02 Joseph Myers <joseph@codesourcery.com>
36236
36237 * sysdeps/sh/backtrace.c: New file.
36238
d4cc29a2
AS
362392011-12-02 Andreas Schwab <schwab@redhat.com>
36240
36241 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36242 parenthesis.
36243
6257af2d
AS
362442011-12-01 Andreas Schwab <schwab@redhat.com>
36245
36246 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36247 falling back to utime.
36248
b5f44c1a
AS
362492011-11-30 Andreas Schwab <schwab@redhat.com>
36250
36251 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36252 expectations for float.
36253
f3a6cc0a
AS
362542011-11-29 Andreas Schwab <schwab@redhat.com>
36255
36256 * locale/weight.h (findidx): Add parameter len.
36257 * locale/weightwc.h (findidx): Likewise.
36258 * posix/fnmatch_loop.c (FCT): Adjust caller.
36259 * posix/regcomp.c (build_equiv_class): Likewise.
36260 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36261 * posix/regexec.c (check_node_accept_bytes): Likewise.
36262 * string/strcoll_l.c (STRCOLL): Likewise.
36263 * string/strxfrm_l.c (STRXFRM): Likewise.
36264
9d65ea3a
UD
362652011-11-17 Ulrich Drepper <drepper@gmail.com>
36266
36267 * Makefile.in: Remove CVSOPT handling.
36268 * configure.in: Remove use of AC_REVISION.
36269 * iconvdata/Makefile (distribute): No need to filter out CVS.
36270 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36271 handling.
36272
5583a086
AS
362732011-11-16 Andreas Schwab <schwab@redhat.com>
36274
36275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36276 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36277 [USE_AS_STRNCASECMP_L]: Likewise.
36278 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36279 NO_TLS_DIRECT_SEG_REFS.
36280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36281 Fix argument offsets for non-PIC.
36282 [USE_AS_STRNCASECMP_L]: Likewise.
36283 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36284 NO_TLS_DIRECT_SEG_REFS.
36285
d62a8200
UD
362862011-11-15 Ulrich Drepper <drepper@gmail.com>
36287
9d65ea3a 36288 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36289 O_CLOEXEC.
36290 * locale/loadlocale.c (_nl_load_locale): Likewise.
36291
09f93bd3
AS
362922011-11-15 Andreas Schwab <schwab@redhat.com>
36293
446514f9
AS
36294 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36295 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36297 (SYSCALL_GETTIME): Set errno on error.
36298
09f93bd3
AS
36299 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36300 count references to noai6ai_cached.
36301
312be3f9
UD
363022011-11-15 Ulrich Drepper <drepper@gmail.com>
36303
36304 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36305
36306 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36307 FD_CLOEXEC for /proc/self/maps.
36308
36309 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36310 FD_CLOEXEC for /proc/meminfo.
36311
36312 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36313 gai.conf.
36314
36315 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36316 FD_CLOEXEC for given file.
36317
36318 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36319
36320 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36321 FD_CLOEXEC for /etc/hosts.
36322 (_gethtent): Likewise.
36323
36324 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36325
36326 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36327 cancellation and set FD_CLOEXEC for /etc/netgroup.
36328
36329 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36330 reading /etc/publickey.
36331
36332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36333 allow cancellation when reading /etc/group.
36334
36335 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36336 cancellation.
36337 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36338
36339 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36340 when using data file.
36341
36342 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36343
36344 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36345 (write_nis_obj): Use "c" and "e" in fopen.
36346
36347 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36348
36349 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36350
36351 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36352
36353 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36354
36355 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36356 locale.alias.
36357
36358 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36359
36360 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36361
36362 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36363
36364 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36365 file parsing and set FD_CLOEXEC.
36366
82af0fa8
UD
363672011-11-14 Ulrich Drepper <drepper@gmail.com>
36368
36369 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36370
a5fb313c
AS
363712011-11-14 Andreas Schwab <schwab@redhat.com>
36372
36373 * malloc/arena.c (arena_get2): Don't call reused_arena when
36374 _int_new_arena failed.
36375
6abf3465
UD
363762011-11-14 Ulrich Drepper <drepper@gmail.com>
36377
36378 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36379 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36384 to compile strcasecmp and strncasecmp.
36385 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36386 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36387
36388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36389
76e3966e
UD
363902011-11-13 Ulrich Drepper <drepper@gmail.com>
36391
36392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36393 locale-defines.sym to gen-as-const-headers.
36394 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36395 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36397 to compile strcasecmp and strncasecmp.
36398 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36399 strcasecmp_l and strncasecmp_l.
36400 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36401 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36402 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36403 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36404 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36405 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36406 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36407 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36408 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36409 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36410 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36411
ab26144e
UD
364122011-11-12 Ulrich Drepper <drepper@gmail.com>
36413
7edb22ef
UD
36414 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36415 result of SYSDEP_GETTIME_CPU to retval.
36416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36417 parameter list to macro. Remove trailing semicolon. Adjust users.
36418
9694fc44
UD
36419 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36420 variable.
36421
8ad89ef8
UD
36422 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36423 mantissa words.
36424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36425
0c822ef9
UD
36426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36427 from unused variable.
36428
874e0564
UD
36429 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36430 DWARF definitions.
36431 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36432 for assembling.
36433
3a2edc79
UD
36434 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36435 over namespaces.
36436
f3c2577f
UD
36437 * sunrpc/rpc_prot.c (rejected): Fix case value.
36438
294ce126
UD
36439 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36440 unsigned long long int to avoid warnings in shift.
36441
5e2b63c6
UD
36442 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36443 of use of trans.
36444 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36445 variable tmp.
36446
e7f4b08e
UD
36447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36448 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36450
ab26144e
UD
36451 * nis/nis_table.c (nis_list): Use variable of correct type for
36452 result of __follow_path call.
36453
8a6d5255
AZ
364542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36455
36456 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36457 of math functions ceil, trunc, floor, round, and sqrt, when
36458 avaliable on the platform.
36459 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36460 name clash.
36461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36462 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36463 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36464
aaddc98c
MP
364652011-10-30 Marek Polacek <mpolacek@redhat.com>
36466
36467 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36468 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36469
95b7042b
RM
364702011-11-11 Roland McGrath <roland@hack.frob.com>
36471
36472 * include/unistd.h: Fix __readlink return type.
36473 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36474
57769839
UD
364752011-11-11 Ulrich Drepper <drepper@gmail.com>
36476
36477 * stdlib/ucontext.h: Undo last change for makecontext.
36478
edc5984d
AS
364792011-11-11 Andreas Schwab <schwab@redhat.com>
36480
98591e58
AS
36481 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36482
edc5984d
AS
36483 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36484 * setjmp/setjmp.h: Mark functions as non-leaf.
36485 * setjmp/bits/setjmp2.h: Likewise.
36486 * stdlib/ucontext.h: Likewise.
36487
77cdc054
AS
364882011-11-10 Andreas Schwab <schwab@redhat.com>
36489
36490 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36491 (reused_arena): Don't check arena limit.
36492 (arena_get2): Atomically check arena limit.
36493
fe72eebd
UD
364942011-11-08 Ulrich Drepper <drepper@gmail.com>
36495
5f078c32
UD
36496 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36497 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36498
fe72eebd
UD
36499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36500 instructions.
36501
ae1bc2fa
AS
365022011-11-07 Andreas Schwab <schwab@redhat.com>
36503
7583a88d
AS
36504 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36505 handler when locking.
36506
ae1bc2fa
AS
36507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36508 Fix size of allocated buffer.
36509
10fb0bfa
AS
365102011-11-04 Andreas Schwab <schwab@redhat.com>
36511
998832a4
AS
36512 [BZ #10103]
36513 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36514 declarations for long double functions.
36515 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36516
10fb0bfa
AS
36517 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36518
3d7ba52b
AS
365192011-11-03 Andreas Schwab <schwab@redhat.com>
36520
a9ae54a1
AS
36521 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36522 installed.
36523
3d7ba52b
AS
36524 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36525 is disabled.
36526
bc8db248
ST
365272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36528
36529 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36530
45b96dd6
AS
365312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36532
647776f6
AS
36533 * include/alloca.h (stackinfo_alloca_round): Define.
36534 (extend_alloca): Use it.
36535 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36536 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36537 here.
36538
d91a8b93
AS
36539 * scripts/check-local-headers.sh: Ignore libaudit.h.
36540
45b96dd6
AS
36541 * nscd/Makefile (extra-objs): Make recursively expanded.
36542
432d41ce
UD
365432011-11-01 Ulrich Drepper <drepper@gmail.com>
36544
34372fc6
UD
36545 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36547
fadb59f8
UD
36548 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36549 * posix/tst-rfc3484-2.c: Likewise.
36550 * posix/tst-rfc3484-3.c: Likewise.
36551
78239589
UD
36552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36553 process_vm_writev.
36554 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36555 process_vm_writev.
36556 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36557 process_vm_writev from libc using GLIBC_2.15 version.
36558
432d41ce
UD
36559 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36560
02f9c6cf
PP
365612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36562
36563 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36564 stack usage.
36565
3a2c0242
UD
365662011-10-31 Ulrich Drepper <drepper@gmail.com>
36567
f4ec4833
UD
36568 [BZ #13367]
36569 * nss/getent.c (initgroups_keys): Show error message in case no group
36570 names are given.
36571
3a2c0242
UD
36572 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36573 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36574 __bump_nl_timestamp.
36575 * nscd/connections (nscd_init): When host database is served open
36576 netlink socket and request notification about configuration changes.
36577 (main_loop_poll): Track netlink file descriptor and bump timestamp
36578 in case data becomes available.
36579 (main_loop_epoll): Likewise.
36580 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36581 (database_pers_head): Add extra_data fileds.
36582 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36584 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36585 Adjust caller.
36586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36587 in6ai data, call __free_in6ai.
36588 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36589 Add -DHAVE_NETLINK.
36590 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36591 interface information. Reuse previous data if netlink timestamp
36592 is not changed.
36593 (__bump_nl_timestamp): New function.
36594 (__free_in6ai): New function.
36595
636064eb
UD
365962011-10-30 Ulrich Drepper <drepper@gmail.com>
36597
36598 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36599 close_not_cancel_no_status here.
36600 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36601
9beb2334
UD
366022011-10-29 Ulrich Drepper <drepper@gmail.com>
36603
6ef76f3b
UD
36604 [BZ #13276]
36605 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36606 return value.
36607
0ffc4f3e 36608 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36609 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36610 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36611
cb95113e
UD
366122011-07-03 Andreas Jaeger <aj@suse.de>
36613
36614 [BZ #10709]
36615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36616 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36617 * math/libm-test.inc (sin_test): Add test case.
36618
a1b560ff
UD
366192011-10-29 Ulrich Drepper <drepper@gmail.com>
36620
c9aaface
UD
36621 [BZ #13337]
36622 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36624
d272e7f1
UD
36625 * elf/chroot_canon.c (chroot_canon): Cleanups.
36626
1bc33071
UD
36627 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36628
1760874d
TJ
36629 [BZ #13335]
36630 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36632
51d91b18
UD
36633 * string/test-strchr.c: Make usable for strchrnul testing.
36634 * string/test-strchrnul.c: New file.
36635 * string/Makefile (strop-tests): Add strchrnul.
36636
a1b560ff 36637 * po/it.po: Update from translation team.
b611fb81 36638 * po/es.po: Likewise.
a1b560ff 36639
a5b81e1f
UD
366402011-10-28 Ulrich Drepper <drepper@gmail.com>
36641
fd52bc6d
UD
36642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36643 the three constants needed as parameters. Drop the others.
36644 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36645 __m128i_strloadu_tolower.
52e4b9eb
UD
36646 Create and initialize variable zero and use it in all the places
36647 where _mm_setzero_si128 was used.
fd52bc6d 36648
a5b81e1f
UD
36649 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36650 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36651 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36653 anymore.
36654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36657 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36659 __mpranred, __mptan.
36660 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36661 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36662 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36663 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36667 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36668 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36669
b4343346
AS
366702011-10-28 Andreas Schwab <schwab@redhat.com>
36671
0c92d8a8
AS
36672 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36673 redefine if SHARED.
36674 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36675
b4343346
AS
36676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36677 wide char related routines to wcsmbs subdir.
36678
3871f58f
AS
366792011-10-27 Andreas Schwab <schwab@redhat.com>
36680
36681 [BZ #13344]
36682 * misc/sys/cdefs.h (__THROWNL): Define.
36683 * posix/unistd.h: Use __THREADNL instead of __THREAD
36684 for memory synchronization functions.
36685
94d44d9f
RM
366862011-10-26 Roland McGrath <roland@hack.frob.com>
36687
21b64b15 36688 [BZ #13349]
94d44d9f
RM
36689 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36690 doesn't exist.
36691 * manual/stdio.texi (Obstack Streams): Node removed.
36692
f6ce9294
AS
366932011-10-26 Andreas Schwab <schwab@redhat.com>
36694
80479147
AS
36695 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36698
f6ce9294
AS
36699 * math/math_private.h (math_force_eval): Allow non-addressable
36700 arguments.
36701 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36702
618280a1
UD
367032011-10-25 Ulrich Drepper <drepper@gmail.com>
36704
e0016b11
UD
36705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36706 file is not needed.
36707
36708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36715 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36716 Add AVX variants.
36717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36722 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36723 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36724 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36725 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36726 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36727 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36728 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36734 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36735 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36736
36737 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36738 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36739
618280a1
UD
36740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36741 place. Use VEX encoding when compiling for AVX.
36742
37822576
AS
367432011-10-25 Andreas Schwab <schwab@redhat.com>
36744
1f1e1947
AS
36745 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36746 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36747
37822576
AS
36748 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36749
31ea014d
UD
367502011-10-25 Ulrich Drepper <drepper@gmail.com>
36751
d7826aa1 36752 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36753 useless if() expression.
d7826aa1
UD
36754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36764 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36768 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36772 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36773
31ea014d
UD
36774 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36775
16437fec
AS
367762011-10-25 Andreas Schwab <schwab@redhat.com>
36777
36778 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36779 condition.
36780 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36781
31d3cc00
UD
367822011-10-25 Ulrich Drepper <drepper@gmail.com>
36783
36784 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36785 .text section. Avoid duplicate constants.
36786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36794 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36795 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36796 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36800 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36803 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36813 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36815 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36831
58985aa9
UD
368322011-10-24 Ulrich Drepper <drepper@gmail.com>
36833
202c9deb
UD
36834 * sysdeps/x86_64/dla.h: Move to ...
36835 * sysdeps/x86_64/fpu/dla.h: ...here.
36836 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36837 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36838
af968f62
UD
36839 * config.make.in: Add have-mfma4 entry.
36840 * configure.in: Substitute libc_cv_cc_fma4.
36841 * math/Makefile (dbl-only-routines): Add sincostab.
36842 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36843 Use __sincostab not sincos.
36844 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36845 name is a macro.
36846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36850 using __copysign.
36851 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36852 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36853 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36854 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36855 and __inv.
36856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36857 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36858 __copysign.
36859 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36860 define aliases when function name is a macro.
36861 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36862 sysdeps/ieee754/dbl-64/sincos.tbl.
36863 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36864 fma4-enabled routines.
36865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36875 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36877 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36878 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36880 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36881 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36882 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36883 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36885 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36886 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36892 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36894 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36895
58985aa9
UD
36896 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36897 rename.
36898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36906
a201fbcf
AS
369072011-10-24 Andreas Schwab <schwab@redhat.com>
36908
36909 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36910
fc2ee42a
LD
369112011-10-23 Ulrich Drepper <drepper@gmail.com>
36912
bb3129bd
UD
36913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36914
0275fff8
UD
36915 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36916 prediction.
36917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36918
2fa2ae85
UD
36919 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36920 Remove unused variable magic_bits.
36921 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36922
fc2ee42a
LD
36923 * string/strnlen.c: Define and use STRNLEN macro.
36924 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36925 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36927 * wcsmbs/wcslen.c: Define and use WCSLEN.
36928 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36929 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36930 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36931 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36932 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36933 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36935
ce7dd29f
LD
369362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36937
36938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36939 strnlen-sse2-no-bsf.
36940 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36942 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36943 Add strnlen support.
36944 (USE_AS_STRNLEN): New macro.
36945 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36946 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36947 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36948 * sysdeps/x86_64/wcslen.S: New file.
36949
979c70a3
MZ
369502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36951
36952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36953 XMM-moves are used for copying on small sizes.
36954
2d09f82f
LD
369552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36956
36957 * wcsmbs/Makefile (strop-tests): Add wcschr.
36958 * wcsmbs/test-wcschr.c: New file.
36959 * string/test-strchr.c: Update.
36960 Add wcschr support.
36961 (WIDE): New macro.
36962
619fccca
LD
369632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36964
2d09f82f 36965 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36966 * wcsmbs/test-wcslen.c: New file.
36967 * string/test-strlen.c: Update.
36968 Add wcslen support.
36969 (WIDE): New macro.
36970
09f699ea
UD
369712011-10-23 Ulrich Drepper <drepper@gmail.com>
36972
36973 * po/it.po: Update from translation team.
36974
95584d3b
LD
369752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36976
36977 * sysdeps/x86_64/wcscmp.S: Update.
36978 Fix wrong comparison semantics.
36979 wcscmp shall use signed comparison not unsigned.
36980 Don't use substraction to avoid overflow bug.
36981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36982 * wcsmbc/wcscmp.c: Likewise.
36983 * string/test-strcmp.c: Likewise.
36984 Add new tests to check cases with negative values.
36985
c8b3296b
UD
369862011-10-23 Ulrich Drepper <drepper@gmail.com>
36987
36988 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36989 * sysdeps/x86_64/dla.h: ...here. New file.
36990 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36999
246ad57a
AS
370002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37001
37002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37003 __ynl_finite aliases.
37004
a1a87169
UD
370052011-10-22 Ulrich Drepper <drepper@gmail.com>
37006
0d355eb7
UD
37007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37008
a1a87169
UD
37009 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37010 define DLA_FMA.
37011 [DLA_FMA] (EMULV): Use DLA_FMA.
37012 [DLA_FMA] (MUL12): Use EMULV.
37013 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37014 that are not needed.
37015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37022
ee2aafe0
AS
370232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37024
37025 * math/s_nan.c: Undef __nan.
37026 * math/s_nanf.c: Undef __nanf.
37027 * math/s_nanl.c: Undef __nanl.
37028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37029 "math_private.h".
37030
bc62c2fb
UD
370312011-10-22 Ulrich Drepper <drepper@gmail.com>
37032
77425c63
UD
37033 * math/s_catan.c: Add branch predictions.
37034 * math/s_catanf.c: Likewise.
37035 * math/s_catanh.c: Likewise.
37036 * math/s_catanhf.c: Likewise.
37037 * math/s_catanhl.c: Likewise.
37038 * math/s_catanl.c: Likewise.
37039 * math/s_cexp.c: Likewise.
37040 * math/s_cexpf.c: Likewise.
37041 * math/s_cexpl.c: Likewise.
37042 * math/s_clog.c: Likewise.
37043 * math/s_clog10.c: Likewise.
37044 * math/s_clog10f.c: Likewise.
37045 * math/s_clog10l.c: Likewise.
37046 * math/s_clogf.c: Likewise.
37047 * math/s_clogl.c: Likewise.
37048 * math/s_csqrt.c: Likewise.
37049 * math/s_csqrtf.c: Likewise.
37050 * math/s_csqrtl.c: Likewise.
37051 * math/s_ctanf.c: Likewise.
37052 * math/s_ctanh.c: Likewise.
37053 * math/s_ctanhf.c: Likewise.
37054 * math/s_ctanhl.c: Likewise.
37055 * math/s_ctanl.c: Likewise.
37056
bc62c2fb
UD
37057 * math/math_private.h: Define __nan, __nanf, __nanl.
37058 * math/s_cacosh.c: Include <math_private.h>.
37059 * math/s_cacoshl.c: Likewise.
37060 * math/s_casinh.c: Likewise.
37061 * math/s_casinhf.c: Likewise.
37062 * math/s_casinhl.c: Likewise.
37063 * math/s_ccos.c: Rely entire on ccosh.
37064 * math/s_ccosf.c: Rely entire on ccoshf.
37065 * math/s_ccosl.c: Rely entirely on ccoshl.
37066 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37067 Remove tests for FE_INVALID.
37068 * math/s_ccoshf.c: Likewise.
37069 * math/s_ccoshl.c: Likewise.
37070 * math/s_csin.c: Likewise.
37071 * math/s_csinf.c: Likewise.
37072 * math/s_csinh.c Likewise.
37073 * math/s_csinhf.c: Likewise.
37074 * math/s_csinhl.c: Likewise.
37075 * math/s_csinl.c: Likewise.
37076 * math/s_ctan.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37078 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37080
8ec250a4
UD
370812011-10-21 Ulrich Drepper <drepper@gmail.com>
37082
c196fed8
UD
37083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37084 compilation problems.
37085
8ec250a4
UD
37086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37087 __builtin_expect.
37088
8d4f46c6
UD
370892011-10-20 Ulrich Drepper <drepper@gmail.com>
37090
ed72b654
UD
37091 * sysdeps/i386/configure.in: Test for -mfma4 option.
37092 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37093 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37094 COMMON_CPUID_INDEX_80000001.
37095 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37096 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37097 use it if FMA3 is not supported.
37098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37099
8d4f46c6
UD
37100 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37102
d45c60c2
AS
371032011-10-20 Andreas Schwab <schwab@redhat.com>
37104
37105 [BZ #12892]
37106 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37107 it would create a cycle with a link time dependency.
37108
d9a4d2ab
UD
371092011-10-19 Ulrich Drepper <drepper@gmail.com>
37110
855d1560
UD
37111 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37112 instruction.
37113 * string/Makefile (strop-tests): Add rawmemchr.
37114 * string/test-rawmemchr.c: New file.
37115
d9a4d2ab
UD
37116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37118 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37119 when compiling str{,n}casecmp and when AVX is available. Hook up
37120 new optimized code in initializers.
37121
8f3b1ffe
AS
371222011-10-19 Andreas Schwab <schwab@redhat.com>
37123
37124 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37125 __feraiseexcept instead of feraiseexcept.
37126
d38f1dba
UD
371272011-10-18 Ulrich Drepper <drepper@gmail.com>
37128
d9a8d0ab
UD
37129 * math/math_private.h: Define defaults for libc_fetestexcept and
37130 libc_feupdateenv.
37131 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37132 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37133 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37134 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37137 libc_fetestexcept and libc_feupdateenv.
37138
4855e3dd
UD
37139 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37140 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37141 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37142 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37143 libc_feholdexcept_setround.
37144
581d30e3
UD
37145 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37146 Add s_nearbyint-c and s_nearbyintf-c.
37147 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37148 nearbyintf inlines.
37149 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37153
d38f1dba
UD
37154 * math/math_private.h: Define defaults for libc_fegetround,
37155 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37156 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37157 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37159 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37160 standard functions.
37161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37162 Remove comments and hacks for old compiler versions.
37163 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37164 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37165 libc_feholdexceptl.
37166
caa6c9d8
AS
371672011-10-18 Andreas Schwab <schwab@redhat.com>
37168
37169 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37170 (__feraiseexcept_renamed): Add __NTH.
37171 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37172 namespace violations.
37173
97c066e6
UD
371742011-10-17 Ulrich Drepper <drepper@gmail.com>
37175
99ce7b04
UD
37176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37177
1004d182
UD
37178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37179
228a984d
UD
37180 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37181 recently added interfaces.
37182 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37183
c8553a6a
UD
37184 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37185 about macro parameter expansion.
37186
ed22dcf6
UD
37187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37188 __NO_MATH_INLINES is defined. Cleanups.
37189
37190 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37191 and __floorf is target has SSE4.1.
37192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37193 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37194 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37195 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37196
b171c137
UD
37197 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37198 name.
37199 (floorf): Likewise.
37200
97c066e6
UD
37201 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37202
629f62ef
AS
372032011-10-17 Andreas Schwab <schwab@redhat.com>
37204
49a43d80
AS
37205 * misc/sys/cdefs.h: Fix last change.
37206
629f62ef
AS
37207 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37208 database lookup.
37209
e453f6cd
UD
372102011-10-16 Ulrich Drepper <drepper@gmail.com>
37211
aa78043a
UD
37212 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37213
ad0f5cad
UD
37214 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37217 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37218 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37223 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37224 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37225 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37226 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37228 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37229 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37230 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37231 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37233 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37235 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37236
37237 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37238 ceil, ceilf, floor, floorf.
37239
37240 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37241 Perform IRELATIVE relocations last.
37242
e453f6cd
UD
37243 * elf/do-rel.h: Add another parameter nrelative, replacing the
37244 local variable with the same name. Change name of the function
37245 to end in Rel or Rela (uppercase).
37246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37247 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37248 elf_dynamic_do_##reloc function.
37249
fd5bdc09
UD
372502011-10-15 Ulrich Drepper <drepper@gmail.com>
37251
79b195b5
UD
37252 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37253 is sufficient, at least on modern CPUs.
37254
d4a28569
UD
37255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37256
b61099b5
UD
37257 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37258 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37259
bcf01e6d
UD
37260 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37261 __expl_finite.
37262 * math/bits/math-finite.h: Add entries for exp.
37263 * math/e_expl.c: Add __*_finite alias.
37264 * sysdeps/i386/fpu/e_exp.S: Likewise.
37265 * sysdeps/i386/fpu/e_expf.S: Likewise.
37266 * sysdeps/i386/fpu/e_expl.c: Likewise.
37267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37268 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37271 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37274
ba1a0d59
UD
37275 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37276 is sufficient, at least on modern CPUs.
37277
fd5bdc09
UD
37278 * ctype/ctype-info.c (__ctype_init): Define.
37279 * include/ctype.h (__ctype_init): Declare.
37280 (__ctype_b_loc): The variable is always initialized.
37281 (__ctype_toupper_loc): Likewise.
37282 (__ctype_tolower_loc): Likewise.
37283 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37284 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37285
7872cfb0
AS
372862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37287
b468825a
AS
37288 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37289
7872cfb0
AS
37290 * configure.in: Also look in $cxxmachine/include for C++ system
37291 headers.
37292
be13f7bf
LD
372932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37294
37295 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37296 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37297 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37298 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37300 (USE_AS_WMEMCMP): New macro.
37301 Fixing indents.
37302 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37303 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37304 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37305 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37307 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37308 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37309 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37310 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37311 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37313 (USE_AS_WMEMCMP): New macro.
37314 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37315 * sysdeps/string/test-memcmp.c: Update.
37316 Fix simple_wmemcmp.
37317 Add new tests.
37318 * wcsmbs/wmemcmp.c: Update.
37319 (WMEMCMP): New macro.
37320 Fix overflow bug.
37321
556a2007
AJ
373222011-10-12 Andreas Jaeger <aj@suse.de>
37323
37324 [BZ #13268]
37325 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37326
538faaa7
UD
373272011-10-15 Ulrich Drepper <drepper@gmail.com>
37328
ab6737ff
UD
37329 * libio/iofwide.c (do_length): Avoid warning.
37330
538faaa7
UD
37331 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37332
396a21b1
UD
373332011-10-14 Ulrich Drepper <drepper@gmail.com>
37334
cdf2901f
UD
37335 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37336
38ad40ce
UD
37337 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37338 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37339 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37340 * sysdeps/i386/i686/fpu/e_log.S: New file.
37341 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37342 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37343
396a21b1
UD
37344 * ctype/ctype.h: Add support for inlined isXXX functions when
37345 compiling C++ code.
37346
6b1f68c9
AS
373472011-10-14 Andreas Schwab <schwab@redhat.com>
37348
349290c0
AS
37349 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37350
6b1f68c9
AS
37351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37352
f2282d42
RM
373532011-10-13 Roland McGrath <roland@hack.frob.com>
37354
37355 [BZ #13291]
37356 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37357
5298ffa8
AS
373582011-10-13 Andreas Schwab <schwab@redhat.com>
37359
714fad23
AS
37360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37361 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37362 feraiseexcept.
37363
81dcc7fb
AS
37364 * sysdeps/x86_64/memrchr.S: Check for zero size.
37365
5298ffa8
AS
37366 * string/stratcliff.c: Add memrchr tests.
37367
951fbcec
LD
373682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37369
37370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37371 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37372 rawmemchr-sse2 rawmemchr-sse2-bsf.
37373 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37374 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37375 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37376 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37377 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37378 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37379 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37380 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37381 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37383 * string/memrchr.c (MEMRCHR): New macro.
37384
0ac5ae23
UD
373852011-10-12 Ulrich Drepper <drepper@gmail.com>
37386
37387 Add integration with gcc's -ffinite-math-only and optimize wrapper
37388 functions in libm.
37389 * Versions.def: Define GLIBC_2.15 version for libm.
37390 * math/Makefile (headers): Add bits/math-finite.h.
37391 * math/bits/math-finite.h: New file.
37392 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37393 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37394 * math/e_acoshl.c: Add __*_finite alias.
37395 * math/e_acosl.c: Likewise.
37396 * math/e_asinl.c: Likewise.
37397 * math/e_atan2l.c: Likewise.
37398 * math/e_atanhl.c: Likewise.
37399 * math/e_coshl.c: Likewise.
37400 * math/e_exp10.c: Likewise.
37401 * math/e_exp10f.c: Likewise.
37402 * math/e_exp10l.c: Likewise.
37403 * math/e_exp2l.c: Likewise.
37404 * math/e_fmodl.c: Likewise.
37405 * math/e_gammal_r.c: Likewise.
37406 * math/e_hypotl.c: Likewise.
37407 * math/e_j0l.c: Likewise.
37408 * math/e_j1l.c: Likewise.
37409 * math/e_jnl.c: Likewise.
37410 * math/e_lgammal_r.c: Likewise.
37411 * math/e_log10l.c: Likewise.
37412 * math/e_log2l.c: Likewise.
37413 * math/e_logl.c: Likewise.
37414 * math/e_powl.c: Likewise.
37415 * math/e_sinhl.c: Likewise.
37416 * math/e_sqrtl.c: Likewise.
37417 * math/e_scalb.c: Completely rewritten and optimized.
37418 * math/e_scalbf.c: Likewise.
37419 * math/e_scalbl.c: Likewise.
37420 * math/w_acos.c: Likewise.
37421 * math/w_acosf.c: Likewise.
37422 * math/w_acosl.c: Likewise.
37423 * math/w_acosh.c: Likewise.
37424 * math/w_acoshf.c: Likewise.
37425 * math/w_acoshl.c: Likewise.
37426 * math/w_asin.c: Likewise.
37427 * math/w_asinf.c: Likewise.
37428 * math/w_asinl.c: Likewise.
37429 * math/w_atan2.c: Likewise.
37430 * math/w_atan2f.c: Likewise.
37431 * math/w_atan2l.c: Likewise.
37432 * math/w_atanh.c: Likewise.
37433 * math/w_atanhf.c: Likewise.
37434 * math/w_atanhl.c: Likewise.
37435 * math/w_exp10.c: Likewise.
37436 * math/w_exp10f.c: Likewise.
37437 * math/w_exp10l.c: Likewise.
37438 * math/w_fmod.c: Likewise.
37439 * math/w_fmodf.c: Likewise.
37440 * math/w_fmodl.c: Likewise.
37441 * math/w_j0.c: Likewise.
37442 * math/w_j0f.c: Likewise.
37443 * math/w_j0l.c: Likewise.
37444 * math/w_j1.c: Likewise.
37445 * math/w_j1f.c: Likewise.
37446 * math/w_j1l.c: Likewise.
37447 * math/w_jn.c: Likewise.
37448 * math/w_jnf.c: Likewise.
37449 * math/w_log.c: Likewise.
37450 * math/w_logf.c: Likewise.
37451 * math/w_logl.c: Likewise.
37452 * math/w_log10.c: Likewise.
37453 * math/w_log10f.c: Likewise.
37454 * math/w_log10l.c: Likewise.
37455 * math/w_log2.c: Likewise.
37456 * math/w_log2f.c: Likewise.
37457 * math/w_log2l.c: Likewise.
37458 * math/w_pow.c: Likewise.
37459 * math/w_powf.c: Likewise.
37460 * math/w_powl.c: Likewise.
37461 * math/w_remainder.c: Likewise.
37462 * math/w_remainderf.c: Likewise.
37463 * math/w_remainderl.c: Likewise.
37464 * math/w_scalb.c: Likewise.
37465 * math/w_scalbf.c: Likewise.
37466 * math/w_scalbl.c: Likewise.
37467 * math/w_sqrt.c: Likewise.
37468 * math/w_sqrtf.c: Likewise.
37469 * math/w_sqrtl.c: Likewise.
37470 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37471 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37472 used.
37473 * math/math_private.h: Declare __kernel_standard_f.
37474 * math/w_cosh.c: Remove cruft and optimize a bit.
37475 * math/w_coshf.c: Likewise.
37476 * math/w_coshl.c: Likewise.
37477 * math/w_exp2.c: Likewise.
37478 * math/w_exp2f.c: Likewise.
37479 * math/w_exp2l.c: Likewise.
37480 * math/w_hypot.c: Likewise.
37481 * math/w_hypotf.c: Likewise.
37482 * math/w_hypotl.c: Likewise.
37483 * math/w_lgamma.c: Likewise.
37484 * math/w_lgamma_r.c: Likewise.
37485 * math/w_lgammaf.c: Likewise.
37486 * math/w_lgammaf_r.c: Likewise.
37487 * math/w_lgammal.c: Likewise.
37488 * math/w_lgammal_r.c: Likewise.
37489 * math/w_sinh.c: Likewise.
37490 * math/w_sinhf.c: Likewise.
37491 * math/w_sinhl.c: Likewise.
37492 * math/w_tgamma.c: Likewise.
37493 * math/w_tgammaf.c: Likewise.
37494 * math/w_tgammal.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37497 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37498 Minor optimizations. Pretty printing. Remove cruft.
37499 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37500 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37503 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37504 * sysdeps/i386/fpu/e_asin.S: Likewise.
37505 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37506 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37507 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37508 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37512 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37513 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37514 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37515 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37516 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37517 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37518 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37519 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37520 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37521 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37522 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37523 * sysdeps/i386/fpu/e_log.S: Likewise.
37524 * sysdeps/i386/fpu/e_log10.S: Likewise.
37525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37526 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37527 * sysdeps/i386/fpu/e_log2.S: Likewise.
37528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37530 * sysdeps/i386/fpu/e_logf.S: Likewise.
37531 * sysdeps/i386/fpu/e_logl.S: Likewise.
37532 * sysdeps/i386/fpu/e_pow.S: Likewise.
37533 * sysdeps/i386/fpu/e_powf.S: Likewise.
37534 * sysdeps/i386/fpu/e_powl.S: Likewise.
37535 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37536 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37537 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37540 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37541 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37542 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37543 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37565 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37568 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37571 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37582 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37583 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37584 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37585 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37625 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37629 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37630 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37632 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37637 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37638 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37639 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37640 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37641 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37642 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37643 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37644 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37645 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37646 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37647 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37652 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37654 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37655 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37656 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37657 (__isnanf): Likewise.
37658 (__isinf_ns): Likewise.
37659 (__isinf_nsf): Likewise.
37660 (__finite): Likewise.
37661 (__finitef): Likewise.
37662 (__ieee754_sqrt): Define as macro.
37663 (__ieee754_sqrtf): Define as macro.
37664 (__ieee754_sqrtl): Define as macro.
37665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37666 inlined copy.
37667 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37668 __FINITE_MATH_ONLY__ consistent.
37669 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37670
12cc2fcd
AS
376712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37672
a843a204
AS
37673 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37674 of rawmemchr.
37675
12cc2fcd
AS
37676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37677
c853acd5
UD
376782011-10-09 Ulrich Drepper <drepper@gmail.com>
37679
37680 * po/ja.po: Update from translation team.
37681
c658d255
RM
376822011-10-08 Roland McGrath <roland@hack.frob.com>
37683
110946e4
RM
37684 * locale/programs/locarchive.c (prepare_address_space): New function.
37685 (create_archive, enlarge_archive, open_archive): Use it.
37686
50604220
RM
37687 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37688 inside [SHARED], where it is used.
37689
c658d255
RM
37690 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37691
37692 * nss/getent.c (netgroup_keys): Remove unused variable.
37693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37694
6a621eb7
UD
376952011-10-08 Ulrich Drepper <drepper@gmail.com>
37696
7edb55ce
UD
37697 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37698 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37700 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37703 * math/Makefile (libm-calls): Add s_isinf_ns.
37704 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37705 * math/multc3.c: Likewise.
37706 * math/s_casin.c: Likewise.
37707 * math/s_casinf.c: Likewise.
37708 * math/s_casinl.c: Likewise.
37709 * math/s_ccos.c: Likewise.
37710 * math/s_ccosf.c: Likewise.
37711 * math/s_ccosl.c: Likewise.
37712 * math/s_ctan.c: Likewise.
37713 * math/s_ctanf.c: Likewise.
37714 * math/s_ctanh.c: Likewise.
37715 * math/s_ctanhf.c: Likewise.
37716 * math/s_ctanhl.c: Likewise.
37717 * math/s_ctanl.c: Likewise.
37718 * math/w_fmod.c: Likewise.
37719 * math/w_fmodf.c: Likewise.
37720 * math/w_fmodl.c: Likewise.
37721 * math/w_remainder.c: Likewise.
37722 * math/w_remainderf.c: Likewise.
37723 * math/w_remainderl.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37725 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37728 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37729 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37730 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37731 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37732
187da0ae
UD
37733 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37734 of the number.
37735 * stdio-common/printf_fphex.c: Likewise.
37736 * stdio-common/printf_size.c: Likewise.
37737
9277c064
UD
37738 * math/e_exp10.c: Include math_private.h using <...> not "...".
37739 * math/e_exp10f.c: Likewise.
37740 * math/e_exp10l.c: Likewise.
37741 * math/e_exp2l.c: Likewise.
37742 * math/e_j0l.c: Likewise.
37743 * math/e_j1l.c: Likewise.
37744 * math/e_jnl.c: Likewise.
37745 * math/e_lgammal_r.c: Likewise.
37746 * math/e_rem_pio2l.c: Likewise.
37747 * math/e_scalb.c: Likewise.
37748 * math/e_scalbf.c: Likewise.
37749 * math/e_scalbl.c: Likewise.
37750 * math/k_cosl.c: Likewise.
37751 * math/k_sinl.c: Likewise.
37752 * math/k_tanl.c: Likewise.
37753 * math/s_cacoshf.c: Likewise.
37754 * math/s_catan.c: Likewise.
37755 * math/s_catanf.c: Likewise.
37756 * math/s_catanh.c: Likewise.
37757 * math/s_catanhf.c: Likewise.
37758 * math/s_catanhl.c: Likewise.
37759 * math/s_catanl.c: Likewise.
37760 * math/s_ccosh.c: Likewise.
37761 * math/s_ccoshf.c: Likewise.
37762 * math/s_ccoshl.c: Likewise.
37763 * math/s_cexp.c: Likewise.
37764 * math/s_cexpf.c: Likewise.
37765 * math/s_cexpl.c: Likewise.
37766 * math/s_clog.c: Likewise.
37767 * math/s_clog10.c: Likewise.
37768 * math/s_clog10f.c: Likewise.
37769 * math/s_clog10l.c: Likewise.
37770 * math/s_clogf.c: Likewise.
37771 * math/s_clogl.c: Likewise.
37772 * math/s_csin.c: Likewise.
37773 * math/s_csinf.c: Likewise.
37774 * math/s_csinh.c: Likewise.
37775 * math/s_csinhf.c: Likewise.
37776 * math/s_csinhl.c: Likewise.
37777 * math/s_csinl.c: Likewise.
37778 * math/s_csqrt.c: Likewise.
37779 * math/s_csqrtf.c: Likewise.
37780 * math/s_csqrtl.c: Likewise.
37781 * math/s_ctan.c: Likewise.
37782 * math/s_ctanf.c: Likewise.
37783 * math/s_ctanh.c: Likewise.
37784 * math/s_ctanhf.c: Likewise.
37785 * math/s_ctanhl.c: Likewise.
37786 * math/s_ctanl.c: Likewise.
37787 * math/s_ldexp.c: Likewise.
37788 * math/s_ldexpf.c: Likewise.
37789 * math/s_ldexpl.c: Likewise.
37790 * math/s_significand.c: Likewise.
37791 * math/s_significandf.c: Likewise.
37792 * math/s_significandl.c: Likewise.
37793 * math/w_acos.c: Likewise.
37794 * math/w_acosf.c: Likewise.
37795 * math/w_acosh.c: Likewise.
37796 * math/w_acoshf.c: Likewise.
37797 * math/w_acoshl.c: Likewise.
37798 * math/w_acosl.c: Likewise.
37799 * math/w_asin.c: Likewise.
37800 * math/w_asinf.c: Likewise.
37801 * math/w_asinl.c: Likewise.
37802 * math/w_atan2.c: Likewise.
37803 * math/w_atan2f.c: Likewise.
37804 * math/w_atan2l.c: Likewise.
37805 * math/w_atanh.c: Likewise.
37806 * math/w_atanhf.c: Likewise.
37807 * math/w_atanhl.c: Likewise.
37808 * math/w_cosh.c: Likewise.
37809 * math/w_coshf.c: Likewise.
37810 * math/w_coshl.c: Likewise.
37811 * math/w_dremf.c: Likewise.
37812 * math/w_exp10.c: Likewise.
37813 * math/w_exp10f.c: Likewise.
37814 * math/w_exp10l.c: Likewise.
37815 * math/w_exp2.c: Likewise.
37816 * math/w_exp2f.c: Likewise.
37817 * math/w_fmod.c: Likewise.
37818 * math/w_fmodf.c: Likewise.
37819 * math/w_fmodl.c: Likewise.
37820 * math/w_hypot.c: Likewise.
37821 * math/w_hypotf.c: Likewise.
37822 * math/w_hypotl.c: Likewise.
37823 * math/w_j0.c: Likewise.
37824 * math/w_j0f.c: Likewise.
37825 * math/w_j0l.c: Likewise.
37826 * math/w_j1.c: Likewise.
37827 * math/w_j1f.c: Likewise.
37828 * math/w_j1l.c: Likewise.
37829 * math/w_jn.c: Likewise.
37830 * math/w_jnf.c: Likewise.
37831 * math/w_jnl.c: Likewise.
37832 * math/w_lgamma.c: Likewise.
37833 * math/w_lgamma_r.c: Likewise.
37834 * math/w_lgammaf.c: Likewise.
37835 * math/w_lgammaf_r.c: Likewise.
37836 * math/w_lgammal.c: Likewise.
37837 * math/w_lgammal_r.c: Likewise.
37838 * math/w_log.c: Likewise.
37839 * math/w_log10.c: Likewise.
37840 * math/w_log10f.c: Likewise.
37841 * math/w_log10l.c: Likewise.
37842 * math/w_log2.c: Likewise.
37843 * math/w_log2f.c: Likewise.
37844 * math/w_log2l.c: Likewise.
37845 * math/w_logf.c: Likewise.
37846 * math/w_logl.c: Likewise.
37847 * math/w_pow.c: Likewise.
37848 * math/w_powf.c: Likewise.
37849 * math/w_powl.c: Likewise.
37850 * math/w_remainder.c: Likewise.
37851 * math/w_remainderf.c: Likewise.
37852 * math/w_remainderl.c: Likewise.
37853 * math/w_scalb.c: Likewise.
37854 * math/w_scalbf.c: Likewise.
37855 * math/w_scalbl.c: Likewise.
37856 * math/w_sinh.c: Likewise.
37857 * math/w_sinhf.c: Likewise.
37858 * math/w_sinhl.c: Likewise.
37859 * math/w_sqrt.c: Likewise.
37860 * math/w_sqrtf.c: Likewise.
37861 * math/w_sqrtl.c: Likewise.
37862 * math/w_tgamma.c: Likewise.
37863 * math/w_tgammaf.c: Likewise.
37864 * math/w_tgammal.c: Likewise.
37865
6a621eb7
UD
37866 * po/ja.po: Update from translation team.
37867
bf582445
AJ
378682011-09-29 Andreas Jaeger <aj@suse.de>
37869
f9efbf3a
AJ
37870 [BZ #13179]
37871 * sunrpc/netname.c (netname2host): Fix logic.
37872
bf582445
AJ
37873 [BZ #6779]
37874 [BZ #6783]
37875 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37876 correctly.
37877 * math/w_remainder.c (__remainder): Likewise.
37878 * math/w_remainderf.c (__remainderf): Likewise.
37879 * math/libm-test.inc (remainder_test): Add test cases.
37880
48693bea
AK
378812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37882
37883 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37884 sdiv_qrnnd.
37885
42622229
LD
378862011-10-07 Ulrich Drepper <drepper@gmail.com>
37887
37888 * string/test-memcmp.c: Avoid unncessary #defines.
37889 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37890
093ecf92
LD
378912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37892
37893 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37894 Use new sse2 version for core i3 - i7 as it's faster
37895 than sse42 version.
37896 (bit_Prefer_PMINUB_for_stringop): New.
37897 * sysdeps/x86_64/rawmemchr.S: Update.
37898 Replace with faster SSE2 version.
37899 * sysdeps/x86_64/memrchr.S: New file.
37900 * sysdeps/x86_64/memchr.S: Update.
37901 Replace with faster SSE2 version.
37902
fde56e5c
MP
379032011-09-12 Marek Polacek <mpolacek@redhat.com>
37904
37905 * elf/dl-load.c (lose): Add cast to avoid warning.
37906
21fd49a9
UD
379072011-10-07 Ulrich Drepper <drepper@gmail.com>
37908
5a06e643
UD
37909 * po/ca.po: Update from translation team.
37910
684ae515
UD
37911 * inet/getnetgrent_r.c: Hook up nscd.
37912 * nscd/Makefile (routines): Add nscd_netgroup.
37913 (nscd-modules): Add netgroupcache.
37914 (CFLAGS-netgroupcache.c): Define.
37915 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37916 (cache_search): Add const to second parameter.
37917 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37918 INNETGR.
37919 (dbs): Add netgrdb entry.
37920 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37921 (verify_persistent_db): Handle netgrdb.
37922 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37923 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37924 GETFDNETGR.
37925 (netgroup_response_header): Define.
37926 (innetgroup_response_header): Define.
37927 (datahead): Add netgroup_response_header and innetgroup_response_header
37928 elements.
37929 * nscd/nscd.conf: Add entries for netgroup cache.
37930 * nscd/nscd.h (dbtype): Add netgrdb.
37931 (_PATH_NSCD_NETGROUP_DB): Define.
37932 (netgroup_iov_disabled): Declare.
37933 (xmalloc, xcalloc, xrealloc): Move declarations here.
37934 (cache_search): Adjust prototype.
37935 Add netgroup-related prototypes.
37936 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37937 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37938 (__nscd_innetgr): Declare.
37939 * nscd/selinux.c (perms): Use access_vector_t as element type and
37940 add netgroup-related initializers.
37941 * nscd/netgroupcache.c: New file.
37942 * nscd/nscd_netgroup.c: New file.
37943 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37944 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37945 For four parameters use innetgr.
37946 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37947 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37948 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37949 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37950
21fd49a9
UD
37951 * nscd/connections.c (register_traced_file): Don't register file
37952 for disabled databases.
37953
054c0457
UD
379542011-10-06 Ulrich Drepper <drepper@gmail.com>
37955
32b63198
UD
37956 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37957
054c0457
UD
37958 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37959 from tree and freeing node.
37960
64031225
JO
379612011-09-25 Jiri Olsa <jolsa@redhat.com>
37962
37963 * nss/nsswitch.c (__nss_database_lookup): Handle
37964 nss_parse_service_list out of memory case.
37965
0490345c
JO
379662011-09-15 Jiri Olsa <jolsa@redhat.com>
37967
37968 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37969 out of memory case.
37970
3a62d00d
AS
379712011-10-04 Andreas Schwab <schwab@redhat.com>
37972
37973 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37974 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37975 pass it down.
37976 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37977 elf_machine_rela, elf_machine_lazy_rel.
37978 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37979 (ELF_DYNAMIC_DO_REL): Likewise.
37980 (ELF_DYNAMIC_DO_RELA): Likewise.
37981 (ELF_DYNAMIC_RELOCATE): Likewise.
37982 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37983 to ELF_DYNAMIC_DO_REL.
37984 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37985 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37986 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37987 elf_machine_rela.
37988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37989 skip_ifunc, don't call ifunc function if non-zero.
37990 (elf_machine_rela): Likewise.
37991 (elf_machine_lazy_rel): Likewise.
37992 (elf_machine_lazy_rela): Likewise.
37993 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37994 (elf_machine_lazy_rel): Likewise.
37995 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37996 Likewise.
37997 (elf_machine_lazy_rel): Likewise.
37998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37999 Likewise.
38000 (elf_machine_lazy_rel): Likewise.
38001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38002 (elf_machine_lazy_rel): Likewise.
38003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38004 (elf_machine_lazy_rel): Likewise.
38005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38006 (elf_machine_lazy_rel): Likewise.
38007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38008 (elf_machine_lazy_rel): Likewise.
38009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38010 (elf_machine_lazy_rel): Likewise.
38011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38012 (elf_machine_lazy_rel): Likewise.
38013
68577918
UD
380142011-09-28 Ulrich Drepper <drepper@gmail.com>
38015
38016 * nss/nss_files/files-init.c (_nss_files_init): Use static
38017 initialization for all the *_traced_file variables.
38018
68822d74
AS
380192011-09-28 Andreas Schwab <schwab@redhat.com>
38020
38021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38022
2056100b
RM
380232011-09-27 Roland McGrath <roland@hack.frob.com>
38024
38025 [BZ #13226]
38026 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38027
32c76b63
AS
380282011-09-27 Andreas Schwab <schwab@redhat.com>
38029
38030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38031 Reread the line before reparsing it.
38032
bf972c9d
AS
380332011-09-26 Andreas Schwab <schwab@redhat.com>
38034
38035 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38036
e057a1b5
JM
380372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38038 Maxim Kuvyrkov <maxim@codesourcery.com>
38039 Joseph Myers <joseph@codesourcery.com>
38040
38041 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38042 if needed for __stack_chk_guard.
38043
bc7e1c36
RM
380442011-09-19 Roland McGrath <roland@hack.frob.com>
38045
ecb1482f
RM
38046 * sysdeps/posix/spawni.c (script_execute): Always define it.
38047 It will be optimized away if unused.
38048 (maybe_script_execute): New function.
38049 (__spawni): Call it.
38050
bc7e1c36
RM
38051 * Makerules: Don't include tls.make.
38052 (config-tls): Always set to thread.
38053 * tls.make.c: File removed.
38054
1c3b002b
MF
380552011-09-19 Mike Frysinger <vapier@gentoo.org>
38056
38057 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38058 * config.make.in (CPPFLAGS-config): New substituted variable.
38059
2840865d
UD
380602011-09-15 Ulrich Drepper <drepper@gmail.com>
38061
88738eb6
UD
38062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38063
cbf645a6 38064 [BZ #13192]
2840865d
UD
38065 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38066 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38067
b402e91a
RM
380682011-09-15 Roland McGrath <roland@hack.frob.com>
38069
38070 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38071 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38073 (CALL_FAIL): Likewise.
38074 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38075 (CALL_FAIL): Macro removed.
38076 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38077
4c1a1f71
UD
380782011-09-15 Ulrich Drepper <drepper@gmail.com>
38079
38080 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38081 for __FINITE_MATH_ONLY__ == 1.
38082
edc121be
AS
380832011-09-15 Andreas Schwab <schwab@redhat.com>
38084
38085 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38086 __ieee754_sqrt instead of sqrt.
38087 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38088 __ieee754_sqrtf instead of sqrtf.
38089 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38090 __floorf instead of floorf.
38091 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38092 __floorf, __truncf instead of floorf, truncf.
38093
cd205654
UD
380942011-09-14 Ulrich Drepper <drepper@gmail.com>
38095
ee4d0315
UD
38096 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38097
cd205654
UD
38098 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38099 __extern_always_inline.
38100 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38101 32-bit.
38102
48b67d71
AS
381032011-09-14 Andreas Schwab <schwab@redhat.com>
38104
38105 * elf/rtld.c (dl_main): Also relocate in dependency order when
38106 doing symbol dependency testing.
38107
1ae12c75
AS
381082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38109
38110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38111 Always define `refsym'.
38112
995a80df
AS
381132011-09-13 Andreas Schwab <schwab@redhat.com>
38114
e529793b
AS
38115 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38116 (__FD_ELT): Renamed from __FDELT.
38117 * misc/bits/select2.h (__FD_ELT): Likewise.
38118 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38119 __FD_MASK instead of __FDELT, __FDMASK.
38120 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38121 Likewise.
38122 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38123 Likewise.
38124
52d4fef8
AS
38125 * elf/Makefile (gen-ldd): Fix pattern.
38126
995a80df
AS
38127 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38128 (init_tls): Likewise.
38129
8682f8b0
UD
381302011-09-12 Ulrich Drepper <drepper@gmail.com>
38131
38132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38133
de82006d
AS
381342011-09-12 Andreas Schwab <schwab@redhat.com>
38135
a7c8e6a1
AS
38136 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38137 `struct cmsghdr *' instead of `void *'.
38138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38139 Likewise.
38140
0f31fe77
AS
381412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38142
38143 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38144 if non-absolute.
38145 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38146 ldd_rewrite_script.
0f31fe77 38147
32b4c839
UD
381482011-09-11 Ulrich Drepper <drepper@gmail.com>
38149
83cd1420
UD
38150 * configure.in: Remove --with-tls option.
38151 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38152 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38153 out in case it is missing.
38154 * sysdeps/ia64/elf/configure.in: Likewise.
38155 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38156 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38157 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38158 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38159 * sysdeps/sh/elf/configure.in: Likewise.
38160 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38161 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38162 * sysdeps/x86_64/elf/configure.in: Likewise.
38163 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38164 * sysdeps/mach/hurd/tls.h: Likewise.
38165
633f745d
UD
38166 [BZ #13067]
38167 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38168
f318beb8
UD
38169 [BZ #13090]
38170 * configure.in: Fix use of AC_INIT.
38171
32b4c839
UD
38172 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38173
3ce1f295
UD
381742011-09-10 Ulrich Drepper <drepper@gmail.com>
38175
bb016596
UD
38176 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38177 __set_errno.
8e58439c
UD
38178 * malloc/hooks.c: Likewise.
38179
aebae053 38180 [BZ #11929]
02d46fc4
UD
38181 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38182 variables statically.
38183 (narenas): Initialize.
38184 (list_lock): Initialize.
bb016596
UD
38185 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38186 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38187 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38188 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38189 Add initializers to main_arena and mp_.
38190 (malloc_state): Remove pagesize member. Change all users to use
38191 GLRO(dl_pagesize).
38192
38193 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38194 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38195 is always initialized.
38196
22a89187
UD
38197 * malloc/malloc.c: Removed unused configurations and dead code.
38198 * malloc/arena.c: Likewise.
38199 * malloc/hooks.c: Likewise.
02d46fc4 38200 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38201
d063d164
UD
38202 * include/tls.h: Removed. USE___THREAD must always be defined.
38203 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38204 * elf/dl-libc.c: Likewise.
38205 * elf/dl-tsd.c: Likewise.
38206 * include/errno.h: Likewise.
38207 * include/netdb.h: Likewise.
38208 * include/resolv.h: Likewise.
38209 * inet/herrno-loc.c: Likewise.
38210 * inet/herrno.c: Likewise.
38211 * malloc/arena.c: Likewise.
38212 * malloc/hooks.c: Likewise.
38213 * malloc/malloc.c: Likewise.
38214 * resolv/res-state.c: Likewise.
38215 * resolv/res_libc.c: Likewise.
38216 * sysdeps/i386/dl-machine.h: Likewise.
38217 * sysdeps/ia64/dl-machine.h: Likewise.
38218 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38220 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38221 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38222 * sysdeps/sh/dl-machine.h: Likewise.
38223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38225 * sysdeps/unix/i386/sysdep.S: Likewise.
38226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38227 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38232 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38237 * sysdeps/x86_64/dl-machine.h: Likewise.
38238 * tls.make.c: Likewise.
38239
3ce1f295
UD
38240 * configure.in: Remove --with-__thread option. Make tests for
38241 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38242 tls_model attribute fail if no support is available. Remove
38243 USE_IN_LIBIO.
38244 * Makeconfig: Adjust for dropped configure option. All features are
38245 now mandatory.
38246 * Makerules: Likewise.
38247 * Versions.def: Likewise.
38248 * argp/argp-fmtstream.c: Likewise.
38249 * argp/argp-fmtstream.h: Likewise.
38250 * argp/argp-help.c: Likewise.
38251 * assert/assert.c: Likewise.
38252 * config.h.in: Likewise.
38253 * config.make.in: Likewise.
38254 * configure: Likewise.
38255 * configure.in: Likewise.
38256 * csu/Versions: Likewise.
38257 * csu/init.c: Likewise.
38258 * elf/tst-audit2.c: Likewise.
38259 * elf/tst-tls10.c: Likewise.
38260 * elf/tst-tls10.h: Likewise.
38261 * elf/tst-tls11.c: Likewise.
38262 * elf/tst-tls12.c: Likewise.
38263 * elf/tst-tls14.c: Likewise.
38264 * elf/tst-tlsmod11.c: Likewise.
38265 * elf/tst-tlsmod12.c: Likewise.
38266 * elf/tst-tlsmod13.c: Likewise.
38267 * elf/tst-tlsmod13a.c: Likewise.
38268 * elf/tst-tlsmod14a.c: Likewise.
38269 * elf/tst-tlsmod15b.c: Likewise.
38270 * elf/tst-tlsmod16a.c: Likewise.
38271 * elf/tst-tlsmod16b.c: Likewise.
38272 * elf/tst-tlsmod7.c: Likewise.
38273 * elf/tst-tlsmod8.c: Likewise.
38274 * elf/tst-tlsmod9.c: Likewise.
38275 * gmon/gmon.c: Likewise.
38276 * grp/fgetgrent_r.c: Likewise.
38277 * grp/putgrent.c: Likewise.
38278 * hurd/fopenport.c: Likewise.
38279 * include/libc-symbols.h: Likewise.
38280 * include/tls.h: Likewise.
38281 * intl/gettextP.h: Likewise.
38282 * intl/loadinfo.h: Likewise.
38283 * locale/global-locale.c: Likewise.
38284 * locale/localeinfo.h: Likewise.
38285 * mach/devstream.c: Likewise.
38286 * malloc/arena.c: Likewise.
38287 * malloc/set-freeres.c: Likewise.
38288 * misc/err.c: Likewise.
38289 * misc/getttyent.c: Likewise.
38290 * misc/mntent_r.c: Likewise.
38291 * posix/getopt.c: Likewise.
38292 * posix/wordexp.c: Likewise.
38293 * pwd/fgetpwent_r.c: Likewise.
38294 * resolv/Versions: Likewise.
38295 * resolv/res_hconf.c: Likewise.
38296 * shadow/fgetspent_r.c: Likewise.
38297 * shadow/putspent.c: Likewise.
38298 * stdio-common/printf_fphex.c: Likewise.
38299 * stdio-common/tmpfile.c: Likewise.
38300 * stdlib/abort.c: Likewise.
38301 * stdlib/fmtmsg.c: Likewise.
38302 * sunrpc/auth_unix.c: Likewise.
38303 * sunrpc/clnt_perr.c: Likewise.
38304 * sunrpc/clnt_tcp.c: Likewise.
38305 * sunrpc/clnt_udp.c: Likewise.
38306 * sunrpc/clnt_unix.c: Likewise.
38307 * sunrpc/openchild.c: Likewise.
38308 * sunrpc/svc_simple.c: Likewise.
38309 * sunrpc/svc_tcp.c: Likewise.
38310 * sunrpc/svc_udp.c: Likewise.
38311 * sunrpc/svc_unix.c: Likewise.
38312 * sunrpc/xdr.c: Likewise.
38313 * sunrpc/xdr_array.c: Likewise.
38314 * sunrpc/xdr_rec.c: Likewise.
38315 * sunrpc/xdr_ref.c: Likewise.
38316 * sunrpc/xdr_stdio.c: Likewise.
38317
1248c1c4
PB
383182011-09-09 Ulrich Drepper <drepper@gmail.com>
38319
38320 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38321
383222011-07-03 Andreas Jaeger <aj@suse.de>
38323
38324 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38325 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38326 regenerate with gen-libm-tests.pl.
38327
383282010-05-12 Petr Baudis <pasky@suse.cz>
38329
38330 [BZ #11589]
38331 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38332 around j0() zero points by switching to j1().
38333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38337
f22e1074
UD
383382011-09-09 Ulrich Drepper <drepper@gmail.com>
38339
f19009c1
UD
38340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38341 instead of 0.
38342 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38343 instead of 0.
f19009c1
UD
38344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38345 Patch in part by Pavel Roskin <proski@gnu.org>.
38346
3f8cc204
UD
38347 [BZ #13138]
38348 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38349 realloc.
38350 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38351 Free memory block if necessary.
38352
f22e1074
UD
38353 [BZ #12847]
38354 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38355 be NULL. Don't lock in this case.
38356
0a2349f9
RM
383572011-09-09 Roland McGrath <roland@hack.frob.com>
38358
38359 * elf/elf.h (ELFOSABI_GNU): New macro.
38360 (ELFOSABI_LINUX): Define to that.
38361
f3cdd467
DZ
383622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38363
38364 * string/strncat.c (strncat): Undef the symbol in case it has been
38365 defined in bits/string.h.
38366
74718d13
UD
383672011-09-09 Ulrich Drepper <drepper@gmail.com>
38368
633e9e0f
UD
38369 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38370
0a2349f9 38371 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38372 link map.
38373
f9924780
AJ
383742011-08-17 Andreas Jaeger <aj@suse.de>
38375
38376 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38377
7f5517aa
PP
383782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38379 Ian Lance Taylor <iant@google.com>
38380
38381 * math/libm-test.inc (lround_test): New testcase.
38382 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38383
762011fe
UD
383842011-09-08 Ulrich Drepper <drepper@gmail.com>
38385
92963737
UD
38386 * Makefile: Remove support for automatic cvs check-ins.
38387 * Makerules: Likewise.
38388 * config.make.in: Likewise.
38389 * configure.in: Likewise.
38390 * intl/Makefile: Likewise.
38391 * locale/Makefile: Likewise.
38392 * po/Makefile: Likewise.
38393 * posix/Makefile: Likewise.
38394 * sysdeps/gnu/Makefile: Likewise.
38395 * sysdeps/mach/hurd/Makefile: Likewise.
38396 * sysdeps/sparc/sparc32/Makefile: Likewise.
38397
b0727fd8
JS
38398 [BZ #13118]
38399 * posix/Makefile (bug-regex32-ENV): Define.
38400 Patch by John Stanley <jpsinthemix@verizon.net>.
38401
a0f33f99
UD
38402 * misc/Makefile (headers): Add bits/select2.h.
38403 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38404 * misc/bits/select2.h: New file.
38405 * include/bits/select2.h: New file.
38406 * debug/Makefile (routines): Add fdelt_chk.
38407 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38408 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38409 FD_ISSET.
38410 * debug/fdelt_chk.c: New file.
38411
762011fe
UD
38412 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38413 * wcsmbs/test-wmemcmp.c: Likewise.
38414 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38415 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38416
384172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38418
38419 * string/Makefile (strop-tests): Add memcmp.
38420 * string/test-wmemcmp.c: New file.
38421 * string/test-memcmp.c: Add wmemcmp support.
38422
7f513ec8
RM
384232011-09-08 Roland McGrath <roland@hack.frob.com>
38424
0442afb4
RM
38425 [BZ #13153]
38426 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38427 2011-07-19 change.
38428
7f513ec8
RM
38429 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38430 garbage value in a __mach_port_mod_refs call in the cases of the
38431 task-self and thread-self ports.
38432
a12b2239
ST
384332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38434
38435 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38436
610f9ab4
AS
384372011-09-08 Andreas Schwab <schwab@redhat.com>
38438
7f513ec8 38439 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38440
48882a1a
LD
384412011-09-07 Ulrich Drepper <drepper@gmail.com>
38442
b49865be
UD
38443 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38444
fdc86bc9
UD
38445 * elf/dl-libc.c (dlerror_run): Pass back error code from
38446 dl_catch_error.
38447
c966526a
UD
38448 [BZ #13123]
38449 * elf/dl-load.c (lose): Free l_origin if it is valid.
38450
48882a1a
LD
38451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38452 names.
38453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38458 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38459
77a2a8b4
AZ
384602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38461
38462 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38463 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38464 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38465 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38466 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38467 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38468 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38469 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38470 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38471 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38472
24f579d8
AM
384732011-08-15 Alan Modra <amodra@gmail.com>
38474
38475 [BZ #13092]
38476 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38477 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38478 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38479 ppc_mcount to static-only-routines.
38480 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38481 __mcount_internal.
38482 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38483 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38484
3d4837df
UD
384852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38486
38487 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38488 for finite and infinity parameters.
38489
22700377
WS
384902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38491
38492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38493 and add nop instructions for throughput optimization.
38494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38495
5025581e
WS
384962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38497
38498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38499 aligned copy for power7 with vector-scalar instructions.
38500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38501
08a300c9
L
385022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38503
38504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38505 AVX check.
38506
59178ef9
AS
385072011-09-07 Andreas Schwab <schwab@redhat.com>
38508
38509 [BZ #13144]
38510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38511 last change.
38512
e38ba7ab
UD
385132011-09-07 Ulrich Drepper <drepper@gmail.com>
38514
38515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38516 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38517 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38518 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38519 clock_gettime.
38520
d53a73ac
UD
385212011-09-06 Ulrich Drepper <drepper@gmail.com>
38522
fc8bffcc
UD
38523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38524 Forgot to demangle the pointer.
38525
ceaa0c5d
UD
38526 * sysdeps/i386/sysdep.h: Define atom_text_section.
38527 * sysdeps/x86_64/sysdep.h: Likewise.
38528 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38529 section with atom_text_section.
38530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38535
a77d3c17
UD
38536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38538 already be defined. Change to take two parameters and don't assign
38539 result to variable. Adjust all users.
38540 Define INTERNAL_GETTIME if not already defined.
38541 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38542 call.
38543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38544 HAVE_CLOCK_GETTIME_VSYSCALL.
38545 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38546
d53a73ac
UD
38547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38548 gettimeofday vsyscall, just use time.
38549
a8f84144
AS
385502011-09-06 Andreas Schwab <schwab@redhat.com>
38551
38552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38553 <errno.h>.
38554
ef606249
UD
385552011-09-06 Ulrich Drepper <drepper@gmail.com>
38556
38557 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38558 syscall on x86-64.
38559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38560 syscall.
38561 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38563 syscall if possible.
38564
6585cb60
UD
385652011-09-05 Ulrich Drepper <drepper@gmail.com>
38566
38567 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38568 e_ident. Don't pass to find_mapsXX.
38569 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38570
a5f524e4
LD
385712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38572
38573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38574 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38575 * sysdeps/x86_64/multiarch/strchr.S: Update.
38576 Check bit_slow_BSF bit.
38577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38578 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38580
554881ef
UD
385812011-09-05 Ulrich Drepper <drepper@gmail.com>
38582
d96de963
UD
38583 [BZ #13134]
38584 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38585 before glibc 2.15.
38586 (tryshell): Define.
38587 (__spawni): Change last parameter to be flag. Test
38588 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38589 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38590 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38591 * posix/spawni.c: Likewise.
38592 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38593 * posix/spawnp.c: Likewise. Change normal version to use
38594 SPAWN_XFLAGS_USE_PATH.
38595 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38596 SPAWN_XFLAGS_TRY_SHELL.
38597
d48e5868
UD
38598 [BZ #13150]
38599 * posix/glob.h: Remove gcc 1.x support.
38600
554881ef
UD
38601 [BZ #13068]
38602 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38603
693fb948
LD
386042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38605
38606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38607 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38608 strrchr-sse2-bsf
38609 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38610 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38613 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38615
1b48c537
UD
386162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38617
49d42c37
UD
38618 * sysdeps/x86_64/wcscmp.S: New file.
38619
1b48c537
UD
38620 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38621 wcscmp-c wcscmp-sse2
38622 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38623 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38625 * wcsmbs/wcscmp.c: Allow renaming.
38626
15c95c5d
DM
386272011-09-05 David S. Miller <davem@davemloft.net>
38628
38629 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38630 stack slot, rather than the struct return pointer slot.
38631 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38632 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38635
2f0ad8f3
UD
386362011-09-05 Ulrich Drepper <drepper@gmail.com>
38637
d88ae418
UD
38638 * po/ja.po: Update from translation team.
38639
2f0ad8f3
UD
38640 [BZ #13144]
38641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38642 kernel in 64-bit binaries.
38643
5f4318d1
DM
386442011-09-01 David S. Miller <davem@davemloft.net>
38645
38646 * elf/elf.h (HWCAP_SPARC_*): Move to..
38647 * sysdeps/sparc/sysdep.h: this new file and add new values.
38648 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38649 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38650 _DL_HWCAP_COUNT to 24.
38651 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38652 entries.
38653 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38654 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38655 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38657 instead of magic constants.
38658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38659
3ba57516
DM
386602011-08-31 David S. Miller <davem@davemloft.net>
38661
38662 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38664 Reimplement to do errno handling inline.
38665 (SYSCALL_ERROR_HANDLER): New macro.
38666 (__SYSCALL_STRING): Do not do errno handling in asm.
38667 (__CLONE_SYSCALL_STRING): Delete.
38668 (__INTERNAL_SYSCALL_STRING): Delete.
38669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38670 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38671 (PSEUDO): Reimplement to do errno handling inline.
38672 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38673 (SYSCALL_ERROR_HANDLER): New macro.
38674 (__SYSCALL_STRING): Do not do errno handling in asm.
38675 (__CLONE_SYSCALL_STRING): Delete.
38676 (__INTERNAL_SYSCALL_STRING): Delete.
38677 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38678 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38679 i386.
38680 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38681 (inline_syscall*): Add 'err' argument.
38682 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38683 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38684 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38685 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38686
38687 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38688 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38689
2bc17433
AS
386902011-08-30 Andreas Schwab <schwab@redhat.com>
38691
38692 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38693
fbeb5f4d
JO
386942011-08-29 Jiri Olsa <jolsa@redhat.com>
38695
38696 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38697 directive.
38698
ad69cc26
DM
386992011-08-24 David S. Miller <davem@davemloft.net>
38700
38701 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38702
39dd69df
AS
387032011-08-24 Andreas Schwab <schwab@redhat.com>
38704
38705 * elf/Makefile: Add rules to build and run unload8 test.
38706 * elf/unload8.c: New file.
38707 * elf/unload8mod1.c: New file.
38708 * elf/unload8mod1x.c: New file.
38709 * elf/unload8mod2.c: New file.
38710 * elf/unload8mod3.c: New file.
38711
38712 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38713 it wasn't used.
38714
2c0b250a
DM
387152011-08-23 David S. Miller <davem@davemloft.net>
38716
38717 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38718 subtract stack bias.
38719 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38720 %sp not %fp in calculations.
38721 (_JMPBUF_UNWINDS_ADJ): Likewise.
38722
22044b48
DM
38723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38724 (aio_suspend): Call it to force an exception region around the
38725 AIO_MISC_WAIT() invocation.
38726
2cae4995
AS
387272011-08-23 Andreas Schwab <schwab@redhat.com>
38728
38729 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38730 backslash.
38731
873a772e
AJ
387322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38733
38734 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38735 protection macro.
38736 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38737 and <dl-machine.h>.
38738 (Elf64_FuncDesc): Remove.
38739
25ad0df1
DM
387402011-08-22 David S. Miller <davem@davemloft.net>
38741
38742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38743 sigaltstack check, add missing cfi directives.
38744 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38745 missing cfi directives, and sigaltstack handling.
38746
e888bcbe
AS
387472011-08-16 Andreas Schwab <schwab@redhat.com>
38748
38749 [BZ #11724]
38750 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38751 object is seen twice.
38752 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38753
38754 * elf/Makefile (distribute): Add tst-initorder2.c.
38755 (tests): Add tst-initorder2.
38756 (modules-names): Add tst-initorder2a tst-initorder2b
38757 tst-initorder2c tst-initorder2d. Add rules to build them.
38758 ($(objpfx)tst-initorder2.out): New rule.
38759 * elf/tst-initorder2.c: New file.
38760 * elf/tst-initorder2.exp: New file.
38761
87162f46
AS
387622011-08-22 Andreas Schwab <schwab@redhat.com>
38763
70538b7f
AS
38764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38765
f55ffe58
AS
38766 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38767 dependencies back to end of function.
38768
87162f46
AS
38769 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38770 $(elfobjdir)/ld.so.
38771
91b392a4
UD
387722011-08-21 Ulrich Drepper <drepper@gmail.com>
38773
38774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38775 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38777 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38778 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38779 of __vdso_gettimeofday.
38780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38781 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38782 attribute_hidden.
38783 (_libc_vdso_platform_setup): Remove initialization of
38784 __vdso_gettimeofday and __vdso_time.
38785
5c43483f
UD
387862011-08-20 Ulrich Drepper <drepper@gmail.com>
38787
775a77e7
UD
38788 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38789 and fgetc_unlocked.
38790 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38791 getc_unlocked.
89f447ed 38792
49c74ba9
UD
38793 * elf/dl-open.c (add_to_global): Report additions to the global scope
38794 for LD_DEBUG=scopes.
38795 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38796 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38797
5c43483f
UD
38798 [BZ #13114]
38799 * stdio-common/Makefile (tests): Add bug24.
38800 * stdio-common/bug24.c: New file.
38801
a101b025
AJ
388022011-08-19 Andreas Jaeger <aj@suse.de>
38803
38804 [BZ #13114]
38805 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38806 non-existant file when using close-on-exec mode.
38807
c88f1766
UD
388082011-08-20 Ulrich Drepper <drepper@gmail.com>
38809
0276a718
UD
38810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38811 the very first instruction.
38812
c88f1766
UD
38813 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38814 the CFI state in the end.
38815 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38816 inclusion of dl-trampoline.h.
38817 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38818
51ccffa0
AS
388192011-08-19 Andreas Schwab <schwab@redhat.com>
38820
94d7165f
AS
38821 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38822 expectations for long double.
38823
51ccffa0
AS
38824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38825 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38826
fd708658 388272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38828
38829 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38830 artificual limit depends upon the system page size.
38831
44f0a71e
UD
388322011-08-17 Ulrich Drepper <drepper@gmail.com>
38833
38834 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38835 * resolv/Makefile: Define CFLAGS-libresolv.
38836
8de79a24
AS
388372011-08-17 Andreas Schwab <schwab@redhat.com>
38838
38839 * nss/makedb.c (compute_tables): Make variables used in nested
38840 function static.
38841
27724598
UD
388422011-08-17 Ulrich Drepper <drepper@gmail.com>
38843
c5305d88
UD
38844 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38845 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38846 if buffer was too small.
38847
27724598
UD
38848 * elf/pldd.c (main): Attach to all threads in the process.
38849 Rewrite /proc handling to use *at functions.
38850
076fe015
UD
388512011-08-16 Ulrich Drepper <drepper@gmail.com>
38852
174baab3
UD
38853 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38854 specifies first scope to show.
38855 (dl_open_worker): Update callers. Move printing scope of new
38856 object to before the relocation.
44f0a71e 38857 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38858 * sysdeps/generic/ldsodefs.h: Update declaration.
38859
076fe015
UD
38860 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38861 string for the scope number.
38862
a60df2c3
UD
388632011-08-14 Ulrich Drepper <drepper@gmail.com>
38864
38865 * nscd/servicescache.c (cache_addserv): Make sure written is always
38866 initialized.
38867
5e4287d1
RM
388682011-08-14 Roland McGrath <roland@hack.frob.com>
38869
85ae0589
RM
38870 * sysdeps/i386/i486/bits/atomic.h
38871 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38872 statement expression, so as to suppress "set but not used" warning.
38873 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38874
69f63097
RM
38875 * string/strncat.c (STRNCAT): Use prototype definition.
38876
675456ef
RM
38877 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38878 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38879 -Iprograms here.
38880 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38881 (localedef-modules): Add localedef.
38882 (locale-modules): Add locale.
38883
5e4287d1
RM
38884 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38885 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38886 to avoid a warning.
38887
9c96ff23
DM
388882011-08-14 David S. Miller <davem@davemloft.net>
38889
38890 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38891 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38892
f9ddf089
UD
388932011-08-13 Ulrich Drepper <drepper@gmail.com>
38894
44f0a71e 38895 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38896 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38897 * elf/rtld.c (dl_main): Set l_name of vDSO.
38898 Call _dl_show_scope when DL_DEBUG_SCOPES.
38899 (process_dl_debug): Recognize scopes flag and also set it for all.
38900 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38901 Declare _dl_show_scope.
38902
1dc27704
UD
38903 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38904 (do_dlopen): Pass caller_dlopen to dl_open.
38905 (__libc_dlopen_mode): Initialize caller_dlopen.
38906
f9ddf089
UD
38907 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38908 of libc. Make tolower call locale-independent. Optimize a bit by
38909 using isdigit instead of isalnum.
38910 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38911
9ac533d3
UD
389122011-08-12 Ulrich Drepper <drepper@gmail.com>
38913
38914 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38915 was a dependency or dynamically loaded.
38916
89edf2e9
UD
389172011-08-11 Ulrich Drepper <drepper@gmail.com>
38918
8e999d29
UD
38919 * intl/l10nflist.c: Allow architecture-specific pop function.
38920 * sysdeps/x86_64/l10nflist.c: New file.
38921
89edf2e9
UD
38922 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38923 classification.
38924
14d96785
AS
389252011-08-10 Andreas Schwab <schwab@redhat.com>
38926
38927 * include/dirent.h: Add libc_hidden_proto for scandirat and
38928 scandirat64. Don't declare __scandirat64.
38929 * dirent/scandirat.c: Add libc_hidden_def.
38930 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38931 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38932
6761ac04
DM
389332011-08-10 David S. Miller <davem@davemloft.net>
38934
38935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38936 enum.
38937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38940
c55fbd1e
UD
389412011-08-09 Ulrich Drepper <drepper@gmail.com>
38942
38943 * Versions.def [libc]: Add GLIBC_2.15.
38944 * dirent/Makefile (routines): Add scandirat and scandirat64.
38945 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38946 GLIBC_2.15.
38947 * dirent/dirent.h: Declare scandirat and scandirat64.
38948 * dirent/scandirat.c: New file.
38949 * dirent/scandirat64.c: New file.
38950 * sysdeps/wordsize-64/scandirat.c: New file.
38951 * sysdeps/wordsize-64/scandirat64.c: New file.
38952 * dirent/opendir.c: Define opendirat.
38953 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38954 using scandirat.
38955 * dirent/scandir64.c: Adjust for scandir.c change.
38956 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38957 __scandirat64, and __scandir_cancel_handler.
38958 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38959 additional parameter and use openat instead of open (outside of ld.so).
38960 Add new __opendir as wrapper around __opendirat.
38961 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38962 here without requiring old scandirat implementation.
38963
879165f2
UD
389642011-08-08 Ulrich Drepper <drepper@gmail.com>
38965
38966 * dirent/scandir.c (cancel_handler): Renamed to
38967 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38968 defined. Adjust users.
38969 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38970 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38971
cb7e923b
UD
389722011-08-04 Ulrich Drepper <drepper@gmail.com>
38973
16292edd
UD
38974 * string/test-string.h (IMPL): Use __STRING to expand name and then
38975 stringify it.
38976
cb7e923b
UD
38977 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38978 of cleanups.
38979
cff82933
LD
389802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38981
38982 * string/Makefile: Update.
38983 (strop-tests): Append strncat.
38984 * string/test-wcscmp.c: New file.
38985 New comprehensive test for wcscmp.
38986 * string/test-strcmp.c: Update.
38987 (WIDE): New define.
38988
9be9bfcc
AS
389892011-07-22 Andreas Schwab <schwab@redhat.com>
38990
38991 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38992 line.
38993
2e96f1c7
AS
389942011-07-26 Andreas Schwab <schwab@redhat.com>
38995
38996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38997 encoding to ACE if AI_IDN.
38998
85188888
JJ
389992011-08-01 Jakub Jelinek <jakub@redhat.com>
39000
39001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39002 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39003
5fa16e9b
LD
390042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39005
39006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39007 Fix overflow bug in strncat.
39008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39009
39010 * string/test-strncat.c: Update.
39011 Add new tests for checking overflow bugs.
39012
390132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39014
39015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39016 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39017 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39018 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39020 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39021 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39022 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39023 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39024
39025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39026 (USE_AS_STRCAT): Define.
39027 Add strcat and strncat support.
39028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39029
8c1a459f
AS
390302011-07-25 Andreas Schwab <schwab@redhat.com>
39031
39032 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39033 __n bigger than INT_MAX+1.
39034 (__strncmp_g): Likewise.
39035
bba33c28
UD
390362011-07-23 Ulrich Drepper <drepper@gmail.com>
39037
798be72d
UD
39038 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39039 * libio/stido.h: Likewise.
39040
8accd4dc
UD
39041 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39042 (AF_NFC): Define.
39043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39044 (AF_NFC): Define.
39045
cbff0d96
UD
39046 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39051
9191c04a
UD
39052 [BZ #13021]
39053 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39054 installed.
39055
bba33c28
UD
39056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39057 typo.
39058 (_dl_x86_64_save_sse): Likewise.
39059
90f139dd
UD
390602011-07-22 Ulrich Drepper <drepper@gmail.com>
39061
1aae088a
UD
39062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39063 OSXSAVE.
39064 (_dl_x86_64_save_sse): Likewise.
39065
8e2045f5
UD
39066 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39067
90f139dd
UD
39068 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39069
1d002f25
AS
390702011-07-21 Andreas Schwab <schwab@redhat.com>
39071
39072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39073 change.
39074 (_dl_x86_64_save_sse): Use correct AVX check.
39075
21137f89
UD
390762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39077
39078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39079 bug in strncpy/strncat.
39080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39081
a65c0b7a
UD
390822011-07-21 Ulrich Drepper <drepper@gmail.com>
39083
39084 * string/tester.c (test_strcat): Add tests for different alignments
39085 of source and destination.
39086 (test_strncat): Likewise.
39087
6986b98a
UD
390882011-07-20 Ulrich Drepper <drepper@gmail.com>
39089
90bb2039
UD
39090 [BZ #12852]
39091 * posix/glob.c (glob): Check passed in values before using them in
39092 expressions to avoid some overflows.
39093 (glob_in_dir): Likewise.
39094
5644ef54
UD
39095 [BZ #13007]
39096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39097 check for AVX enablement so that we don't crash with old kernels and
39098 new hardware.
39099 * elf/tst-audit4.c: Add same checks here.
39100 * elf/tst-audit6.c: Likewise.
39101
39102 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39103
bfc9dc9b
AS
391042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39105
39106 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39107
702e64bb
UD
391082011-07-20 Ulrich Drepper <drepper@gmail.com>
39109
39110 * po/cs.po: Update from translation team.
39111 * po/bg.po: Likewise.
39112
295e904f
MP
391132011-07-12 Marek Polacek <mpolacek@redhat.com>
39114
39115 * misc/sys/cdefs.h: Add support for const attribute.
39116 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39117 to gnu_dev_{major,minor,makedev} functions.
39118
3ff94596
MP
391192011-07-20 Marek Polacek <mpolacek@redhat.com>
39120
39121 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39122
28b59fca
AS
391232011-07-20 Andreas Schwab <schwab@redhat.com>
39124
39125 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39126 strlen results.
39127
19df733e
AK
391282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39129
39130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39131 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39132 register in order to avoid conflicts with the soft frame pointer
39133 being held in r11 when necessary.
39134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39135 (INTERNAL_VSYSCALL_NCS): Likewise.
39136
c8835729
MP
391372011-07-14 Marek Polacek <mpolacek@redhat.com>
39138
39139 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39140 * elf/dl-fini.c (_dl_fini): Adjust caller.
39141 * elf/dl-close.c (_dl_close_worker): Likewise.
39142 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39143
b902330c
MP
391442011-07-15 Marek Polacek <mpolacek@redhat.com>
39145
8991e135
MP
39146 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39147 "aux_cache->nlibs < 0".
39148
b902330c
MP
39149 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39150 in the reload-count case.
39151
99710781
LD
391522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39153
39154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39155 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39156 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39157 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39158 * sysdeps/x86_64/multiarch/strcat.S: New file.
39159 * sysdeps/x86_64/multiarch/strncat.S: New file.
39160 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39162 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39163 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39165 (USE_AS_STRCAT): Define.
39166 Add strcat and strncat support.
39167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39168 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39170 * string/strncat.c: Update.
39171 (USE_AS_STRNCAT): Define.
39172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39173 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39174 and i7.
39175 * sysdeps/x86_64/multiarch/init-arch.h
39176 (bit_Prefer_PMINUB_for_stringop): New.
39177 (index_Prefer_PMINUB_for_stringop): Likewise.
39178 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39179 bit_Prefer_PMINUB_for_stringop.
39180
7dc6bd90
UD
391812011-07-19 Ulrich Drepper <drepper@gmail.com>
39182
39183 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39184 buffer64.
39185 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39186 of casting of buffer.
39187 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39188 buffer32 and buffer64.
39189 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39190 writes instead of casting of buffer.
39191 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39192 buffer32.
39193 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39194 casting of buffer.
39195
e0e72284
AS
391962011-07-19 Andreas Schwab <schwab@redhat.com>
39197
39198 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39199
feb1eb0b
UD
392002011-07-19 Ulrich Drepper <drepper@gmail.com>
39201
39202 * nscd/nscd.c (termination_handler): Don't do anything for a database
39203 if it has not yet been initialized.
39204
298711ff
UD
392052011-07-18 Ulrich Drepper <drepper@gmail.com>
39206
39207 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39208
392092011-07-15 Marek Polacek <mpolacek@redhat.com>
39210
39211 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39212
f9d68389
UD
392132011-07-18 Ulrich Drepper <drepper@gmail.com>
39214
39215 * po/nl.po: Update from translation team.
39216 * po/sv.po: Likewise.
39217
db290cf5
RM
392182011-07-16 Roland McGrath <roland@hack.frob.com>
39219
39220 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39221 now disallowed by GCC.
5c550700 39222
fd5e21c7
RM
39223 * configure.in (use-default-link): Default to yes if a test -shared
39224 link meets our qualifications.
39225 * configure: Regenerated.
39226
5c550700
RM
39227 * config.make.in (output-format): New variable.
39228 * configure.in: Check for ld --print-output-format support.
39229 * configure: Regenerated.
39230 * Makerules ($(common-objpfx)format.lds)
39231 [$(output-format) != unknown]: Just use $(output-format),
39232 instead of the linker-script munging.
39233
9fa2c032
RM
392342011-07-14 Roland McGrath <roland@hack.frob.com>
39235
a6928d51
RM
39236 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39237 of $(common-objpfx)shlib.lds.
39238 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39239
661607b3
RM
39240 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39241 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39242
9fa2c032
RM
39243 * configure.in (-z relro check): Adjust test code to add a large
39244 writable data section after it.
39245 * configure: Regenerated.
39246
defe9061
RM
392472011-07-11 Roland McGrath <roland@hack.frob.com>
39248
39249 * configure.in (-z relro check): Fix test code to make the variable
39250 truly const.
39251 * configure: Regenerated.
39252
319b9ad4
UD
392532011-07-11 Ulrich Drepper <drepper@gmail.com>
39254
39255 * nscd/nscd.h (struct traced_file): Define.
39256 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39257 elements. Add traced_files.
39258 (inotify_fd): Declare.
39259 (register_traced_file): Declare.
39260 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39261 (inotify_fd): Export.
39262 (resolv_conf_descr): Remove.
39263 (nscd_init): Move inotify descriptor creation to main.
39264 Don't register files for notification here.
39265 (register_traced_file): New function.
39266 (invalidate_cache): Don't use reset_res to determine whether to call
39267 res_init, go through the list of registered files.
39268 (main_loop_poll): The inotify descriptors are now stored in the
39269 structures for the traced files.
39270 (main_loop_epoll): Likewise
39271 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39272 to __nss_disable_nscd.
39273 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39274 for a database anymore. Check the records for all the registered
39275 files instead.
39276 * nss/Makefile (libnss_files-routines): Add files-init.
39277 (libnss_db-routines): Add db-init.
39278 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39279 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39280 * nss/nss_db/db-init.c: New file.
39281 * nss/nss_files/files-init.c: New file.
39282 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39283 __nss_lookup_function.
39284 (__nss_lookup_function): Call nss_load_library.
39285 (nss_load_all_libraries): New function.
39286 (__nss_disable_nscd): Take parameter with callback function for files
39287 to register. Set is_nscd. Load all the DSOs for the NSS modules
39288 used for the cached services.
39289 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39290 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39291 options for features to all the files in nscd.
39292
39293 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39294
23bee3e8
RM
392952011-07-10 Roland McGrath <roland@hack.frob.com>
39296
39297 * csu/elf-init.c (__libc_csu_init): Comment typo.
39298
46a5b7f0
UD
392992011-07-09 Ulrich Drepper <drepper@gmail.com>
39300
39301 * po/pl.po: Update from translation team.
39302 * po/ja.po: Likewise.
39303 * po/ru.po: Likewise.
39304 * po/ko.po: Likewise.
39305 * po/fr.po: Likewise.
39306
d30cf5bb
RM
393072011-07-09 Roland McGrath <roland@hack.frob.com>
39308
113ddea4
RM
39309 * configure.in (.ctors/.dtors header and trailer check):
39310 Use an empirical test on a built program.
39311 * configure: Regenerated.
39312
574920b4
RM
39313 * configure.in (-z relro check): Use an empirical test on a built DSO.
39314 Detect, but do not require, on ia64.
39315 * configure: Regenerated.
39316
d30cf5bb
RM
39317 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39318 Update tests that use readelf to use $READELF instead.
39319 * configure: Regenerated.
39320
8538fdb3
UD
393212011-07-08 Ulrich Drepper <drepper@gmail.com>
39322
39323 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39324 if the result is not used.
39325
04d08991
AJ
393262011-07-05 Andreas Jaeger <aj@suse.de>
39327
39328 [BZ#9696]
39329 * stdlib/tst-strtod.c: Add testcase.
39330
de283087
AD
393312011-07-07 Ulrich Drepper <drepper@gmail.com>
39332
4e5f31c8 39333 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39334 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39335 The latter has a higher limit. Take additional parameter to pass to
39336 the new function.
39337 (__pathconf): Pass file to __statfs_link_max.
39338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39339 __statfs_link_max.
39340 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39341 __statfs_link_max.
39342
de283087
AD
39343 [BZ #12868]
39344 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39346 Handle Lustre.
39347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39348 (__statfs_filesize_max): Likewise.
39349 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39350
c75fa153
AJ
393512011-07-05 Andreas Jaeger <aj@suse.de>
39352
39353 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39354
1a544854
UD
393552011-07-06 Marek Polacek <mpolacek@redhat.com>
39356
39357 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39358 `status' variable.
39359 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39360 Likewise.
39361
6f0eec67
UD
393622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39363
39364 * Makefile (strop-tests): Add strncat.
39365 * string/test-strncat.c: New file.
39366
aae30307
UD
393672011-06-30 Marek Polacek <mpolacek@redhat.com>
39368
39369 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39370
c0cfb5eb
UD
393712011-06-21 Andreas Jaeger <aj@suse.de>
39372
39373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39374 Copy rule from iconvdata/Makefile.
39375
01636b21
UD
393762011-07-06 Ulrich Drepper <drepper@gmail.com>
39377
39378 [BZ #12922]
39379 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39380 but no long options are defined, just return 'W'.
39381
9895c8bc
UD
393822011-06-22 Marek Polacek <mpolacek@redhat.com>
39383
39384 [BZ #9696]
39385 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39386
5d4cf042
UD
393872011-07-06 Ulrich Drepper <drepper@gmail.com>
39388
39389 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39390 netgroups to read.
960e5535 39391 (innetgr): Likewise.
5d4cf042 39392
751eb97e
RM
393932011-07-05 Roland McGrath <roland@hack.frob.com>
39394
39395 * config.make.in (install_root): Default to $(DESTDIR).
39396
f15f1e45
UD
393972011-07-05 Ulrich Drepper <drepper@gmail.com>
39398
39399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39400
4e34ac6a
RM
394012011-07-02 Roland McGrath <roland@hack.frob.com>
39402
5e9b6af4
RM
39403 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39404
84f9ea0f
RM
39405 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39406 containing directory rather than embedding absolute directory names.
39407
ea5ee9f7
RM
39408 * scripts/check-local-headers.sh: Rewritten using awk.
39409 Match by word, not by line. Print error messages for matches.
39410 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39411
1b74661a
RM
39412 * Makerules [shlib-lds-flags empty]:
39413 ($(common-objpfx)libc_pic.opts): New target.
39414 ($(common-objpfx)libc_pic.os.clean): New target.
39415 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39416
39417 * config.make.in (OBJCOPY): New variable.
39418 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39419 * configure: Regenerated.
39420
f781ef40
RM
39421 * config.make.in (use-default-link): New variable.
39422 * configure.in (use_default_link): Grok --with-default-link to set it.
39423 * configure: Regenerated.
39424 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39425 (shlib-lds, shlib-lds-flags): Define to empty.
39426
2d4fa81e
RM
39427 * Makerules (shlib-lds): New variable.
39428 (shlib-lds-flags): New variable.
39429 (build-shlib, build-moduile, build-module-asneeded): Use it.
39430 ($(common-objpfx)libc.so): Use $(shlib-lds).
39431 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39432 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39433
31fffa6b
RM
39434 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39435 DT_FLAGS/DT_FLAGS_1 with zero flags.
39436
4e34ac6a
RM
39437 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39438 linker script munging.
39439
fcfc776b
UD
394402011-07-02 Ulrich Drepper <drepper@gmail.com>
39441
39442 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39443 as 128-bit value.
39444 * crypt/sha512.c (sha512_process_block): Perform total addition using
39445 128-bit if possible.
39446 (__sha512_finish_ctx): Likewise.
39447 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39448 as 64-bit value.
39449 * crypt/sha256.c (SWAP64): Define.
39450 (sha256_process_block): Perform total addition using 64-bit if
39451 possible.
39452 (__sha256_finish_ctx): Likewise.
39453
99231d9a
UD
394542011-07-01 Ulrich Drepper <drepper@gmail.com>
39455
39456 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39458 * nscd/hstcache.c (cache_addhst): Likewise.
39459 * nscd/grpcache.c (cache_addgr): Likewise.
39460 * nscd/aicache.c (addhstaiX): Likewise
39461 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39462
445b4a53
TK
394632011-07-01 Thorsten Kukuk <kukuk@suse.de>
39464
39465 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39467 * nscd/hstcache.c (cache_addhst): Likewise.
39468 * nscd/grpcache.c (cache_addgr): Likewise.
39469 * nscd/aicache.c (addhstaiX): Likewise
39470
6d4d8e8e
AS
394712011-07-01 Andreas Schwab <schwab@redhat.com>
39472
39473 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39474 domain only when needed.
39475
89f654c5
AS
394762011-06-30 Andreas Schwab <schwab@redhat.com>
39477
39478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39479 is always restored.
39480
cf3b23ff
UD
394812011-06-29 Ulrich Drepper <drepper@gmail.com>
39482
39483 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39484 are re-adding the entry.
39485 * nscd/servicescache.c (cache_addserv): Likewise.
39486
751626f9
AJ
394872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39488
39489 * sysdeps/generic/dl-irel.h: fix protection against multiple
39490 inclusions.
39491 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39492
9113ea1f
UD
394932011-06-28 Ulrich Drepper <drepper@gmail.com>
39494
5c0b8d90
UD
39495 [BZ #12935]
39496 * malloc/memusage.sh: Fix quoting in message.
39497 * debug/xtrace.sh: Likewise.
39498
9113ea1f
UD
39499 * configure.in: Remove support for --experimental-malloc option, make
39500 it the default.
39501 * config.make.in: Likewise.
39502 * malloc/Makefile: Likewise.
39503
a4172181
AS
395042011-06-27 Andreas Schwab <schwab@redhat.com>
39505
39506 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39507 two-byte characters.
39508
78a7eee7
RM
395092011-06-27 Roland McGrath <roland@hack.frob.com>
39510
62bede13
RM
39511 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39512 AC_CACHE_CHECK invocation.
39513 * configure: Regenerated.
39514
78a7eee7
RM
39515 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39516
5ce33a62
UD
395172011-06-27 Ulrich Drepper <drepper@gmail.com>
39518
034807a9
UD
39519 [BZ #12350]
39520 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39521 bit from old_res_options.
39522
4902da17
UD
39523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39524
5ce33a62
UD
39525 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39526 value type for setfct.
39527
c2344f56
L
395282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39529
39530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39531 __gettimeofday instead of gettimeofday.
39532
68468076
UD
395332011-06-26 Ulrich Drepper <drepper@gmail.com>
39534
39535 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39536
acb0d739
L
395372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39538
39539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39540
39541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39542 info.
39543
8912479f
L
395442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39545
39546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39547 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39548 strcpy-sse2-unaligned strncpy-sse2-unaligned
39549 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39550 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39551 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39552 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39553 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39556 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39557 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39558 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39559 (STRCPY): Support SSE2 and SSSE3 versions.
39560
d5495a11
UD
395612011-06-24 Ulrich Drepper <drepper@gmail.com>
39562
39563 [BZ #12874]
39564 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39565 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39566 kernels which artificially limit size of requests.
39567
0b1cbaae
L
395682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39569
39570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39571 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39572 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39573 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39574 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39575 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39576 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39577 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39580 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39581 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39582 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39583 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39584 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39586 Enable unaligned load optimization for Intel Core i3, i5 and i7
39587 processors.
39588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39589 Define.
39590 (index_Fast_Unaligned_Load): Define.
39591 (HAS_FAST_UNALIGNED_LOAD): Define.
39592
07f494a0
MP
395932011-06-23 Marek Polacek <mpolacek@redhat.com>
39594
39595 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39596
fa3fc0fe
UD
395972011-06-22 Ulrich Drepper <drepper@gmail.com>
39598
39599 [BZ #12907]
39600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39601 until it is clear that the information is realy needed.
39602 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39603
e12df166
AS
396042011-06-22 Andreas Schwab <schwab@redhat.com>
39605
39606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39607
852eb34d
UD
396082011-06-22 Ulrich Drepper <drepper@gmail.com>
39609
84e2a551
UD
39610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39611 /sys/devices/system/cpu/online if it is usable.
39612
852eb34d
UD
39613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39614 reading the information from the /proc filesystem to once a second.
39615
6e502e19
UD
396162011-06-21 Andreas Jaeger <aj@suse.de>
39617
39618 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39619 NULL after inclusion of kernel headers.
39620
75d39ff2
UD
396212011-06-21 Ulrich Drepper <drepper@gmail.com>
39622
51f9aa6a
UD
39623 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39624 calls to internal_setent.
39625
c0244a9d
UD
39626 [BZ #12885]
39627 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39628 addresses using gethostbyname4_r ignore IPv4 addresses.
39629
c5e3c2ae
UD
39630 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39631 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39632
75d39ff2
UD
39633 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39634
42675c6f
DM
396352011-06-20 David S. Miller <davem@davemloft.net>
39636
39637 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39638 inclusions.
39639 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39640
39641 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39642 (elf_irel): Use it.
39643 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39644 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39645 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39646 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39647 * sysdeps/x86_64/dl-irel.h: Likewise.
39648
39649 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39650 * elf/dl-sym.c: Likewise.
39651
57912a71
UD
396522011-06-15 Ulrich Drepper <drepper@gmail.com>
39653
39654 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39655 need to dereference resplen2.
39656
ee22793d
AS
396572011-06-14 Andreas Schwab <schwab@redhat.com>
39658
39659 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39660
a9e836b0
UD
396612011-06-15 Ulrich Drepper <drepper@gmail.com>
39662
77fb9117
UD
39663 * Makeconfig: Define vardbdir and inst_vardbdir.
39664 * nss/Makefile: Add rules to install db-Makefile.
39665
40c1b22c
UD
39666 * nss/nss_db/db-XXX.c: Cleanup.
39667
9f2da732
UD
39668 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39669 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39670 GLIBC_PRIVATE.
39671 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39672 * nss/makedb.c: Implement -g option to specify that value strings
39673 are generated and should not be added to table iterated over for
39674 get*ent calls.
39675 * nss/nss_db/db-initgroups.c: New file.
39676
82e9a1f7
UD
39677 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39678 interface.
39679
c41af17e
UD
39680 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39681 (internal_getgrouplist): Adjust to name change.
39682 Update use_initgroups_entry if this is not the first call.
39683 * nss/databases.def: Add initgroups entry.
39684
a9e836b0
UD
39685 * nss/makedb.c (compute_tables): Check result of multiple hash table
39686 sizes to minimize maximum chain length.
39687
2666d441
UD
396882011-06-14 Ulrich Drepper <drepper@gmail.com>
39689
39690 * Versions.def: Add entry for libnss_db.
39691 * shlib-versions: Likewise.
39692 * nss/Makefile: Add rules to build libnss_db.
39693 * nss/Versions: Add libnss_db information. Organize libnss_files
39694 entries better.
39695 * nss/db-Makefile: Add gshadow support. Change rules for the new
39696 makedb progra. Some minor improvements to generate smaller files.
39697 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39698 here from...
39699 * nss/makedb.c: ...here.
39700 Improve database format to be smaller and require less memory at
39701 runtime.
39702 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39703 db anymore.
39704 * nss/nss_db/db-netgrp.c: Likewise.
39705 * nss/nss_db/db-open.c: Likewise.
39706 * nss/nss_files/flies-XXX.x: Adjust comments.
39707 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39708 * nss/nss_files/files-grp.c: Likewise.
39709 * nss/nss_files/files-hosts.c: Likewise.
39710 * nss/nss_files/files-network.c: Likewise.
39711 * nss/nss_files/files-proto.c: Likewise.
39712 * nss/nss_files/files-pwd.c: Likewise.
39713 * nss/nss_files/files-rpc.c: Likewise.
39714 * nss/nss_files/files-service.c: Likewise.
39715 * nss/nss_files/files-sgrp.c: Likewise.
39716 * nss/nss_files/files-spwd.c: Likewise.
39717 * nss/nss_db/db-alias.c: Removed.
39718 * nss/nss_db/dummy-db.h: Removed.
39719
9ee76b5a
UD
397202011-06-02 Ulrich Drepper <drepper@gmail.com>
39721
39722 * nss/makedb.c: Rewritten to not use database library.
39723 * nss/Makefile: Update to build new makedb program.
39724
c71ca1f8
AJ
397252011-06-14 Andreas Jaeger <aj@suse.de>
39726
39727 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39728 memset declaration.
39729
3154bfb8
UD
397302011-06-10 Andreas Schwab <schwab@redhat.com>
39731
39732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39733 tmpbuf.
39734
b350afab
RM
397352011-06-10 Roland McGrath <roland@hack.frob.com>
39736
decd4e50
RM
39737 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39738 * elf/Makefile ($(objpfx)ld.so): Likewise.
39739
5615eaf2
RM
39740 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39741 Don't list ld.so twice in dependencies.
39742
39743 * posix/bug-regex31.c: Include <stdlib.h>.
39744
39745 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39746
39747 * nis/nss_compat/compat-spwd.c
39748 (getspent_next_nss_netgr): Remove unused variable.
39749 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39750
39751 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39752 nonmembers" output to use the right array.
39753
39754 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39755
39756 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39757
39758 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39759 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39760 * catgets/gencat.c (read_input_file): Likewise.
39761 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39762
39763 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39764 variable definition inside #if's controlling its use.
39765
39766 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39767
39768 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39769
39770 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39771
39772 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39773 unreachable code.
39774
39775 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39776
b68e08db
RM
39777 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39778 * configure: Regenerated.
39779
b350afab
RM
39780 * Makerules: Revert last change.
39781 * elf/Makefile: Likewise.
39782
28368601
RM
397832011-06-09 Roland McGrath <roland@hack.frob.com>
39784
39785 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39786 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39787 (reloc-link): Likewise.
39788
11988f8f
UD
397892011-06-09 Ulrich Drepper <drepper@gmail.com>
39790
39791 * elf/Makefile: Add rules to build pldd.
39792 * elf/pldd.c: New file.
39793 * elf/pldd-xx.c: New file.
39794
e80fab37
UD
397952011-06-07 Ulrich Drepper <drepper@gmail.com>
39796
39797 * version.h: Update for 2.15 development version.
39798
9b849836
DM
397992011-06-07 David S. Miller <davem@davemloft.net>
39800
39801 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39802 ifuncs.
39803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39804 elf_machine_lazy_rel): Likewise.
39805 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39807 elf_machine_lazy_rel): Likewise.
39808 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39809 dl_hwcap via passed in argument.
39810 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39811 Likewise.
39812
5a31b283
AK
398132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39814
39815 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39816
069e52f8
RM
398172011-06-06 Roland McGrath <roland@hack.frob.com>
39818
39819 [BZ #12849]
39820 * manual/fdl-1.1.texi: New file, verbatim from:
39821 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39822 * manual/lgpl-2.1.texi: New file, verbatim from:
39823 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39824 * manual/Makefile (licenses): New variable, list those new file names.
39825 (texis): Use it.
39826 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39827
39828 * manual/fdl.texi: File removed.
39829 * manual/lesser.texi: File removed.
39830 * manual/libc.texinfo (Copying, Documentation License):
39831 Use new @include file names, put @appendix directive before @include.
39832
f16846a5
JJ
398332011-06-04 Jakub Jelinek <jakub@redhat.com>
39834
39835 [BZ #12841]
39836 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39837 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39838 (mq_open): Add __NTH.
39839
3d29045b
L
398402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39841
39842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39843 Assume Intel Core i3/i5/i7 processor if AVX is available.
39844
8c297311
UD
398452011-05-31 Ulrich Drepper <drepper@gmail.com>
39846
39847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39848 typo.
39849
c8fc0c91
UD
398502011-05-31 Andreas Schwab <schwab@redhat.com>
39851
39852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39853 memory. Use alloca_account. Fix memory leak when retrying.
39854
5b27a807
UD
398552011-05-31 Ulrich Drepper <drepper@gmail.com>
39856
356f8bc6
UD
39857 * version.h (RELEASE): Bump for 2.14 release.
39858 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39859
5b27a807
UD
39860 * config.make.in (RANLIB): Remove entry.
39861
01f16ab0
UD
398622011-05-30 Ulrich Drepper <drepper@gmail.com>
39863
41fce8bd
UD
39864 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39865 (libc.pot): Work around missing support for .ksh extension in xgettext.
39866
4769ae77
UD
39867 [BZ #12684]
39868 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39869 if both request failed.
39870 (send_dg): In case of server errors clear resplen or *resplen2.
39871
6b1e7d19
UD
39872 [BZ #12454]
39873 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39874 when there are multiple maps.
39875 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39876 (_dl_fini): Remove test here.
39877
01f16ab0
UD
39878 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39879
b1ebd700
UD
398802011-05-29 Ulrich Drepper <drepper@gmail.com>
39881
7ae22829
UD
39882 [BZ #12350]
39883 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39884 bit from old_res_options.
39885 (gaih_inet): Likewise.
39886
553149f6 39887 [BZ #11099]
18a84741 39888 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39889 as signed.
39890
652ffab1
UD
39891 * resolv/res_init.c (res_setoptions): Make the code more compact.
39892
16985fd0
UD
39893 [BZ #11558]
39894 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39895 set RES_USEVC.
39896
0464f746
UD
39897 [BZ #11634]
39898 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39899
7d17596c
UD
39900 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39901
cf6bbbd7
UD
39902 [BZ #11781]
39903 * malloc/malloc.h: Declare malloc hook variables as volatile.
39904
13f1ab36
UD
39905 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39906 in last patch.
39907
b1ebd700
UD
39908 [BZ #11799]
39909 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39910 raise in the comment.
80e2212d
UD
39911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39913 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39914
ce67228d
UD
399152011-05-28 Ulrich Drepper <drepper@gmail.com>
39916
8887a920
UD
39917 [BZ #12811]
39918 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39919 grow the buffers more if it already has to be sufficient.
39920 (build_wcs_upper_buffer): Likewise.
39921 * posix/regexec.c (check_matching): Likewise.
39922 (clean_state_log_if_needed): Likewise.
39923 (extend_buffers): Don't enlarge buffers beyond size of the input
39924 buffer.
39925 Patches mostly by Emil Wojak <emil@wojak.eu>.
39926 * posix/bug-regex32.c: New file.
39927 * posix/Makefile (tests): Add bug-regex32.
39928
4f031072
UD
39929 * locale/findlocale.c (_nl_find_locale): Return right away if
39930 _nl_explode_name failed.
39931 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39932
d0478f0c
UD
39933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39934
de81b246
UD
39935 * debug/xtrace.sh: Unify messages.
39936 * malloc/memusage.sh: Likewise.
39937
c738465a
UD
39938 [BZ #12813]
39939 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39940 time symbol from vDSO. Substitute with vsyscall if not available.
39941 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39942 __vdso_time.
39943
f1f929d7
UD
39944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39945 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39946 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39947 Add sendmmsg and internal_sendmmsg.
39948 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39951
ce67228d
UD
39952 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39953 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39955
e57420c6
UD
399562011-05-27 Ulrich Drepper <drepper@gmail.com>
39957
a8509ca5
UD
39958 [BZ #12813]
39959 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39960 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39961 available.
39962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39963 __vdso_getcpu.
39964
e57420c6
UD
39965 [BZ #12814]
39966 * iconvdata/Makefile (tests): Add bug-iconv9.
39967 * iconvdata/bug-iconv9.c: New file.
39968
4d07db15
AS
399692011-05-27 Andreas Schwab <schwab@redhat.com>
39970
39971 [BZ #12814]
39972 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39973
ea486f69
JJ
399742011-05-25 Jakub Jelinek <jakub@redhat.com>
39975
39976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39977 (struct user_regs_struct): Change intcs field back to cs.
39978
6f038433
UD
399792011-05-25 Ulrich Drepper <drepper@gmail.com>
39980
39981 * po/ja.po: Update from translation team.
39982
67f86a25
UD
399832011-05-23 Ulrich Drepper <drepper@gmail.com>
39984
39985 [BZ #12795]
39986 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39988
def7fbd6
AS
399892011-05-20 Andreas Schwab <schwab@redhat.com>
39990
39991 * stdlib/longlong.h: Update from GCC.
39992
f50ef8f1
AS
399932011-05-23 Andreas Schwab <schwab@redhat.com>
39994
39995 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39996 parameter name.
39997 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39998 Add parameter name.
39999 (__sysconf): Pass it down.
40000
de7ce8f1
UD
400012011-05-22 Ulrich Drepper <drepper@gmail.com>
40002
f2962a71
UD
40003 [BZ #12671]
40004 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40005 some situations.
40006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40007 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40008 add in in __libc_use_alloca calls. Adjust callers.
40009 (glob): Use malloc in some situations.
40010
de7ce8f1
UD
40011 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40012 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40013 pltexit.
40014
aec84f53
UD
400152011-05-21 Ulrich Drepper <drepper@gmail.com>
40016
05bb4a68
UD
40017 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40018 and CLOCK_BOOTTIME_ALARM.
40019
7ea72f99
UD
40020 [BZ #12782]
40021 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40022 is returned.
40023
7e4afad5
UD
40024 * string/_strerror.c (__strerror_r): Print negative errors as signed
40025 numbers.
40026
8e211fec
UD
40027 [BZ #12777]
40028 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40029 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40030 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40031
f7d82dc9
UD
40032 * configure.in: Fix typo in redirection and correct removal of test
40033 files in two cases.
40034
cc9e536d
UD
40035 [BZ #12788]
40036 * locale/setlocale.c (new_composite_name): Fix test to check for
40037 identical name of all categories.
40038
aec84f53
UD
40039 [BZ #12792]
40040 * libio/filedoalloc.c (local_isatty): New function.
40041 (_IO_file_doallocate): Use local_isatty.
40042 * stdio-common/perror.c (perror): In case a new stream is used
40043 forward the stream error.
40044 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40045 error flag.
40046
78e64fdc
RT
400472011-05-20 Ulrich Drepper <drepper@gmail.com>
40048
34a9094f
UD
40049 [BZ #11869]
40050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40051 alloca.
40052 * include/alloca.h (extend_alloca_account): Define.
40053
78e64fdc
RT
40054 [BZ #11857]
40055 * posix/regex.h: Fix comments with documentation of user-accessible
40056 fields after compilation and describe correct free'ing of pattern
40057 after re_compile_pattern.
40058 Patch by Reuben Thomas <rrt@sc3d.org>.
40059
457bddfc
RA
400602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40061
40062 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40063 and -mno-altivec to prevent the compiler from using Altivec and/or
40064 VSX instructions when the corresponding registers are not available.
40065
a4527b51
AS
400662011-05-19 Andreas Schwab <schwab@redhat.com>
40067
40068 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40069
ed690b2f
UD
400702011-05-19 Ulrich Drepper <drepper@gmail.com>
40071
40072 * libio/freopen.c (freopen): Use __dup2, not dup2.
40073 * libio/freopen64.c (freopen64): Likewise.
40074
8db73634
L
400752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40076
40077 [BZ #12775]
40078 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40079 * math/Makefile (tests): Add test-powl.
40080 (CFLAGS-test-powl.c): Define.
40081 * math/test-powl.c: New file.
40082
0a197a9d
L
400832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40084
40085 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40086
ee30c380
UD
400872011-05-17 Ulrich Drepper <drepper@gmail.com>
40088
40089 [BZ #11837]
40090 * iconvdata/gb18030.c: Update to GB18020-2005.
40091
6ce75379
UD
400922011-05-16 Ulrich Drepper <drepper@gmail.com>
40093
a4b89fd8
AR
40094 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40095 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40096 Patch by Aharon Robbins <arnold@skeeve.com>.
40097
ea389b12
UD
40098 [BZ #11892]
40099 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40100 on the stack.
40101
68a3f91f
UD
40102 [BZ #11895]
40103 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40104 through underflows.
40105
15cc7dd1
UD
40106 [BZ #12766]
40107 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40108 point to strings before performing equality test for error_one_per_line
40109 mode.
40110
f3799213
UD
40111 [BZ #11697]
40112 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40113
d79a9c94
UD
40114 [BZ #11820]
40115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40116 (struct user_fpregs_struct): Avoid __uint*_t types.
40117
56e5eb46
UD
40118 [BZ #6420]
40119 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40120 symbol info. Use it instead of calling _dl_addr locally.
40121 (lock_and_info): New function.
40122 (tr_freehook): Call lock_and_info and pass symbol info as additional
40123 parameter to tr_where.
40124 (tr_mallochook): Likewise.
40125 (tr_reallochook): Likewise.
40126 (tr_memalignhook): Likewise.
40127
6ce75379
UD
40128 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40129 used and couldn't be at all thread-safe.
40130
f8a3b5bf
UD
401312011-05-15 Ulrich Drepper <drepper@gmail.com>
40132
94b7cc37
UD
40133 * libio/freopen.c (freopen): Don't close old file descriptor
40134 before the new one is opened. Instead dup the new file descriptor
40135 to the old one after the new stream is created.
40136 * libio/freopen64.c (freopen64): Likewise.
40137 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40138 * libio/fileops.c (_IO_new_file_close_it): Handle new
40139 _IO_FLAGS2_NOCLOSE flag.
40140 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40141 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40142 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40143 _IO_FLAGS2_NOCLOSE flag.
40144 * include/unistd.h: Add hidden_proto for dup3.
40145 Define __have_dup3.
40146 * io/dup3.c: Define hidden symbol.
40147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40148
bd25564e
UD
40149 [BZ #7101]
40150 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40151 when an incomplete long option is used.
40152 * posix/tst-getopt_long1.c: New file.
40153 * posix/Makefile (tests): Add tst-getopt_long1.
40154
c84cfef4
UD
40155 [BZ #10138]
40156 * scripts/config.guess: Update from autoconf-2.68.
40157 * scripts/config.sub: Likewise.
40158
3b85df27
UD
40159 [BZ #10157]
40160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40161 tests into ...
40162 (has_cpuclock): ...this. New function.
40163 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40164 macro here based on has_cpuclock code.
40165
15a856b1
UD
40166 [BZ #10149]
40167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40168 First byte (not low byte) is now always NUL.
40169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40170
05f399e6
UD
40171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40172 Use non-cancelable interfaces.
40173
10a52685 40174 [BZ #9809]
94ecc67d
UD
40175 * locale/iso-639.def: Add entry for Sorani.
40176
f8a3b5bf
UD
40177 [BZ #11901]
40178 * include/stdlib.h: Move include protection to the right place.
40179 Define abort_msg_s. Declare __abort_msg with it.
40180 * stdlib/abort.c (__abort_msg): Adjust type.
40181 * assert/assert.c (__assert_fail_base): New function. Majority
40182 of code from __assert_fail. Allocate memory for __abort_msg with
40183 mmap.
40184 (__assert_fail): Now call __assert_fail_base.
40185 * assert/assert-perr.c: Remove bulk of implementation. Use
40186 __assert_fail_base.
40187 * include/assert.hL Declare __assert_fail_base.
40188 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40189 mmap.
40190 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40191
1af4e298
UD
401922011-05-14 Ulrich Drepper <drepper@gmail.com>
40193
f8a3b5bf 40194 [BZ #11952]
d26dfc60
MG
40195 [BZ #12453]
40196 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40197 until all modules are registered in the DTV.
40198 * elf/Makefile: Add rules to build and run tst-tls19.
40199 * elf/tst-tls19.c: New file.
40200 * elf/tst-tls19mod1.c: New file.
40201 * elf/tst-tls19mod2.c: New file.
40202 * elf/tst-tls19mod3.c: New file.
40203 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40204
2fc54d6f
UD
40205 [BZ #12083]
40206 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40207 correctly.
40208
98d76b46
UD
40209 [BZ #12601]
40210 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40211 two-byte sequence errors.
40212 * iconvdata/Makefile (tests): Add bug-iconv8.
40213 * iconvdata/bug-iconv8.c: New file.
40214
da3c19ef
UD
40215 [BZ #12626]
40216 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40217 buf2 definition.
40218
ca408c15
UD
40219 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40220
d6f67f7d
UD
40221 [BZ #12432]
40222 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40223 (dummy_getcfa): New function.
40224 (init): Get _Unwind_GetCFA address, use dummy if not found.
40225 (backtrace_helper): In recursion check, also check whether CFA changes.
40226 (__backtrace): Completely initialize arg.
40227
1af4e298 40228 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40229 storing incomplete byte sequence in state object. Avoid testing for
40230 guaranteed too small input if we know there is enough data available.
1af4e298 40231
da62f81b
AS
402322011-05-11 Andreas Schwab <schwab@redhat.com>
40233
40234 * Makeconfig (+link-pie): Indent.
40235 * Rules (binaries-pie): Define if $(have-fpie) and
40236 $(build-shared).
40237 (binaries-shared): Also filter out $(binaries-pie).
40238 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40239 * nscd/Makefile (others-pie): Add nscd.
40240 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40241 ($(objpfx)nscd): Remove command override.
40242 * login/Makefile (others-pie): Add pt_chown.
40243 ($(objpfx)pt_chown): Remove command override.
40244 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40245 remove command overrides.
40246
fcabc0f8
UD
402472011-05-13 Ulrich Drepper <drepper@gmail.com>
40248
20030ae6
UD
40249 * libio/tst_putwc.c: Fix error messages.
40250
fcabc0f8
UD
40251 [BZ #12724]
40252 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40253 currently writing and seek to current position when not.
40254 * libio/Makefile (tests): Add bug-fclose1.
40255 * libio/bug-fclose1.c: New file.
40256
320a5dc0
PB
402572011-05-12 Ulrich Drepper <drepper@gmail.com>
40258
40259 [BZ #12511]
40260 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40261 don't set DF_1_NODELETE here.
40262 (do_lookup_x): When entering new entry test for copy relocation
40263 and if necessary set DF_1_NODELETE flag.
40264 * elf/tst-unique4.cc: New file.
40265 * elf/tst-unique4.h: New file.
40266 * elf/tst-unique4lib.cc: New file.
40267 * elf/Makefile: Add rules to build and run tst-unique4.
40268 Patch by Piotr Bury <pbury@goahead.com>.
40269
22836f52
UD
402702011-05-11 Ulrich Drepper <drepper@gmail.com>
40271
f574184a
UD
40272 [BZ #12052]
40273 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40274
e1fb097f
UD
40275 [BZ #12625]
40276 * misc/mntent_r.c (addmntent): Flush the stream after the output
40277
22836f52
UD
40278 [BZ #12393]
40279 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40280 (is_trusted_path_normalize): Skip initial colon. Append slash
40281 to empty buffer. Duplicate is_trusted_path code but allow
40282 constructed patch to be prefix.
40283 (is_dst): Allow $ORIGIN followed by /.
40284 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40285 Correct testing of result of is_trusted_path_normalize
40286 (decompose_rpath): Fix warning.
40287
7b3b0b2a
UD
402882011-05-10 Ulrich Drepper <drepper@gmail.com>
40289
40290 [BZ #11257]
40291 * grp/initgroups.c (internal_getgrouplist): When we found the service
40292 list through the initgroups entry in nsswitch.conf do not always
40293 continue on a successful lookup. Don't always use the
eac80ce2 40294 __nss_group_database value if it is set.
7b3b0b2a
UD
40295 * nss/nsswitch.conf (initgroups): Change action for successful db
40296 lookup to continue for compatibility.
40297
2a81eaa5
UD
402982011-05-09 Ulrich Drepper <drepper@gmail.com>
40299
be97a69e
UD
40300 [BZ #11532]
40301 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40302 and CP774 modules.
40303 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40304 and CP774 modules.
40305 * iconvdata/tst-tables.sh: Likewise.
40306 * iconvdata/cp770.c: New file.
40307 * iconvdata/cp771.c: New file.
40308 * iconvdata/cp772.c: New file.
40309 * iconvdata/cp773.c: New file.
40310 * iconvdata/cp774.c: New file.
40311 * iconvdata/testdata/CP770: New file.
40312 * iconvdata/testdata/CP770..UTF8: New file.
40313 * iconvdata/testdata/CP771: New file.
40314 * iconvdata/testdata/CP771..UTF8: New file.
40315 * iconvdata/testdata/CP772: New file.
40316 * iconvdata/testdata/CP772..UTF8: New file.
40317 * iconvdata/testdata/CP773: New file.
40318 * iconvdata/testdata/CP773..UTF8: New file.
40319 * iconvdata/testdata/CP774: New file.
40320 * iconvdata/testdata/CP774..UTF8: New file.
40321
40322 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40323 END CHARMAP line.
40324 * iconvdata/gen-8bit-gap.sh: Likewise.
40325 * iconvdata/gen-8bit.sh: Likewise.
40326
c1e9e399
UD
40327 * locale/iso-639.def: Add ary entry.
40328
24c55fb3 40329 [BZ #11258]
96b4b1b0
UD
40330 * locale/C-translit.h.in: Add U20A1 transliteration.
40331
bdc2f971
KB
40332 [BZ #12178]
40333 * locale/iso-639.def: Add wae entry.
40334 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40335
2952b117
UD
40336 [BZ #12545]
40337 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40338 for n.
40339
2a81eaa5
UD
40340 [BZ #12711]
40341 * locale/C-translit.h.in: Add entry for U20B9.
40342 Patch by pravin.d.s@gmail.com.
40343
28377d1b
UD
403442011-05-08 Ulrich Drepper <drepper@gmail.com>
40345
7fb90fb8
UD
40346 [BZ #12713]
40347 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40348 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40349 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40350 in rtld. Use *stat64.
7fb90fb8 40351 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40352 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40353 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40354 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40355 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40356 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40357 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40358 __fstatat64 macros.
7fb90fb8
UD
40359 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40360 * dirent/rewinddir.c: Add libc_hidden_def.
40361 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40362 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40363
28377d1b
UD
40364 * include/dirent.h (__alloc_dir): Add flags parameter.
40365 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40366 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40367 __alloc_dir.
40368 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40369 from fdopendir if O_CLOEXEC is already set.
40370
66bdbaa4
AM
403712011-03-15 Alan Modra <amodra@gmail.com>
40372
40373 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40374 l_tls_firstbyte_offset non-zero. Save padding offset in
40375 l_tls_firstbyte_offset for later use.
40376 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40377 freeing static tls block.
40378
95721191
JN
403792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40380
40381 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40382 where #ifdef was intended. The intent is to prevent ARG_MAX from
40383 being defined by the kernel headers.
40384
f87dfb1f
UD
403852011-05-07 Ulrich Drepper <drepper@gmail.com>
40386
40387 [BZ #12734]
40388 * resolv/resolv.h: Define RES_NOTLDQUERY.
40389 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40390 no-tld-query and set RES_NOTLDQUERY.
40391 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40392 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40393 modern BIND to search name as TLD unless forbidden.
40394
47c3cd7a
UD
403952011-05-07 Petr Baudis <pasky@suse.cz>
40396 Ulrich Drepper <drepper@gmail.com>
40397
40398 [BZ #12393]
40399 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40400 (is_trusted_path): ...to here.
c1e9ea35 40401 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40402 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40403 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40404
8a35c912
PP
404052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40406
40407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40408 __BEGIN/__END_DECLS.
40409
acd41f47
UD
404102011-05-06 Ulrich Drepper <drepper@gmail.com>
40411
40412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40413 NSS_STATUS_NOTFOUND if no record was found.
40414
597df647
AS
404152011-05-05 Andreas Schwab <schwab@redhat.com>
40416
40417 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40418 (headers-not-in-tirpc): Remove rpc/netdb.h
40419 * resolv/netdb.h: Revert last change.
40420
b9af1301
PP
404212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40422
40423 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40424 circular dependency between libgcc.a and libc.a.
40425
4e34d5f5
AS
404262011-05-05 Andreas Schwab <schwab@redhat.com>
40427
40428 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40429 * nis/Makefile: Don't install rpcsvc/*.
40430 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40431 instead of <rpc/types.h>.
40432 (MAXHOSTNAMELEN): Define.
40433
00ee369c
AS
404342011-05-03 Andreas Schwab <schwab@redhat.com>
40435
40436 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40437
0b592a30
MB
404382011-04-28 Maciej Babinski <mbabinski@google.com>
40439
40440 [BZ #12714]
40441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40442 gethostbyname4_r when IPv6 results are possible.
40443
6e04cbbe
UD
404442011-05-02 Ulrich Drepper <drepper@gmail.com>
40445
40446 [BZ #12723]
40447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40448 _PC_PIPE_BUF handling.
40449
e4ecafe0
BH
404502011-04-30 Bruno Haible <bruno@clisp.org>
40451
40452 [BZ #12717]
40453 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40454 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40455 to 'int'.
40456 * inet/getnameinfo.c (getnameinfo): Likewise.
40457
125ee683
UD
404582011-04-29 Ulrich Drepper <drepper@gmail.com>
40459
40460 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40461 to groups setting in database lookup.
40462 * nss/nsswitch.conf: Add initgroups entry.
40463
b722481a
EB
404642011-04-22 Ulrich Drepper <drepper@gmail.com>
40465
40466 [BZ #12685]
40467 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40468 mode string.
40469 Patch by Eric Blake <eblake@redhat.com>.
40470
4df46dbd
L
404712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40472
40473 * sunrpc/Makefile (need-export-routines): Add svc_run.
40474 (routines): Remove svc_run.
40475 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40476 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40477 * sunrpc/svc_run.c (svc_run): Likewise.
40478 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40479
e84142d2
UD
404802011-04-21 Ulrich Drepper <drepper@gmail.com>
40481
40482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40483 problem in reallocation in last patch.
40484
877175d8
UD
404852011-04-20 Ulrich Drepper <drepper@gmail.com>
40486
40487 * sunrpc/Makefile: Move inclusion of Rules.
40488
ab8eed78
UD
404892011-04-19 Ulrich Drepper <drepper@gmail.com>
40490
40491 * nss/nss_files/files-initgroups.c: New file.
40492 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40493 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40494 _nss_files_initgroups_dyn.
40495
e3d8f584
RS
404962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40497
40498 * elf/elf.h (R_ARM_IRELATIVE): Define.
40499
af190f45
UD
405002011-04-19 Ulrich Drepper <drepper@gmail.com>
40501
40502 * po/ru.po: Update from translation team.
40503
53cf59ef
UD
405042011-04-17 Ulrich Drepper <drepper@gmail.com>
40505
40506 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40507 dependencies.
40508
4c559bcd
MF
405092011-02-06 Mike Frysinger <vapier@gentoo.org>
40510
40511 [BZ #12653]
40512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40513 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40517
4420675c
AS
405182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40519
40520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40521 differing bytes.
40522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40525
75ea32ab
UD
405262011-04-17 Ulrich Drepper <drepper@gmail.com>
40527
40528 [BZ #12420]
40529 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40530 storing it.
40531 * stdlib/bug-getcontext.c: New file.
40532 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40533
27390476
AK
405342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40535
40536 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40537 instructions into .machine "z9-109".
40538 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40539 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40540
10442705
AK
405412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40542
40543 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40544 between environment variables and auxiliary vector.
40545
7b57bfe5
UD
405462011-04-16 Ulrich Drepper <drepper@gmail.com>
40547
40548 * Makefile: Add rules to build linkobj/libc.so.
40549 * include/libc-symbols.h: Define libc_hidden_nolink.
40550 * include/rpc/auth.h: Mark functions which are to be hidden.
40551 * include/rpc/auth_des.h: Likewise.
40552 * include/rpc/auth_unix.h: Likewise.
40553 * include/rpc/clnt.h: Likewise.
40554 * include/rpc/des_crypt.h: Likewise.
40555 * include/rpc/key_prot.h: Likewise.
40556 * include/rpc/pmap_clnt.h: Likewise.
40557 * include/rpc/pmap_prot.h: Likewise.
40558 * include/rpc/pmap_rmt.h: Likewise.
40559 * include/rpc/rpc_msg.h: Likewise.
40560 * include/rpc/svc.h: Likewise.
40561 * include/rpc/svc_auth.h: Likewise.
40562 * include/rpc/xdr.h: Likewise.
40563 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40564 * nss/Makefile: Likewise.
40565 * sunrpc/Makefile: Don't install headers. Build library with normal
40566 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40567 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40568 for the compat linking library. Remove use of INTDEF/INTUSE.
40569 * sunrpc/auth_none.c: Likewise.
40570 * sunrpc/auth_unix.c: Likewise.
40571 * sunrpc/authdes_prot.c: Likewise.
40572 * sunrpc/authuxprot.c: Likewise.
40573 * sunrpc/clnt_gen.c: Likewise.
40574 * sunrpc/clnt_perr.c: Likewise.
40575 * sunrpc/clnt_raw.c: Likewise.
40576 * sunrpc/clnt_simp.c: Likewise.
40577 * sunrpc/clnt_tcp.c: Likewise.
40578 * sunrpc/clnt_udp.c: Likewise.
40579 * sunrpc/clnt_unix.c: Likewise.
40580 * sunrpc/des_crypt.c: Likewise.
40581 * sunrpc/des_soft.c: Likewise.
40582 * sunrpc/get_myaddr.c: Likewise.
40583 * sunrpc/key_call.c: Likewise.
40584 * sunrpc/key_prot.c: Likewise.
40585 * sunrpc/netname.c: Likewise.
40586 * sunrpc/pm_getmaps.c: Likewise.
40587 * sunrpc/pm_getport.c: Likewise.
40588 * sunrpc/pmap_clnt.c: Likewise.
40589 * sunrpc/pmap_prot.c: Likewise.
40590 * sunrpc/pmap_prot2.c: Likewise.
40591 * sunrpc/pmap_rmt.c: Likewise.
40592 * sunrpc/publickey.c: Likewise.
40593 * sunrpc/rpc_cmsg.c: Likewise.
40594 * sunrpc/rpc_common.c: Likewise.
40595 * sunrpc/rpc_dtable.c: Likewise.
40596 * sunrpc/rpc_prot.c: Likewise.
40597 * sunrpc/rpc_thread.c: Likewise.
40598 * sunrpc/rtime.c: Likewise.
40599 * sunrpc/svc.c: Likewise.
40600 * sunrpc/svc_auth.c: Likewise.
40601 * sunrpc/svc_authux.c: Likewise.
40602 * sunrpc/svc_raw.c: Likewise.
40603 * sunrpc/svc_run.c: Likewise.
40604 * sunrpc/svc_simple.c: Likewise.
40605 * sunrpc/svc_tcp.c: Likewise.
40606 * sunrpc/svc_udp.c: Likewise.
40607 * sunrpc/svc_unix.c: Likewise.
40608 * sunrpc/svcauth_des.c: Likewise.
40609 * sunrpc/xcrypt.c: Likewise.
40610 * sunrpc/xdr.c: Likewise.
40611 * sunrpc/xdr_array.c: Likewise.
40612 * sunrpc/xdr_float.c: Likewise.
40613 * sunrpc/xdr_intXX_t.c: Likewise.
40614 * sunrpc/xdr_mem.c: Likewise.
40615 * sunrpc/xdr_rec.c: Likewise.
40616 * sunrpc/xdr_ref.c: Likewise.
40617 * sunrpc/xdr_sizeof.c: Likewise.
40618 * sunrpc/xdr_stdio.c: Likewise.
40619
e6c61494
UD
406202011-04-10 Ulrich Drepper <drepper@gmail.com>
40621
40622 [BZ #12650]
40623 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40624 * sysdeps/ia64/dl-tls.h: Likewise.
40625 * sysdeps/powerpc/dl-tls.h: Likewise.
40626 * sysdeps/s390/dl-tls.h: Likewise.
40627 * sysdeps/sh/dl-tls.h: Likewise.
40628 * sysdeps/sparc/dl-tls.h: Likewise.
40629 * sysdeps/x86_64/dl-tls.h: Likewise.
40630 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40631
34fe483e
AS
406322011-03-14 Andreas Schwab <schwab@redhat.com>
40633
40634 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40635 rpath element also skip the following colon.
40636 (expand_dynamic_string_token): Add is_path parameter and pass
40637 down to DL_DST_REQUIRED and _dl_dst_substitute.
40638 (decompose_rpath): Call expand_dynamic_string_token with
40639 non-zero is_path. Ignore empty rpaths.
40640 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40641 with zero is_path.
40642
f12a32e6
AS
406432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40644
40645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40646 Make cancelable.
40647
38a7d692
UD
406482011-04-09 Ulrich Drepper <drepper@gmail.com>
40649
40650 [BZ #12655]
40651 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40652 Patch by Filipe David Manana <fdmanana@apache.org>.
40653
e451d22b
AS
406542011-04-07 Andreas Schwab <schwab@redhat.com>
40655
40656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40657 Maintain aligned stack.
40658 (CHECK_RSP): Remove unused macro.
40659
dedc7c7b
UD
406602011-04-03 Ulrich Drepper <drepper@gmail.com>
40661
40662 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40664
94521213
UD
406652011-04-02 Ulrich Drepper <drepper@gmail.com>
40666
40667 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40668
8cb700c0 40669 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40670
0354e355
L
406712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40672
40673 [BZ #12518]
40674 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40675 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40676 * sysdeps/x86_64/memmove.c: New file.
40677 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40678 (memcpy): Renamed to ...
40679 (__new_memcpy): This.
40680 (memcpy): Provide GLIBC_2_14 memcpy.
40681 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40682 (memcpy): Provide GLIBC_2_2_5 memcpy.
40683
8593482f
UD
406842011-04-01 Ulrich Drepper <drepper@gmail.com>
40685
40686 [BZ #12631]
40687 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40688
81a5726b
AS
406892011-03-30 Andreas Schwab <schwab@redhat.com>
40690
40691 * misc/syncfs.c: New file.
40692 * misc/Makefile (routines): Add syncfs.
40693 * posix/unistd.h: Declare syncfs.
40694 * sysdeps/unix/syscalls.list: Add syncfs.
40695
00e5419f
AS
406962011-04-01 Andreas Schwab <schwab@redhat.com>
40697
40698 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40699 open_by_handle_at.
40700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40705 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40707
748876bf
UD
407082011-04-01 Ulrich Drepper <drepper@gmail.com>
40709
658e451d
UD
40710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40717
748876bf
UD
40718 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40719 sync_file_range.c with -fexceptions.
40720 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40721 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40722 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40723 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40724 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40725 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40727 sync_file_range as cancellation point
40728 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40729 now a wrapper around __call_sync_file_range with cancellation handling.
40730 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40731 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40732 function name to __call_sync_file_range.
40733 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40734 Add call_sync_file_range.
748876bf 40735
6e63d5e1
AS
407362011-04-01 Andreas Schwab <schwab@redhat.com>
40737
40738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40739 bits/timex.h.
6e63d5e1 40740
46998f74
UD
407412011-04-01 Ulrich Drepper <drepper@gmail.com>
40742
4c1423ed
UD
40743 * iconv/iconv.h: Fix typo in comment.
40744 * io/fcntl.h: Likewise.
40745 * libio/stdio.h: Likewise.
40746 * posix/spawn.h: Likewise.
40747 * posix/unistd.h: Likewise.
40748 * stdlib/stdlib.h: Likewise.
40749 * time/time.h: Likewise.
40750 * wcsmbs/wchar.h: Likewise.
40751
158648c0
UD
40752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40753 open_by_handle): Add.
40754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40755 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40756 Augment a few comments.
40757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40762 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40763 open_by_handle.
40764
46998f74
UD
40765 * io/fcntl.h (AT_EMPTY_PATH): Define.
40766
83fe108b
UD
407672011-03-30 Ulrich Drepper <drepper@gmail.com>
40768
40769 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40770 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40771 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40772 to...
40773 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40774 * Versions.def: Add GLIBC_2.14.
40775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40776 Export.
83fe108b 40777
bb242059
UD
407782011-03-22 Ulrich Drepper <drepper@gmail.com>
40779
40780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40781 round counter.
40782 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40783
c97a1282
L
407842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40785
40786 [BZ #12597]
40787 * string/test-strncmp.c (do_page_test): New function.
40788 (check2): Likewise.
40789 (test_main): Call check2.
40790 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40791
2a115601
UD
407922011-03-20 Ulrich Drepper <drepper@gmail.com>
40793
40794 [BZ #12587]
40795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40796 Handle cache information in CPU leaf 4.
40797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40798
8126d904
UD
407992011-03-18 Ulrich Drepper <drepper@gmail.com>
40800
042c49c6 40801 [BZ #12583]
8126d904
UD
40802 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40803 character representation.
40804 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40805
ccfe366e
RA
408062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40807
40808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40809 END(__isnan) to END(__isnanf) to match function entry point/label
40810 EALIGN(__isnanf,...).
40811
c6e13027
JJ
408122011-03-10 Jakub Jelinek <jakub@redhat.com>
40813
40814 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40815
33f85a3f
UD
408162011-03-10 Ulrich Drepper <drepper@gmail.com>
40817
028478fa
UD
40818 [BZ #12510]
40819 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40820 copy from the symbol referenced in the relocation to initialize the
40821 used variable.
40822 Patch by Piotr Bury <pbury@goahead.com>.
40823 * elf/Makefile: Add rules to build and tst-unique3.
40824 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40825 * elf/tst-unique3.cc: New file.
40826 * elf/tst-unique3.h: New file.
40827 * elf/tst-unique3lib.cc: New file.
40828 * elf/tst-unique3lib2.cc: New file.
40829
33f85a3f
UD
40830 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40831
03592fc7
MF
408322011-03-10 Mike Frysinger <vapier@gentoo.org>
40833
40834 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40835 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40836 to _start.
03592fc7 40837
6a5ee102
UD
408382011-03-06 Ulrich Drepper <drepper@gmail.com>
40839
40840 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40841 to-be-loaded object along a path to loader is ld.so.
40842
7e4ba49c
HJ
408432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40844 Ulrich Drepper <drepper@gmail.com>
40845
40846 * sysdeps/x86_64/memset.S: After aligning destination, code
40847 branches to different locations depending on the value of
40848 misalignment, when multiarch is enabled. Fix this.
40849
408502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40851
40852 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40853 Set _x86_64_preferred_memory_instruction for AMD processsors.
40854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40855 Set bit_Prefer_SSE_for_memop for AMD processors.
40856
13a804de
UD
408572011-03-04 Ulrich Drepper <drepper@gmail.com>
40858
40859 * libio/fmemopen.c (fmemopen): Optimize a bit.
40860
9d25c392
AS
408612011-03-03 Andreas Schwab <schwab@redhat.com>
40862
40863 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40864
a5543c6a
RM
408652011-03-03 Roland McGrath <roland@redhat.com>
40866
40867 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40868
012d35f7
DM
408692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40870
7e4ba49c 40871 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40872 __bzero_ultra1 instead of __memset_ultra1.
40873
4bff6e01
AS
408742011-02-23 Andreas Schwab <schwab@redhat.com>
40875 Ulrich Drepper <drepper@gmail.com>
40876
40877 [BZ #12509]
40878 * include/link.h (struct link_map): Add l_orig_initfini.
40879 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40880 returning unsuccessfully.
40881 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40882 close of a file loaded at startup, restore the original l_initfini
40883 list.
40884 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40885 list, store the pointer.
40886 * elf/Makefile ($(objpfx)noload-mem): New rule.
40887 (noload-ENV): Define.
40888 (tests): Add $(objpfx)noload-mem.
40889 * elf/noload.c: Include <memcheck.h>.
40890 (main): Call mtrace. Close all opened handles.
40891
f2092faf
AS
408922011-02-17 Andreas Schwab <schwab@redhat.com>
40893
40894 [BZ #12454]
40895 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40896 dependencies are missing.
40897
6c8a2e88
ST
408982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40899
f2092faf 40900 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40901 Hurd needs munmap.
40902 * sysdeps/mach/hurd/ifreq.h: New file.
40903
84a42118
PB
409042011-01-27 Petr Baudis <pasky@suse.cz>
40905 Ulrich Drepper <drepper@gmail.com>
40906
071f805e 40907 [BZ 12445]#
84a42118
PB
40908 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40909 to extend_alloca().
40910 * stdio-common/bug23.c: New file.
40911 * stdio-common/Makefile (tests): Add bug23.
40912
e23fe25b
AS
409132010-09-28 Andreas Schwab <schwab@redhat.com>
40914 Ulrich Drepper <drepper@gmail.com>
40915
40916 [BZ #12489]
40917 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40918 before performing relro protection. At old place add assertion
40919 to make sure nothing changed.
40920
d3f02e10
NS
409212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40922 Glauber de Oliveira Costa <glommer@gmail.com>
40923
40924 * elf/elf.h: Add new ARM TLS relocs.
40925
d55fd7a5
RA
409262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40927
40928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40929 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40930 cast from r3.
40931 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40932 'tests' variable.
40933 * sysdeps/wordsize-64/tst-writev.c: New file.
40934
2206397e
RA
409352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40936
40937 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40938 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40939 insns in _dl_start to prevent a TOC reference before relocs are
40940 resolved.
40941
e9433893
UD
409422011-02-15 Ulrich Drepper <drepper@gmail.com>
40943
40944 [BZ #12469]
40945 * Makeconfig: Remove RANLIB definition.
40946 * Makerules: Don't use RANLIB.
40947 * aclocal.m4: Remove ranlib test.
40948 * configure.in: No need to check for ranlib.
40949 * elf/rtld-Rules: Don't use RANLIB.
40950
f75286c6
ST
409512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40952
8e31c82d
ST
40953 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40954 protection macro.
40955 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40956 inclusion protection macro.
40957
f75286c6
ST
40958 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40959 SIGRTMIN and SIGRTMAX and print information in that case only when
40960 SIGRTMIN is defined.
40961
c1d0e639
JJ
409622011-02-11 Jakub Jelinek <jakub@redhat.com>
40963
40964 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40965 arginfo fn returning -1.
40966
40967 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40968 and thousands string is zero terminated.
40969
edf9294e
AS
409702011-02-03 Andreas Schwab <schwab@redhat.com>
40971
40972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40973 sysdeps/unix/sysv/linux/bits/socket.h.
40974
2b7e92df
ST
409752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40976
edf9294e
AS
40977 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40978 (__CPU_COUNT): Remove old macros.
40979 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40980 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40981 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40982 (__sched_cpualloc, __sched_cpufree): Add declarations.
40983
a4c7ea7b
UD
409842011-02-05 Ulrich Drepper <drepper@gmail.com>
40985
40986 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40987 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40988 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40989 (readdhstai): Return value of addhstaiX call.
40990 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40991 (addgrbyX): Return value returned by cache_addgr.
40992 (readdgrbyname): Return value returned by addgrbyX.
40993 (readdgrbygid): Likewise.
40994 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40995 (addpwbyX): Return value returned by cache_addpw.
40996 (readdpwbyname): Return value returned by addhstbyX.
40997 (readdpwbyuid): Likewise.
40998 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40999 (addservbyX): Return value returned by cache_addserv.
41000 (readdservbyname): Return value returned by addservbyX:
41001 (readdservbyport): Likewise.
41002 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41003 (addhstbyX): Return value returned by cache_addhst.
41004 (readdhstbyname): Return value returned by addhstbyX.
41005 (readdhstbyaddr): Likewise.
41006 (readdhstbynamev6): Likewise.
41007 (readdhstbyaddrv6): Likewise.
41008 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41009 (readdinitgroups): Return value returned by addinitgroupsX.
41010 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41011 (prune_cache): Keep track of timeout value of re-added entries.
41012 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41013 * nscd/nscd.h: Adjust prototypes of readd* functions.
41014
a0bf67cc
RM
410152011-02-04 Roland McGrath <roland@redhat.com>
41016
41017 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41018 (nis_stats): Likewise.
41019 * nis/nis_modify.c (nis_modify): Likewise.
41020 * nis/nis_remove.c (nis_remove): Likewise.
41021 * nis/nis_add.c (nis_add): Likewise.
41022
41023 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41024
41025 * posix/fnmatch_loop.c: Add some consts.
41026
41027 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41028
435b95eb
L
410292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41030
41031 [BZ #12460]
41032 * config.make.in (config-cflags-novzeroupper): Define.
41033 * configure.in: Substitute libc_cv_cc_novzeroupper.
41034 * elf/Makefile (AVX-CFLAGS): Define.
41035 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41036 (CFLAGS-tst-auditmod4a.c): Likewise.
41037 (CFLAGS-tst-auditmod4b.c): Likewise.
41038 (CFLAGS-tst-auditmod6b.c): Likewise.
41039 (CFLAGS-tst-auditmod6c.c): Likewise.
41040 (CFLAGS-tst-auditmod7b.c): Likewise.
41041 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41042
8517b15e
UD
410432011-02-02 Ulrich Drepper <drepper@gmail.com>
41044
41045 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41046 function to the callback.
41047 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41048
10a656fe
AS
410492011-02-02 Andreas Schwab <schwab@redhat.com>
41050
41051 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41052 of errno.
41053
968dad0a
UD
410542011-01-19 Ulrich Drepper <drepper@gmail.com>
41055
9f94d2ea 41056 [BZ #11724]
968dad0a
UD
41057 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41058 of constructors.
41059 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41060 of destructors.
41061 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41062
41063 [BZ #11724]
41064 * elf/Makefile: Add rules to build and run new test.
41065 * elf/tst-initorder.c: New file.
41066 * elf/tst-initorder.exp: New file.
41067 * elf/tst-initordera1.c: New file.
41068 * elf/tst-initordera2.c: New file.
41069 * elf/tst-initordera3.c: New file.
41070 * elf/tst-initordera4.c: New file.
41071 * elf/tst-initorderb1.c: New file.
41072 * elf/tst-initorderb2.c: New file.
41073 * elf/tst-order-a1.c: New file.
41074 * elf/tst-order-a2.c: New file.
41075 * elf/tst-order-a3.c: New file.
41076 * elf/tst-order-a4.c: New file.
41077 * elf/tst-order-b1.c: New file.
41078 * elf/tst-order-b2.c: New file.
41079 * elf/tst-order-main.c: New file.
41080 New test case by George Gensure <werkt0@gmail.com>.
41081
86e92359
UD
410822010-10-01 Andreas Schwab <schwab@redhat.com>
41083
41084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41085 decoding ACE if AI_CANONIDN.
41086
5d5732b0
UD
410872011-01-18 Ulrich Drepper <drepper@gmail.com>
41088
41089 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41090
a77e8cbc
UD
410912011-01-17 Ulrich Drepper <drepper@gmail.com>
41092
6392473f
UD
41093 * version.h (RELEASE): Bump for 2.13 release.
41094 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41095
620a0529
UD
41096 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41097
18ba70a5
UD
41098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41099 MADV_NOHUGEPAGE.
32465c3e
UD
41100 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41104 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41106
c0dafcf1
UD
41107 * posix/getconf.c: Update copyright year.
41108 * catgets/gencat.c: Likewise.
41109 * csu/version.c: Likewise.
41110 * debug/catchsegv.sh: Likewise.
41111 * debug/xtrace.sh: Likewise.
41112 * elf/ldconfig.c: Likewise.
41113 * elf/ldd.bash.in: Likewise.
41114 * elf/sprof.c (print_version): Likewise.
41115 * iconv/iconv_prog.c: Likewise.
41116 * iconv/iconvconfig.c: Likewise.
41117 * locale/programs/locale.c: Likewise.
41118 * locale/programs/localedef.c: Likewise.
41119 * malloc/memusage.sh: Likewise.
41120 * malloc/mtrace.pl: Likewise.
41121 * nscd/nscd.c (print_version): Likewise.
41122 * nss/getent.c: Likewise.
41123
a77e8cbc
UD
41124 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41125 PF_CAIF, and PF_ALG.
41126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41127
77e8bddf
AS
411282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41129
1f20b93a
AS
41130 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41131 (modules-names): Use them.
41132 (ifunc-test-modules, ifunc-pie-tests): Define.
41133 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41134 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41135 (test-extras): Likewise.
41136 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41137 $(compile-command.c).
41138 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41139 (all-built-dso): Define.
41140 (check-textrel.out, check-execstack.out): Depend on it.
41141
77e8bddf
AS
41142 * configure.in: Don't override --enable-multi-arch.
41143
bc425b33
UD
411442011-01-15 Ulrich Drepper <drepper@gmail.com>
41145
41146 [BZ #6812]
41147 * nscd/hstcache.c (tryagain): Define.
41148 (cache_addhst): Return tryagain not notfound for temporary errors.
41149 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41150 failed.
41151
794c3ad3
UD
411522011-01-14 Ulrich Drepper <drepper@gmail.com>
41153
70181fdd
UD
41154 [BZ #10563]
41155 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41156 to make the syscall.
41157 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41158
794c3ad3
UD
41159 [BZ #12378]
41160 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41161 and fall back to matching as normal character if the string ends before
41162 the matching ']' is found. This is what POSIX requires.
41163 * posix/testfnm.c: Adjust test result.
41164 * posix/globtest.sh: Adjust test result. Add new test.
41165 * posix/tst-fnmatch.input: Likewise.
41166 * posix/tst-fnmatch2.c: Add new test.
41167
68dc9497
AS
411682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41169
41170 * elf/Makefile (check-execstack): Revert last change. Depend on
41171 check-execstack.h.
41172 (check-execstack.h): New target.
41173 (generated): Add check-execstack.h.
41174 * elf/check-execstack.c: Include "check-execstack.h".
41175 (main): Revert last change.
41176 (handle_file): Return zero if GNU_STACK is absent and
41177 DEFAULT_STACK_PERMS doesn't include PF_X.
41178
451f001b
UD
411792011-01-13 Ulrich Drepper <drepper@gmail.com>
41180
cfa28e56
UD
41181 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41182 in child fails because the descriptor is already closed.
8cf8ce17
UD
41183 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41184 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41186
1086d70d
UD
41187 [BZ #12397]
41188 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41189 syscall.
41190
451f001b
UD
41191 [BZ #10484]
41192 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41193 temporary buffer used to handle multi lookups locally.
a85b5cb4 41194 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41195
08769175
UD
411962011-01-12 Ulrich Drepper <drepper@gmail.com>
41197
41198 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41199 loader is ld.so.
41200
5e49c52e
UD
412012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41202
41203 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41204 alignment for SSE2.
41205
60522a5f
UD
412062011-01-12 Ulrich Drepper <drepper@gmail.com>
41207
41208 [BZ #12394]
41209 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41210 characters. When rounding increased number of integer digits recompute
41211 number of groups.
41212 * stdio-common/tst-grouping.c: New file.
41213 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41214
f257bbd7
UD
412152011-01-09 Ulrich Drepper <drepper@gmail.com>
41216
41217 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41218 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41219
41220 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41221 void.
41222 * bits/select.h: Likewise.
41223
fa9c15cb
UD
412242011-01-08 Ulrich Drepper <drepper@gmail.com>
41225
41226 * po/ja.po: Update from translation team.
41227
16c2895f
DM
412282011-01-04 David S. Miller <davem@sunset.davemloft.net>
41229
41230 [BZ #11155]
41231 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41232 implementation just like for lxstat, fxstatat, et al.
41233
2543fef2
JM
412342010-12-27 Jim Meyering <meyering@redhat.com>
41235
41236 [BZ #12348]
41237 * posix/regexec.c (build_trtable): Return failure indication upon
41238 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41239
98727dbe
UD
412402010-12-25 Ulrich Drepper <drepper@gmail.com>
41241
5bd6dc5c
UD
41242 [BZ #12201]
41243 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41244 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41247
97983464
UD
41248 [BZ #12207]
41249 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41250
98727dbe
UD
41251 [BZ #12204]
41252 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41253 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41254
4a531bb0
L
412552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41256
41257 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41258 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41259 script has SORT_BY_INIT_PRIORITY.
41260 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41261 NO_CTORS_DTORS_SECTIONS is defined.
41262 * elf/soinit.c: Likewise.
41263 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41264 NO_CTORS_DTORS_SECTIONS is defined.
41265 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41266 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41267 * sysdeps/sh/init-first.c: Likewise.
41268 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41269
07eb4b71
UD
412702010-12-24 Ulrich Drepper <drepper@gmail.com>
41271
41272 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41273 always use the slow path.
41274
30950a5f
RA
412752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41276
41277 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41278 similar rule which adds the sysdep directories to the header search in
41279 order to pick up the correct platform stackinfo.h.
41280 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41281 perform test if it is, otherwise return successfully without testing.
41282 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41283 DEFAULT_STACK_PERMS define in stackinfo.h.
41284 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41285 defined in stackinfo.h.
41286 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41287 DEFAULT_STACK_PERMS defined in stackinfo.h.
41288 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41289 * sysdeps/ia64/stackinfo.h: Likewise.
41290 * sysdeps/s390/stackinfo.h: Likewise.
41291 * sysdeps/sh/stackinfo.h: Likewise.
41292 * sysdeps/sparc/stackinfo.h: Likewise.
41293 * sysdeps/x86_64/stackinfo.h: Likewise.
41294 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41295 PF_X for powerpc64. Retain PF_X for powerpc32.
41296
db753e2c
UD
412972010-12-19 Ulrich Drepper <drepper@gmail.com>
41298
14b697f7
UD
41299 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41300 accurately.
db753e2c
UD
41301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41302 GETDENTS_64BIT_ALIGNED.
41303
28300719
UD
413042010-12-14 Ulrich Drepper <dreper@gmail.com>
41305
14b697f7 41306 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41307
4f197237
AS
413082010-12-10 Andreas Schwab <schwab@redhat.com>
41309
dbb0472f
AS
41310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41311 _GNU_SOURCE.
41312
4f197237
AS
41313 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41314 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41315 Remove __restrict.
41316 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41317 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41318
fb88ac72
UD
413192010-12-09 Ulrich Drepper <drepper@gmail.com>
41320
41321 [BZ #11655]
41322 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41323 are initialized.
41324
42acbb92
JJ
413252010-12-09 Jakub Jelinek <jakub@redhat.com>
41326
41327 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41328
c038d98d
UD
413292010-12-03 Ulrich Drepper <drepper@gmail.com>
41330
41331 * po/it.po: Update from translation team.
41332
3a4a2499
L
413332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41334
41335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41336 unused codes.
41337
1e24cf6e
UD
413382010-11-30 Ulrich Drepper <drepper@gmail.com>
41339
41340 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41341
a7690819
AS
413422010-11-24 Andreas Schwab <schwab@redhat.com>
41343
41344 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41345 specially.
41346 (gaih_getanswer_slice): Likewise.
41347
3bf8d1b1
JJ
413482010-10-20 Jakub Jelinek <jakub@redhat.com>
41349
41350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41351
6db52fbb
PB
413522010-05-31 Petr Baudis <pasky@suse.cz>
41353
41354 [BZ #11149]
41355 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41356 silently even in the chroot mode.
41357
eaca7569
UD
413582010-11-22 Ulrich Drepper <drepper@gmail.com>
41359
41360 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41361 last patch a bit. Pretty printing
41362
3056dcdb
UD
413632010-05-31 Petr Baudis <pasky@suse.cz>
41364
41365 [BZ #10085]
41366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41367 initialization of skip_initgroups_dyn.
41368
cf7c9078
UD
413692010-11-19 Ulrich Drepper <drepper@gmail.com>
41370
41371 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41373
a1fb5e3e
UD
413742010-11-16 Ulrich Drepper <drepper@gmail.com>
41375
41376 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41377
3540d66b
AS
413782010-11-11 Andreas Schwab <schwab@redhat.com>
41379
41380 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41381 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41382 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41383 ($(objpfx)tst-fnmatch-mem): New rule.
41384 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41385 * posix/tst-fnmatch.c (main): Call mtrace.
41386
13b69574
L
413872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41388
41389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41390 Support Intel processor model 6 and model 0x2c.
41391
da93d214
LM
413922010-11-10 Luis Machado <luisgpm@br.ibm.com>
41393
41394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41395 signed comparison.
41396
8ca52c6e
L
413972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41398
41399 [BZ #12205]
41400 * string/test-strncasecmp.c (check_result): New function.
41401 (do_one_test): Use it.
41402 (check1): New function.
41403 (test_main): Use it.
41404 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41405 Support strcasecmp and strncasecmp.
41406
69da074d
UD
414072010-11-08 Ulrich Drepper <drepper@gmail.com>
41408
41409 [BZ #12194]
41410 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41412
ff02d528
L
414132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41414
41415 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41416 IFUNC support.
41417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41418 memset-x86-64.
41419 * sysdeps/x86_64/multiarch/bzero.S: New file.
41420 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41421 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41422 * sysdeps/x86_64/multiarch/memset.S: New file.
41423 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41425 Set bit_Prefer_SSE_for_memop for Intel processors.
41426 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41427 Define.
41428 (index_Prefer_SSE_for_memop): Define.
41429 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41430
344d0b54
LM
414312010-11-04 Luis Machado <luisgpm@br.ibm.com>
41432
41433 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41435
c0dde15b
UD
414362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41437
41438 [BZ #12191]
41439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41440 (__x86_64_raw_data_cache_size_half): Likewise.
41441 (__x86_64_raw_shared_cache_size): Likewise.
41442 (__x86_64_raw_shared_cache_size_half): Likewise.
41443
41444 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41445 (__x86_64_raw_data_cache_size_half): Likewise.
41446 (__x86_64_raw_shared_cache_size): Likewise.
41447 (__x86_64_raw_shared_cache_size_half): Likewise.
41448 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41449 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41450 and __x86_64_raw_shared_cache_size_half. Round
41451 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41452 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41453 to multiple of 256 bytes.
41454
0e516e0e
MS
414552010-11-03 Ulrich Drepper <drepper@gmail.com>
41456
41457 [BZ #12167]
41458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41459 of inacessible symlinks. Verify result of symlink before returning it.
41460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41461 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41462
0e012e87
ER
414632010-10-28 Erich Ritz <erichritz@gmail.com>
41464
41465 * math/math.h (isinf): Fix typo in comment.
41466
de0ff7bc
UD
414672010-11-01 Ulrich Drepper <drepper@gmail.com>
41468
41469 * po/da.po: Update from translation team.
41470
fa41c84d
UD
414712010-10-26 Ulrich Drepper <drepper@gmail.com>
41472
41473 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41474 is added to the list.
41475
f0967738
AK
414762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41477 Ulrich Drepper <drepper@gmail.com>
41478
41479 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41480 the global list here. Move code to...
41481 (_dl_add_to_namespace_list): ...here. New function.
41482 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41483 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41484 * elf/dl-load.c (lose): Don't remove the element from the list.
41485 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41486 (_dl_map_object): Likewise.
41487
414882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41489
41490 [BZ #12159]
41491 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41492 into all bytes of SSE register.
41493 Patch by Richard Li <richardpku@gmail.com>.
41494
f0967738 414952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41496
41497 [BZ #12140]
41498 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41499 perturbing.
41500
d0b9e94f
MB
415012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41502
41503 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41504 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41506 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41508 submachine.
41509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41510
8e9f92e9
AS
415112010-10-22 Andreas Schwab <schwab@redhat.com>
41512
41513 * include/dlfcn.h (__RTLD_SECURE): Define.
41514 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41515 mode & __RTLD_SECURE instead.
41516 (open_path): Rename preloaded parameter to secure.
41517 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41518 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41519 * elf/dl-deps.c (openaux): Likewise.
41520 * elf/rtld.c (struct map_args): Remove is_preloaded.
41521 (map_doit): Don't use it.
41522 (dl_main): Likewise.
41523 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41524 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41525
bc96fbda
AS
415262010-09-09 Andreas Schwab <schwab@redhat.com>
41527
41528 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41529 (sysd-rules-targets): Remove duplicates.
41530 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41531 rtld-%.$o dependency.
41532
22cd1c9b
AS
415332010-10-18 Andreas Schwab <schwab@redhat.com>
41534
41535 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41536 _dl_map_object do it.
41537
18edac48
UD
415382010-10-19 Ulrich Drepper <drepper@gmail.com>
41539
41540 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41541 fast fma builtins, define the macros in the C99 standard.
41542 (FP_FAST_FMAF): Likewise.
41543 (FP_FAST_FMAL): Likewise.
41544 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41545
41546 * bits/mathdef.h: Update copyright year.
41547 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41548
d2050124
MM
415492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41550
41551 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41552 builtins, define the macros in the C99 standard.
41553 (FP_FAST_FMAF): Likewise.
41554 (FP_FAST_FMAL): Likewise.
41555 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41556 multiply/add.
41557 (FP_FAST_FMAF): Likewise.
41558
475facd1
JJ
415592010-10-15 Jakub Jelinek <jakub@redhat.com>
41560
41561 [BZ #3268]
41562 * math/libm-test.inc (fma_test): Some new testcases.
41563 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41564 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41565 y and infinite z. Do multiplication by C already in long double.
41566 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41568 y and infinite z. Do bitwise or of inexact bit into u.d.
41569 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41570 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41571 * sysdeps/i386/fpu/s_fma.S: Removed.
41572 * sysdeps/i386/fpu/s_fmal.S: Removed.
41573
7c08a05c
JJ
415742010-10-16 Jakub Jelinek <jakub@redhat.com>
41575
41576 [BZ #3268]
41577 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41579 computation is not scheduled after fetestexcept. Fix value
41580 of minimum denormal long double.
41581
f3f7372d
JJ
415822010-10-14 Jakub Jelinek <jakub@redhat.com>
41583
41584 [BZ #3268]
41585 * math/libm-test.inc (fma_test): Add some more tests.
41586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41587 correctly.
41588
14d43591
AS
415892010-10-15 Andreas Schwab <schwab@redhat.com>
41590
41591 * scripts/data/localplt-s390-linux-gnu.data: New file.
41592 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41593
5e908464
JJ
415942010-10-13 Jakub Jelinek <jakub@redhat.com>
41595
41596 [BZ #3268]
41597 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41598 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41599 instead of dbl-64.
41600 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41601 inlines.
41602 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41604 if one of x and y is very large and the other is subnormal.
41605 * sysdeps/s390/fpu/s_fmaf.c: New file.
41606 * sysdeps/s390/fpu/s_fma.c: New file.
41607 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41608 * sysdeps/powerpc/fpu/s_fma.S: New file.
41609 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41610 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41611 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41612
416132010-10-12 Jakub Jelinek <jakub@redhat.com>
41614
41615 [BZ #3268]
41616 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41617 fma tests.
41618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41619 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41620 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41621 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41622 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41623 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41624 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41625
b833d51f
UD
416262010-10-12 Ulrich Drepper <drepper@redhat.com>
41627
41628 [BZ #12078]
41629 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41630 * posix/bug-regex31.input: Add test case.
41631
1751705d
UD
416322010-10-11 Ulrich Drepper <drepper@gmail.com>
41633
e9b9cbf5
UD
41634 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41635 * posix/bug-regex31.input: New file.
41636
41637 [BZ #12078]
41638 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41639 (parse_sub_exp): Fix last change, use postorder.
41640
ef06edbe
UD
41641 * posix/bug-regex31.c: New file.
41642 * posix/Makefile: Add rules to build and run bug-regex31.
41643
a129c80d
UD
41644 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41645
41646 [BZ #12078]
41647 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41648
b76b818e
UD
41649 [BZ #12108]
41650 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41651 to have entries in sys_siglist.
41652
1751705d
UD
41653 [BZ #12093]
41654 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41655 be NULL.
41656
9ff8d36f
JJ
416572010-10-07 Jakub Jelinek <jakub@redhat.com>
41658
41659 [BZ #3268]
41660 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41661 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41662 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41663 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41664 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41665 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41666 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41667 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41668 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41669 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41670 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41671 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41673 * math/ftestexcept.c (fetestexcept): Likewise.
41674 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41675 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41676 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41678 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41679 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41681
af325969
UD
416822010-10-11 Ulrich Drepper <drepper@gmail.com>
41683
c579b202 41684 [BZ #12107]
af325969
UD
41685 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41686 newline.
41687
67a67b95
UD
416882010-10-06 Ulrich Drepper <drepper@gmail.com>
41689
41690 * string/bug-strstr1.c: New file.
41691 * string/Makefile: Add rules to build and run bug-strstr1.
41692
5fb308bc
EB
416932010-10-05 Eric Blake <eblake@redhat.com>
41694
41695 [BZ #12092]
41696 * string/str-two-way.h (two_way_long_needle): Always clear memory
41697 when skipping input due to the shift table.
41698
45db99c7
UD
416992010-10-03 Ulrich Drepper <drepper@gmail.com>
41700
3b111893
UD
41701 [BZ #12005]
41702 * malloc/mcheck.c: Handle large requests.
41703
45db99c7
UD
41704 [BZ #12077]
41705 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41706 for strncmp and strncasecmp.
41707 * string/stratcliff.c: Add tests for strcmp and strncmp.
41708 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41709
cf7a1eb8
NI
417102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41711
41712 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41713 __set_fpscr.
41714
6484ba5e
AJ
417152010-09-30 Andreas Jaeger <aj@suse.de>
41716
41717 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41718 (CGROUP_SUPER_MAGIC): Define.
41719 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41720 Handle btrfs and cgroup file systems.
41721 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41722 Likewise.
41723
91c42559
LM
417242010-09-27 Luis Machado <luisgpm@br.ibm.com>
41725
41726 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41727 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41728
87a97932
AK
417292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41730
41731 [BZ #12067]
41732 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41733 trying to locate the ELF header.
41734
c21cc9bc
AS
417352010-09-27 Andreas Schwab <schwab@redhat.com>
41736
41737 [BZ #11611]
41738 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41739 Mask out sign-bit copies when constructing f_fsid.
41740
315970f6
PB
417412010-09-24 Petr Baudis <pasky@suse.cz>
41742
41743 * debug/stack_chk_fail_local.c: Add missing licence exception.
41744 * debug/warning-nop.c: Likewise.
41745
1ac7a2c7
JM
417462010-09-15 Joseph Myers <joseph@codesourcery.com>
41747
41748 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41749 implementing getdents64 using getdents syscall, set d_type if
41750 __ASSUME_GETDENTS32_D_TYPE.
41751
56801c50
AS
417522010-09-16 Andreas Schwab <schwab@redhat.com>
41753
41754 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41755 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41756
dda51327
UD
417572010-09-21 Ulrich Drepper <drepper@redhat.com>
41758
41759 [BZ #12037]
41760 * posix/unistd.h: Undo change of feature selection for ftruncate from
41761 2010-01-11.
41762
8ffcee4a
UD
417632010-09-20 Ulrich Drepper <drepper@redhat.com>
41764
a545ecd9 41765 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41766 detection.
41767
e24f0a8b
AS
417682010-09-20 Andreas Schwab <schwab@redhat.com>
41769
41770 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41771 fanotify_mark.
41772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41773
7291c56f
AS
417742010-09-14 Andreas Schwab <schwab@redhat.com>
41775
41776 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41777 variables after CHECK_SP call.
41778 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41779
bc5fb037
AS
417802010-09-13 Andreas Schwab <schwab@redhat.com>
41781 Ulrich Drepper <drepper@redhat.com>
41782
41783 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41784 re-relocationg ld.so.
41785 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41786 _dl_init_paths call.
41787 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41788 here anymore.
41789
e66e7419
UD
417902010-09-14 Ulrich Drepper <drepper@redhat.com>
41791
41792 * resolv/res_init.c (__res_vinit): Count the default server we added.
41793
c044aa75
CLT
417942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41795 Ulrich Drepper <drepper@redhat.com>
41796
41797 [BZ #11968]
41798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41799 (____longjmp_chk): Use %ebx for saving value across system call.
41800 Add unwind info.
41801
32cf4069
AS
418022010-09-06 Andreas Schwab <schwab@redhat.com>
41803
41804 * manual/Makefile: Don't mix pattern rules with normal rules.
41805
817328ee
AS
418062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41807
41808 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41809 operation.
41810 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41811 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41812 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41813 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41815 Likewise.
41816
29fddf61
UD
418172010-09-04 Ulrich Drepper <drepper@redhat.com>
41818
41819 [BZ #11979]
41820 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41821 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41822
0959ffc9
UD
418232010-09-02 Ulrich Drepper <drepper@redhat.com>
41824
41825 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41826 * sysdeps/x86_64/addmul_1.S: Likewise.
41827 * sysdeps/x86_64/lshift.S: Likewise.
41828 * sysdeps/x86_64/mul_1.S: Likewise.
41829 * sysdeps/x86_64/rshift.S: Likewise.
41830 * sysdeps/x86_64/sub_n.S: Likewise.
41831 * sysdeps/x86_64/submul_1.S: Likewise.
41832
ece29840
ST
418332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41834
0959ffc9
UD
41835 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41836 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41837 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41838 * bits/sched.h [__need_schedparam]
ece29840 41839 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41840 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41841 (__defined_schedparam): Define to 1.
ece29840
ST
41842 (__sched_param): New structure, identical to sched_param.
41843 (__need_schedparam): Undefine.
41844
e53a31fe
MF
418452010-08-31 Mike Frysinger <vapier@gentoo.org>
41846
fdc0c10d
MF
41847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41848 (epoll_create1): Declare.
41849
e53a31fe
MF
41850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41851
a726d796
AS
418522010-08-31 Andreas Schwab <schwab@redhat.com>
41853
41854 [BZ #7066]
41855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41856 shifting retval into place.
41857
2f3e3dc7
UD
418582010-09-01 Ulrich Drepper <drepper@redhat.com>
41859
f2933da9
UD
41860 * nis/rpcsvc/nis.h: Update copyright notice.
41861 * nis/rpcsvc/nis.x: Likewise.
41862 * nis/rpcsvc/nis_callback.h: Likewise.
41863 * nis/rpcsvc/nis_callback.x: Likewise.
41864 * nis/rpcsvc/nis_object.x: Likewise.
41865 * nis/rpcsvc/nis_tags.h: Likewise.
41866 * nis/rpcsvc/yp.h: Likewise.
41867 * nis/rpcsvc/yp.x: Likewise.
41868 * nis/rpcsvc/ypupd.h: Likewise.
41869 * nis/yp_xdr.c: Likewise.
41870 * nis/ypupdate_xdr.c: Likewise.
41871
2f3e3dc7
UD
41872 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41873 mainly the body of pmap_getport. Add parameters to specify timeouts.
41874 (pmap_getport): Use __libc_rpc_getport.
41875 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41876 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41877 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41878
f3dcc2f9
AS
418792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41880
41881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41882 fanotify_mark.
41883
6d34eb5b
RM
418842010-08-27 Roland McGrath <roland@redhat.com>
41885
41886 * sysdeps/i386/i686/multiarch/Makefile
41887 (CFLAGS-varshift.c): New variable.
41888
9ea3de11
UD
418892010-08-27 Ulrich Drepper <drepper@redhat.com>
41890
c96d23fc
UD
41891 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41892 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41893
9ea3de11
UD
41894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41895
41896 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41897
623aac7f
L
418982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41899
41900 * sysdeps/x86_64/strlen.S: Unroll the loop.
41901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41902 strlen-sse2 strlen-sse2-bsf.
41903 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41904 __strlen_no_bsf if bit_Slow_BSF is set.
41905 (__strlen_sse42): Removed.
41906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41907 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41908
8b2b7715
RM
419092010-08-25 Roland McGrath <roland@redhat.com>
41910
41911 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41912 * sysdeps/x86_64/multiarch/varshift.c: New file.
41913 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41914 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41915 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41917
e73015f2
L
419182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41919
41920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41921 strlen-sse2 strlen-sse2-bsf.
41922 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41923 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41924 (__strlen_sse2): Removed.
41925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41928 bit_Slow_BSF for Atom.
41929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41930 (index_Slow_BSF): Define.
41931 (HAS_SLOW_BSF): Define.
41932
df24a73e
UD
419332010-08-25 Ulrich Drepper <drepper@redhat.com>
41934
41935 [BZ #10851]
41936 * resolv/res_init.c (__res_vinit): When no server address at all
41937 is given default to loopback.
41938
f2ac4868
RM
419392010-08-24 Roland McGrath <roland@redhat.com>
41940
09055553
RM
41941 * configure.in: Remove config-name.h generation.
41942 * configure: Regenerated.
41943 * config-name.in: File removed.
41944 * scripts/config-uname.sh: New file.
41945 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41946 ($(objdir)config-name.h): New target.
41947
f2ac4868
RM
41948 * sunrpc/rpc_parse.h: Avoid nested comment.
41949
73f27d5e
RH
419502010-08-24 Richard Henderson <rth@redhat.com>
41951 Ulrich Drepper <drepper@redhat.com>
41952 H.J. Lu <hongjiu.lu@intel.com>
41953
41954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41956 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41957 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41958 _mm_alignr_epi8 with _mm_loadu_si128.
41959 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41960 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41961 (__m128i_shift_right): Removed.
41962 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41963 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41964 * sysdeps/x86_64/multiarch/varshift.h: New file.
41965 * sysdeps/x86_64/multiarch/varshift.S: New file.
41966
84b9230c
MF
419672010-08-21 Mike Frysinger <vapier@gentoo.org>
41968
41969 * configure.in: Move assembler checks to before sysdep dir checking.
41970
9bbd0ddc
PB
419712010-08-20 Petr Baudis <pasky@suse.cz>
41972
41973 * LICENSES: Sync the sunrpc license.
41974
9da4bb31
UD
419752010-08-19 Ulrich Drepper <drepper@redhat.com>
41976
a7ab6ec8
UD
41977 * sunrpc/auth_des.c: Update copyright notice once again.
41978 * sunrpc/auth_none.c: Likewise.
41979 * sunrpc/auth_unix.c: Likewise.
41980 * sunrpc/authdes_prot.c: Likewise.
41981 * sunrpc/authuxprot.c: Likewise.
41982 * sunrpc/bindrsvprt.c: Likewise.
41983 * sunrpc/clnt_gen.c: Likewise.
41984 * sunrpc/clnt_perr.c: Likewise.
41985 * sunrpc/clnt_raw.c: Likewise.
41986 * sunrpc/clnt_simp.c: Likewise.
41987 * sunrpc/clnt_tcp.c: Likewise.
41988 * sunrpc/clnt_udp.c: Likewise.
41989 * sunrpc/clnt_unix.c: Likewise.
41990 * sunrpc/des_crypt.c: Likewise.
41991 * sunrpc/des_soft.c: Likewise.
41992 * sunrpc/get_myaddr.c: Likewise.
41993 * sunrpc/getrpcport.c: Likewise.
41994 * sunrpc/key_call.c: Likewise.
41995 * sunrpc/key_prot.c: Likewise.
41996 * sunrpc/openchild.c: Likewise.
41997 * sunrpc/pm_getmaps.c: Likewise.
41998 * sunrpc/pm_getport.c: Likewise.
41999 * sunrpc/pmap_clnt.c: Likewise.
42000 * sunrpc/pmap_prot.c: Likewise.
42001 * sunrpc/pmap_prot2.c: Likewise.
42002 * sunrpc/pmap_rmt.c: Likewise.
42003 * sunrpc/rpc/auth.h: Likewise.
42004 * sunrpc/rpc/auth_unix.h: Likewise.
42005 * sunrpc/rpc/clnt.h: Likewise.
42006 * sunrpc/rpc/des_crypt.h: Likewise.
42007 * sunrpc/rpc/key_prot.h: Likewise.
42008 * sunrpc/rpc/netdb.h: Likewise.
42009 * sunrpc/rpc/pmap_clnt.h: Likewise.
42010 * sunrpc/rpc/pmap_prot.h: Likewise.
42011 * sunrpc/rpc/pmap_rmt.h: Likewise.
42012 * sunrpc/rpc/rpc.h: Likewise.
42013 * sunrpc/rpc/rpc_des.h: Likewise.
42014 * sunrpc/rpc/rpc_msg.h: Likewise.
42015 * sunrpc/rpc/svc.h: Likewise.
42016 * sunrpc/rpc/svc_auth.h: Likewise.
42017 * sunrpc/rpc/types.h: Likewise.
42018 * sunrpc/rpc/xdr.h: Likewise.
42019 * sunrpc/rpc_clntout.c: Likewise.
42020 * sunrpc/rpc_cmsg.c: Likewise.
42021 * sunrpc/rpc_common.c: Likewise.
42022 * sunrpc/rpc_cout.c: Likewise.
42023 * sunrpc/rpc_dtable.c: Likewise.
42024 * sunrpc/rpc_hout.c: Likewise.
42025 * sunrpc/rpc_main.c: Likewise.
42026 * sunrpc/rpc_parse.c: Likewise.
42027 * sunrpc/rpc_parse.h: Likewise.
42028 * sunrpc/rpc_prot.c: Likewise.
42029 * sunrpc/rpc_sample.c: Likewise.
42030 * sunrpc/rpc_scan.c: Likewise.
42031 * sunrpc/rpc_scan.h: Likewise.
42032 * sunrpc/rpc_svcout.c: Likewise.
42033 * sunrpc/rpc_tblout.c: Likewise.
42034 * sunrpc/rpc_util.c: Likewise.
42035 * sunrpc/rpc_util.h: Likewise.
42036 * sunrpc/rpcinfo.c: Likewise.
42037 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42038 * sunrpc/rpcsvc/key_prot.x: Likewise.
42039 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42040 * sunrpc/rpcsvc/mount.x: Likewise.
42041 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42042 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42043 * sunrpc/rpcsvc/rex.x: Likewise.
42044 * sunrpc/rpcsvc/rstat.x: Likewise.
42045 * sunrpc/rpcsvc/rusers.x: Likewise.
42046 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42047 * sunrpc/rpcsvc/spray.x: Likewise.
42048 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42049 * sunrpc/rtime.c: Likewise.
42050 * sunrpc/svc.c: Likewise.
42051 * sunrpc/svc_auth.c: Likewise.
42052 * sunrpc/svc_authux.c: Likewise.
42053 * sunrpc/svc_raw.c: Likewise.
42054 * sunrpc/svc_run.c: Likewise.
42055 * sunrpc/svc_simple.c: Likewise.
42056 * sunrpc/svc_tcp.c: Likewise.
42057 * sunrpc/svc_udp.c: Likewise.
42058 * sunrpc/svc_unix.c: Likewise.
42059 * sunrpc/svcauth_des.c: Likewise.
42060 * sunrpc/xcrypt.c: Likewise.
42061 * sunrpc/xdr.c: Likewise.
42062 * sunrpc/xdr_array.c: Likewise.
42063 * sunrpc/xdr_float.c: Likewise.
42064 * sunrpc/xdr_mem.c: Likewise.
42065 * sunrpc/xdr_rec.c: Likewise.
42066 * sunrpc/xdr_ref.c: Likewise.
42067 * sunrpc/xdr_sizeof.c: Likewise.
42068 * sunrpc/xdr_stdio.c: Likewise.
42069
9da4bb31
UD
42070 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42071 handling.
42072
bdaa77bc
AS
420732010-08-19 Andreas Schwab <schwab@redhat.com>
42074
42075 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42076
fe2f79db
LM
420772010-08-19 Luis Machado <luisgpm@br.ibm.com>
42078
42079 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42080 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42082 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42083 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42084 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42085 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42086 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42088 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42089 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42091 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42093
b9b42ee0
AB
420942010-07-26 Anton Blanchard <anton@samba.org>
42095
42096 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42097 * malloc/arena.c (heap_trim): Likewise.
42098
1c06ba31
UD
420992010-08-16 Ulrich Drepper <drepper@redhat.com>
42100
42101 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42102 here. Not...
42103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42104 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42105
f8392f40
L
421062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42107
42108 * sysdeps/i386/elf/Makefile: New file.
42109
3162f12e
AS
421102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42111
42112 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42113 from fanotify_init.
42114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42116
28c90b2c
UD
421172010-08-15 Ulrich Drepper <drepper@redhat.com>
42118
42119 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42120 of strncasecmp_l.
1feccb6c 42121 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42122
ca6bb004
UD
421232010-08-14 Ulrich Drepper <drepper@redhat.com>
42124
e9f82e0d
UD
42125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42126 strncase_l-nonascii.
42127 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42128 Add strncase_l-ssse3.
42129 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42130 * sysdeps/x86_64/strcmp.S: Likewise.
42131 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42132 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42133 * sysdeps/x86_64/strncase.S: New file.
42134 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42135 * sysdeps/x86_64/strncase_l.S: New file.
42136 * string/Makefile (strop-tests): Add strncasecmp.
42137 * string/test-strncasecmp.c: New file.
42138
42139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42140 warning.
42141
ca6bb004
UD
42142 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42143 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42144
052fa7b3
AS
421452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42146
42147 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42148
962dba78
UD
421492010-08-12 Ulrich Drepper <drepper@redhat.com>
42150
42151 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42154
bebff237
AM
421552010-05-01 Alan Modra <amodra@gmail.com>
42156
42157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42158 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42159 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42160 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42161 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42162 tidying. Don't tail-call __sigjmp_save for static lib.
42163 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42164 save location.
42165 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42166 (CALL_MCOUNT): Add eh info, and nop after bl.
42167 (TAIL_CALL_SYSCALL_ERROR): New macro.
42168 (PSEUDO_RET): Use it.
42169 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42170 Correct save location of integer regs and cr.
42171 (_dl_profile_resolve): Correct cr save location. Delete nops
42172 after bl when SHARED. Reduce cfi size a little by better
42173 placement of cfi directives.
42174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42175 make a stack frame. Instead use parm save area as a temp.
42176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42177 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42179 Don't make a stack frame for parent, use parm save area.
42180 Increase child stack frame to 112 bytes. Don't save unused reg,
42181 and adjust reg usage. Set up cfi on error recovery and
42182 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42184 (__makecontext): Add dummy nop after jump to exit.
42185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42186 Use correct parm save area and cr save, reduce stack frame.
42187 Correct cfi for possible PSEUDO_RET frame setup.
42188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42189 Branch to local label emitted by PSEUDO_RET rather than
42190 __syscall_error.
42191
02637374
AS
421922010-08-12 Andreas Schwab <schwab@redhat.com>
42193
42194 [BZ #11904]
42195 * locale/programs/locale.c (print_assignment): New function.
42196 (show_locale_vars): Use it.
42197
c3e2f19b
UD
421982010-08-11 Ulrich Drepper <drepper@redhat.com>
42199
3cdaa6ad
UD
42200 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42201 field.
42202 (struct statfs64): Likewise.
42203 (_STATFS_F_FLAGS): Define.
42204 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42206 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42207 (ST_VALID): Define locally.
42208 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42209 __statvfs_getflags, use the provided value.
42210 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42211 __ASSUME_STATFS_F_FLAGS.
42212
754f7da3
UD
42213 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42214
10b3bedc
UD
42215 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42216 Add sys/fanotify.h.
42217 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42218 fanotify_mask for GLIBC_2.13.
42219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42220 fanotify_init and fanotify_mark.
42221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42222 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42223
c08fb0d7
UD
42224 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42225 Add prlimit.
42226 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42227 prlimit64 for GLIBC_2.13.
42228 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42229 prlimit64.
42230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42231 syscall.
42232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42234 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42237 add prlimit alias.
42238 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42239
15bac72b
UD
42240 [BZ #11903]
42241 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42242 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42243
c3e2f19b
UD
42244 * nss/Makefile: Add rules to build and run tst-nss-test1.
42245 * shlib-versions: Add entry for libnss_test1.
42246 * nss/nss_test1.c: New file.
42247 * nss/tst-nss-test1.c: New file.
42248
42249 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42250 (__nss_configure_lookup): Set appropriate entry in
42251 __nss_configure_lookup to true.
42252 * nss/nsswitch.h: Define enum with indeces of databases in
42253 databases and __nss_database_custom arrays. Declare
42254 __nss_database_custom.
42255 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42256 to avoid using nscd when custom rules are installed.
42257 * nss/getXXbyYY_r.c: Likewise.
42258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42259
42260 * nss/nss_files/files-parse.c: Whitespace fixes.
42261
f15ce4d8
UD
422622010-08-09 Ulrich Drepper <drepper@redhat.com>
42263
42264 [BZ #11883]
42265 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42266 * posix/fnmatch_loop.c: Likewise.
42267
d22e4cc9
AK
422682010-07-17 Andi Kleen <ak@linux.intel.com>
42269
42270 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42271 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42272 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42273 * Versions.def [GLIBC_2.13]: Add.
42274
805bc17d
UD
422752010-08-06 Ulrich Drepper <drepper@redhat.com>
42276
42277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42278 Also fail if tpwd after pwuid call is NULL.
42279
5a42321d
ST
422802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42281
42282 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42283 when converting to ms.
42284
fd3ebeda
ST
422852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42286
42287 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42288 EOPNOTSUPP errors with ENOTTY.
42289 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42290 EOPNOTSUPP errors with ENOTTY.
42291
73507d3a
UD
422922010-07-31 Ulrich Drepper <drepper@redhat.com>
42293
42294 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42295 Add strcasecmp_l-ssse3.
42296 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42297 strcasecmp.
42298 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42299 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42300 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42301
fe36dd02
UD
423022010-07-30 Ulrich Drepper <drepper@redhat.com>
42303
66f6765a
UD
42304 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42305
42e08a54
UD
42306 * string/Makefile (strop-tests): Add strcasecmp.
42307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42308 strcasecmp_l-nonascii.
42309 (gen-as-const-headers): Add locale-defines.sym.
42310 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42311 * sysdeps/x86_64/strcasecmp.S: New file.
42312 * sysdeps/x86_64/strcasecmp_l.S: New file.
42313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42314 * sysdeps/x86_64/locale-defines.sym: New file.
42315 * string/test-strcasecmp.c: New file.
42316
fe36dd02
UD
42317 * string/test-strcasestr.c: Test both ends of the range of characters.
42318 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42319
48cbc0d6
RM
423202010-07-29 Roland McGrath <roland@redhat.com>
42321
76e6d6bc 42322 [BZ #11856]
48cbc0d6
RM
42323 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42324
880113d9
UD
423252010-07-27 Ulrich Drepper <drepper@redhat.com>
42326
42327 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42328 for ld.so.
42329
deb9cabb
AS
423302010-07-27 Andreas Schwab <schwab@redhat.com>
42331
42332 * manual/memory.texi (Malloc Tunable Parameters): Document
42333 M_PERTURB.
42334
1c7570ff
RM
423352010-07-26 Roland McGrath <roland@redhat.com>
42336
42337 [BZ #11840]
42338 * configure.in (-fgnu89-inline check): Set and substitute
42339 gnu89_inline, not libc_cv_gnu89_inline.
42340 * configure: Regenerated.
42341 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42342
24fb0f88
UD
423432010-07-26 Ulrich Drepper <drepper@redhat.com>
42344
42345 * string/test-strnlen.c: New file.
42346 * string/Makefile (strop-tests): Add strnlen.
42347 * string/tester.c (test_strnlen): Add a few more test cases.
42348 * string/tst-strlen.c: Better error reporting.
42349
42350 * sysdeps/x86_64/strnlen.S: New file.
42351
8e96b93a
UD
423522010-07-24 Ulrich Drepper <drepper@redhat.com>
42353
42354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42355 lower-latency instructions.
42356
dbc676d4
UD
423572010-07-23 Ulrich Drepper <drepper@redhat.com>
42358
42359 * string/test-strcasestr.c: New file.
42360 * string/test-strstr.c: New file.
42361 * string/Makefile (strop-tests): Add strstr and strcasestr.
42362 * string/str-two-way.h: Don't undefine MAX.
42363 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42364
f6a31e0e
AS
423652010-07-21 Andreas Schwab <schwab@redhat.com>
42366
42367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42368 strcasestr-nonascii.
42369 (CFLAGS-strcasestr-nonascii.c): Define.
42370 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42372 Remove unused attribute.
42373
5dbc3b6c
RM
423742010-07-20 Roland McGrath <roland@redhat.com>
42375
42376 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42377 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42378 ld.so.cache was broken. With it, there is no way to disable dsocaps
42379 like LD_HWCAP_MASK can disable hwcaps.
42380
23d101d8
EPM
423812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42382
42383 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42384
cc9f2e47
UD
423852010-07-16 Ulrich Drepper <drepper@redhat.com>
42386
42387 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42388 call in strcasestr.
42389 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42390 __strcasestr_sse42_nonascii.
42391 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42392 strcasestr-nonascii.c.
42393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42394
77c1b069
LM
423952010-06-15 Luis Machado <luisgpm@br.ibm.com>
42396
42397 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42401
440566c3
UD
424022010-07-09 Ulrich Drepper <drepper@redhat.com>
42403
42404 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42405 fcntl.
42406
5be9d05d
AS
424072010-07-06 Andreas Schwab <schwab@redhat.com>
42408
c30b7ee2 42409 [BZ #11577]
5be9d05d
AS
42410 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42411 dl_signal_cerror.
42412
8a492a67
UD
424132010-07-06 Ulrich Drepper <drepper@redhat.com>
42414
42415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42416 _PC_PIPE_BUF using F_GETPIPE_SZ.
42417
713df3d5
RM
424182010-07-05 Roland McGrath <roland@redhat.com>
42419
42420 * manual/arith.texi (Rounding Functions): Fix rint description
42421 implicit in round description.
42422
702e8f14
UD
424232010-07-02 Ulrich Drepper <drepper@redhat.com>
42424
42425 * elf/Makefile: Fix linking for a few tests to make recent linker
42426 happy.
42427
52ed8be9
AS
424282010-06-30 Andreas Schwab <schwab@redhat.com>
42429
42430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42431 $(common-objpfx)libc_nonshared.a.
42432
f47c9a11
LM
424332010-06-21 Luis Machado <luisgpm@br.ibm.com>
42434
42435 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42436 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42437 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42438 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42439 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42440 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42457 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42458 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42459 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42460 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42461 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42462 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42463 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42464 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42465 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42466 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42467 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42468 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42483
6fb8cbcb
L
424842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42485
42486 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42487 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42488 * string/memmove.c (memmove): Renamed to ...
42489 (MEMMOVE): ...this. Default to memmove.
42490 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42491 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42492 (END_CHK): Define.
42493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42494 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42495 mempcpy-ssse3-back memmove-ssse3-back.
42496 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42499 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42500 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42501 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42502 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42503 * sysdeps/x86_64/multiarch/memmove.c: New file.
42504 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42505 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42506 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42507 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42510 Define.
42511 (index_Fast_Copy_Backward): Define.
42512 (HAS_ARCH_FEATURE): Define.
42513 (HAS_FAST_REP_STRING): Define.
42514 (HAS_FAST_COPY_BACKWARD): Define.
42515
4e733bac 425162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42517
42518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42519 Restore proper fallback handling.
42520
63c4ed22
UD
425212010-06-19 Ulrich Drepper <drepper@redhat.com>
42522
ac2b484c
UD
42523 [BZ #11701]
42524 * posix/group_member.c (__group_member): Correct checking loop.
42525
63c4ed22
UD
42526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42527 OOM in getpwuid_r correctly. Return error number when the caller
42528 should return, otherwise -1.
42529 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42530 call returning > 0 value.
42531 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42532
765ade4b
AS
425332010-06-07 Andreas Schwab <schwab@redhat.com>
42534
42535 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42536 libc_nonshared.a from targets in modules-names.
42537
80da2e09
KS
425382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42539
42540 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42541 requires it.
42542
158db122
LM
425432010-06-10 Luis Machado <luisgpm@br.ibm.com>
42544
42545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42546 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42549
caa78cf8
AS
425502010-06-02 Andreas Schwab <schwab@redhat.com>
42551
42552 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42553
b2ef2c01
UD
425542010-06-14 Ulrich Drepper <drepper@redhat.com>
42555
42556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42557 and F_GETPIPE_SZ.
42558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42564
fbd643b6
RM
425652010-06-14 Roland McGrath <roland@redhat.com>
42566
42567 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42568
f32f2869
JJ
425692010-06-07 Jakub Jelinek <jakub@redhat.com>
42570
42571 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42572 __REDIRECT followed by __THROW.
42573 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42574 * posix/getopt.h (getopt): Likewise.
42575
2a50c078
EPM
425762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42577
42578 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42579 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42580 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42581 in AT_FLAGS.
42582 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42583 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42584
eb5ad2eb
LM
425852010-05-28 Luis Machado <luisgpm@br.ibm.com>
42586
42587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42588
3c88fe1e
L
425892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42590
42591 [BZ #11640]
42592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42593 Properly check family and model.
42594
d2f73151
TY
425952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42596
42597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42598
ebd2e13d
LM
425992010-05-24 Luis Machado <luisgpm@br.ibm.com>
42600
42601 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42602
b32b8b45
UD
426032010-05-21 Ulrich Drepper <drepper@redhat.com>
42604
42605 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42606 symbol reference.
42607
9acbe24d
AS
426082010-05-19 Andreas Schwab <schwab@redhat.com>
42609
42610 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42611 symbol reference.
42612
f0ccf6ea
AS
426132010-05-21 Andreas Schwab <schwab@redhat.com>
42614
3d04ff3a
AS
42615 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42616 and internal_recvmmsg.
42617 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42618 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42619 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42620 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42621
f0ccf6ea
AS
42622 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42623 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42624 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42625
5b08ac57
AS
426262010-05-20 Andreas Schwab <schwab@redhat.com>
42627
42628 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42629
4828935d
LM
426302010-05-17 Luis Machado <luisgpm@br.ibm.com>
42631
42632 POWER7 optimizations.
42633 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42634 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42635
373d545e
UD
426362010-05-19 Ulrich Drepper <drepper@redhat.com>
42637
42638 * version.h: Update for 2.13 development version.
42639
21a2b1ae
AS
426402010-05-12 Andrew Stubbs <ams@codesourcery.com>
42641
42642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42643 exceptions. Return 0.
42644
3f7dcb2b
RM
426452010-05-07 Roland McGrath <roland@redhat.com>
42646
42647 * elf/ldconfig.c (main): Add a const.
42648
5f24d53a 426492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42650
a160f8d8
UD
42651 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42652 (args_options): Add no-idn option.
42653 (ahosts_keys_int): Add idn_flags to ai_flags.
42654 (parse_option): Handle 'i' option to clear idn_flags.
42655
5f24d53a
UD
42656 * malloc/malloc.c (_int_free): Possible race in the most recently
42657 added check. Only act on the data if no current modification
42658 happened.
265bb1ce
UD
42659
42660See ChangeLog.17 for earlier changes.
This page took 5.796441 seconds and 5 git commands to generate.