]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Revert __PTHREAD_MUTEX_HAVE_ELISION change
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7578473b
AZ
12014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4 previous change.
5
f3f1dab3
AZ
62014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9
6da36183
AS
102014-03-25 Andreas Schwab <schwab@suse.de>
11
12 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13 label to be used after in6ailist is initialized.
14
f3f1dab3 152014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 16
7578473b 17 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
18 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19
046651c1
JM
202014-03-25 Joseph Myers <joseph@codesourcery.com>
21
22 [BZ #16357]
23 [BZ #16599]
24 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
25 min_plus_half.
26 (fp_formats): Update initializers.
27 (init_fp_formats): Initialize new field.
28 (output_for_one_input_case): Allow underflow for results up to
29 min_plus_half.
30 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31 * math/auto-libm-test-in: Don't mark some underflows from asin and
32 atanh as spurious.
33 * math/auto-libm-test-out: Regenerated.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36
003e49ed
AS
372014-03-25 Andreas Schwab <schwab@suse.de>
38
39 * libio/Makefile (tst-ftell-partial-wide-ENV)
40 (tst-ftell-active-handler-ENV): Define.
41
de031874
SL
422014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43
44 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45
55a81e3b
PP
462014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
47
48 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49
f3426898
JM
502014-03-24 Joseph Myers <joseph@codesourcery.com>
51
52 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
55
a42faf59
PP
562014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
57
58 [BZ #16634]
a42faf59
PP
59 * elf/dl-load.c (open_verify): Add mode parameter.
60 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
61 (open_path): Change from boolean 'secure' to complete flag 'mode'
62 (_dl_map_object): Adjust.
63 * elf/Makefile (tests): Add tst-dlopen-aout.
64 * elf/tst-dlopen-aout.c: New test.
65
50936127
SL
662014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
67
68 [BZ #16714]
69 * sysdeps/unix/sysv/linux/s390/bits/stat.h
70 (struct stat): Rename member pad0 to __glibc_reserved0.
71
26011b5c
SL
722014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
73
74 [BZ #16712]
75 * sysdeps/s390/s390-32/bits/wordsize.h
76 (__WORDSIZE32_SIZE_ULONG): New define.
77 * sysdeps/s390/s390-64/bits/wordsize.h
78 (__WORDSIZE32_SIZE_ULONG): Likewise.
79 * sysdeps/generic/stdint.h (SIZE_MAX):
80 Define as UL if __WORDSIZE32_SIZE_ULONG.
81
a2d86bf1
SL
822014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
83
84 [BZ #16713]
85 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
86 (__glibc_reserved0): New variable.
87 (sa_flags): Change type to int.
88
78b6eebc
SL
892014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
90
91 * posix/Makefile (before-compile): Use += before-compile instead
92 of a :=.
93
f1399b5a
SL
942014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
95
96 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
97 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
98
a071766e
AS
992014-03-20 Andreas Schwab <schwab@suse.de>
100
101 [BZ #16743]
102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
103 non-matching result from nscd.
104
27c673b8
SP
1052014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
106
107 * scripts/bench.py: Moved to ...
108 * benchtests/scripts/bench.py: ... here.
109 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
110
44152e4b
AS
1112014-03-24 Andreas Schwab <schwab@suse.de>
112
113 [BZ #16002]
114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
115 alloca_account and account alloca use for struct in6ailist.
116
b376a11a
JM
1172014-03-24 Joseph Myers <joseph@codesourcery.com>
118
119 [BZ #16284]
120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
121 rounding mode to recompute results that overflow to infinity or
122 underflow to zero.
123 * math/auto-libm-test-in: Don't mark tests as expected to fail for
124 bug 16284.
125 * math/auto-libm-test-out: Regenerated.
126 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
127 (ccosh_test): Likewise.
128 (csin_test_data): Use plus_oflow.
129 (csin_test): Use ALL_RM_TEST.
130 (csinh_test_data): Use plus_oflow.
131 (csinh_test): Use ALL_RM_TEST.
132 * sysdeps/i386/fpu/libm-test-ulps: Update.
133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
134
f7be7376
JM
1352014-03-21 Joseph Myers <joseph@codesourcery.com>
136
1ca2d03e
JM
137 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
138 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
139 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
140
f7be7376
JM
141 [BZ #16731]
142 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
143 when x - 1 is zero.
144 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
145 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
146 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
147 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
148 argument is 1.
149 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
150 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
151 zero.
152 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
153 * sysdeps/i386/fpu/libm-test-ulps: Update.
154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
155
fdf4534d
SP
1562014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
157
df26ea53
SP
158 * scripts/bench.pl: Remove file.
159 * scripts/bench.py: New benchmark script.
160 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
161 * benchtests/README: Mention python dependency.
162 * scripts/pylintrc: New file.
163 * scripts/pylint: New file.
164
fdf4534d
SP
165 * bits/mathdef.h: Use #ifdef instead of #if.
166 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
167 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
168 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
169 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
170 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
171 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
172
6f23d093
AZ
1732014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
175
176 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
178 and strpbrk-ppc64 objects.
179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
180 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
181 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
182 multiarch strpbrk for POWER7.
183 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
184 multiarch strpbrk for PPC64.
185 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
186 ifunc selector.
187 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
188 strpbrk for POWER7.
189
8c92dfff
JM
1902014-03-20 Joseph Myers <joseph@codesourcery.com>
191
192 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
193 (atan_test): Likewise.
194 (atanh_test_data): Use NO_TEST_INLINE for two tests.
195 (atanh_test): Use ALL_RM_TEST.
196 (atan2_test_data): Likewise.
197 (cabs_test): Likewise.
198 (cacosh_test): Likewise.
199 (carg_test): Likewise.
200 (casin_test): Likewise.
201 (casinh_test): Likewise.
202 (cbrt_test): Likewise.
203 (csqrt_test): Likewise.
204 (erf_test): Likewise.
205 (erfc_test): Likewise.
206 (pow10_test): Likewise.
207 (exp2_test): Likewise.
208 (hypot_test): Likewise.
209 (j0_test): Likewise.
210 (j1_test): Likewise.
211 (lgamma_test): Likewise.
212 (gamma_test): Likewise.
213 (sincos_test): Likewise.
214 (tanh_test): Likewise.
215 (y0_test): Likewise.
216 (y1_test): Likewise.
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219
6eaf95cb
AZ
2202014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
a387428c
SP
222 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
224 and strcspn-ppc64 objects.
225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
226 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
227 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
228 multiarch strcspn for POWER7.
229 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
230 multiarch strcspn for PPC64.
231 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
232 ifunc selector.
233 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
234 strcspn for POWER7.
235
ae3a5dff
JM
2362014-03-20 Joseph Myers <joseph@codesourcery.com>
237
238 * math/gen-libm-test.pl (generate_testfile): Expect only function
239 name as argument to AUTO_TESTS_* and pass results for all rounding
240 modes to parse_args.
241 (parse_auto_input): Separate inputs of automatic tests from
242 outputs before storing in %auto_tests.
243 * math/libm-test.inc (acos_test_data): Update call to
244 AUTO_TESTS_f_f.
245 (acos_test): Use ALL_RM_TEST.
246 (acos_tonearest_test_data): Remove.
247 (acos_test_tonearest): Likewise.
248 (acos_towardzero_test_data): Likewise.
249 (acos_test_towardzero): Likewise.
250 (acos_downward_test_data): Likewise.
251 (acos_test_downward): Likewise.
252 (acos_upward_test_data): Likewise.
253 (acos_test_upward): Likewise.
254 (acosh_test_data): Update call to AUTO_TESTS_f_f.
255 (asin_test_data): Likewise.
256 (asin_test): Use ALL_RM_TEST.
257 (asin_tonearest_test_data): Remove.
258 (asin_test_tonearest): Likewise.
259 (asin_towardzero_test_data): Likewise.
260 (asin_test_towardzero): Likewise.
261 (asin_downward_test_data): Likewise.
262 (asin_test_downward): Likewise.
263 (asin_upward_test_data): Likewise.
264 (asin_test_upward): Likewise.
265 (asinh_test_data): Update call to AUTO_TESTS_f_f.
266 (atan_test_data): Likewise.
267 (atanh_test_data): Likewise.
268 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
269 (cabs_test_data): Update call to AUTO_TESTS_c_f.
270 (carg_test_data): Likewise.
271 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
272 (ccos_test_data): Update call to AUTO_TESTS_c_c.
273 (ccosh_test_data): Likewise.
274 (cexp_test_data): Likewise.
275 (clog_test_data): Likewise.
276 (clog10_test_data): Likewise.
277 (cos_test_data): Update call to AUTO_TESTS_f_f.
278 (cos_test): Use ALL_RM_TEST.
279 (cos_tonearest_test_data): Remove.
280 (cos_test_tonearest): Likewise.
281 (cos_towardzero_test_data): Likewise.
282 (cos_test_towardzero): Likewise.
283 (cos_downward_test_data): Likewise.
284 (cos_test_downward): Likewise.
285 (cos_upward_test_data): Likewise.
286 (cos_test_upward): Likewise.
287 (cosh_test_data): Update call to AUTO_TESTS_f_f.
288 (cosh_test): Use ALL_RM_TEST.
289 (cosh_tonearest_test_data): Remove.
290 (cosh_test_tonearest): Likewise.
291 (cosh_towardzero_test_data): Likewise.
292 (cosh_test_towardzero): Likewise.
293 (cosh_downward_test_data): Likewise.
294 (cosh_test_downward): Likewise.
295 (cosh_upward_test_data): Likewise.
296 (cosh_test_upward): Likewise.
297 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
298 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
299 (ctan_test_data): Likewise.
300 (ctan_test): Use ALL_RM_TEST.
301 (ctan_tonearest_test_data): Remove.
302 (ctan_test_tonearest): Likewise.
303 (ctan_towardzero_test_data): Likewise.
304 (ctan_test_towardzero): Likewise.
305 (ctan_downward_test_data): Likewise.
306 (ctan_test_downward): Likewise.
307 (ctan_upward_test_data): Likewise.
308 (ctan_test_upward): Likewise.
309 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
310 (ctanh_test): Use ALL_RM_TEST.
311 (ctanh_tonearest_test_data): Remove.
312 (ctanh_test_tonearest): Likewise.
313 (ctanh_towardzero_test_data): Likewise.
314 (ctanh_test_towardzero): Likewise.
315 (ctanh_downward_test_data): Likewise.
316 (ctanh_test_downward): Likewise.
317 (ctanh_upward_test_data): Likewise.
318 (ctanh_test_upward): Likewise.
319 (erf_test_data): Update call to AUTO_TESTS_f_f.
320 (erfc_test_data): Likewise.
321 (exp_test_data): Likewise.
322 (exp_test): Use ALL_RM_TEST.
323 (exp_tonearest_test_data): Remove.
324 (exp_test_tonearest): Likewise.
325 (exp_towardzero_test_data): Likewise.
326 (exp_test_towardzero): Likewise.
327 (exp_downward_test_data): Likewise.
328 (exp_test_downward): Likewise.
329 (exp_upward_test_data): Likewise.
330 (exp_test_upward): Likewise.
331 (exp10_test_data): Update call to AUTO_TESTS_f_f.
332 (exp10_test): Use ALL_RM_TEST.
333 (exp10_tonearest_test_data): Remove.
334 (exp10_test_tonearest): Likewise.
335 (exp10_towardzero_test_data): Likewise.
336 (exp10_test_towardzero): Likewise.
337 (exp10_downward_test_data): Likewise.
338 (exp10_test_downward): Likewise.
339 (exp10_upward_test_data): Likewise.
340 (exp10_test_upward): Likewise.
341 (exp2_test_data): Update call to AUTO_TESTS_f_f.
342 (expm1_test_data): Likewise.
343 (expm1_test): Use ALL_RM_TEST.
344 (expm1_tonearest_test_data): Remove.
345 (expm1_test_tonearest): Likewise.
346 (expm1_towardzero_test_data): Likewise.
347 (expm1_test_towardzero): Likewise.
348 (expm1_downward_test_data): Likewise.
349 (expm1_test_downward): Likewise.
350 (expm1_upward_test_data): Likewise.
351 (expm1_test_upward): Likewise.
352 (fma_test_data): Update call to AUTO_TESTS_fff_f.
353 (fma_test): Use ALL_RM_TEST.
354 (fma_towardzero_test_data): Remove.
355 (fma_test_towardzero): Likewise.
356 (fma_downward_test_data): Likewise.
357 (fma_test_downward): Likewise.
358 (fma_upward_test_data): Likewise.
359 (fma_test_upward): Likewise.
360 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
361 (j0_test_data): Update call to AUTO_TESTS_f_f.
362 (j1_test_data): Likewise.
363 (jn_test_data): Update call to AUTO_TESTS_if_f.
364 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
365 (log_test_data): Update call to AUTO_TESTS_f_f.
366 (log10_test_data): Likewise.
367 (log1p_test_data): Likewise.
368 (log2_test_data): Likewise.
369 (pow_test_data): Update call to AUTO_TESTS_ff_f.
370 (pow_tonearest_test_data): Likewise.
371 (sin_test_data): Update call to AUTO_TESTS_f_f.
372 (sin_test): Use ALL_RM_TEST.
373 (sin_tonearest_test_data): Remove.
374 (sin_test_tonearest): Likewise.
375 (sin_towardzero_test_data): Likewise.
376 (sin_test_towardzero): Likewise.
377 (sin_downward_test_data): Likewise.
378 (sin_test_downward): Likewise.
379 (sin_upward_test_data): Likewise.
380 (sin_test_upward): Likewise.
381 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
382 (sinh_test_data): Update call to AUTO_TESTS_f_f.
383 (sinh_test): Use ALL_RM_TEST.
384 (sinh_tonearest_test_data): Remove.
385 (sinh_test_tonearest): Likewise.
386 (sinh_towardzero_test_data): Likewise.
387 (sinh_test_towardzero): Likewise.
388 (sinh_downward_test_data): Likewise.
389 (sinh_test_downward): Likewise.
390 (sinh_upward_test_data): Likewise.
391 (sinh_test_upward): Likewise.
392 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
393 (sqrt_test): Use ALL_RM_TEST.
394 (sqrt_tonearest_test_data): Remove.
395 (sqrt_test_tonearest): Likewise.
396 (sqrt_towardzero_test_data): Likewise.
397 (sqrt_test_towardzero): Likewise.
398 (sqrt_downward_test_data): Likewise.
399 (sqrt_test_downward): Likewise.
400 (sqrt_upward_test_data): Likewise.
401 (sqrt_test_upward): Likewise.
402 (tan_test_data): Update call to AUTO_TESTS_f_f.
403 (tan_test): Use ALL_RM_TEST.
404 (tan_tonearest_test_data): Remove.
405 (tan_test_tonearest): Likewise.
406 (tan_towardzero_test_data): Likewise.
407 (tan_test_towardzero): Likewise.
408 (tan_downward_test_data): Likewise.
409 (tan_test_downward): Likewise.
410 (tan_upward_test_data): Likewise.
411 (tan_test_upward): Likewise.
412 (tanh_test_data): Update call to AUTO_TESTS_f_f.
413 (tgamma_test_data): Likewise.
414 (y0_test_data): Likewise.
415 (y1_test_data): Likewise.
416 (yn_test_data): Update call to AUTO_TESTS_if_f.
417 (main): Do not call removed functions.
418
d71aeee8
JM
4192014-03-19 Joseph Myers <joseph@codesourcery.com>
420
421 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
422 (ldexp_test_data): Remove.
423 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
424 scalbn_test_data.
425 (scalb_test): Use ALL_RM_TEST.
426
baaf1ded
AS
4272014-03-19 Andreas Schwab <schwab@suse.de>
428
429 * nscd/nscd.service: Also invalidate netgroup cache on reload.
430
b1115e91
JM
4312014-03-19 Joseph Myers <joseph@codesourcery.com>
432
433 [BZ #16649]
434 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
436 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
438 (__ASSUME_PREADV): Undefine.
439 (__ASSUME_PWRITEV): Likewise.
440
0283ecca
RM
4412014-03-18 Roland McGrath <roland@hack.frob.com>
442
7d375303
RM
443 * bits/mman-linux.h: Add comment about non-Linux use.
444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
445 bits/mman-linux.h resting place.
446
0283ecca
RM
447 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
448 * bits/mman-linux.h: ... here.
449
aebe1003
AZ
4502014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
451
452 * conform/conformtest.pl: Add standard definition when calling C
453 preprocessor on data files.
454 (checknamespace): Remove unused variable.
455
b29b6bb8
JM
4562014-03-18 Joseph Myers <joseph@codesourcery.com>
457
458 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
459 minus_oflow, plus_uflow and minus_uflow in expected results.
460 * math/libm-test.inc (scalbn_test_data): Add more tests of
461 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
462 minus_uflow.
463 (scalbn_test): Use ALL_RM_TEST.
464 (scalbln_test_data): Add more tests of negative arguments. Use
465 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
466 (scalbln_test): Use ALL_RM_TEST.
467
c8f8fa15
RM
4682014-03-18 Roland McGrath <roland@hack.frob.com>
469
470 * scripts/abilist.awk: Ignore symbols marked with .hidden.
471
fede7a5f
WN
4722014-03-18 Will Newton <will.newton@linaro.org>
473
474 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
475 inaccurate comment.
476
80cf0a58
JM
4772014-03-18 Joseph Myers <joseph@codesourcery.com>
478
479 * Makerules [!subdir] (check-abi): Exit with error status if a
480 test failed.
481
b3620862
JM
4822014-03-17 Joseph Myers <joseph@codesourcery.com>
483
484 * math/libm-test.inc (nearbyint_test_data): Include all tests used
485 for rint. Include results for all rounding modes.
486 (nearbyint_test): Use ALL_RM_TEST.
487 (rint_test_data): Include all tests used for nearbyint.
488
788bba36
WN
4892014-03-17 Will Newton <will.newton@linaro.org>
490
04ec140a
WN
491 * nptl/sysdeps/pthread/pthread.h: Revert previous
492 change.
493
7579d8d5
WN
494 * sysdeps/generic/ldsodefs.h: Revert previous
495 change.
496
c15cf13a
WN
497 * libio/genops.c: Revert previous change.
498 * libio/libioP.h: Likewise.
499 * stdio-common/vfprintf.c: Likewise.
500
d0ac1324
WN
501 * sysdeps/generic/math_private.h: Revert previous
502 change.
503
9290130a
WN
504 * sysdeps/generic/math_private.h: Check whether
505 HAVE_RM_CTX is defined with #ifdef rather
506 than #if.
507
afb466fc
WN
508 * argp/argp-fmtstream.h: Check whether
509 __STRICT_ANSI__ is defined with #ifdef rather
510 than #if.
511 * argp/argp.h: Likewise.
512
f7efd7c3
WN
513 * libio/genops.c: Check whether
514 _IO_JUMPS_OFFSET is defined with #ifdef rather
515 than #if.
516 * libio/libioP.h: Likewise.
517 * stdio-common/vfprintf.c: Likewise.
518
53f1bed3
WN
519 * sysdeps/generic/ldsodefs.h: Check whether
520 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
521 than #if.
522
788bba36
WN
523 * nptl/sysdeps/pthread/pthread.h: Check
524 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
525 its value.
526
fcd89ebe
SP
5272014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
528
ae42bbc5
SP
529 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
530 setting O_APPEND.
531 * libio/tst-ftell-active-handler.c (do_append_test): Add a
532 test case.
533
ea33158c
SP
534 [BZ #16680]
535 * libio/fileops.c (_IO_file_open): Seek to end of file but
536 don't cache the offset.
537 (get_file_offset): Remove function.
538 (do_ftell): Use cached offset when available.
539 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
540 don't cache the offset.
541 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
542 case.
543 (do_one_test): Call it.
544 (do_ftell_test): Fix up expected old offset for a+ mode.
545 * libio/wfileops.c (do_ftell_wide): Used cached offset when
546 available.
547
b1dbb426
SP
548 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
549 up test status with function return status.
550 (do_write_test): Likewise.
551 (do_append_test): Likewise.
552
fcd89ebe
SP
553 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
554 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
555 Remove.
556
9962a2d3
JM
5572014-03-17 Joseph Myers <joseph@codesourcery.com>
558
559 * math/gen-libm-test.pl (parse_args): Handle results specified for
560 each rounding mode separately.
561 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
562 tests and results from lrint_tonearest_test_data,
563 lrint_towardzero_test_data, lrint_downward_test_data and
564 lrint_upward_test_data.
565 (lrint_test): Use ALL_RM_TEST.
566 (lrint_tonearest_test_data): Remove.
567 (lrint_test_tonearest): Likewise.
568 (lrint_towardzero_test_data): Likewise.
569 (lrint_test_towardzero): Likewise.
570 (lrint_downward_test_data): Likewise.
571 (lrint_test_downward): Likewise.
572 (lrint_upward_test_data): Likewise.
573 (lrint_test_upward): Likewise.
574 (llrint_test_data): Merge in per-rounding-mode tests and results
575 from llrint_tonearest_test_data, llrint_towardzero_test_data,
576 llrint_downward_test_data and llrint_upward_test_data.
577 (llrint_test): Use ALL_RM_TEST.
578 (llrint_tonearest_test_data): Remove.
579 (llrint_test_tonearest): Likewise.
580 (llrint_towardzero_test_data): Likewise.
581 (llrint_test_towardzero): Likewise.
582 (llrint_downward_test_data): Likewise.
583 (llrint_test_downward): Likewise.
584 (llrint_upward_test_data): Likewise.
585 (llrint_test_upward): Likewise.
586 (rint_test_data): Merge in per-rounding-mode tests and results
587 from rint_tonearest_test_data, rint_towardzero_test_data,
588 rint_downward_test_data and rint_upward_test_data. Add
589 per-rounding-mode results for tests not in those arrays.
590 (rint_test): Use ALL_RM_TEST.
591 (rint_tonearest_test_data): Remove.
592 (rint_test_tonearest): Likewise.
593 (rint_towardzero_test_data): Likewise.
594 (rint_test_towardzero): Likewise.
595 (rint_downward_test_data): Likewise.
596 (rint_test_downward): Likewise.
597 (rint_upward_test_data): Likewise.
598 (rint_test_upward): Likewise.
599 (main): Don't call removed functions.
600
5006148e
RM
6012014-03-14 Roland McGrath <roland@hack.frob.com>
602
603 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
604 "Compiled on ..." crapola. It is anti-useful.
605
d6fe5e58
JM
6062014-03-14 Joseph Myers <joseph@codesourcery.com>
607
608 * scripts/evaluate-test.sh: Handle fourth argument to determine
609 whether test run should stop on failure.
610 * Makeconfig (stop-on-test-failure): New variable.
611 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
612 $(stop-on-test-failure).
613 * Makefile (tests): Give a summary of results from testing and
614 exit with failure status if they include an ERROR or FAIL.
615 (xtests): Likewise.
616 * manual/install.texi (Configuring and compiling): Mention
617 stop-on-test-failure=y.
618 * INSTALL: Regenerated.
619
498a2233
RM
6202014-03-14 Roland McGrath <roland@hack.frob.com>
621
22dbc19d
RM
622 * scripts/versionlist.awk: New file.
623 * Makerules [$(build-shared) = yes]
624 (postclean-generated): Add Versions.def, not Versions.def.v and
625 Versions.def.v.i.
626 ($(common-objpfx)Versions.def.v.i): Target removed.
627 ($(common-objpfx)Versions.def): New target.
628 ($(common-objpfx)Versions.all): Depend on that rather that
629 $(common-objpfx)Versions.def.v.
630 * Versions.def: File removed.
631
498a2233
RM
632 * Makeconfig (+gccwarn): Add -Wundef.
633 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
634 a dl-sysdep.h breaking its contract.
635 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
636 * include/stackinfo.h: New file.
637 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
638 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
639 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
640 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
641 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
642 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
643 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
644 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
645 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
646 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
647 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
648 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
649 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
650 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
651 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
652
c7de5025
AZ
6532014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
654
655 [BZ #16707]
656 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
657 implementation.
658 * math/libm-test.inc (round_test_data): Add more tests.
659
98fb27a3
AZ
6602014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
661
662 [BZ #16706]
663 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
664 implementation.
665 * math/libm-test.inc (nearbyint_test_data): Add more tests.
666
374f7f61
AZ
6672014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 [BZ #16701]
670 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
671 implementation.
672 * math/libm-test.inc (ceil_test_data): Add more tests.
673
4655c291
AZ
6742014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675
676 * math/libm-test.inc (trunc_test_data): Add more tests related to
677 BZ#16414.
678
d7329d4b
RM
6792014-03-14 Roland McGrath <roland@hack.frob.com>
680
681 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
682 with #if rather than #ifdef.
683 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
684
aa4de9ce
L
6852014-03-14 H.J. Lu <hongjiu.lu@intel.com>
686
687 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
688 first. Disable AVX-512 GCC support if assembler doesn't support
689 it.
690 * sysdeps/x86_64/configure: Regenerated.
691
2e03fae7
CD
6922014-03-13 Carlos O'Donell <carlos@redhat.com>
693
694 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
695 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
696 (__old_pthread_attr_setstack): Likewise.
697 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
698 [!_STACK_GROWS_DOWN]: Likewise.
699
43ca83ec
MF
7002014-03-13 Mike Frysinger <vapier@gentoo.org>
701
702 * config.make.in (have-bash2): Delete.
703 * configure.ac (libc_cv_have_bash2): Delete.
704 * configure: Regenerate.
705 * elf/Makefile (common-ldd-rewrite): Rename to ...
706 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
707 (sh-ldd-rewrite): Delete.
708 (bash-ldd-rewrite): Delete.
709 (have-bash2): Delete checks.
710 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
711
c66e48b4
MF
7122014-03-13 Mike Frysinger <vapier@gentoo.org>
713
714 * config.make.in (have-ksh): Delete.
715 (KSH): Delete.
716 * configure.ac (libc_cv_have_ksh): Delete.
717 * configure: Regenerate.
718
b93834ef
MF
7192014-03-13 Mike Frysinger <vapier@gentoo.org>
720
721 * elf/Makefile: Delete $(have-ksh) check.
722 ($(objpfx)sotruss): Change KSH to BASH.
723 * elf/sotruss.ksh: Rename to ...
724 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
725 function style to match POSIX. Drop ksh vim mode setting.
726
f3a4632a
MF
7272014-03-13 Mike Frysinger <vapier@gentoo.org>
728
729 * manual/time.texi (Specifying the Time Zone with TZ): Change
730 Tuesday to Thursday.
731
5896c8bd
MF
7322014-03-13 Mike Frysinger <vapier@gentoo.org>
733
734 * debug/tst-longjmp_chk2.c: Update header comment.
735 (stackoverflow_handler): Add comment. Call assert on pass value.
736
2d63a517
IZ
7372014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
738
739 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
740 (HAVE_AVX512_ASM_SUPPORT): Likewise.
741 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
742 (La_x86_64_vector): Add zmm.
743 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
744 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
745 ($(objpfx)tst-audit10): New target.
746 ($(objpfx)tst-audit10.out): Likewise.
747 (tst-audit10-ENV): New.
748 (AVX512-CFLAGS): Likewise.
749 (CFLAGS-tst-audit10.c): Likewise.
750 (CFLAGS-tst-auditmod10a.c): Likewise.
751 (CFLAGS-tst-auditmod10b.c): Likewise.
752 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
753 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
754 * sysdeps/x86_64/configure: Regenerated.
755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
756 AVX-512 zmm register support.
757 (_dl_x86_64_save_sse): Likewise.
758 (_dl_x86_64_restore_sse): Likewise.
759 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
760 size vector registers.
761 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
762 (ZMM_SIZE): Likewise.
763 * sysdeps/x86_64/tst-audit10.c: New file.
764 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
765 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
766
44c4e5d5
RM
7672014-03-13 Roland McGrath <roland@hack.frob.com>
768
769 * configure.ac (HAVE_EHDR_START): New check.
770 * configure: Regenerated.
771 * config.h.in (HAVE_EHDR_START): New #undef.
772 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
773 assuming the lowest-addressed segment maps the start of the file.
774
acd6e389
JM
7752014-03-13 Joseph Myers <joseph@codesourcery.com>
776
777 * INSTALL: Regenerated.
778
6f918f36
WN
7792014-03-13 Will Newton <will.newton@linaro.org>
780
781 * manual/setjmp.texi (System V contexts): Improve
782 clarity and grammar of documentation.
783
798212a0
PP
7842014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
785
786 [BZ #16381]
798212a0 787 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 788 (tests-pie): Add tst-pie2.
798212a0
PP
789 * elf/tst-pie2.c: New file.
790 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
791 for ET_EXEC.
792 * elf/rtld.c (map_doit): Load executable as lt_executable.
793 (dl_main): Likewise.
794
abe6d90c
JM
7952014-03-12 Joseph Myers <joseph@codesourcery.com>
796
797 [BZ #16642]
798 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
799 (__ASSUME_PSELECT): Undefine.
800
dd3946c6
AZ
8012014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802
803 [BZ #16689]
804 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
805 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
806 static build.
807 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
808 selector for static builds.
809
c44496df
SP
8102014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
811
812 [BZ #16695]
813 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
814 key in the buffer.
815
27c7220a
AZ
8162014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817
818 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
819 selector for static builds.
820
600fa361
JM
8212014-03-11 Joseph Myers <joseph@codesourcery.com>
822
76c96cf7
JM
823 * sysdeps/mips/math_private.h [__mips_hard_float]
824 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
825 libc_feresetround_mips_ctx.
826 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
827 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
828 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
829
600fa361
JM
830 [BZ #16677]
831 * math/s_nextafter.c (__nextafter): Do not return value from
832 overflowing computation.
833 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
834 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
835 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
836 Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
838 Likewise.
839 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
840 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
841
d7706c32
RM
8422014-03-11 Roland McGrath <roland@hack.frob.com>
843
844 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
845 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
846 Move sfi_sp use from the load-multiple (that no longer sets sp) to
847 the new mov targetting sp.
848
4facea47
AZ
8492014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850
851 [BZ #16683]
852 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
853 Define it for static builds as well.
854 (NO_BZERO_IMPL): Likewise.
855
e65caf1f
VR
8562014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
857
858 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
859 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
860 multiarch strspn for PPC64.
861 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
862 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
864 (__libc_ifunc_impl_list): Likewise.
865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
866 multiarch optimizations
867 * string/strspn.c (strspn): Using macro to redefine symbol name.
868
ba9cc071
AZ
8692014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
870 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
871
872 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
873 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
874 multiarch strncat for PPC64.
875 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
876 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
878 (__libc_ifunc_impl_list): Likewise.
879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
880 multiarch optimizations
881
8b4ff974
SP
8822014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
883
884 [BZ #16639]
885 * nscd/nscd.service: Make service type forking.
886
54b46a4b
AZ
8872014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888
889 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
890 sign in non default rounding modes.
891 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
892
e9996ef7
JM
8932014-03-08 Joseph Myers <joseph@codesourcery.com>
894
895 * math/libm-test.inc (ALL_RM_TEST): New macro.
896 (ceil_test): Use ALL_RM_TEST.
897 (cimag_test): Likewise.
898 (conj_test): Likewise.
899 (copysign_test): Likewise.
900 (cproj_test): Likewise.
901 (creal_test): Likewise.
902 (fabs_test): Likewise.
903 (floor_test): Likewise.
904 (fmax_test): Likewise.
905 (fmin_test): Likewise.
906 (fmod_test): Likewise.
907 (fpclassify_test): Likewise.
908 (frexp_test): Likewise.
909 (ilogb_test): Likewise.
910 (isfinite_test): Likewise.
911 (finite_test): Likewise.
912 (isgreater_test): Likewise.
913 (isgreaterequal_test): Likewise.
914 (isinf_test): Likewise.
915 (isless_test): Likewise.
916 (islessequal_test): Likewise.
917 (islessgreater_test): Likewise.
918 (isnan_test): Likewise.
919 (isnormal_test): Likewise.
920 (issignaling_test): Likewise.
921 (isunordered_test): Likewise.
922 (logb_test): Likewise.
923 (logb_downward_test_data): Remove.
924 (logb_test_downward): Likewise.
925 (lround_test): Use ALL_RM_TEST.
926 (llround_test): Likewise.
927 (modf_test): Likewise.
928 (nexttoward_test): Likewise.
929 (remainder_test): Likewise.
930 (drem_test): Likewise.
931 (remainder_tonearest_test_data): Likewise.
932 (remainder_test_tonearest): Likewise.
933 (drem_test_tonearest): Likewise.
934 (remainder_towardzero_test_data): Likewise.
935 (remainder_test_towardzero): Likewise.
936 (drem_test_towardzero): Likewise.
937 (remainder_downward_test_data): Likewise.
938 (remainder_test_downward): Likewise.
939 (drem_test_downward): Likewise.
940 (remainder_upward_test_data): Likewise.
941 (remainder_test_upward): Likewise.
942 (drem_test_upward): Likewise.
943 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
944 (round_test): Use ALL_RM_TEST.
945 (signbit_test): Likewise.
946 (trunc_test): Likewise.
947 (significand_test): Likewise.
948 (main): Don't call removed functions.
949
bc61d27c
JM
9502014-03-07 Joseph Myers <joseph@codesourcery.com>
951
5c780849
JM
952 [BZ #16674]
953 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
954 || __USE_XOPEN2K8].
955 (ILL_ILLOPN): Likewise.
956 (ILL_ILLADR): Likewise.
957 (ILL_ILLTRP): Likewise.
958 (ILL_PRVOPC): Likewise.
959 (ILL_PRVREG): Likewise.
960 (ILL_COPROC): Likewise.
961 (ILL_BADSTK): Likewise.
962 (FPE_INTDIV): Likewise.
963 (FPE_INTOVF): Likewise.
964 (FPE_FLTDIV): Likewise.
965 (FPE_FLTOVF): Likewise.
966 (FPE_FLTUND): Likewise.
967 (FPE_FLTRES): Likewise.
968 (FPE_FLTINV): Likewise.
969 (FPE_FLTSUB): Likewise.
970 (SEGV_MAPERR): Likewise.
971 (SEGV_ACCERR): Likewise.
972 (BUS_ADRALN): Likewise.
973 (BUS_ADRERR): Likewise.
974 (BUS_OBJERR): Likewise.
975 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
976 (TRAP_TRACE): Likewise.
977 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
978 __USE_XOPEN2K8].
979 (CLD_KILLED): Likewise.
980 (CLD_DUMPED): Likewise.
981 (CLD_TRAPPED): Likewise.
982 (CLD_STOPPED): Likewise.
983 (CLD_CONTINUED): Likewise.
984 (POLL_IN): Likewise.
985 (POLL_OUT): Likewise.
986 (POLL_MSG): Likewise.
987 (POLL_ERR): Likewise.
988 (POLL_PRI): Likewise.
989 (POLL_HUP): Likewise.
990 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
991 Likewise.
992 (ILL_ILLOPN): Likewise.
993 (ILL_ILLADR): Likewise.
994 (ILL_ILLTRP): Likewise.
995 (ILL_PRVOPC): Likewise.
996 (ILL_PRVREG): Likewise.
997 (ILL_COPROC): Likewise.
998 (ILL_BADSTK): Likewise.
999 (FPE_INTDIV): Likewise.
1000 (FPE_INTOVF): Likewise.
1001 (FPE_FLTDIV): Likewise.
1002 (FPE_FLTOVF): Likewise.
1003 (FPE_FLTUND): Likewise.
1004 (FPE_FLTRES): Likewise.
1005 (FPE_FLTINV): Likewise.
1006 (FPE_FLTSUB): Likewise.
1007 (SEGV_MAPERR): Likewise.
1008 (SEGV_ACCERR): Likewise.
1009 (BUS_ADRALN): Likewise.
1010 (BUS_ADRERR): Likewise.
1011 (BUS_OBJERR): Likewise.
1012 (BUS_MCEERR_AR): Likewise.
1013 (BUS_MCEERR_AO): Likewise.
1014 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1015 (TRAP_TRACE): Likewise.
1016 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1017 __USE_XOPEN2K8].
1018 (CLD_KILLED): Likewise.
1019 (CLD_DUMPED): Likewise.
1020 (CLD_TRAPPED): Likewise.
1021 (CLD_STOPPED): Likewise.
1022 (CLD_CONTINUED): Likewise.
1023 (POLL_IN): Likewise.
1024 (POLL_OUT): Likewise.
1025 (POLL_MSG): Likewise.
1026 (POLL_ERR): Likewise.
1027 (POLL_PRI): Likewise.
1028 (POLL_HUP): Likewise.
1029 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1030 (ILL_ILLOPN): Likewise.
1031 (ILL_ILLADR): Likewise.
1032 (ILL_ILLTRP): Likewise.
1033 (ILL_PRVOPC): Likewise.
1034 (ILL_PRVREG): Likewise.
1035 (ILL_COPROC): Likewise.
1036 (ILL_BADSTK): Likewise.
1037 (FPE_INTDIV): Likewise.
1038 (FPE_INTOVF): Likewise.
1039 (FPE_FLTDIV): Likewise.
1040 (FPE_FLTOVF): Likewise.
1041 (FPE_FLTUND): Likewise.
1042 (FPE_FLTRES): Likewise.
1043 (FPE_FLTINV): Likewise.
1044 (FPE_FLTSUB): Likewise.
1045 (SEGV_MAPERR): Likewise.
1046 (SEGV_ACCERR): Likewise.
1047 (BUS_ADRALN): Likewise.
1048 (BUS_ADRERR): Likewise.
1049 (BUS_OBJERR): Likewise.
1050 (BUS_MCEERR_AR): Likewise.
1051 (BUS_MCEERR_AO): Likewise.
1052 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1053 (TRAP_TRACE): Likewise.
1054 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1055 __USE_XOPEN2K8].
1056 (CLD_KILLED): Likewise.
1057 (CLD_DUMPED): Likewise.
1058 (CLD_TRAPPED): Likewise.
1059 (CLD_STOPPED): Likewise.
1060 (CLD_CONTINUED): Likewise.
1061 (POLL_IN): Likewise.
1062 (POLL_OUT): Likewise.
1063 (POLL_MSG): Likewise.
1064 (POLL_ERR): Likewise.
1065 (POLL_PRI): Likewise.
1066 (POLL_HUP): Likewise.
1067 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1068 Likewise.
1069 (ILL_ILLOPN): Likewise.
1070 (ILL_ILLADR): Likewise.
1071 (ILL_ILLTRP): Likewise.
1072 (ILL_PRVOPC): Likewise.
1073 (ILL_PRVREG): Likewise.
1074 (ILL_COPROC): Likewise.
1075 (ILL_BADSTK): Likewise.
1076 (ILL_BADIADDR): Likewise.
1077 (ILL_BREAK): Likewise.
1078 (FPE_INTDIV): Likewise.
1079 (FPE_INTOVF): Likewise.
1080 (FPE_FLTDIV): Likewise.
1081 (FPE_FLTOVF): Likewise.
1082 (FPE_FLTUND): Likewise.
1083 (FPE_FLTRES): Likewise.
1084 (FPE_FLTINV): Likewise.
1085 (FPE_FLTSUB): Likewise.
1086 (FPE_DECOVF): Likewise.
1087 (FPE_DECDIV): Likewise.
1088 (FPE_DECERR): Likewise.
1089 (FPE_INVASC): Likewise.
1090 (FPE_INVDEC): Likewise.
1091 (SEGV_MAPERR): Likewise.
1092 (SEGV_ACCERR): Likewise.
1093 (SEGV_PSTKOVF): Likewise.
1094 (BUS_ADRALN): Likewise.
1095 (BUS_ADRERR): Likewise.
1096 (BUS_OBJERR): Likewise.
1097 (BUS_MCEERR_AR): Likewise.
1098 (BUS_MCEERR_AO): Likewise.
1099 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1100 (TRAP_TRACE): Likewise.
1101 (TRAP_BRANCH): Likewise.
1102 (TRAP_HWBKPT): Likewise.
1103 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1104 __USE_XOPEN2K8].
1105 (CLD_KILLED): Likewise.
1106 (CLD_DUMPED): Likewise.
1107 (CLD_TRAPPED): Likewise.
1108 (CLD_STOPPED): Likewise.
1109 (CLD_CONTINUED): Likewise.
1110 (POLL_IN): Likewise.
1111 (POLL_OUT): Likewise.
1112 (POLL_MSG): Likewise.
1113 (POLL_ERR): Likewise.
1114 (POLL_PRI): Likewise.
1115 (POLL_HUP): Likewise.
1116 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1117 (ILL_ILLOPN): Likewise.
1118 (ILL_ILLADR): Likewise.
1119 (ILL_ILLTRP): Likewise.
1120 (ILL_PRVOPC): Likewise.
1121 (ILL_PRVREG): Likewise.
1122 (ILL_COPROC): Likewise.
1123 (ILL_BADSTK): Likewise.
1124 (FPE_INTDIV): Likewise.
1125 (FPE_INTOVF): Likewise.
1126 (FPE_FLTDIV): Likewise.
1127 (FPE_FLTOVF): Likewise.
1128 (FPE_FLTUND): Likewise.
1129 (FPE_FLTRES): Likewise.
1130 (FPE_FLTINV): Likewise.
1131 (FPE_FLTSUB): Likewise.
1132 (SEGV_MAPERR): Likewise.
1133 (SEGV_ACCERR): Likewise.
1134 (BUS_ADRALN): Likewise.
1135 (BUS_ADRERR): Likewise.
1136 (BUS_OBJERR): Likewise.
1137 (BUS_MCEERR_AR): Likewise.
1138 (BUS_MCEERR_AO): Likewise.
1139 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1140 (TRAP_TRACE): Likewise.
1141 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1142 __USE_XOPEN2K8].
1143 (CLD_KILLED): Likewise.
1144 (CLD_DUMPED): Likewise.
1145 (CLD_TRAPPED): Likewise.
1146 (CLD_STOPPED): Likewise.
1147 (CLD_CONTINUED): Likewise.
1148 (POLL_IN): Likewise.
1149 (POLL_OUT): Likewise.
1150 (POLL_MSG): Likewise.
1151 (POLL_ERR): Likewise.
1152 (POLL_PRI): Likewise.
1153 (POLL_HUP): Likewise.
1154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1155 (ILL_ILLOPN): Likewise.
1156 (ILL_ILLADR): Likewise.
1157 (ILL_ILLTRP): Likewise.
1158 (ILL_PRVOPC): Likewise.
1159 (ILL_PRVREG): Likewise.
1160 (ILL_COPROC): Likewise.
1161 (ILL_BADSTK): Likewise.
1162 (FPE_INTDIV): Likewise.
1163 (FPE_INTOVF): Likewise.
1164 (FPE_FLTDIV): Likewise.
1165 (FPE_FLTOVF): Likewise.
1166 (FPE_FLTUND): Likewise.
1167 (FPE_FLTRES): Likewise.
1168 (FPE_FLTINV): Likewise.
1169 (FPE_FLTSUB): Likewise.
1170 (SEGV_MAPERR): Likewise.
1171 (SEGV_ACCERR): Likewise.
1172 (BUS_ADRALN): Likewise.
1173 (BUS_ADRERR): Likewise.
1174 (BUS_OBJERR): Likewise.
1175 (BUS_MCEERR_AR): Likewise.
1176 (BUS_MCEERR_AO): Likewise.
1177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1178 (TRAP_TRACE): Likewise.
1179 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1180 __USE_XOPEN2K8].
1181 (CLD_KILLED): Likewise.
1182 (CLD_DUMPED): Likewise.
1183 (CLD_TRAPPED): Likewise.
1184 (CLD_STOPPED): Likewise.
1185 (CLD_CONTINUED): Likewise.
1186 (POLL_IN): Likewise.
1187 (POLL_OUT): Likewise.
1188 (POLL_MSG): Likewise.
1189 (POLL_ERR): Likewise.
1190 (POLL_PRI): Likewise.
1191 (POLL_HUP): Likewise.
1192 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1193 (ILL_ILLOPN): Likewise.
1194 (ILL_ILLADR): Likewise.
1195 (ILL_ILLTRP): Likewise.
1196 (ILL_PRVOPC): Likewise.
1197 (ILL_PRVREG): Likewise.
1198 (ILL_COPROC): Likewise.
1199 (ILL_BADSTK): Likewise.
1200 (FPE_INTDIV): Likewise.
1201 (FPE_INTOVF): Likewise.
1202 (FPE_FLTDIV): Likewise.
1203 (FPE_FLTOVF): Likewise.
1204 (FPE_FLTUND): Likewise.
1205 (FPE_FLTRES): Likewise.
1206 (FPE_FLTINV): Likewise.
1207 (FPE_FLTSUB): Likewise.
1208 (SEGV_MAPERR): Likewise.
1209 (SEGV_ACCERR): Likewise.
1210 (BUS_ADRALN): Likewise.
1211 (BUS_ADRERR): Likewise.
1212 (BUS_OBJERR): Likewise.
1213 (BUS_MCEERR_AR): Likewise.
1214 (BUS_MCEERR_AO): Likewise.
1215 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1216 (TRAP_TRACE): Likewise.
1217 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1218 __USE_XOPEN2K8].
1219 (CLD_KILLED): Likewise.
1220 (CLD_DUMPED): Likewise.
1221 (CLD_TRAPPED): Likewise.
1222 (CLD_STOPPED): Likewise.
1223 (CLD_CONTINUED): Likewise.
1224 (POLL_IN): Likewise.
1225 (POLL_OUT): Likewise.
1226 (POLL_MSG): Likewise.
1227 (POLL_ERR): Likewise.
1228 (POLL_PRI): Likewise.
1229 (POLL_HUP): Likewise.
1230 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1231 (ILL_ILLOPN): Likewise.
1232 (ILL_ILLADR): Likewise.
1233 (ILL_ILLTRP): Likewise.
1234 (ILL_PRVOPC): Likewise.
1235 (ILL_PRVREG): Likewise.
1236 (ILL_COPROC): Likewise.
1237 (ILL_BADSTK): Likewise.
1238 (ILL_DBLFLT): Likewise.
1239 (ILL_HARDWALL): Likewise.
1240 (FPE_INTDIV): Likewise.
1241 (FPE_INTOVF): Likewise.
1242 (FPE_FLTDIV): Likewise.
1243 (FPE_FLTOVF): Likewise.
1244 (FPE_FLTUND): Likewise.
1245 (FPE_FLTRES): Likewise.
1246 (FPE_FLTINV): Likewise.
1247 (FPE_FLTSUB): Likewise.
1248 (SEGV_MAPERR): Likewise.
1249 (SEGV_ACCERR): Likewise.
1250 (BUS_ADRALN): Likewise.
1251 (BUS_ADRERR): Likewise.
1252 (BUS_OBJERR): Likewise.
1253 (BUS_MCEERR_AR): Likewise.
1254 (BUS_MCEERR_AO): Likewise.
1255 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1256 (TRAP_TRACE): Likewise.
1257 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1258 __USE_XOPEN2K8].
1259 (CLD_KILLED): Likewise.
1260 (CLD_DUMPED): Likewise.
1261 (CLD_TRAPPED): Likewise.
1262 (CLD_STOPPED): Likewise.
1263 (CLD_CONTINUED): Likewise.
1264 (POLL_IN): Likewise.
1265 (POLL_OUT): Likewise.
1266 (POLL_MSG): Likewise.
1267 (POLL_ERR): Likewise.
1268 (POLL_PRI): Likewise.
1269 (POLL_HUP): Likewise.
1270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1271 (ILL_ILLOPN): Likewise.
1272 (ILL_ILLADR): Likewise.
1273 (ILL_ILLTRP): Likewise.
1274 (ILL_PRVOPC): Likewise.
1275 (ILL_PRVREG): Likewise.
1276 (ILL_COPROC): Likewise.
1277 (ILL_BADSTK): Likewise.
1278 (FPE_INTDIV): Likewise.
1279 (FPE_INTOVF): Likewise.
1280 (FPE_FLTDIV): Likewise.
1281 (FPE_FLTOVF): Likewise.
1282 (FPE_FLTUND): Likewise.
1283 (FPE_FLTRES): Likewise.
1284 (FPE_FLTINV): Likewise.
1285 (FPE_FLTSUB): Likewise.
1286 (SEGV_MAPERR): Likewise.
1287 (SEGV_ACCERR): Likewise.
1288 (BUS_ADRALN): Likewise.
1289 (BUS_ADRERR): Likewise.
1290 (BUS_OBJERR): Likewise.
1291 (BUS_MCEERR_AR): Likewise.
1292 (BUS_MCEERR_AO): Likewise.
1293 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1294 (TRAP_TRACE): Likewise.
1295 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1296 __USE_XOPEN2K8].
1297 (CLD_KILLED): Likewise.
1298 (CLD_DUMPED): Likewise.
1299 (CLD_TRAPPED): Likewise.
1300 (CLD_STOPPED): Likewise.
1301 (CLD_CONTINUED): Likewise.
1302 (POLL_IN): Likewise.
1303 (POLL_OUT): Likewise.
1304 (POLL_MSG): Likewise.
1305 (POLL_ERR): Likewise.
1306 (POLL_PRI): Likewise.
1307 (POLL_HUP): Likewise.
1308 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1309 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1310
bc61d27c
JM
1311 [BZ #16670]
1312 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1313 before #include of <time.h>.
1314 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1315 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1316 (test-xfail-UNIX98/sched.h/conform): Likewise.
1317
302949e2
MS
13182014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1319
1320 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1321 error absence of trapping exception support.
1322 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1323
a00f522a
JM
13242014-03-07 Joseph Myers <joseph@codesourcery.com>
1325
6f99f280
JM
1326 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1327 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1328 * timezone/Makefile (testdata): Move definition above include of
1329 Rules.
1330 (test-zones): New variable.
1331 (tests-special): Add zone files.
1332 (build-testdata): Use $(evaluate-test).
1333
0b20a9e8
JM
1334 * elf/Makefile (tests-special): Rename tests to end with .out.
1335 ($(objpfx)noload-mem): Likewise.
1336 ($(objpfx)tst-leaks1-mem): Likewise.
1337 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1338 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1339 $(objpfx)test-iconvconfig.out.
1340 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1341 set -e inside subshell and redirect output to file.
1342 * iconvdata/Makefile (generated): Rename tests to end with .out.
1343 Correct type.
1344 (tests-special): Rename tests to end with .out.
1345 ($(objpfx)mtrace-tst-loading): Likewise.
1346 * intl/Makefile (generated): Likewise.
1347 (tests-special): Likewise.
1348 ($(objpfx)mtrace-tst-gettext): Likewise.
1349 * misc/Makefile (generated): Likewise.
1350 (tests-special): Likewise.
1351 ($(objpfx)tst-error1-mem): Likewise.
1352 * nptl/Makefile (tests-special): Likewise.
1353 ($(objpfx)tst-stack3-mem): Likewise.
1354 (generated): Likewise.
1355 * posix/Makefile (generated): Likewise.
1356 (tests-special): Likewise.
1357 (xtests-special): Likewise.
1358 ($(objpfx)tst-fnmatch-mem): Likewise.
1359 ($(objpfx)bug-regex2-mem): Likewise.
1360 ($(objpfx)bug-regex14-mem): Likewise.
1361 ($(objpfx)bug-regex21-mem): Likewise.
1362 ($(objpfx)bug-regex31-mem): Likewise.
1363 ($(objpfx)tst-vfork3-mem): Likewise.
1364 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1365 ($(objpfx)tst-pcre-mem): Likewise.
1366 ($(objpfx)tst-boost-mem): Likewise.
1367 ($(objpfx)bug-ga2-mem): Likewise.
1368 ($(objpfx)bug-glob2-mem): Likewise.
1369 * resolv/Makefile (generate): Likewise.
1370 (tests-special): Likewise.
1371 (xtests-special): Likewise.
1372 (generated): Likewise.
1373 ($(objpfx)mtrace-tst-leaks): Likewise.
1374 ($(objpfx)mtrace-tst-leaks2): Likewise.
1375
265d52ab
JM
1376 * scripts/merge-test-results.sh: New file.
1377 * Makefile (tests-special-notdir): New variable.
1378 (tests): Run merge-test-results.sh.
1379 (xtests): Likewise.
1380 * Rules (tests-special-notdir): New variable.
1381 (xtests-special-notdir): Likewise.
1382 (tests): Run merge-test-results.sh
1383 (xtests): Likewise.
1384
54ee292d
JM
1385 * Makeconfig (test-xfail-name): New variable.
1386 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1387 compute variable name for expected failures.
1388 * conform/Makefile (conformtest-headers-data): New variable.
1389 (conformtest-standards): Likewise.
1390 (conformtest-headers-ISO): Likewise.
1391 (conformtest-headers-ISO99): Likewise.
1392 (conformtest-headers-ISO11): Likewise.
1393 (conformtest-headers-POSIX): Likewise.
1394 (conformtest-headers-XPG3): Likewise.
1395 (conformtest-headers-XPG4): Likewise.
1396 (conformtest-headers-UNIX98): Likewise.
1397 (conformtest-headers-XOPEN2K): Likewise.
1398 (conformtest-headers-POSIX2008): Likewise.
1399 (conformtest-headers-XOPEN2K8): Likewise.
1400 (conformtest-header-list-base): Likewise.
1401 (conformtest-header-list-tests): Likewise.
1402 (conformtest-header-base): Likewise.
1403 (conformtest-header-tests): Likewise.
1404 (tests-special): Add $(conformtest-header-list-tests). If
1405 [$(fast-check) && !$(cross-compiling)], add
1406 $(conformtest-header-tests) instead of
1407 $(objpfx)run-conformtest.out.
1408 (generated): Add $(conformtest-header-list-base). If
1409 [$(fast-check) && !$(cross-compiling)], add
1410 $(conformtest-header-base). Remove previous setting.
1411 ($(conformtest-header-list-tests)): New target.
1412 (test-xfail-run-conformtest): Remove variable.
1413 ($(objpfx)run-conformtest.out): Remove target.
1414 (test-xfail-ISO11/complex.h/conform): New variable.
1415 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1416 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1417 (test-xfail-XPG3/varargs.h/conform): Likewise.
1418 (test-xfail-XPG4/varargs.h/conform): Likewise.
1419 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1420 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1421 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1422 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1423 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1424 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1425 (test-xfail-XPG3/ftw.h/conform): Likewise.
1426 (test-xfail-XPG3/grp.h/conform): Likewise.
1427 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1428 (test-xfail-XPG3/limits.h/conform): Likewise.
1429 (test-xfail-XPG3/pwd.h/conform): Likewise.
1430 (test-xfail-XPG3/search.h/conform): Likewise.
1431 (test-xfail-XPG3/signal.h/conform): Likewise.
1432 (test-xfail-XPG3/stdio.h/conform): Likewise.
1433 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1434 (test-xfail-XPG3/string.h/conform): Likewise.
1435 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1436 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1437 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1438 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1439 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1440 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1441 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1442 (test-xfail-XPG3/termios.h/conform): Likewise.
1443 (test-xfail-XPG3/time.h/conform): Likewise.
1444 (test-xfail-XPG3/unistd.h/conform): Likewise.
1445 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1446 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1447 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1448 (test-xfail-XPG4/netdb.h/conform): Likewise.
1449 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1450 (test-xfail-XPG4/signal.h/conform): Likewise.
1451 (test-xfail-XPG4/stdio.h/conform): Likewise.
1452 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1453 (test-xfail-XPG4/stropts.h/conform): Likewise.
1454 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1455 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1456 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1457 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1458 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1459 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1460 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1461 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1462 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1463 (test-xfail-XPG4/termios.h/conform): Likewise.
1464 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1465 (test-xfail-XPG4/unistd.h/conform): Likewise.
1466 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1467 (test-xfail-POSIX/sched.h/conform): Likewise.
1468 (test-xfail-POSIX/signal.h/conform): Likewise.
1469 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1470 (test-xfail-POSIX/tar.h/conform): Likewise.
1471 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1472 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1473 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1474 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1475 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1476 (test-xfail-UNIX98/sched.h/conform): Likewise.
1477 (test-xfail-UNIX98/signal.h/conform): Likewise.
1478 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1479 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1480 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1481 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1482 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1483 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1484 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1485 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1486 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1487 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1488 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1489 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1490 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1491 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1492 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1493 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1494 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1495 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1496 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1497 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1498 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1499 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1500 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1501 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1502 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1503 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1504 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1505 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1506 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1507 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1508 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1509 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1510 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1511 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1512 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1513 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1514 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1515 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1516 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1517 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1518 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1519 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1520 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1521 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1522 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1523 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1524 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1525 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1526 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1527 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1528 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1529 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1530 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1531 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1532 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1533 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1534 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1535 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1536 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1537 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1538 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1539 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1540 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1541 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1542 (conformtest-cc-flags): Likewise.
1543 ($(conformtest-header-tests): New target.
1544 * conform/check-header-lists.sh: New file.
1545 * conform/run-conformtest.sh: Remove.
1546
a00f522a
JM
1547 * conform/conformtest.pl: Allow ' and \ in values given for
1548 constants.
1549 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1550 inclusion.
1551 [POSIX] (sys/types.h): Likewise.
1552 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1553 inclusion.
1554 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1555 inclusion.
1556 * conform/data/signal.h-data (SIGIO): Remove expectation.
1557 [XPG3] (SIGBUS): Do not expect.
1558 [POSIX || XPG3] (SIGPOLL): Likewise.
1559 [POSIX || XPG3] (SIGPROF): Likewise.
1560 [POSIX || XPG3] (SIGSYS): Likewise.
1561 [XPG3] (SIGTRAP): Likewise.
1562 [POSIX || XPG3] (SIGURG): Likewise.
1563 [POSIX || XPG3] (SIGVTALRM): Likewise.
1564 [POSIX || XPG3] (SIGXCPU): Likewise.
1565 [POSIX || XPG3] (SIGXFSZ): Likewise.
1566 [POSIX] (SA_SIGINFO): Expect.
1567 [XPG3] (siginfo_t): Do not expect type or contents.
1568 [POSIX] (si_pid): Do not expect element.
1569 [POSIX] (si_uid): Likewise.
1570 [POSIX] (si_addr): Likewise.
1571 [POSIX] (si_status): Likewise.
1572 [POSIX] (si_band): Likewise.
1573 [XPG4] (si_value): Likewise.
1574 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1575 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1576 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1577 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1578 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1579 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1580 [POSIX || XPG3] (ILL_COPROC): Likewise.
1581 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1582 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1583 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1584 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1585 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1586 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1587 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1588 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1589 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1590 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1591 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1592 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1593 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1594 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1595 [POSIX || XPG3] (CLD_EXITED): Likewise.
1596 [POSIX || XPG3] (CLD_KILLED): Likewise.
1597 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1598 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1599 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1600 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1601 [POSIX || XPG3] (POLL_IN): Likewise.
1602 [POSIX || XPG3] (POLL_OUT): Likewise.
1603 [POSIX || XPG3] (POLL_MSG): Likewise.
1604 [POSIX || XPG3] (POLL_ERR): Likewise.
1605 [POSIX || XPG3] (POLL_PRI): Likewise.
1606 [POSIX || XPG3] (POLL_HUP): Likewise.
1607 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1608 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1609 (SIG*): Do not allow.
1610 [XPG3] (si_*): Likewise.
1611 [XPG3] (SI_*): Likewise.
1612 [XPG3 || XPG4] (sigev_*): Likewise.
1613 [XPG3 || XPG4] (SIGEV_*): Likewise.
1614 [XPG3 || XPG4] (sival_*): Likewise.
1615 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1616 [POSIX || XPG3] (BUS_*): Likewise.
1617 [POSIX || XPG3] (CLD_*): Likewise.
1618 [POSIX || XPG3] (FPE_*): Likewise.
1619 [POSIX || XPG3] (ILL_*): Likewise.
1620 [POSIX || XPG3] (POLL_*): Likewise.
1621 [POSIX || XPG3] (SEGV_*): Likewise.
1622 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1623 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1624 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1625 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1626 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1627 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1628 Specify type and value.
1629 (TVERSLEN): Likewise.
1630 (REGTYPE): Likewise.
1631 (AREGTYPE): Likewise.
1632 (LNKTYPE): Likewise.
1633 (SYMTYPE): Likewise.
1634 (CHRTYPE): Likewise.
1635 (BLKTYPE): Likewise.
1636 (DIRTYPE): Likewise.
1637 (FIFOTYPE): Likewise.
1638 (CONTTYPE): Likewise.
1639 (TSUID): Likewise.
1640 (TSGID): Likewise.
1641 (TSVTX): Likewise.
1642 (TUREAD): Likewise.
1643 (TUWRITE): Likewise.
1644 (TUEXEC): Likewise.
1645 (TGREAD): Likewise.
1646 (TGWRITE): Likewise.
1647 (TGEXEC): Likewise.
1648 (TOREAD): Likewise.
1649 (TOWRITE): Likewise.
1650 (TOEXEC): Likewise.
1651 [POSIX] (TSVTX): Expect constant.
1652
aa97dee1
JM
16532014-03-06 Joseph Myers <joseph@codesourcery.com>
1654
f214606a
JM
1655 * Makefile (tests): Change dependencies to ....
1656 (tests-special): ... additions to this variable.
1657 (tests): Depend on $(tests-special).
1658 * Makerules (check-abi-list): New variable.
1659 (check-abi): Depend on $(check-abi-list).
1660 [$(subdir) = elf] (tests-special): Add
1661 $(objpfx)check-abi-libc.out.
1662 [$(build-shared) = yes && subdir] (tests-special): Add
1663 $(check-abi-list).
1664 [$(build-shared) = yes && subdir] (tests): Do not depend on
1665 check-abi.
1666 * Rules (tests): Depend on $(tests-special).
1667 (xtests): Depend on $(xtests-special).
1668 * catgets/Makefile (tests): Change dependencies to ....
1669 (tests-special): ... additions to this variable.
1670 * conform/Makefile (tests): Change dependencies to ....
1671 (tests-special): ... additions to this variable.
1672 * elf/Makefile (tests): Change dependencies to ....
1673 (tests-special): ... additions to this variable.
1674 * grp/Makefile (tests): Change dependencies to ....
1675 (tests-special): ... additions to this variable.
1676 * iconv/Makefile (xtests): Change dependencies to ....
1677 (xtests-special): ... additions to this variable.
1678 * iconvdata/Makefile (tests): Change dependencies to ....
1679 (tests-special): ... additions to this variable.
1680 * intl/Makefile (tests): Change dependencies to ....
1681 (tests-special): ... additions to this variable. Also add
1682 $(objpfx)tst-gettext.out.
1683 * io/Makefile (tests): Change dependencies to ....
1684 (tests-special): ... additions to this variable.
1685 * libio/Makefile (tests): Change dependencies to ....
1686 (tests-special): ... additions to this variable.
1687 * malloc/Makefile (tests): Change dependencies to ....
1688 (tests-special): ... additions to this variable.
1689 * misc/Makefile (tests): Change dependencies to ....
1690 (tests-special): ... additions to this variable.
1691 * nptl/Makefile (tests): Change dependencies to ....
1692 (tests-special): ... additions to this variable.
1693 * nptl_db/Makefile (tests): Change dependencies to ....
1694 (tests-special): ... additions to this variable.
1695 * posix/Makefile (tests): Change dependencies to ....
1696 (tests-special): ... additions to this variable.
1697 (xtests): Change dependencies to ....
1698 (xtests-special): ... additions to this variable.
1699 * resolv/Makefile (tests): Change dependencies to ....
1700 (tests-special): ... additions to this variable.
1701 (xtests): Change dependencies to ....
1702 (xtests-special): ... additions to this variable.
1703 * stdio-common/Makefile (tests): Change dependencies to ....
1704 (tests-special): ... additions to this variable.
1705 (do-tst-unbputc): Remove target.
1706 (do-tst-printf): Likewise.
1707 * stdlib/Makefile (tests): Change dependencies to ....
1708 (tests-special): ... additions to this variable.
1709 * string/Makefile (tests): Change dependencies to ....
1710 (tests-special): ... additions to this variable.
1711 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1712 (tests-special): ... additions to this variable.
1713
81700b53
JM
1714 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1715 whole file.
1716 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1717 whole file.
1718 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1719 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1720
2ea18461
JM
1721 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1722 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1723 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1724 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1725 * conform/data/libgen.h-data [XPG3]: Likewise.
1726 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1727 * conform/data/ndbm.h-data [XPG3]: Likewise.
1728 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1729 * conform/data/netdb.h-data [XPG3]: Likewise.
1730 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1731 * conform/data/poll.h-data [XPG3]: Likewise.
1732 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1733 * conform/data/strings.h-data [XPG3]: Likewise.
1734 * conform/data/stropts.h-data [XPG3]: Likewise.
1735 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1736 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1737 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1738 Likewise.
1739 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1740 * conform/data/sys/time.h-data [XPG3]: Likewise.
1741 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1742 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1743 * conform/data/sys/un.h-data [XPG3]: Likewise.
1744 * conform/data/syslog.h-data [XPG3]: Likewise.
1745 * conform/data/ucontext.h-data [XPG3]: Likewise.
1746 * conform/data/utmpx.h-data [XPG3]: Likewise.
1747 * conform/data/varargs.h-data [UNIX98]: Enable file.
1748
355bc986
JM
1749 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1750
215db402
JM
1751 * math/libm-test.inc (struct test_f_f_data): Move expected results
1752 into structure for each rounding mode.
1753 (struct test_ff_f_data): Likewise.
1754 (struct test_ff_f_data_nexttoward): Likewise.
1755 (struct test_fi_f_data): Likewise.
1756 (struct test_fl_f_data): Likewise.
1757 (struct test_if_f_data): Likewise.
1758 (struct test_fff_f_data): Likewise.
1759 (struct test_c_f_data): Likewise.
1760 (struct test_f_f1_data): Likewise.
1761 (struct test_fF_f1_data): Likewise.
1762 (struct test_ffI_f1_data): Likewise.
1763 (struct test_c_c_data): Likewise.
1764 (struct test_cc_c_data): Likewise.
1765 (struct test_f_i_data): Likewise.
1766 (struct test_ff_i_data): Likewise.
1767 (struct test_f_l_data): Likewise.
1768 (struct test_f_L_data): Likewise.
1769 (struct test_fFF_11_data): Likewise.
1770 (RM_): New macro.
1771 (RM_FE_DOWNWARD): Likewise.
1772 (RM_FE_TONEAREST): Likewise.
1773 (RM_FE_TOWARDZERO): Likewise.
1774 (RM_FE_UPWARD): Likewise.
1775 (RUN_TEST_LOOP_f_f): Update references to expected results.
1776 (RUN_TEST_LOOP_2_f): Likewise.
1777 (RUN_TEST_LOOP_fff_f): Likewise.
1778 (RUN_TEST_LOOP_c_f): Likewise.
1779 (RUN_TEST_LOOP_f_f1): Likewise.
1780 (RUN_TEST_LOOP_fF_f1): Likewise.
1781 (RUN_TEST_LOOP_fI_f1): Likewise.
1782 (RUN_TEST_LOOP_ffI_f1): Likewise.
1783 (RUN_TEST_LOOP_c_c): Likewise.
1784 (RUN_TEST_LOOP_cc_c): Likewise.
1785 (RUN_TEST_LOOP_f_i): Likewise.
1786 (RUN_TEST_LOOP_f_i_tg): Likewise.
1787 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1788 (RUN_TEST_LOOP_f_b): Likewise.
1789 (RUN_TEST_LOOP_f_b_tg): Likewise.
1790 (RUN_TEST_LOOP_f_l): Likewise.
1791 (RUN_TEST_LOOP_f_L): Likewise.
1792 (RUN_TEST_LOOP_fFF_11): Likewise.
1793 * math/gen-libm-test.pl (parse_args): Output four copies of
1794 expected results for each test.
1795
67737b8f
JM
1796 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1797 (__ASSUME_UTIMES): Remove.
1798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1799 (__ASSUME_UTIMES): Likewise.
1800
aa97dee1
JM
1801 * math/gen-auto-libm-tests.c: Update comment on output format.
1802 (output_for_one_input_case): Generate before-rounding and
1803 after-rounding information as conditions on output flags not
1804 floating-point format.
1805 * math/auto-libm-test-out: Regenerated.
1806 * math/gen-libm-test.pl (cond_value): New function.
1807 (or_cond_value): Use cond_value.
1808 (generate_testfile): Handle conditional exceptions.
1809
e6b6a857
JM
18102014-03-05 Joseph Myers <joseph@codesourcery.com>
1811
2f0a0f44
JM
1812 * math/libm-test.inc (max_valid_error): New variable.
1813 (init_max_error): Take new argument specifying whether function
1814 results are exactly determined. Set max_valid_error and bound
1815 other variables for errors based on this argument.
1816 (set_max_error): Do not record results above max_valid_error.
1817 (check_float_internal): Only accept errors of up to 0.5ulps if
1818 also at most max_valid_error.
1819 (START): Take new argument EXACT and pass it to init_max_error.
1820 (acos_test): Update call to START.
1821 (acos_test_tonearest): Likewise.
1822 (acos_test_towardzero): Likewise.
1823 (acos_test_downward): Likewise.
1824 (acos_test_upward): Likewise.
1825 (acosh_test): Likewise.
1826 (asin_test): Likewise.
1827 (asin_test_tonearest): Likewise.
1828 (asin_test_towardzero): Likewise.
1829 (asin_test_downward): Likewise.
1830 (asin_test_upward): Likewise.
1831 (asinh_test): Likewise.
1832 (atan_test): Likewise.
1833 (atanh_test): Likewise.
1834 (atan2_test): Likewise.
1835 (cabs_test): Likewise.
1836 (cacos_test): Likewise.
1837 (cacosh_test): Likewise.
1838 (carg_test): Likewise.
1839 (casin_test): Likewise.
1840 (casinh_test): Likewise.
1841 (catan_test): Likewise.
1842 (catanh_test): Likewise.
1843 (cbrt_test): Likewise.
1844 (ccos_test): Likewise.
1845 (ccosh_test): Likewise.
1846 (ceil_test): Likewise.
1847 (cexp_test): Likewise.
1848 (cimag_test): Likewise.
1849 (clog_test): Likewise.
1850 (clog10_test): Likewise.
1851 (conj_test): Likewise.
1852 (copysign_test): Likewise.
1853 (cos_test): Likewise.
1854 (cos_test_tonearest): Likewise.
1855 (cos_test_towardzero): Likewise.
1856 (cos_test_downward): Likewise.
1857 (cos_test_upward): Likewise.
1858 (cosh_test): Likewise.
1859 (cosh_test_tonearest): Likewise.
1860 (cosh_test_towardzero): Likewise.
1861 (cosh_test_downward): Likewise.
1862 (cosh_test_upward): Likewise.
1863 (cpow_test): Likewise.
1864 (cproj_test): Likewise.
1865 (creal_test): Likewise.
1866 (csin_test): Likewise.
1867 (csinh_test): Likewise.
1868 (csqrt_test): Likewise.
1869 (ctan_test): Likewise.
1870 (ctan_test_tonearest): Likewise.
1871 (ctan_test_towardzero): Likewise.
1872 (ctan_test_downward): Likewise.
1873 (ctan_test_upward): Likewise.
1874 (ctanh_test): Likewise.
1875 (ctanh_test_tonearest): Likewise.
1876 (ctanh_test_towardzero): Likewise.
1877 (ctanh_test_downward): Likewise.
1878 (ctanh_test_upward): Likewise.
1879 (erf_test): Likewise.
1880 (erfc_test): Likewise.
1881 (exp_test): Likewise.
1882 (exp_test_tonearest): Likewise.
1883 (exp_test_towardzero): Likewise.
1884 (exp_test_downward): Likewise.
1885 (exp_test_upward): Likewise.
1886 (exp10_test): Likewise.
1887 (exp10_test_tonearest): Likewise.
1888 (exp10_test_towardzero): Likewise.
1889 (exp10_test_downward): Likewise.
1890 (exp10_test_upward): Likewise.
1891 (pow10_test): Likewise.
1892 (exp2_test): Likewise.
1893 (expm1_test): Likewise.
1894 (expm1_test_tonearest): Likewise.
1895 (expm1_test_towardzero): Likewise.
1896 (expm1_test_downward): Likewise.
1897 (expm1_test_upward): Likewise.
1898 (fabs_test): Likewise.
1899 (fdim_test): Likewise.
1900 (floor_test): Likewise.
1901 (fma_test): Likewise.
1902 (fma_test_towardzero): Likewise.
1903 (fma_test_downward): Likewise.
1904 (fma_test_upward): Likewise.
1905 (fmax_test): Likewise.
1906 (fmin_test): Likewise.
1907 (fmod_test): Likewise.
1908 (fpclassify_test): Likewise.
1909 (frexp_test): Likewise.
1910 (hypot_test): Likewise.
1911 (ilogb_test): Likewise.
1912 (isfinite_test): Likewise.
1913 (finite_test): Likewise.
1914 (isgreater_test): Likewise.
1915 (isgreaterequal_test): Likewise.
1916 (isinf_test): Likewise.
1917 (isless_test): Likewise.
1918 (islessequal_test): Likewise.
1919 (islessgreater_test): Likewise.
1920 (isnan_test): Likewise.
1921 (isnormal_test): Likewise.
1922 (issignaling_test): Likewise.
1923 (isunordered_test): Likewise.
1924 (j0_test): Likewise.
1925 (j1_test): Likewise.
1926 (jn_test): Likewise.
1927 (ldexp_test): Likewise.
1928 (lgamma_test): Likewise.
1929 (gamma_test): Likewise.
1930 (lrint_test): Likewise.
1931 (lrint_test_tonearest): Likewise.
1932 (lrint_test_towardzero): Likewise.
1933 (lrint_test_downward): Likewise.
1934 (lrint_test_upward): Likewise.
1935 (llrint_test): Likewise.
1936 (llrint_test_tonearest): Likewise.
1937 (llrint_test_towardzero): Likewise.
1938 (llrint_test_downward): Likewise.
1939 (llrint_test_upward): Likewise.
1940 (log_test): Likewise.
1941 (log10_test): Likewise.
1942 (log1p_test): Likewise.
1943 (log2_test): Likewise.
1944 (logb_test): Likewise.
1945 (logb_test_downward): Likewise.
1946 (lround_test): Likewise.
1947 (llround_test): Likewise.
1948 (modf_test): Likewise.
1949 (nearbyint_test): Likewise.
1950 (nextafter_test): Likewise.
1951 (nexttoward_test): Likewise.
1952 (pow_test): Likewise.
1953 (pow_test_tonearest): Likewise.
1954 (pow_test_towardzero): Likewise.
1955 (pow_test_downward): Likewise.
1956 (pow_test_upward): Likewise.
1957 (remainder_test): Likewise.
1958 (drem_test): Likewise.
1959 (remainder_test_tonearest): Likewise.
1960 (drem_test_tonearest): Likewise.
1961 (remainder_test_towardzero): Likewise.
1962 (drem_test_towardzero): Likewise.
1963 (remainder_test_downward): Likewise.
1964 (drem_test_downward): Likewise.
1965 (remainder_test_upward): Likewise.
1966 (drem_test_upward): Likewise.
1967 (remquo_test): Likewise.
1968 (rint_test): Likewise.
1969 (rint_test_tonearest): Likewise.
1970 (rint_test_towardzero): Likewise.
1971 (rint_test_downward): Likewise.
1972 (rint_test_upward): Likewise.
1973 (round_test): Likewise.
1974 (scalb_test): Likewise.
1975 (scalbn_test): Likewise.
1976 (scalbln_test): Likewise.
1977 (signbit_test): Likewise.
1978 (sin_test): Likewise.
1979 (sin_test_tonearest): Likewise.
1980 (sin_test_towardzero): Likewise.
1981 (sin_test_downward): Likewise.
1982 (sin_test_upward): Likewise.
1983 (sincos_test): Likewise.
1984 (sinh_test): Likewise.
1985 (sinh_test_tonearest): Likewise.
1986 (sinh_test_towardzero): Likewise.
1987 (sinh_test_downward): Likewise.
1988 (sinh_test_upward): Likewise.
1989 (sqrt_test): Likewise.
1990 (sqrt_test_tonearest): Likewise.
1991 (sqrt_test_towardzero): Likewise.
1992 (sqrt_test_downward): Likewise.
1993 (sqrt_test_upward): Likewise.
1994 (tan_test): Likewise.
1995 (tan_test_tonearest): Likewise.
1996 (tan_test_towardzero): Likewise.
1997 (tan_test_downward): Likewise.
1998 (tan_test_upward): Likewise.
1999 (tanh_test): Likewise.
2000 (tgamma_test): Likewise.
2001 (trunc_test): Likewise.
2002 (y0_test): Likewise.
2003 (y1_test): Likewise.
2004 (yn_test): Likewise.
2005 (significand_test): Likewise.
2006
e6b6a857
JM
2007 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2008 individual tests in comment.
2009 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2010 (prev_max_error): New variable.
2011 (prev_real_max_error): Likewise.
2012 (prev_imag_max_error): Likewise.
2013 (compare_ulp_data): Don't refer to test names in comment.
2014 (find_test_ulps): Remove function.
2015 (find_function_ulps): Likewise.
2016 (find_complex_function_ulps): Likewise.
2017 (init_max_error): Take function name as argument. Look up ulps
2018 for that function.
2019 (print_ulps): Remove function.
2020 (print_max_error): Use prev_max_error instead of calling
2021 find_function_ulps.
2022 (print_complex_max_error): Use prev_real_max_error and
2023 prev_imag_max_error instead of calling find_complex_function_ulps.
2024 (check_float_internal): Take max_ulp parameter instead of calling
2025 find_test_ulps. Don't call print_ulps.
2026 (check_float): Update call to check_float_internal.
2027 (check_complex): Update calls to check_float_internal.
2028 (START): Pass argument to init_max_error.
2029 * math/gen-libm-test.pl (%results): Don't include "kind"
2030 information.
2031 (parse_ulps): Don't handle ulps of individual tests.
2032 (print_ulps_file): Likewise.
2033 (output_ulps): Likewise.
2034 * math/README.libm-test: Update.
2035 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2036 individual tests.
2037 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2038 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2039 * sysdeps/arm/libm-test-ulps: Likewise.
2040 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2041 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2042 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2043 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2044 * sysdeps/microblaze/libm-test-ulps: Likewise.
2045 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2046 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2048 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2049 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2050 * sysdeps/sh/libm-test-ulps: Likewise.
2051 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2052 * sysdeps/tile/libm-test-ulps: Likewise.
2053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2054
45adef3c
JM
20552014-03-04 Joseph Myers <joseph@codesourcery.com>
2056
2057 * math/libm-test.inc (print_complex_max_error): Check separately
2058 whether real and imaginary errors are within allowed range and
2059 pass 0 to print_complex_function_ulps instead of value within
2060 allowed range.
2061
000232b9
SP
20622014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
d4b17258
SP
2064 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2065 formatting.
2066 (get_handles_fopen): Likewise.
2067 (do_write_test): Likewise.
2068
091eff71
SP
2069 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2070
fa3cd248
SP
2071 * libio/fileops.c (do_ftell): Use cached offset when
2072 available.
2073 * libio/iofwide.c (do_ftell_wide): Likewise.
2074 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2075 _IO_file_attach.
2076 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2077
000232b9
SP
2078 [BZ #16532]
2079 * libio/libioP.h (get_file_offset): New function.
2080 * libio/fileops.c (get_file_offset): Likewise.
2081 (do_ftell): Likewise.
2082 (_IO_new_file_seekoff): Split out ftell logic.
2083 * libio/wfileops.c (do_ftell_wide): Likewise.
2084 (_IO_wfile_seekoff): Split out ftell logic.
2085 * libio/tst-ftell-active-handler.c: New test case.
2086 * libio/Makefile (tests): Add it.
2087
116f4d1a
RM
20882014-03-03 Roland McGrath <roland@hack.frob.com>
2089
2090 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2091 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2092
532a6035
SP
20932014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
2095 [BZ #16639]
2096 * nscd/connections.c (nscd_init): Call do_exit.
2097 (start_threads): Call do_exit and notify_parent.
2098 (begin_drop_privileges): Call do_exit.
2099 (finish_drop_privileges): Likewise.
2100 * nscd/selinux.c (preserve_capabilities): Likewise.
2101 (install_real_capabilities): Likewise.
2102 (nscd_selinux_enabled): Likewise.
2103 (avc_create_thread): Likewise.
2104 (avc_alloc_lock): Likewise.
2105 (nscd_avc_init): Likewise.
2106 * nscd/nscd.c (parent_fd): New static variable.
2107 (main): Create a pipe between parent and child processes.
2108 Skip closing parent_fd.
2109 (monitor_child): New function.
2110 (do_exit): Likewise.
2111 (notify_parent): Likewise.
2112 * nscd/nscd.h (notify_parent): Likewise.
2113 (do_exit): Likewise.
2114
d6285c9f
CD
21152014-03-03 Carlos O'Donell <carlos@redhat.com>
2116
2117 * malloc/malloc.c (__libc_calloc): Revert last change.
2118
2b85d2a0
AZ
21192014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120
2121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2122
c7debbdf
RS
21232014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2124
2125 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2127 implementation.
2128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2129 (__libc_ifunc_impl_list): Likewise.
2130 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2131 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2132 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2133 * string/strrchr.c: Define STRRCHR.
2134
235eed86
OB
21352014-02-28 Ondřej Bílka <neleai@seznam.cz>
2136
2137 * benchtest/bench-strtok.c (simple_strtok): Delete.
2138 (strtok_string): Use as benchmark.
2139 * string/strtok (STRTOK): New macro.
2140
8e25d1e7
CD
21412014-02-28 Carlos O'Donell <carlos@redhat.com>
2142
ef563f92
CD
2143 * manual/threads.texi: Add header and standard comments to all
2144 functions.
2145
8e25d1e7
CD
2146 * elf/dl-lookup.c (check_match): New function.
2147 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2148 (do_lookup_x): Remove nested function check_match. Use non-nested
2149 function check_match.
2150
ff71cc37
RM
21512014-02-28 Roland McGrath <roland@hack.frob.com>
2152
f08e9a26
RM
2153 * csu/Makefile (generated, before-compile): Use += rather than =.
2154 * catgets/Makefile (generated, generated-dirs): Likewise.
2155 * debug/Makefile (generated): Likewise.
2156 * dlfcn/Makefile (generated): Likewise.
2157 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2158 * iconvdata/Makefile (before-compile, generated): Likewise.
2159 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2160 * libio/Makefile (generated): Likewise.
2161 * malloc/Makefile (generated): Likewise.
2162 * manual/Makefile (generated, generated-dirs): Likewise.
2163 * misc/Makefile (generated): Likewise.
2164 * posix/Makefile (generated): Likewise.
2165 * resolv/Makefile (generated): Likewise.
2166 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2167 * timezone/Makefile (generated, generated-dirs): Likewise.
2168
ff71cc37
RM
2169 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2170
fe13a20c
AZ
21712014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172
2173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2174 implementation.
2175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2176 POWER8 llround ifunc implementation.
2177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2178 POWER8 implementation.
2179 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2180 POWER8 llround implementation.
2181
1ad8950a
AZ
21822014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2183
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2185 implementation.
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2187 POWER8 llrint ifunc implementation.
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2189 POWER8 implementation.
2190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2191 POWER8 llrint implementation.
2192
cac626d6
AZ
21932014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2196 implementation.
2197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2198 POWER8 finite ifunc implementation.
2199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2200 POWER8 implementation.
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2202 Likewise.
2203 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2204 POWER8 finite implementation.
2205 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2206
4393fc11
AZ
22072014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2210 implementation.
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2212 POWER8 isinf ifunc implementation.
2213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2214 POWER8 implementation.
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2216 Likewise.
2217 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2218 POWER8 isinf implementation.
2219 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2220
487972ae
AZ
22212014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222
2223 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2224 Add hwcap2 initialization.
2225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2226 implementation.
2227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2228 POWER8 isnan ifunc implementation.
2229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2230 POWER8 implementation.
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2232 Likewise.
2233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2234 POWER8 isnan implementation.
2235 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2236
7d92b787
JY
22372014-02-27 Joey Ye <joey.ye@arm.com>
2238
2239 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2240 (_FP_NANFRAC_Q): Set to zero.
2241
1cadc858
SP
22422014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2243
2244 [BZ #16623]
2245 * math/auto-libm-test-in: New test inputs.
2246 * math/auto-libm-test-out: Regenerate.
2247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2248 and DA.
2249 (__cos): Likewise.
2250 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2251
f8c17e79
JM
22522014-02-27 Joseph Myers <joseph@codesourcery.com>
2253
2254 * scripts/evaluate-test.sh: Take new argument indicating whether
2255 failure is expected.
2256 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2257 indicating whether failure is expected.
2258 * conform/Makefile (test-xfail-run-conformtest): New variable.
2259 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2260 level.
2261 * posix/Makefile (test-xfail-annexc): New variable.
2262 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2263
a5f891ac
JM
22642014-02-26 Joseph Myers <joseph@codesourcery.com>
2265
2266 * argp/Makefile: Include Makeconfig immediately after defining
2267 subdir.
2268 * assert/Makefile: Likewise.
2269 * benchtests/Makefile: Likewise.
2270 * catgets/Makefile: Likewise.
2271 * conform/Makefile: Likewise.
2272 * crypt/Makefile: Likewise.
2273 * csu/Makefile: Likewise.
2274 (all): Remove target.
2275 * ctype/Makefile: Include Makeconfig immediately after defining
2276 subdir.
2277 * debug/Makefile: Likewise.
2278 * dirent/Makefile: Likewise.
2279 * dlfcn/Makefile: Likewise.
2280 * gmon/Makefile: Likewise.
2281 * gnulib/Makefile: Likewise.
2282 * grp/Makefile: Likewise.
2283 * gshadow/Makefile: Likewise.
2284 * hesiod/Makefile: Likewise.
2285 * hurd/Makefile: Likewise.
2286 (all): Remove target.
2287 * iconvdata/Makefile: Include Makeconfig immediately after
2288 defining subdir.
2289 * inet/Makefile: Likewise.
2290 * intl/Makefile: Likewise.
2291 * io/Makefile: Likewise.
2292 * libio/Makefile: Likewise.
2293 (all): Remove target.
2294 * locale/Makefile: Include Makeconfig immediately after defining
2295 subdir.
2296 * login/Makefile: Likewise.
2297 * mach/Makefile: Likewise.
2298 (all): Remove target.
2299 * malloc/Makefile: Include Makeconfig immediately after defining
2300 subdir.
2301 (all): Remove target.
2302 * manual/Makefile: Include Makeconfig immediately after defining
2303 subdir.
2304 * math/Makefile: Likewise.
2305 * misc/Makefile: Likewise.
2306 * nis/Makefile: Likewise.
2307 * nss/Makefile: Likewise.
2308 * po/Makefile: Likewise.
2309 (all): Remove target.
2310 * posix/Makefile: Include Makeconfig immediately after defining
2311 subdir.
2312 * pwd/Makefile: Likewise.
2313 * resolv/Makefile: Likewise.
2314 * resource/Makefile: Likewise.
2315 * rt/Makefile: Likewise.
2316 * setjmp/Makefile: Likewise.
2317 * shadow/Makefile: Likewise.
2318 * signal/Makefile: Likewise.
2319 * socket/Makefile: Likewise.
2320 * soft-fp/Makefile: Likewise.
2321 * stdio-common/Makefile: Likewise.
2322 * stdlib/Makefile: Likewise.
2323 * streams/Makefile: Likewise.
2324 * string/Makefile: Likewise.
2325 * sunrpc/Makefile: Likewise.
2326 (all): Remove target.
2327 * sysvipc/Makefile: Include Makeconfig immediately after defining
2328 subdir.
2329 * termios/Makefile: Likewise.
2330 * time/Makefile: Likewise.
2331 * timezone/Makefile: Likewise.
2332 (all): Remove target.
2333 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2334 subdir.
2335 * wctype/Makefile: Likewise.
2336
5b456e9d
SE
23372014-02-26 Steve Ellcey <sellcey@mips.com>
2338
2339 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2340 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2341 (libc_feholdexcept_setround_mips): Ditto.
2342 (libc_feholdsetround): New.
2343 (libc_feholdsetroundf): New.
2344 (libc_feholdsetroundl): New.
2345 (libc_feupdateenv_test_mips): New.
2346 (libc_feupdateenv_test): New.
2347 (libc_feupdateenv_testf): New.
2348 (libc_feupdateenv_testl): New.
2349 (libc_feresetround): New.
2350 (libc_feresetroundf): New.
2351 (libc_feresetroundl): New.
2352 (libc_fetestexcept_mips): New.
2353 (libc_fetestexcept): New.
2354 (libc_fetestexceptf): New.
2355 (libc_fetestexceptl): New.
2356 (HAVE_RM_CTX): New.
2357 (libc_feholdexcept_setround_mips_ctx): New.
2358 (libc_feholdexcept_setround_ctx): New.
2359 (libc_feholdexcept_setroundf_ctx): New.
2360 (libc_feholdexcept_setroundl_ctx): New.
2361 (libc_fesetenv_mips_ctx): New.
2362 (libc_fesetenv_ctx): New.
2363 (libc_fesetenv_ctxf): New.
2364 (libc_fesetenv_ctxl): New.
2365 (libc_feupdateenv_mips_ctx): New.
2366 (libc_feupdateenv_ctx): New.
2367 (libc_feupdateenvf_ctx): New.
2368 (libc_feupdateenvl_ctx): New.
2369 (libc_feholdsetround_mips_ctx): New.
2370 (libc_feholdsetround_ctx): New.
2371 (libc_feholdsetroundf_ctx): New.
2372 (libc_feholdsetroundl_ctx): New.
2373 (libc_feresetround_mips_ctx): New.
2374 (libc_feresetround_ctx): New.
2375 (libc_feresetroundf_ctx): New.
2376 (libc_feresetroundl_ctx): New.
2377
085d0e35
CD
23782014-02-26 Carlos O'Donell <carlos@redhat.com>
2379
f067bf1f
CD
2380 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2381
085d0e35
CD
2382 * manual/ipc.texi: New file.
2383 * manual/Makefile (chapters): Add ipc.
2384 * manual/job.texi: Add "Inter-Process Communication" to next.
2385 * manual/process.texi: Add "Inter-Process Communication" to prev.
2386
86e58c08
AZ
23872014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2388
2389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2390
4248f0da
OB
23912014-02-26 Ondřej Bílka <neleai@seznam.cz>
2392
2393 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2394
cf822e3c
OB
2395 * manual/arith.texi: Fix spaces after sentences.
2396 * manual/charset.texi: Likewise.
2397 * manual/errno.texi: Likewise.
2398 * manual/install.texi: Likewise.
2399 * manual/llio.texi: Likewise.
2400 * manual/locale.texi: Likewise.
2401 * manual/maint.texi: Likewise.
2402 * manual/math.texi: Likewise.
2403 * manual/memory.texi: Likewise.
2404 * manual/message.texi: Likewise.
2405 * manual/probes.texi: Likewise.
2406 * manual/resource.texi: Likewise.
2407 * manual/signal.texi: Likewise.
2408 * manual/socket.texi: Likewise.
2409 * manual/stdio.texi: Likewise.
2410 * manual/string.texi: Likewise.
2411 * manual/time.texi: Likewise.
2412 * manual/users.texi: Likewise.
2413
ade40b10
CD
24142014-02-25 Carlos O'Donell <carlos@redhat.com>
2415
2416 [BZ #16632]
2417 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2418 _DEFAULT_SOURCE is defined.
2419
d0503676
CD
24202014-02-25 Ulrich Drepper <drepper@gmail.com>
2421 Carlos O'Donell <carlos@redhat.com>
2422
2423 [BZ #16613]
2424 * elf/dl-tls.c (_dl_count_modids): New function.
2425 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2426 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2427 audit library and increment generation counter.
2428 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2429 * elf/tst-audit9.c: New file.
2430 * elf/tst-auditmod9a.c: New file.
2431 * elf/tst-auditmod9b.c: New file.
2432 * elf/Makefile: Add rules to build and run tst-audit9.
2433
4cbf380c
FW
24342014-02-25 Florian Weimer <fweimer@redhat.com>
2435
2436 [BZ #15347]
2437 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2438
80a56cc3
WN
24392014-02-25 Will Newton <will.newton@linaro.org>
2440
2441 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2442 (__longjmp): Restore sp and lr before restoring callee
2443 saved registers. Add longjmp and longjmp_target
2444 SystemTap probe point.
2445 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2446 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2447 Define to zero to match jmpbuf layout.
2448 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2449 (__sigsetjmp): Save sp and lr before saving callee
2450 saved registers. Add setjmp SystemTap probe point.
2451
3ea0f74e
SL
24522014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2453
2454 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2455
b04acb26
AS
24562014-02-24 Andreas Schwab <schwab@suse.de>
2457
2458 [BZ #15804]
2459 * elf/pldd.c (wait_for_ptrace_stop): New function.
2460 (main): Call it after attaching.
2461
098ad55c
RM
24622014-02-22 Roland McGrath <roland@hack.frob.com>
2463
d4ec6ae1
RM
2464 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2465 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2466 Versions files is now verboten.
2467 * hurd/Versions (libc: GLIBC_2.0):
2468 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2469 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2470 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2471 * mach/Versions: Likewise.
2472
098ad55c
RM
2473 * csu/Versions: Remove unused %include.
2474 * resolv/Versions: Likewise.
2475
acd7f096
JM
24762014-02-21 Joseph Myers <joseph@codesourcery.com>
2477
f0881698
JM
2478 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2479 ($(objpfx)check-local-headers.out): Likewise.
2480 ($(objpfx)begin-end-check.out): Likewise.
2481 * Makerules (check-abi-%.out): Likewise.
2482 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2483 ($(objpfx)test2.cat): Likewise.
2484 ($(objpfx)de/libc.cat): Likewise.
2485 ($(objpfx)test-gencat.out): Likewise.
2486 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2487 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2488 ($(objpfx)noload-mem): Likewise.
2489 ($(objpfx)tst-pathopt.out): Likewise.
2490 ($(objpfx)tst-rtld-load-self.out): Likewise.
2491 ($(objpfx)tst-array1-cmp.out): Likewise.
2492 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2493 ($(objpfx)tst-array2-cmp.out): Likewise.
2494 ($(objpfx)tst-array3-cmp.out): Likewise.
2495 ($(objpfx)tst-array4-cmp.out): Likewise.
2496 ($(objpfx)tst-array5-cmp.out): Likewise.
2497 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2498 ($(objpfx)check-textrel.out): Likewise.
2499 ($(objpfx)check-execstack.out): Likewise.
2500 ($(objpfx)check-localplt.out): Likewise.
2501 ($(objpfx)order2-cmp.out): Likewise.
2502 ($(objpfx)tst-leaks1-mem): Likewise.
2503 ($(objpfx)tst-leaks1-static-mem): Likewise.
2504 ($(objpfx)tst-initorder-cmp.out): Likewise.
2505 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2506 ($(objpfx)tst-unused-dep.out): Likewise.
2507 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2508 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2509 * iconv/Makefile (test-iconvconfig): Likewise.
2510 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2511 ($(objpfx)iconv-test.out): Likewise.
2512 ($(objpfx)tst-tables.out): Likewise.
2513 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2514 ($(objpfx)tst-gettext.out): Likewise.
2515 ($(objpfx)tst-translit.out): Likewise.
2516 ($(objpfx)tst-gettext2.out): Likewise.
2517 ($(objpfx)tst-gettext4.out): Likewise.
2518 ($(objpfx)tst-gettext6.out): Likewise.
2519 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2520 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2521 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2522 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2523 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2524 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2525 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2526 ($(objpfx)wordexp-tst.out): Likewise.
2527 ($(objpfx)annexc.out): Likewise.
2528 ($(objpfx)tst-fnmatch-mem): Likewise.
2529 ($(objpfx)bug-regex2-mem): Likewise.
2530 ($(objpfx)bug-regex14-mem): Likewise.
2531 ($(objpfx)bug-regex21-mem): Likewise.
2532 ($(objpfx)bug-regex31-mem): Likewise.
2533 ($(objpfx)tst-vfork3-mem): Likewise.
2534 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2535 ($(objpfx)tst-pcre-mem): Likewise.
2536 ($(objpfx)tst-boost-mem): Likewise.
2537 ($(objpfx)tst-getconf.out): Likewise.
2538 ($(objpfx)bug-ga2-mem): Likewise.
2539 ($(objpfx)bug-glob2-mem): Likewise.
2540 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2541 ($(objpfx)mtrace-tst-leaks2): Likewise.
2542 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2543 ($(objpfx)tst-printf.out): Likewise.
2544 ($(objpfx)tst-setvbuf1.out): Likewise.
2545 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2546 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2547 ($(objpfx)tst-fmtmsg.out): Likewise.
2548 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2549 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2550
acd7f096
JM
2551 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2552 * bits/sigaction.h [__USE_MISC]: Likewise.
2553 * bits/waitstatus.h: Update #endif comments.
2554 * ctype/ctype.h: Likewise.
2555 * dirent/dirent.h: Likewise.
2556 [__USE_MISC]: Remove redundant conditionals.
2557 * grp/grp.h: Update #endif comments.
2558 [__USE_GNU]: Remove redundant conditionals.
2559 [__USE_MISC]: Likewise.
2560 * inet/netinet/in.h [__USE_GNU]: Likewise.
2561 * io/sys/stat.h [__USE_MISC]: Likewise.
2562 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2563 * libio/bits/stdio.h: Update #endif comments.
2564 [__USE_MISC]: Remove redundant conditionals.
2565 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2566 * libio/stdio.h: Update #endif comments.
2567 [__USE_MISC]: Remove redundant conditionals.
2568 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2569 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2570 * math/math.h: Update #else and #endif comments.
2571 [__USE_MISC]: Remove redundant conditionals.
2572 * misc/sys/uio.h: Update #endif comments.
2573 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2574 * posix/glob.h [__USE_MISC]: Likewise.
2575 * posix/sys/types.h: Update #endif comments.
2576 [__USE_MISC]: Remove redundant conditionals.
2577 * posix/sys/wait.h: Update #endif comments.
2578 [__USE_MISC]: Remove redundant conditionals.
2579 * posix/unistd.h: Update #endif comments.
2580 [__USE_MISC]: Remove redundant conditionals.
2581 * pwd/pwd.h [__USE_GNU]: Likewise.
2582 [__USE_MISC]: Likewise.
2583 * resolv/netdb.h [__USE_GNU]: Likewise.
2584 * signal/signal.h: Update #endif comments.
2585 [__USE_MISC]: Remove redundant conditionals.
2586 * stdlib/stdlib.h: Update #else and #endif comments.
2587 [__USE_MISC]: Remove redundant conditionals.
2588 [__USE_GNU]: Likewise.
2589 * string/bits/string2.h [__USE_MISC]: Likewise.
2590 * string/string.h: Update #endif comments.
2591 [__USE_MISC]: Remove redundant conditionals.
2592 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2593 Likewise.
2594 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2595 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2596 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2597 Likewise.
2598 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2599 Likewise.
2600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2601 comments.
2602 [__USE_MISC]: Remove redundant conditionals.
2603 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2604 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2605 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2606 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2607 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2610 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2611 Likewise.
2612 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2614 Likewise.
2615 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2616 Likewise.
2617 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2618 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2619 Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2621 Likewise.
2622 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2623 * sysdeps/x86/bits/string.h: Update #endif comments.
2624 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2625 conditionals.
2626 * time/sys/time.h: Update #endif comments.
2627 * time/time.h: Likewise.
2628 [__USE_MISC]: Remove redundant conditionals.
2629
a5d82e4e
YG
26302014-02-21 Yury Gribov <y.gribov@samsung.com>
2631
2632 [BZ #16600]
2633 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2634
9a80491d
AS
26352014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2636
2637 * Versions.def (librt): Add GLIBC_2.17.
2638
105fa381
AC
26392014-02-21 Adam Conrad <adconrad@0c3.net>
2640
2641 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2642 synonym for _SYS_AUXV_H to allow direct inclusion.
2643 * sysdeps/sparc/bits/hwcap.h: Likewise.
2644 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2645 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2646 * sysdeps/sparc/sysdep.h: Likewise.
2647
b8cd1c4e
SP
26482014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2649
2650 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2651
bd939d23
RS
26522014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2653
2654 * benchtests/bench-strrchr.c: Print length instead of position.
2655
5d7b57ca
JM
26562014-02-20 Joseph Myers <joseph@codesourcery.com>
2657
bc688c10
JM
2658 [BZ #16611]
2659 * sysdeps/unix/sysv/linux/kernel-features.h
2660 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2661 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2662 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2663 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2664 Likewise.
2665 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2666 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2667 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2668 (__ASSUME_SENDMMSG): Define instead of using previous
2669 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2670 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2671 (__ASSUME_SENDMMSG_SYSCALL): Define.
2672 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2673 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2674 Likewise.
2675 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2676 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2677 Likewise.
2678 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2679 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2680 Likewise.
2681 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2682 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2683 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2684 [__ASSUME_SENDMMSG]: Change conditionals to
2685 [__ASSUME_SENDMMSG_SOCKETCALL].
2686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2687 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2688 Define.
2689 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2690 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2691 Likewise.
2692 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2693 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2694 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2695 [!__ASSUME_SENDMMSG]: Change conditional to
2696 [!__ASSUME_SENDMMSG_SOCKETCALL].
2697 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2698 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2699 Define.
2700
0e31b18c
JM
2701 [BZ #16610]
2702 * sysdeps/unix/sysv/linux/kernel-features.h
2703 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2704 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2705 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2706 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2707 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2708 [__i386__ || __sparc__]
2709 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2710 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2711 (__ASSUME_RECVMMSG): Define instead of using previous
2712 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2713 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2714 (__ASSUME_RECVMMSG_SYSCALL): Define.
2715 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2716 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2717 Likewise.
2718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2719 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2720 Likewise.
2721 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2722 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2723 Likewise.
2724 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2725 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2726 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2727 [__ASSUME_RECVMMSG]: Change condition to
2728 [__ASSUME_RECVMMSG_SOCKETCALL].
2729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2731 Define.
2732 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2735 Likewise.
2736 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2737 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2738 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2739 [!__ASSUME_RECVMMSG]: Change condition to
2740 [!__ASSUME_RECVMMSG_SOCKETCALL].
2741 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2742 (__ASSUME_RECVMMSG_SYSCALL): Define.
2743
dd481ccf
JM
2744 [BZ #16609]
2745 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2746 __powerpc__ || __s390__ || __sh__ || __sparc__]
2747 (__ASSUME_SOCKETCALL): Define.
2748 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2749 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2750 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2751 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2752 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2753 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2754 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2755 (__ASSUME_ACCEPT4): Define instead of using previous
2756 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2757 __powerpc__ || __sparc__ || __s390__)] condition.
2758 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2759 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2760 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2761 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2762 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2763 [!__ASSUME_ACCEPT4]: Change condition to
2764 [!__ASSUME_ACCEPT4_SOCKETCALL].
2765 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2766 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2767 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2768 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2769 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2770 __ASSUME_ACCEPT4_SYSCALL.
2771 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2772 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2773 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2774 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2775 __ASSUME_ACCEPT4_SYSCALL.
2776 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2777 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2778 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2779 [__ASSUME_ACCEPT4]: Change condition to
2780 [__ASSUME_ACCEPT4_SOCKETCALL].
2781 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2782 (__ASSUME_SOCKETCALL): Define.
2783 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2785 (__ASSUME_SOCKETCALL): Define.
2786 (__ASSUME_ACCEPT4): Remove.
2787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2788 Define.
2789 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2790 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2791 Likewise.
2792 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2793 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2794
5d7b57ca
JM
2795 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2796 macro.
2797 (HWCAP_ARM_LPAE): Likewise.
2798 (HWCAP_ARM_EVTSTRM): Likewise.
2799 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2800 Add vpfd32, lpae and evtstrm.
2801 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2802 Increase to 22.
2803
63689d61
JM
28042014-02-19 Joseph Myers <joseph@codesourcery.com>
2805
2806 * math/auto-libm-test-in: Add tests of clog10.
2807 * math/auto-libm-test-out: Regenerated.
2808 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2809 * sysdeps/i386/fpu/libm-test-ulps: Update.
2810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811
ab09bf61
AS
28122014-02-18 Andreas Schwab <schwab@suse.de>
2813
2814 [BZ #16574]
2815 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2816 Store non-zero if the second buffer was newly allocated.
2817 (send_dg): Likewise.
2818 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2819 to send_vc and send_dg.
2820 (res_nsend): Pass NULL for ansp2_malloced.
2821 * resolv/res_query.c (__libc_res_nquery): Add parameter
2822 answerp2_malloced and pass it down to __libc_res_nsend.
2823 (res_nquery): Pass additional NULL to __libc_res_nquery.
2824 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2825 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2826 second answer buffer if answerp2_malloced was set.
2827 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2828 (__libc_res_nquerydomain): Add parameter
2829 answerp2_malloced and pass it down to __libc_res_nquery.
2830 (res_nquerydomain): Pass additional NULL to
2831 __libc_res_nquerydomain.
2832 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2833 additional NULL to __libc_res_nsend and __libc_res_nquery.
2834 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2835 additional NULL to __libc_res_nsearch.
2836 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2837 parameter of __libc_res_nsearch to check for separately allocated
2838 second buffer.
2839 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2840 __libc_res_nquery.
2841 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2842 additional NULL to __libc_res_nquery.
2843 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2844 __libc_res_nsearch.
2845 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2846 * include/resolv.h: Update prototypes of __libc_res_nquery,
2847 __libc_res_nsearch, __libc_res_nsend.
2848
a4fb7861
JM
28492014-02-18 Joseph Myers <joseph@codesourcery.com>
2850
c6af2d89
JM
2851 * math/auto-libm-test-in: Add tests of fma.
2852 * math/auto-libm-test-out: Regenerated.
2853 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2854 (fma_towardzero_test_data): Likewise.
2855 (fma_downward_test_data): Likewise.
2856 (fma_upward_test_data): Likewise.
2857 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2858 mpc_mode.
2859 (rounding_modes): Add values for new field.
2860 (func_calc_method): Add value mpfr_fff_f.
2861 (func_calc_desc): Add mpfr_fff_f union field.
2862 (test_function): Add field exact_args.
2863 (FUNC): Add macro argument EXACT_ARGS.
2864 (FUNC_mpfr_f_f): Update call to FUNC.
2865 (FUNC_mpfr_f_f): Likewise.
2866 (FUNC_mpfr_ff_f): Likewise.
2867 (FUNC_mpfr_if_f): Likewise.
2868 (FUNC_mpc_c_f): Likewise.
2869 (FUNC_mpc_c_c): Likewise.
2870 (test_functions): Add fma. Update calls to FUNC.
2871 (handle_input_arg): Add argument exact_args.
2872 (add_test): Update call to handle_input_arg.
2873 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2874 (output_for_one_input_case): Update call to calc_generic_results.
2875 Recalculate exact zero results in each rounding mode.
2876
a4fb7861
JM
2877 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2878 non-negative before setting low bit.
2879 * math/auto-libm-test-in: Mark one asin test possibly having
2880 spurious underflow.
2881 * math/auto-libm-test-out: Regenerated.
2882 * sysdeps/i386/fpu/libm-test-ulps: Update.
2883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2884
ef114eaf
DH
28852014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2886
2b7f4f2c
SP
2887 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2888 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2889 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2890 * README: Add missing listing for microblaze*-*-linux-gnu.
2891
c70a4b1d
MF
28922014-02-16 Mike Frysinger <vapier@gentoo.org>
2893
2894 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2895 * sysdeps/unix/sysv/linux/ia64: Move directory from
2896 ports/sysdeps/unix/sysv/linux/ia64.
2897 * README: Update listing for ia64-*-linux-gnu.
2898
591aeaf7
TD
28992014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2900 Joseph Myers <joseph@codesourcery.com>
2901
2902 * Makeconfig (test-name): New variable.
2903 (evaluate-test): Likewise.
2904 * Makerules (do-test-clean): Remove .test-result files.
2905 (common-mostlyclean): Likewise.
2906 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2907 * scripts/evaluate-test.sh: New file.
2908
6e89caf1
JM
29092014-02-14 Joseph Myers <joseph@codesourcery.com>
2910
7f98f180
JM
2911 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2912 separate $(objpfx)tst-fopenloc-cmp.out and
2913 $(objpfx)tst-fopenloc-mem.out targets.
2914 (tests): Update dependencies.
2915 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2916 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2917 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2918 (tst-rxspencer-no-utf8-ARGS): New variable.
2919 (tst-rxspencer-no-utf8-ENV): Likewise.
2920 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2921 instead of $(objpfx)tst-rxspencer-mem.
2922 ($(objpfx)tst-rxspencer-mem): Change target to
2923 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2924 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2925 * posix/tst-rxspencer-no-utf8.c: New file.
2926
6e89caf1
JM
2927 * elf/Makefile ($(objpfx)order.out): Remove rule.
2928 [$(run-built-tests) = yes] (tests): Depend on
2929 $(objpfx)order-cmp.out.
2930 ($(objpfx)order-cmp.out): New rule.
2931 [$(run-built-tests) = yes] (tests): Depend on
2932 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2933 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2934 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2935 $(objpfx)tst-array5-static-cmp.out.
2936 ($(objpfx)tst-array1.out): Remove rule.
2937 ($(objpfx)tst-array1-cmp.out): New rule.
2938 ($(objpfx)tst-array1-static.out): Remove rule.
2939 ($(objpfx)tst-array1-static-cmp.out): New rule.
2940 ($(objpfx)tst-array2.out): Remove rule.
2941 ($(objpfx)tst-array2-cmp.out): New rule.
2942 ($(objpfx)tst-array3.out): Remove rule.
2943 ($(objpfx)tst-array3-cmp.out): New rule.
2944 ($(objpfx)tst-array4.out): Remove rule.
2945 ($(objpfx)tst-array4-cmp.out): New rule.
2946 ($(objpfx)tst-array5.out): Remove rule.
2947 ($(objpfx)tst-array5-cmp.out): New rule.
2948 ($(objpfx)tst-array5-static.out): Remove rule.
2949 ($(objpfx)tst-array5-static-cmp.out): New rule.
2950 [$(run-built-tests) = yes] (tests): Depend on
2951 $(objpfx)order2-cmp.out.
2952 ($(objpfx)order2.out): Remove rule.
2953 ($(objpfx)order2-cmp.out): New rule.
2954 ($(objpfx)tst-initorder.out): Remove rule.
2955 [$(run-built-tests) = yes] (tests): Depend on
2956 $(objpfx)tst-initorder-cmp.out.
2957 ($(objpfx)tst-initorder-cmp.out): New rule.
2958 ($(objpfx)tst-initorder2.out): Remove rule.
2959 [$(run-built-tests) = yes] (tests): Depend on
2960 $(objpfx)tst-initorder2-cmp.out.
2961 ($(objpfx)tst-initorder2-cmp.out): New rule.
2962 [$(run-built-tests) = yes] (tests): Depend on
2963 $(objpfx)tst-unused-dep-cmp.out.
2964 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2965 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2966 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2967 on $(objpfx)tst-setvbuf1-cmp.out.
2968 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2969 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2970 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2971 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2972 ($(objpfx)tst-svc.out): Remove rule.
2973 ($(objpfx)tst-svc-cmp.out): New rule.
2974
ed9a38e2
JM
29752014-02-13 Joseph Myers <joseph@codesourcery.com>
2976
2977 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2978 * ctype/ctype.h [__USE_MISC]: Likewise.
2979 * dirent/dirent.h [__USE_MISC]: Likewise.
2980 * grp/grp.h [__USE_MISC]: Likewise.
2981 * io/fcntl.h [__USE_MISC]: Likewise.
2982 * io/sys/stat.h [__USE_MISC]: Likewise.
2983 * libio/stdio.h [__USE_MISC]: Likewise.
2984 * posix/unistd.h [__USE_MISC]: Likewise.
2985 * pwd/pwd.h [__USE_MISC]: Likewise.
2986 * stdlib.h [__USE_MISC]: Likewise.
2987 * string/bits/string2.h [__USE_MISC]: Likewise.
2988 * string/string.h [__USE_MISC]: Likewise.
2989 * time/time.h [__USE_MISC]: Likewise.
2990
d6680619
AS
29912014-02-13 Andreas Schwab <schwab@suse.de>
2992
2993 [BZ #16574]
2994 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2995 second answer buffer if it was separately allocated.
2996
ace614b8
JM
29972014-02-12 Joseph Myers <joseph@codesourcery.com>
2998
743151ae
JM
2999 * sysdeps/mips/math-tests.h: Include <features.h>.
3000 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3001 (ROUNDING_TESTS_long_double): Do not define.
3002 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3003 (EXCEPTION_TESTS_long_double): Likewise.
3004 * sysdeps/mips/mips64/libm-test-ulps: Update.
3005
498afc54
JM
3006 * include/features.h (__USE_BSD): Remove macro definitions.
3007 (__USE_SVID): Likewise.
3008 (_BSD_SOURCE): Likewise.
3009 (_SVID_SOURCE): Likewise.
3010 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3011 from definition of _DEFAULT_SOURCE.
3012 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3013 [_DEFAULT_SOURCE].
3014 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3015 * bits/mman.h [__USE_BSD]: Likewise.
3016 * bits/termios.h [__USE_BSD]: Likewise.
3017 * bits/waitstatus.h [__USE_BSD]: Likewise.
3018 * ctype/ctype.h [__USE_SVID]: Likewise.
3019 * dirent/dirent.h [__USE_BSD]: Likewise.
3020 * grp/grp.h [__USE_SVID]: Likewise.
3021 [__USE_BSD]: Likewise.
3022 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3023 * io/fcntl.h [__USE_BSD]: Likewise.
3024 * io/ftw.h [__USE_BSD]: Likewise.
3025 * io/sys/stat.h [__USE_BSD]: Likewise.
3026 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3027 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3028 * libio/stdio.h [__USE_SVID]: Likewise.
3029 [__USE_BSD]: Likewise.
3030 * math/math.h [__USE_SVID]: Likewise.
3031 [__USE_BSD]: Likewise.
3032 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3033 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3034 * misc/search.h [__USE_SVID]: Likewise.
3035 * misc/sys/mman.h [__USE_BSD]: Likewise.
3036 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3037 * misc/sys/uio.h [__USE_BSD]: Likewise.
3038 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3039 * posix/glob.h [__USE_BSD]: Likewise.
3040 * posix/regex.h [__USE_BSD]: Likewise.
3041 * posix/sys/types.h [__USE_BSD]: Likewise.
3042 [__USE_SVID]: Likewise.
3043 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3044 * posix/sys/wait.h [__USE_BSD]: Likewise.
3045 [__USE_SVID]: Likewise.
3046 * posix/unistd.h [__USE_BSD]: Likewise.
3047 [__USE_SVID]: Likewise.
3048 * pwd/pwd.h [__USE_SVID]: Likewise.
3049 * resolv/netdb.h [__USE_BSD]: Likewise.
3050 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3051 * signal/signal.h [__USE_BSD]: Likewise.
3052 [__USE_SVID]: Likewise.
3053 * socket/sys/socket.h [__USE_BSD]: Likewise.
3054 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3055 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3056 [__USE_SVID]: Likewise.
3057 * string/bits/string2.h [__USE_BSD]: Likewise.
3058 [__USE_SVID]: Likewise.
3059 * string/bits/string3.h [__USE_BSD]: Likewise.
3060 * string/endian.h [__USE_BSD]: Likewise.
3061 * string/string.h [__USE_SVID]: Likewise.
3062 [__USE_BSD]: Likewise.
3063 * string/strings.h [__USE_BSD]: Likewise.
3064 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3065 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3066 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3067 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3068 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3069 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3070 Likewise.
3071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3072 Likewise.
3073 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3074 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3075 Likewise.
3076 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3077 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3078 Likewise.
3079 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3080 Likewise.
3081 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3082 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3084 Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3086 Likewise.
3087 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3088 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3089 * termios/termios.h [__USE_BSD]: Likewise.
3090 * time/sys/time.h [__USE_BSD]: Likewise.
3091 * time/time.h [__USE_BSD]: Likewise.
3092 [__USE_SVID]: Likewise.
3093
dd7b064c
JM
3094 * Makefile (subdir_targets): Remove subdir_lint.out.
3095
a2c4c199
JM
3096 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3097 (do-tst-printf): Likewise.
3098 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3099 $(objpfx)tst-printf.out.
3100
8756f740
JM
3101 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3102
1b6dd3f1
JM
3103 * Makerules (check-abi-%): Change target to
3104 $(objpfx)check-abi-%.out.
3105 (check-abi target): Update dependencies.
3106 (check-abi-pattern variable): Redirect output of diff to $@.
3107 (check-abi variable): Likewise.
3108 * elf/Makefile (check-abi): Update dependencies.
3109
ace614b8
JM
3110 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3111 unused.
3112 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3113 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3114 subnormal range.
3115 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3116 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3117 value has largest subnormal exponent.
3118 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3119 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3120 * sysdeps/aarch64/soft-fp/sfp-machine.h
3121 (_FP_TININESS_AFTER_ROUNDING): New macro.
3122 * sysdeps/alpha/soft-fp/sfp-machine.h
3123 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3124 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3125 Likewise.
3126 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3127 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3128 * sysdeps/mips/soft-fp/sfp-machine.h
3129 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3130 * sysdeps/powerpc/soft-fp/sfp-machine.h
3131 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3132 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3133 Likewise.
3134 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3135 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3137 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3138 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3139 Likewise.
3140
fbfdf9cb
DAS
31412014-02-12 Dylan Alex Simon <dylan@dylex.net>
3142
3143 [BZ #16545]
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3145 model 1.
3146
68b7efaa
RH
31472014-02-12 Richard Henderson <rth@redhat.com>
3148
c70a4b1d 3149 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3150 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3151 * sysdeps/unix/sysv/linux/alpha: Move directory from
3152 ports/sysdeps/unix/sysv/linux/alpha.
3153 * README: Update listing for alpha-*-linux-gnu.
3154
cb4a2928
JM
31552014-02-11 Joseph Myers <joseph@codesourcery.com>
3156
c941736c
JM
3157 * include/features.h: Update comment documenting feature test
3158 macros.
3159 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3160 _DEFAULT_SOURCE.
3161 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3162 (_SVID_SOURCE): Likewise.
3163 (_DEFAULT_SOURCE): Update description of default features.
3164 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3165 with _GNU_SOURCE.
3166 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3167 (S_ISVTX): Likewise.
3168 * manual/math.texi (Mathematical Constants): Likewise.
3169 * manual/signal.texi (Interrupted Primitives): Likewise.
3170 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3171 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3172 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3173 Don't refer to _SVID_SOURCE in warning text.
3174
e8d8d7ec
JM
3175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3176
cb4a2928
JM
3177 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3178 already defined.
3179 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3180 * sysdeps/mips/dl-lookup.c: Remove.
3181 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3182
7e6424e3
AK
31832014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3184
3185 [BZ #16447]
3186 * math/auto-libm-test-in: Add testcase for expl.
3187 * math/auto-libm-test-out: Regenerate.
3188 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3189 calculation of unsafe.
3190 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3191
75eff3fe
MS
31922014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3193
3194 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3195 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3196 ports/sysdeps/unix/sysv/linux/aarch64.
3197 * README: Update listing for aarch64*-*-linux-gnu.
3198
d35f1e80
WN
31992014-02-11 Will Newton <will.newton@linaro.org>
3200
3201 * manual/probes.texi (Mathematical Function Probes): Use
3202 "triggered" instead of "hit".
3203
7b3436d4
WN
32042014-02-11 Will Newton <will.newton@linaro.org>
3205
3206 * manual/probes.texi (Internal Probes): Add documentation
3207 of setjmp, longjmp and longjmp_target probes.
3208
b4f12ca3
WN
32092014-02-11 Will Newton <will.newton@linaro.org>
3210
3211 * include/stap-probe.h: Add comment about probe argument
3212 format.
3213
c13a72b7
WN
32142014-02-11 Will Newton <will.newton@linaro.org>
3215
3216 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3217 definition. (tr_where, tr_freehook, tr_mallochook,
3218 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3219
195b8165
DM
32202014-02-11 David S. Miller <davem@davemloft.net>
3221
3222 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3223 processing int_tests.
3224
2ad7600b
JM
32252014-02-10 Joseph Myers <joseph@codesourcery.com>
3226
3227 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3228 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3229 * sysdeps/unix/sysv/linux/mips: Move directory from
3230 ports/sysdeps/unix/sysv/linux/mips.
3231 * README: Update listing for mips-*-linux-gnu and
3232 mips64-*-linux-gnu.
3233
73588a72
AS
32342014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3235
3236 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3237 * sysdeps/unix/sysv/linux/m68k: Move directory from
3238 ports/sysdeps/unix/sysv/linux/m68k.
3239 * README: Update listing for m68k-*-linux-gnu.
3240
4372980f
CM
32412014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3242
3243 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3244 * sysdeps/unix/sysv/linux/generic: Move directory from
3245 ports/sysdeps/unix/sysv/linux/generic.
3246 * sysdeps/unix/sysv/linux/tile: Move directory from
3247 ports/sysdeps/unix/sysv/linux/tile.
3248 * README: Update listing for tile*-*-linux-gnu.
3249
a1ffb40e
OB
32502014-02-10 Ondřej Bílka <neleai@seznam.cz>
3251
3252 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3253 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3254 * catgets/open_catalog.c (__open_catalog): Likewise.
3255 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3256 * debug/confstr_chk.c: Likewise.
3257 * debug/fread_chk.c (__fread_chk): Likewise.
3258 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3259 * debug/getgroups_chk.c: Likewise.
3260 * debug/mbsnrtowcs_chk.c: Likewise.
3261 * debug/mbsrtowcs_chk.c: Likewise.
3262 * debug/mbstowcs_chk.c: Likewise.
3263 * debug/memcpy_chk.c: Likewise.
3264 * debug/memmove_chk.c: Likewise.
3265 * debug/mempcpy_chk.c: Likewise.
3266 * debug/memset_chk.c: Likewise.
3267 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3268 * debug/strcat_chk.c (__strcat_chk): Likewise.
3269 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3270 * debug/strncat_chk.c (__strncat_chk): Likewise.
3271 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3272 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3273 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3274 * debug/wcpncpy_chk.c: Likewise.
3275 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3276 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3277 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3278 * debug/wcsncpy_chk.c: Likewise.
3279 * debug/wcsnrtombs_chk.c: Likewise.
3280 * debug/wcsrtombs_chk.c: Likewise.
3281 * debug/wcstombs_chk.c: Likewise.
3282 * debug/wmemcpy_chk.c: Likewise.
3283 * debug/wmemmove_chk.c: Likewise.
3284 * debug/wmempcpy_chk.c: Likewise.
3285 * debug/wmemset_chk.c: Likewise.
3286 * dirent/scandirat.c (SCANDIRAT): Likewise.
3287 * dlfcn/dladdr1.c (dladdr1): Likewise.
3288 * dlfcn/dladdr.c (dladdr): Likewise.
3289 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3290 * dlfcn/dlerror.c (__dlerror): Likewise.
3291 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3292 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3293 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3294 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3295 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3296 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3297 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3298 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3299 Likewise.
3300 * elf/dl-conflict.c: Likewise.
3301 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3302 * elf/dl-dst.h: Likewise.
3303 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3304 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3305 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3306 * elf/dl-init.c (call_init, _dl_init): Likewise.
3307 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3308 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3309 _dl_map_object_from_fd, open_verify, open_path,
3310 _dl_map_object): Likewise.
3311 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3312 Likewise.
3313 * elf/dl-minimal.c (__libc_memalign): Likewise.
3314 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3315 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3316 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3317 * elf/dl-sym.c (do_sym): Likewise.
3318 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3319 _dl_tls_get_addr_soft): Likewise.
3320 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3321 * elf/dl-writev.h (_dl_writev): Likewise.
3322 * elf/ldconfig.c (search_dir): Likewise.
3323 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3324 dl_main): Likewise.
3325 * elf/setup-vdso.h (setup_vdso): Likewise.
3326 * grp/compat-initgroups.c (compat_call): Likewise.
3327 * grp/fgetgrent.c (fgetgrent): Likewise.
3328 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3329 * grp/putgrent.c (putgrent): Likewise.
3330 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3331 Likewise.
3332 * hurd/hurdinit.c: Likewise.
3333 * iconvdata/8bit-gap.c (struct): Likewise.
3334 * iconvdata/ansi_x3.110.c : Likewise.
3335 * iconvdata/big5.c : Likewise.
3336 * iconvdata/big5hkscs.c : Likewise.
3337 * iconvdata/cp1255.c: Likewise.
3338 * iconvdata/cp1258.c : Likewise.
3339 * iconvdata/cp932.c : Likewise.
3340 * iconvdata/euc-cn.c: Likewise.
3341 * iconvdata/euc-jisx0213.c : Likewise.
3342 * iconvdata/euc-jp.c: Likewise.
3343 * iconvdata/euc-jp-ms.c : Likewise.
3344 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3345 * iconvdata/gb18030.c : Likewise.
3346 * iconvdata/gbbig5.c (const): Likewise.
3347 * iconvdata/gbgbk.c: Likewise.
3348 * iconvdata/gbk.c : Likewise.
3349 * iconvdata/ibm1364.c : Likewise.
3350 * iconvdata/ibm930.c : Likewise.
3351 * iconvdata/ibm932.c: Likewise.
3352 * iconvdata/ibm933.c : Likewise.
3353 * iconvdata/ibm935.c : Likewise.
3354 * iconvdata/ibm937.c : Likewise.
3355 * iconvdata/ibm939.c : Likewise.
3356 * iconvdata/ibm943.c: Likewise.
3357 * iconvdata/iso_11548-1.c: Likewise.
3358 * iconvdata/iso-2022-cn.c : Likewise.
3359 * iconvdata/iso-2022-cn-ext.c : Likewise.
3360 * iconvdata/iso-2022-jp-3.c: Likewise.
3361 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3362 * iconvdata/iso-2022-kr.c : Likewise.
3363 * iconvdata/iso646.c (gconv_end): Likewise.
3364 * iconvdata/iso_6937-2.c : Likewise.
3365 * iconvdata/iso_6937.c : Likewise.
3366 * iconvdata/iso8859-1.c: Likewise.
3367 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3368 * iconvdata/shift_jisx0213.c : Likewise.
3369 * iconvdata/sjis.c : Likewise.
3370 * iconvdata/t.61.c : Likewise.
3371 * iconvdata/tcvn5712-1.c : Likewise.
3372 * iconvdata/tscii.c: Likewise.
3373 * iconvdata/uhc.c : Likewise.
3374 * iconvdata/unicode.c (gconv_end): Likewise.
3375 * iconvdata/utf-16.c (gconv_end): Likewise.
3376 * iconvdata/utf-32.c (gconv_end): Likewise.
3377 * iconvdata/utf-7.c (base64): Likewise.
3378 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3379 * iconv/gconv_close.c (__gconv_close): Likewise.
3380 * iconv/gconv_open.c (__gconv_open): Likewise.
3381 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3382 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3383 internal_ucs4le_loop_single, ucs4le_internal_loop,
3384 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3385 * iconv/iconv.c (iconv): Likewise.
3386 * iconv/iconv_close.c: Likewise.
3387 * iconv/loop.c (SINGLE): Likewise.
3388 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3389 * include/atomic.h: Likewise.
3390 * inet/inet6_option.c (option_alloc): Likewise.
3391 * intl/bindtextdom.c (set_binding_values): Likewise.
3392 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3393 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3394 * intl/localealias.c (read_alias_file): Likewise.
3395 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3396 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3397 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3398 * libio/fmemopen.c (fmemopen): Likewise.
3399 * libio/iofgets.c (_IO_fgets): Likewise.
3400 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3401 * libio/iofgetws.c (fgetws): Likewise.
3402 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3403 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3404 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3405 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3406 * locale/findlocale.c (_nl_find_locale): Likewise.
3407 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3408 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3409 Likewise.
3410 * locale/setlocale.c (setlocale): Likewise.
3411 * login/programs/pt_chown.c (main): Likewise.
3412 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3413 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3414 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3415 mmap, mmap64, mremap, munmap): Likewise.
3416 * math/e_exp2l.c: Likewise.
3417 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3418 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3419 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3420 * math/s_catan.c (__catan): Likewise.
3421 * math/s_catanf.c (__catanf): Likewise.
3422 * math/s_catanh.c (__catanh): Likewise.
3423 * math/s_catanhf.c (__catanhf): Likewise.
3424 * math/s_catanhl.c (__catanhl): Likewise.
3425 * math/s_catanl.c (__catanl): Likewise.
3426 * math/s_ccosh.c (__ccosh): Likewise.
3427 * math/s_ccoshf.c (__ccoshf): Likewise.
3428 * math/s_ccoshl.c (__ccoshl): Likewise.
3429 * math/s_cexp.c (__cexp): Likewise.
3430 * math/s_cexpf.c (__cexpf): Likewise.
3431 * math/s_cexpl.c (__cexpl): Likewise.
3432 * math/s_clog10.c (__clog10): Likewise.
3433 * math/s_clog10f.c (__clog10f): Likewise.
3434 * math/s_clog10l.c (__clog10l): Likewise.
3435 * math/s_clog.c (__clog): Likewise.
3436 * math/s_clogf.c (__clogf): Likewise.
3437 * math/s_clogl.c (__clogl): Likewise.
3438 * math/s_csin.c (__csin): Likewise.
3439 * math/s_csinf.c (__csinf): Likewise.
3440 * math/s_csinh.c (__csinh): Likewise.
3441 * math/s_csinhf.c (__csinhf): Likewise.
3442 * math/s_csinhl.c (__csinhl): Likewise.
3443 * math/s_csinl.c (__csinl): Likewise.
3444 * math/s_csqrt.c (__csqrt): Likewise.
3445 * math/s_csqrtf.c (__csqrtf): Likewise.
3446 * math/s_csqrtl.c (__csqrtl): Likewise.
3447 * math/s_ctan.c (__ctan): Likewise.
3448 * math/s_ctanf.c (__ctanf): Likewise.
3449 * math/s_ctanh.c (__ctanh): Likewise.
3450 * math/s_ctanhf.c (__ctanhf): Likewise.
3451 * math/s_ctanhl.c (__ctanhl): Likewise.
3452 * math/s_ctanl.c (__ctanl): Likewise.
3453 * math/w_pow.c: Likewise.
3454 * math/w_powf.c: Likewise.
3455 * math/w_powl.c: Likewise.
3456 * math/w_scalb.c (sysv_scalb): Likewise.
3457 * math/w_scalbf.c (sysv_scalbf): Likewise.
3458 * math/w_scalbl.c (sysv_scalbl): Likewise.
3459 * misc/error.c (error_tail): Likewise.
3460 * misc/pselect.c (__pselect): Likewise.
3461 * nis/nis_callback.c (__nis_create_callback): Likewise.
3462 * nis/nis_call.c (__nisfind_server): Likewise.
3463 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3464 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3465 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3466 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3467 * nis/nis_lookup.c (nis_lookup): Likewise.
3468 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3469 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3470 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3471 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3472 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3473 internal_getgrgid_r): Likewise.
3474 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3475 Likewise.
3476 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3477 internal_getpwuid_r): Likewise.
3478 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3479 internal_getspnam_r): Likewise.
3480 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3481 _nss_nis_getaliasbyname_r): Likewise.
3482 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3483 _nss_nis_getntohost_r): Likewise.
3484 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3485 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3486 Likewise.
3487 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3488 internal_nis_gethostent_r, internal_gethostbyname2_r,
3489 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3490 _nss_nis_gethostbyname4_r): Likewise.
3491 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3492 initgroups_netid): Likewise.
3493 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3494 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3495 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3496 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3497 _nss_nis_getprotobynumber_r): Likewise.
3498 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3499 _nss_nis_getsecretkey): Likewise.
3500 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3501 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3502 Likewise.
3503 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3504 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3505 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3506 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3507 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3508 _nss_nis_getspnam_r): Likewise.
3509 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3510 Likewise.
3511 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3512 _nss_nisplus_getntohost_r): Likewise.
3513 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3514 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3515 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3516 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3517 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3518 Likewise.
3519 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3520 _nss_nisplus_getnetbyaddr_r): Likewise.
3521 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3522 _nss_nisplus_getprotobynumber_r): Likewise.
3523 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3524 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3525 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3526 Likewise.
3527 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3528 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3529 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3530 _nss_nisplus_getspnam_r): Likewise.
3531 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3532 * nscd/aicache.c (addhstaiX): Likewise.
3533 * nscd/cache.c (cache_search, prune_cache): Likewise.
3534 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3535 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3536 * nscd/grpcache.c (addgrbyX): Likewise.
3537 * nscd/hstcache.c (addhstbyX): Likewise.
3538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3539 * nscd/mem.c (gc, mempool_alloc): Likewise.
3540 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3541 Likewise.
3542 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3543 Likewise.
3544 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3545 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3546 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3547 Likewise.
3548 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3549 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3550 * nscd/nscd_helper.c (__readvall, open_socket,
3551 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3552 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3553 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3554 * nscd/pwdcache.c (addpwbyX): Likewise.
3555 * nscd/selinux.c (preserve_capabilities): Likewise.
3556 * nscd/servicescache.c (addservbyX): Likewise.
3557 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3558 * posix/fnmatch.c (fnmatch): Likewise.
3559 * posix/getopt.c (_getopt_internal_r): Likewise.
3560 * posix/glob.c (glob, glob_in_dir): Likewise.
3561 * posix/wordexp.c (exec_comm_child): Likewise.
3562 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3563 gaih_getanswer_slice): Likewise.
3564 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3565 * resolv/res_init.c: Likewise.
3566 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3567 * resolv/res_query.c (__libc_res_nquery): Likewise.
3568 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3569 Likewise.
3570 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3571 * stdio-common/perror.c (perror): Likewise.
3572 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3573 * stdio-common/tmpnam.c (tmpnam): Likewise.
3574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3575 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3576 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3577 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3578 * stdlib/putenv.c (putenv): Likewise.
3579 * stdlib/setenv.c (__add_to_environ): Likewise.
3580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3581 * stdlib/strtol_l.c (INTERNAL): Likewise.
3582 * string/memmem.c (memmem): Likewise.
3583 * string/strerror.c (strerror): Likewise.
3584 * string/strnlen.c (__strnlen): Likewise.
3585 * string/test-memmem.c (simple_memmem): Likewise.
3586 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3587 * sunrpc/pm_getport.c (__get_socket): Likewise.
3588 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3589 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3590 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3591 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3592 Likewise.
3593 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3595 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3596 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3597 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3598 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3599 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3600 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3601 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3603 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3604 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3606 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3607 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3608 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3609 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3610 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3612 Likewise.
3613 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3614 Likewise.
3615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3616 Likewise.
3617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3620 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3621 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3622 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3623 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3632 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3633 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3634 Likewise.
3635 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3636 Likewise.
3637 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3638 Likewise.
3639 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3641 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3642 Likewise.
3643 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3644 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3645 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3646 * sysdeps/posix/sleep.c: Likewise.
3647 * sysdeps/posix/tempname.c: Likewise.
3648 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3649 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3650 Likewise.
3651 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3652 elf_machine_rela): Likewise.
3653 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3655 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3656 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3657 Likewise.
3658 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3659 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3660 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3662 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3663 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3664 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3665 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3666 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3667 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3669 elf_machine_lazy_rel): Likewise.
3670 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3672 elf_machine_lazy_rel): Likewise.
3673 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3674 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3675 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3676 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3677 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3678 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3679 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3681 Likewise.
3682 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3683 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3684 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3685 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3686 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3687 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3688 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3689 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3691 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3692 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3695 (__posix_fallocate64_l64): Likewise.
3696 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3697 (posix_fallocate): Likewise.
3698 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3699 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3700 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3701 getifaddrs_internal): Likewise.
3702 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3703 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3704 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3705 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3706 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3707 (__posix_fallocate64_l64): Likewise.
3708 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3711 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3712 Likewise.
3713 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3714 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3715 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3718 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3719 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3720 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3721 Likewise.
3722 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3723 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3724 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3726 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3727 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3728 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3729 Likewise.
3730 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3731 (posix_fallocate): Likewise.
3732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3733 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3734 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3735 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3736 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3737 Likewise.
3738 * time/asctime.c (asctime_internal): Likewise.
3739 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3740 * time/tzset.c (__tzset_parse_tz): Likewise.
3741 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3742 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3743 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3744 * wcsmbs/wcsmbsload.h: Likewise.
3745
f3d338c9
OB
37462014-02-10 Ondřej Bílka <neleai@seznam.cz>
3747
3748 [BZ #15894]
3749 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3750
bdfe308a
OB
37512014-02-10 Ondřej Bílka <neleai@seznam.cz>
3752
3753 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3754 arena_get2): Remove THREAD_STATS conditionals.
3755 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3756 __malloc_stats, int): Likewise.
3757
d674667c
MF
37582014-02-08 Mike Frysinger <vapier@gentoo.org>
3759
3760 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3761 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3762
6349768c
MF
37632014-02-08 Mike Frysinger <vapier@gentoo.org>
3764
3765 * manual/setjmp.texi: Fix typos/grammar errors.
3766
0b7c7473
MF
37672014-02-08 Mike Frysinger <vapier@gentoo.org>
3768
3769 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3770 Only return early when n is <= 0. Delete unused return statement.
3771
ac8cc9e3
MF
37722014-02-08 Mike Frysinger <vapier@gentoo.org>
3773
3774 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3775 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3776 * debug/tst-longjmp_chk3.c: New file.
3777
c5bb8e23
MF
37782014-02-08 Mike Frysinger <vapier@gentoo.org>
3779
3780 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3781 (test_main): Replace code with set_fortify_handler call.
3782 * debug/test-strcpy_chk.c: Likewise.
3783 * debug/tst-chk1.c: Likewise.
3784 * debug/tst-longjmp_chk.c: Likewise.
3785 * test-skeleton.c: Include fcntl.h & paths.h
3786 (set_fortify_handler): Define.
3787
10444e42
MF
37882014-02-08 Mike Frysinger <vapier@gentoo.org>
3789
3790 * debug/tst-longjmp_chk.c: Add header comment and include
3791 ../test-skeleton.c.
3792 (do_test): Mark static.
3793 (TEST_FUNCTION): Define.
3794
1e805e8d
MF
37952014-02-08 Mike Frysinger <vapier@gentoo.org>
3796
3797 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3798 (IP_PMTUDISC_INTERFACE): Likewise.
3799 (IP_MULTICAST_IF): Likewise.
3800 (IP_MULTICAST_TTL): Likewise.
3801 (IP_MULTICAST_LOOP): Likewise.
3802 (IP_ADD_MEMBERSHIP): Likewise.
3803 (IP_DROP_MEMBERSHIP): Likewise.
3804 (IP_UNBLOCK_SOURCE): Likewise.
3805 (IP_BLOCK_SOURCE): Likewise.
3806 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3807 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3808 (IP_MSFILTER): Likewise.
3809 (MCAST_JOIN_GROUP): Likewise.
3810 (MCAST_BLOCK_SOURCE): Likewise.
3811 (MCAST_UNBLOCK_SOURCE): Likewise.
3812 (MCAST_LEAVE_GROUP): Likewise.
3813 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3814 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3815 (MCAST_MSFILTER): Likewise.
3816 (IP_MULTICAST_ALL): Likewise.
3817 (IP_UNICAST_IF): Likewise.
3818
73f79bb7
MF
38192014-02-08 Mike Frysinger <vapier@gentoo.org>
3820
3821 * timezone/Makefile: Delete $(have-ksh) check.
3822 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3823 * timezone/tzselect.ksh: Add +x mode bits.
3824
8da79b60
MF
38252014-02-08 Mike Frysinger <vapier@gentoo.org>
3826
3827 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3828 (ANON_INODE_FS_MAGIC): Likewise.
3829 (BDEVFS_MAGIC): Likewise.
3830 (BINFMTFS_MAGIC): Likewise.
3831 (BTRFS_TEST_MAGIC): Likewise.
3832 (CRAMFS_MAGIC_WEND): Likewise.
3833 (DEBUGFS_MAGIC): Likewise.
3834 (ECRYPTFS_SUPER_MAGIC): Likewise.
3835 (EXT3_SUPER_MAGIC): Likewise.
3836 (EXT4_SUPER_MAGIC): Likewise.
3837 (FUTEXFS_SUPER_MAGIC): Likewise.
3838 (HOSTFS_SUPER_MAGIC): Likewise.
3839 (HUGETLBFS_MAGIC): Likewise.
3840 (MINIX3_SUPER_MAGIC): Likewise.
3841 (MTD_INODE_FS_MAGIC): Likewise.
3842 (NILFS_SUPER_MAGIC): Likewise.
3843 (OPENPROM_SUPER_MAGIC): Likewise.
3844 (PIPEFS_MAGIC): Likewise.
3845 (PSTOREFS_MAGIC): Likewise.
3846 (QNX6_SUPER_MAGIC): Likewise.
3847 (RAMFS_MAGIC): Likewise.
3848 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3849 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3850 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3851 (SECURITYFS_MAGIC): Likewise.
3852 (SELINUX_MAGIC): Likewise.
3853 (SMACK_MAGIC): Likewise.
3854 (SOCKFS_MAGIC): Likewise.
3855 (SQUASHFS_MAGIC): Likewise.
3856 (STACK_END_MAGIC): Likewise.
3857 (TMPFS_MAGIC): Likewise.
3858 (USBDEVICE_SUPER_MAGIC): Likewise.
3859 (V9FS_MAGIC): Likewise.
3860 (XENFS_SUPER_MAGIC): Likewise.
3861 (CRAMFS_MAGIC): Fix typo in comment.
3862 (EXT2_SUPER_MAGIC): Update comment.
3863 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3864
464263cc
JM
38652014-02-08 Joseph Myers <joseph@codesourcery.com>
3866
c6bfe5c4
JM
3867 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3868 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3869 * sysdeps/unix/sysv/linux/arm: Move directory from
3870 ports/sysdeps/unix/sysv/linux/arm.
3871 * README: Update listing for arm-*-linux-gnueabi.
3872
464263cc
JM
3873 * README: Remove mention of am33.
3874
32749f6c
RM
38752014-02-07 Roland McGrath <roland@hack.frob.com>
3876
3877 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3878 than the comma operator, to avoid "rhs of comma has no effect"
3879 compiler warnings.
3880 (__sigfillset, __sigandset, __sigorset): Likewise.
3881 * include/signal.h (__sigemptyset): Likewise.
3882 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3883
d5b396c1
AM
38842014-02-07 Allan McRae <allan@archlinux.org>
3885
3886 * version.h (RELEASE): Set to "development".
3887 (VERSION): Set to "2.19.90"
3888 * NEWS: Add 2.20 section.
3889
3bfff2ed
CD
38902014-02-06 Carlos O'Donell <carlos@redhat.com>
3891
3892 [BZ #16529]
3893 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3894
ee7cc385
SP
38952014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3896
3897 * manual/contrib.texi: Update entry for Carlos O'Donell,
3898 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3899
f877c4f2
CD
39002014-02-05 Carlos O'Donell <carlos@rehdat.com>
3901
27e839f6
CD
3902 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3903
f877c4f2
CD
3904 * sysdeps/unix/sysv/linux/kernel-features.h
3905 [__LINUX_KERNEL_VERSION >= 0x020621]
3906 (__ASSUME_PROC_PID_TASK_COMM): Define.
3907
68159946
SP
39082014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3909
ba17cdbd
SP
3910 [BZ #16398]
3911 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3912 conversion when destination buffer does not have enough space.
3913 * libio/tst-ftell-partial-wide.c: New test case.
3914 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3915
68159946
SP
3916 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3917 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3918 Leonard and Allan McRae.
3919
2b528732
DM
39202014-02-04 David S. Miller <davem@davemloft.net>
3921
3922 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3923 32-bit.
3924
0ff82463
AZ
39252014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
c01603f7
AZ
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3928 file
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3930 New file
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3932 file.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3934 file.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3936 New file.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3938 file.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3940 file.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3942 New file.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3944 New file.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3946 New file.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3948 New file.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3950 New file.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3952 New file.
3953
39542014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3955
0ff82463
AZ
3956 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3957 * shlib-versions: Likewise.
3958
1695c773
AZ
39592014-02-04 Roland McGrath <roland@hack.frob.com>
3960 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961
3962 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3963 (abilist-pattern): New variable, set to %-le.abilist.
3964
3965 * Makerules (abilist-pattern): New variable.
3966 (vpath): Use $(abilist-pattern) in place of %.abilist.
3967 (check-abi-% pattern rule): Likewise.
3968 (check-abi, update-abi): Likewise.
3969
6c0ce4b4
EW
39702014-02-04 Eric Wong <normalperson@yhbt.net>
3971
3972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3973
dc98b8f5
EW
39742014-02-04 Eric Wong <normalperson@yhbt.net>
3975
3976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3977
481e3524
CD
39782014-02-03 Carlos O'Donell <carlos@redhat.com>
3979
3980 * manual/startup.texi: Add next, previous, and top entries for
3981 the `Program Arguments' and `Environment Variables' nodes.
3982
375592d3
AO
39832014-02-03 Alexandre Oliva <aoliva@redhat.com>
3984
3985 * manual/macros.texi: Add comments before MTASC-safety macros.
3986
f54838ba
AO
3987 * manual/users.texi: Document MTASC-safety properties.
3988
909e12ad
AO
3989 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3990 pthread_getspecific, pthread_setspecific): Format with
3991 @deftypefun, and add @safety note.
3992 * manual/signal.texi: Move comments that analyze the above
3993 functions to their home place.
3994
fd3daba4
AM
39952014-02-03 Allan McRae <allan@archlinux.org>
3996
3997 * po/sl.po: Update Slovenian translation from translation project.
3998
597636d7
AO
39992014-02-02 Alexandre Oliva <aoliva@redhat.com>
4000
4001 * manual/time.texi (timegm): Add missing blank after @c.
4002 Reported by Joseph Myers <joseph@codesourcery.com>.
4003
ee196e3c
AO
40042014-02-01 Alexandre Oliva <aoliva@redhat.com>
4005
4006 * manual/check-safety.sh: New.
4007 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4008
f8d529d5
AO
4009 * manual/terminal.texi: Document MTASC-safety properties.
4010
de55fdf4
AO
4011 * manual/filesys.texi: Document MTASC-safety properties.
4012
c3299c08
AO
4013 * manual/errno.texi: Document MTASC-safety properties.
4014
06e90b14
AO
4015 * manual/intro.texi: Document safety identifiers and
4016 conditionals.
4017
1acd4371
AO
4018 * manual/string.texi (wcstok): Fix prototype.
4019 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4020
23e5b8cb
AO
4021 * manual/time.texi: Document MTASC-safety properties.
4022
11087373
AO
4023 * manual/string.texi: Document MTASC-safety properties.
4024
5da2c93d
AO
4025 * manual/threads.texi: Document MTASC-safety properties.
4026
171e9210
AO
4027 * manual/stdio.texi: Document MTASC-safety properties.
4028
d9e02532
AO
4029 * manual/syslog.texi: Document MTASC-safety properties.
4030
6af8bab7
AO
4031 * manual/sysinfo.texi: Document MTASC-safety properties.
4032
663b02d7
AO
4033 * manual/startup.texi: Document MTASC-safety properties.
4034
973f180b
AO
4035 * manual/socket.texi: Document MTASC-safety properties.
4036
8f3c25c8
AO
4037 * manual/signal.texi: Document MTASC-safety properties.
4038
542210fb
AO
40392014-01-31 Alexandre Oliva <aoliva@redhat.com>
4040
4041 * manual/setjmp.texi: Document MTASC-safety properties.
4042
433c45a2
AO
4043 * manual/search.texi: Document MTASC-safety properties.
4044
c8ce789c
AO
4045 * manual/resource.texi: Document MTASC-safety properties.
4046
19f5d29c
AO
4047 * manual/process.texi: Document MTASC-safety properties.
4048
e2dfb7f4
AO
4049 * manual/platform.texi: Document MTASC-safety properties.
4050
8c1413f5
AO
4051 * manual/pipe.texi: Document MTASC-safety properties.
4052
03483ada
AO
4053 * manual/pattern.texi: Document MTASC-safety properties.
4054
29e7e2df
AO
4055 * manual/message.texi: Document MTASC-safety properties.
4056
9f529d7c
AO
4057 [BZ #12751]
4058 * manual/memory.texi: Document MTASC-safety properties.
4059
27aaa791
AO
4060 * manual/math.texi: Document MTASC-safety properties.
4061
f2d58726
AO
4062 * manual/locale.texi: Document MTASC-safety properties.
4063
2cc3615c
AO
4064 * manual/llio.texi: Document MTASC-safety properties.
4065
d9f0ec97
AO
4066 * manual/libdl.texi: New.
4067
e7c4409a
AO
4068 * manual/lang.texi: Document MTASC-safety properties.
4069
27bdc63c
AO
4070 * manual/job.texi: Document MTASC-safety properties.
4071
a7b90ea9
AO
4072 * manual/getopt.texi: Document MTASC-safety properties.
4073
c49130e3
AO
4074 * manual/ctype.texi: Document MTASC-safety properties.
4075
0d23a5c1
MR
40762014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4077
4078 [BZ #16046]
4079 * csu/libc-tls.c (static_map): Remove variable.
4080 (__libc_setup_tls): Use main executable's link map for TLS data.
4081 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4082 casing for LM_ID_BASE and GL(dl_nns).
4083 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4084 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4085 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4086 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4087 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4088 member.
4089 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4090 l_phnum members.
4091
0037bb60
AO
40922014-01-30 Alexandre Oliva <aoliva@redhat.com>
4093
4094 * manual/debug.texi: Document MTASC-safety properties.
4095
409e00bd
L
40962014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4097
4098 [BZ #16510]
4099 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4100 of __x86_64__ when disabling x87 inline functions.
4101
86e60666
AO
41022014-01-29 Alexandre Oliva <aoliva@redhat.com>
4103
4104 * manual/charset.texi: Document MTASC-safety properties.
4105
76167637
AO
4106 * manual/crypt.texi: Document MTASC-safety properties.
4107
e567f2a0
AO
4108 * manual/conf.texi: Document MTASC-safety properties.
4109
b719dafd
AO
4110 * manual/arith.texi: Document MTASC-safety properties.
4111
4a16c662
AO
4112 * manual/argp.texi: Document MTASC-safety properties.
4113
0a57b83e
AO
4114 * manual/macros.texi: Introduce macros to document multi
4115 thread, asynchronous signal and asynchronous cancellation
4116 safety properties.
4117 * manual/intro.texi: Introduce the properties themselves.
4118
feab2397
KK
41192014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4120
4121 * sysdeps/sh/sh4/Makefile: New file.
4122
1c0d11bc
AS
41232014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4124
4125 * math/gen-libm-test.pl ($srcdir): New variable.
4126 ($auto_input): Use it.
4127
af37a8a3
SP
41282014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
d7b00f98
SP
4130 [BZ #16506]
4131 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4132 access beyond array bounds when parsing netgroups file.
4133
af37a8a3
SP
4134 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4135 the old buffer before realloc.
4136
0c00f062
AM
41372014-01-27 Allan McRae <allan@archlinux.org>
4138
4139 * po/fr.po: Update French translation from translation project.
4140
7d69a1b0
KK
41412014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4142
4143 * sysdeps/sh/libm-test-ulps: Regenerate.
4144
6e697ff7
DM
41452014-01-24 David S. Miller <davem@davemloft.net>
4146
4147 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4148
9cadb35c
KK
41492014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4150
4151 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4152 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4153
5d41dadf
SP
41542013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4155
4156 [BZ #16474]
4157 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4158 string pointers after reallocation.
4159
0bad441c
KK
41602014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4161
4162 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4163 __SH4A__ instead of __SH_FPU_ANY__.
4164
7007c661
KK
41652014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4166
4167 * sysdeps/sh/fpu_control.h: New file.
4168 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4169 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4170 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4171 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4172 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4173 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4174 * sysdeps/sh/sys/ucontext.h: Remove.
4175 * sysdeps/sh/sys: Remove directory.
4176
0f0c35e4
AK
41772014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4178
4179 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4180 s390/sys/ucontext.h.
4181 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4182 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4183
4959e284
L
41842014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4185
4186 [BZ #15605]
4187 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4188
d98720e0
AZ
41892014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4190
4191 [BZ#16431]
4192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4193 Adjust the vDSO correctly for internal calls.
4194 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4195
91cbd0bc
AM
41962014-01-20 Allan McRae <allan@archlinux.org>
4197
4198 * po/ca.po: Update Catalan translation from translation project.
4199
7a02cfad
MF
42002014-01-16 Mike Frysinger <vapier@gentoo.org>
4201
4202 * sysdeps/s390/sotruss-lib.c: New file.
4203
736c304a
AZ
42042014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4205
4206 [BZ#16430]
6e077ee5 4207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4208 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4209 local calls issues by not having a PLT stub required for IFUNC calls.
4210 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4211
94d0cea0
JM
42122014-01-16 Joseph Myers <joseph@codesourcery.com>
4213
4214 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4215 * math/test-fpucw-static.c: Likewise.
4216
980cb518
SP
42172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
4219 [BZ #16453]
4220 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4221
2393fc01
AZ
42222014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4223
4224 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4225 implementation for powerpc.
4226
d359bcc2
OB
42272014-01-15 Ondřej Bílka <neleai@seznam.cz>
4228
4229 [BZ #14782]
4230 * sysdeps/posix/system.c (__libc_system): Do not enable
4231 asynchronous cancellation.
4232
7beb48cb
AK
42332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4234
4235 [BZ #16427]
4236 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4237 handling only for numbers special also in the IEEE case.
4238
c20d5bf5
AK
42392014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4240
4241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4242
e83bd4ee
AM
42432014-01-11 Allan McRae <allan@archlinux.org>
4244
76d0ea69
AM
4245 * po/bg.po: Update Bulgarian translation from translation project.
4246
e83bd4ee
AM
4247 * po/de.po: Update German translation from translation project.
4248
bc2ba20a
RM
42492014-01-10 Roland McGrath <roland@hack.frob.com>
4250
4251 * sysdeps/generic/gcc-compat.h: New file.
4252
649ecea2
SP
42532014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4254
4255 * benchtests/asin-inputs: Correct slow inputs.
4256 * benchtests/acos-inputs: Likewise.
4257
1b19c006
AM
42582014-01-10 Allan McRae <allan@archlinux.org>
4259
a46dab08
AM
4260 * po:sv.po: Update Swedish translation from translation project.
4261
421df74a
AM
4262 * po/vi.po: Update Vietnamese translation from translation project.
4263
d61c51a7
AM
4264 * po/eo.po: Update Esperanto translation from translation project.
4265
0339a319
AM
4266 * po/cs.po: Update Czech translation from translation project.
4267
94ad3e99
AM
4268 * po/nl.po: Update Dutch translation from translation project.
4269
e349ca71
AM
4270 * po/pl.po: Update Polish translation from translation project.
4271
ddf930c1
AM
4272 * po/ru.po: Update Russian translation from translation project.
4273
1b19c006
AM
4274 * po/uk.po: Update Ukrainian translation from translation project.
4275
9f236c49
BM
42762014-01-08 Brooks Moses <bmoses@google.com>
4277
4278 * elf/dl-load.c: Fix comment typo.
4279
cd6701cf
CD
42802014-01-08 Carlos O'Donell <carlos@redhat.com>
4281
4282 * po/header.pot: Rename to...
4283 * po/pot.header: ... this.
4284 * po/Makefile: Use pot.header.
4285
66671c84
YK
42862014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4287 Maxim Kuvyrkov <maxim@kugelworks.com>
4288
4289 [BZ #16394]
cd6701cf
CD
4290 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4291 SRC and DEST against LEN.
66671c84 4292
38f34581
AZ
42932014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4294
4295 [BZ #16414]
4296 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4297 implementation.
4298 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4299
43002014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4301
4302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4303
4c327f2a
JM
43042014-01-08 Joseph Myers <joseph@codesourcery.com>
4305
4306 [BZ #16408]
4307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4308 for large positive arguments.
4309
b821f414
JM
43102014-01-07 Joseph Myers <joseph@codesourcery.com>
4311
1f0f2067
JM
4312 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4313
a5a326f6
JM
4314 * math/auto-libm-test-in: Mark various tests with
4315 xfail-rounding:ldbl-128ibm.
4316 * math/auto-libm-test-out: Regenerated.
4317
b821f414
JM
4318 [BZ #16407]
4319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4320 Increase overflow threshold.
4321
94c8a4bc
OB
43222014-01-07 Ondřej Bílka <neleai@seznam.cz>
4323
4324 [BZ #14286]
4325 * stdio-common/vfprintf.c: Check for integer overflow.
4326
87ded0c3
AK
43272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4328
4329 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4330 the first argument and return value of __tls_get_addr_internal.
4331
c5eebdd0
AK
43322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4333
4334 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4335 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4336
05d138ef
AK
43372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4338
4339 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4340 * sysdeps/s390/rtld-global-offsets.sym: New file.
4341 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4342 GLIBC_2.19 symbol.
4343 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4345 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4346 ... this.
4347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4348 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4349 ... this.
4350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4351 Regenerate.
4352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4353 Regenerate.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4355 halfs of GPRs for high_gprs contexts.
4356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4357 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4358 field.
4359 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4360 uc_flags field.
4361 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4362 64 bit versions:
4363 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4364 for high GPRs (uc_high_gprs) and for future extensions
4365 (__reserved).
4366 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4367 for future extensions (__reserved).
4368 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4369 64 bit versions:
4370 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4371 SC_HIGHGPRS offset definition.
4372 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4373 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4374
93a45ff1
AK
43752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4376
4377 * Versions.def: Add GLIBC_2.19 for libpthread.
4378 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4379 siglongjmp for libpthread with GLIBC_2.19 symver.
4380 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4381 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4382 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4383 * sysdeps/s390/__longjmp.c: New file.
4384 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4385 * sysdeps/s390/longjmp.c: New file.
4386 * sysdeps/s390/setjmp.S: New file.
4387 * sysdeps/s390/sigjmp.S: New file.
4388 * sysdeps/s390/v1-longjmp.c: New file.
4389 * sysdeps/s390/v1-setjmp.h: New file.
4390 * sysdeps/s390/v1-sigjmp.c: New file.
4391 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4392 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4393 GLIBC_2.19 version.
4394 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4395 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4396 versioned symbols for ____longjmp_chk.
4397 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4398 Likewise.
4399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4400 Regenerate.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4402 Regenerate.
4403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4404 Regenerate.
4405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4406 Regenerate.
4407 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4408 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4409 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4410 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4411 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4412 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4413 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4414 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4415 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4416 * sysdeps/s390/rtld-__longjmp.c: New file.
4417 * sysdeps/s390/rtld-setjmp.S: New file.
4418
eb3fc44b
JM
44192014-01-06 Joseph Myers <joseph@codesourcery.com>
4420
4421 [BZ #16400]
4422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4423 Return -__logl (x) for small positive arguments without evaluating
4424 a polynomial.
4425
9341dde4
MF
44262014-01-06 Mike Frysinger <vapier@gentoo.org>
4427
4428 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4429 Rename to ...
4430 (__ptrace_peeksiginfo_args): ... this.
4431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4434
4cff0293
AM
44352014-01-06 Allan McRae <allan@archlinux.org>
4436
4437 * inet/netinet/in.h: Fix typo in comment.
4438
75595dcf
AJ
44392014-01-05 Andreas Jaeger <aj@suse.de>
4440
4441 * sysdeps/i386/fpu/libm-test-ulps: Update.
4442
79c1e109
AM
44432014-01-05 Allan McRae <allan@archlinux.org>
4444
dd804818
AM
4445 * po/libc.pot: Regenerated.
4446
79c1e109
AM
4447 * malloc/memusagestat.c: Fix gettext call formatting.
4448
0c813d1f
SK
44492014-01-04 Sami Kerola <kerolasa@iki.fi>
4450
4451 * nscd/nscd.c: Improve usage() output.
4452
20f4a8d9
MF
44532014-01-04 Mike Frysinger <vapier@gentoo.org>
4454
4455 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4456 * sysdeps/unix/sysv/linux/configure: Regenerated.
4457 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4458 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4459
22562bb2
JM
44602014-01-03 Joseph Myers <joseph@codesourcery.com>
4461
4462 [BZ #16390]
4463 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4464 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4465
d7ad2d9b
AZ
44662014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4467
4468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4469 extra tokens at end of #undef directive.
4470 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4471 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4473
7dd009d8
JM
44742014-01-03 Joseph Myers <joseph@codesourcery.com>
4475
24db925a
JM
4476 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4477
7dd009d8
JM
4478 * math/auto-libm-test-in: Mark various tests with
4479 xfail-rounding:ldbl-128ibm.
4480 * math/auto-libm-test-out: Regenerated.
4481
396e3ecf
JM
44822014-01-02 Joseph Myers <joseph@codesourcery.com>
4483
819e5d50
JM
4484 [BZ #16386]
4485 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4486 numbers with subnormal high part when calculating exponent.
4487
90b6a1e5
JM
4488 [BZ #16385]
4489 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4490 fabs.
4491
396e3ecf
JM
4492 [BZ #16384]
4493 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4494 M_LN2l.
4495 (__ieee754_acoshl): Use __log1pl not __log1p.
4496
6c8dbf00
OB
44972013-01-02 Ondřej Bílka <neleai@seznam.cz>
4498
4499 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4500 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4501 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4502 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4503 Convert to GNU style.
4504 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4505 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4506 memalign_check, __malloc_set_state): Likewise.
4507 * malloc/mallocbug.c (main): Likewise.
4508 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4509 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4510 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4511 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4512 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4513 * malloc/malloc.h: Likewise.
4514 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4515 memalignhook, reallochook, mabort): Likewise.
4516 * malloc/mcheck.h: Likewise.
4517 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4518 mmap64, mremap, munmap, dest): Likewise.
4519 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4520 * malloc/morecore.c (__default_morecore): Likewise.
4521 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4522 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4523 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4524 print_and_abort): Likewise.
4525 * malloc/obstack.h: Likewise.
4526 * malloc/set-freeres.c (__libc_freeres): Likewise.
4527 * malloc/tst-mallocstate.c (main): Likewise.
4528 * malloc/tst-mtrace.c (main): Likewise.
4529 * malloc/tst-realloc.c (do_test): Likewise.
4530
d4124212
SP
45312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4532
9a3c6a6f
SP
4533 [BZ #16366]
4534 * nscd/netgroupcache.c (do_notfound): New function.
4535 (addgetnetgrentX): Use it.
4536
d4124212
SP
4537 [BZ # 16365]
4538 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4539 NSS_STATUS_NOTFOUND.
4540
97b9a009
JM
45412014-01-01 Joseph Myers <joseph@codesourcery.com>
4542
4543 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4545
d4697bc9
AM
45462014-01-01 Allan McRae <allan@archlinux.org>
4547
ddb3687f
AM
4548 * scripts/update-copyrights: Update configure input file suffix.
4549
88726d48
AM
4550 * NEWS: Update copyright year.
4551 * catgets/gencat.c: Likewise.
4552 * csu/version.c: Likewise.
4553 * debug/catchsegv.sh: Likewise.
4554 * debug/pcprofiledump.c: Likewise.
4555 * debug/xtrace.sh: Likewise.
4556 * elf/ldconfig.c: Likewise.
4557 * elf/ldd.bash.in: Likewise.
4558 * elf/pldd.c: Likewise.
4559 * elf/sotruss.ksh: Likewise.
4560 * elf/sprof.c: Likewise.
4561 * iconv/iconv_prog.c: Likewise.
4562 * iconv/iconvconfig.c: Likewise.
4563 * locale/programs/locale.c: Likewise.
4564 * locale/programs/localedef.c: Likewise.
4565 * login/programs/pt_chown.c: Likewise.
4566 * malloc/memusage.sh: Likewise.
4567 * malloc/memusagestat.c: Likewise.
4568 * malloc/mtrace.pl: Likewise.
4569 * manual/libc.texinfo: Likewise.
4570 * nscd/nscd.c: Likewise.
4571 * nss/getent.c: Likewise.
4572 * nss/makedb.c: Likewise.
4573 * posix/getconf.c: Likewise.
4574 * scripts/test-installation.pl: Likewise.
4575
d4697bc9
AM
4576 * All files with FSF copyright notices: Update copyright dates
4577 using scripts/update-copyrights.
4578 * intl/plural.c: Regenerated.
4579 * locale/programs/charmap-kw.h: Likewise.
4580 * locale/programs/locfile-kw.h: Likewise.
4581
c8590f9d
MF
45822013-12-31 Mike Frysinger <vapier@gentoo.org>
4583
4584 * sysdeps/unix/sysv/linux/configure: Regenerated.
4585 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4586 the linux/fanotify.h header.
4587 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4588 HAVE_LINUX_FANOTIFY_H is defined.
4589
b19221b9
SP
45902013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4591
dd1d85e5
SP
4592 * benchtests/cos-inputs: New inputs.
4593 * benchtests/sin-inputs: Likewise.
4594
1acbb90f
SP
4595 * benchtests/atan-inputs: New inputs. Fix name of multiple
4596 precision fallback inputs.
4597
4c012ed3
SP
4598 * benchtests/atanh-inputs: New inputs.
4599 * benchtests/tanh-inputs: Likewise.
4600
eff98324
SP
4601 * benchtests/acosh-inputs: New inputs.
4602 * benchtests/asinh-inputs: Likewise.
4603
ce641152
SP
4604 * benchtests/cosh-inputs: New inputs.
4605 * benchtests/sinh-inputs: Likewise.
4606
b19221b9
SP
4607 * benchtests/acos-inputs: Add more inputs.
4608 * benchtests/asin-inputs: Likewise.
4609
030a4976 46102013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4611
030a4976 4612 [BZ #16375]
9dcc8f11
VS
4613 * manual/arith.texi: Fix spelling.
4614 * manual/charset.texi: Likewise.
4615 * manual/errno.texi: Likewise.
4616 * manual/filesys.texi: Likewise.
4617 * manual/lang.texi: Likewise.
4618 * manual/llio.texi: Likewise.
4619 * manual/locale.texi: Likewise.
4620 * manual/message.texi: Likewise.
4621 * manual/resource.texi: Likewise.
4622 * manual/search.texi: Likewise.
4623 * manual/setjmp.texi: Likewise.
4624 * manual/stdio.texi: Likewise.
4625 * manual/string.texi: Likewise.
4626 * manual/sysinfo.texi: Likewise.
4627 * manual/time.texi: Likewise.
4628
11520a57
CD
46292013-12-27 Carlos O'Donell <carlos@redhat.com>
4630
4631 * po/sl.po: New file.
4632
471103ae
MF
46332013-12-27 Mike Frysinger <vapier@gentoo.org>
4634
4635 * .gitignore: Add core/.gdbinit/.gdb_history.
4636
6c9642ed
AM
46372013-12-27 Allan McRae <allan@archlinux.org>
4638
4639 [BZ #16369]
4640 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4641 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4642
3f637079
BM
46432013-12-24 Brooks Moses <bmoses@google.com>
4644
4645 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4646 all compilers that claim C++98 compliance, not just GCC.
4647 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4648 Likewise.
4649
abc26e99
MK
46502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4651
4652 * NEWS: Restore accidentally deleted bug-fix entries.
4653
362b47fe
MK
46542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4655 Ondřej Bílka <neleai@seznam.cz>
4656
4657 [BZ #15073]
4658 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4659 have_lock.
362b47fe 4660
b9bcbbcb
OB
46612013-12-23 Ondřej Bílka <neleai@seznam.cz>
4662
4663 [BZ #12986]
4664 * manual/stdio.texi (String Input Conversions): Clarify that character
4665 classes are not supported.
4666
fb55fcd2
AZ
46672013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4668
4669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4670
ef7344f0
JM
46712013-12-22 Joseph Myers <joseph@codesourcery.com>
4672
4f40e4b3
JM
4673 [BZ #16337]
4674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4675 Calculate results for small negative arguments directly rather
4676 than using reflection formula with special underflow handling.
4677
ef7344f0
JM
4678 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4679 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4680 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4681 (fchflags): Likewise.
4682 (revoke): Likewise.
4683 (setlogin): Likewise.
4684 (sigaltstack): Likewise.
4685 (wait4): Likewise.
4686 (sigblock): Remove.
4687 (sigsetmask): Likewise.
4688 (wait3): Likewise.
4689 (waitpid): Likewise.
4690 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4691 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4692 file.
4693 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4694 * sysdeps/unix/bsd/Makefile: ... here.
4695 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4696 * sysdeps/unix/bsd/Versions: ... here.
4697 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4698 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4699 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4700 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4701 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4702 * sysdeps/unix/bsd/sigblock.c: ... here.
4703 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4704 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4705 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4706 * sysdeps/unix/bsd/sigvec.c: ... here.
4707 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4708 * sysdeps/unix/bsd/tcdrain.c: ... here.
4709 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4710 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4711 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4712 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4713 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4714 * sysdeps/unix/bsd/wait.c: ... here.
4715 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4716 * sysdeps/unix/bsd/wait3.c: ... here.
4717 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4718 * sysdeps/unix/bsd/waitpid.c: ... here.
4719
5b0626b9
JM
47202013-12-21 Joseph Myers <joseph@codesourcery.com>
4721
4722 [BZ #16356]
4723 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4724 round-to-nearest for [!USE_AS_EXPM1L].
4725 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4726 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4727 more tests of exp and exp10. Expect some exp10 tests to miss
4728 exceptions or fail in directed rounding modes.
4729 * math/auto-libm-test-out: Regenerated.
4730 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4731 (exp10_test_tonearest): New function.
4732 (exp10_towardzero_test_data): New array.
4733 (exp10_test_towardzero): New function.
4734 (exp10_downward_test_data): New array.
4735 (exp10_test_downward): New function.
4736 (exp10_upward_test_data): New array.
4737 (exp10_test_upward): New function.
4738 (main): Call the new functions.
4739 * sysdeps/i386/fpu/libm-test-ulps: Update.
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741
7fda5682
JM
47422013-12-20 Joseph Myers <joseph@codesourcery.com>
4743
31e3a405
JM
4744 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4745 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4746 * math/auto-libm-test-out: Regenerated.
4747 * math/libm-test.inc (acosh_test_data): Add more tests.
4748 (atanh_test_data): Likewise.
4749 (ceil_test_data): Likewise.
4750 (copysign_test_data): Likewise.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4753
85bff96a
JM
4754 * timezone/checktab.awk: Update from tzcode 2013i.
4755 * timezone/private.h: Likewise.
4756 * timezone/scheck.c: Likewise.
4757 * timezone/tzfile.h: Likewise.
4758 * timezone/tzselect.ksh: Likewise.
4759 * timezone/zdump.c: Likewise.
4760 * timezone/zic.c: Likewise.
4761
b7867a3b
JM
4762 * math/auto-libm-test-in: Add tests of cpow.
4763 * math/auto-libm-test-out: Regenerated.
4764 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4765 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4766 mpc_cc_c.
4767 (func_calc_desc): Add mpc_cc_c union field.
4768 (test_functions): Add cpow.
4769 (special_fill_2pi): New function.
4770 (special_real_inputs): Add 2pi.
4771 (calc_generic_results): Handle mpc_cc_c.
4772 * sysdeps/i386/fpu/libm-test-ulps: Update.
4773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4774
7fda5682
JM
4775 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4776 csqrt, ctan and ctanh.
4777 * math/auto-libm-test-out: Regenerated.
4778 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4779 (TEST_COND_x86): Likewise.
4780 (ccos_test_data): Use AUTO_TESTS_c_c.
4781 (ccosh_test_data): Likewise.
4782 (cexp_test_data): Likewise.
4783 (clog_test_data): Likewise.
4784 (csqrt_test_data): Likewise.
4785 (ctan_test_data): Likewise.
4786 (ctan_tonearest_test_data): Likewise.
4787 (ctan_towardzero_test_data): Likewise.
4788 (ctan_downward_test_data): Likewise.
4789 (ctan_upward_test_data): Likewise.
4790 (ctanh_test_data): Likewise.
4791 (ctanh_tonearest_test_data): Likewise.
4792 (ctanh_towardzero_test_data): Likewise.
4793 (ctanh_downward_test_data): Likewise.
4794 (ctanh_upward_test_data): Likewise.
4795 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4796 mpc_c_c.
4797 (func_calc_desc): Add mpc_c_c union field.
4798 (FUNC_mpc_c_c): New macro.
4799 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4800 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4801 ctanh.
4802 (special_fill_min_subnorm_p120): New function.
4803 (special_real_inputs): Add min_subnorm_p120.
4804 (calc_generic_results): Handle mpc_c_c.
4805 * sysdeps/i386/fpu/libm-test-ulps: Update.
4806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4807
5ff8d60e
SP
48082013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4809
392dd2de
SP
4810 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4811 do_sin_slow): New functions.
4812 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4813 cslow2, csloww1, csloww2): Use the new functions.
4814
84ba214c
SP
4815 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4816 Use M to change sign of result instead of X. Assume X is
4817 positive.
4818 (csloww1): Likewise.
4819 (__sin): Adjust.
4820 (__cos): Adjust.
4821
975195e4
SP
4822 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4823 arguments A and DA.
4824 (__sin): Adjust.
4825 (__cos): Likewise.
4826
5ff8d60e
SP
4827 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4828 (__cos): Likewise.
4829 (sloww1): Don't adjust sign of DX.
4830 (csloww1): Likewise.
4831 (sloww2): Use X directly and don't adjust sign of DX.
4832 (csloww2): Likewise.
4833
eb983568
JM
48342013-12-19 Joseph Myers <joseph@codesourcery.com>
4835
64a17f1a
JM
4836 * math/auto-libm-test-in: Add tests of cabs and carg.
4837 * math/auto-libm-test-out: Regenerated.
4838 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4839 (carg_test_data): Likewise.
4840 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4841 mpc_c_f.
4842 (func_calc_desc): Add mpc_c_f union field.
4843 (test_functions): Add cabs and carg.
4844 (calc_generic_results): Handle mpc_c_f.
4845
eb983568
JM
4846 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4847 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4848 as a macro and a compat symbol.
4849 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4850 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4851 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4852 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4853 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4854 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4855 not use .hidden.
4856 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4857 Likewise.
4858 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4859 Likewise.
4860 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4861 Likewise.
4862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4863 Likewise.
4864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4865 Likewise.
4866 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4867 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4868 from GLIBC_2.3.2.
4869
6eeb678a
AZ
48702013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4871
4872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4873
6f6fc482
JM
48742013-12-19 Joseph Myers <joseph@codesourcery.com>
4875
21fea2e2
JM
4876 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4877 trailing whitespace removed.
4878 * scripts/config.guess: Update to version 2013-11-29.
4879 * scripts/config.sub: Update to version 2013-10-01.
4880
6f6fc482
JM
4881 * math/auto-libm-test-in: Add tests of sincos.
4882 * math/auto-libm-test-out: Regenerated.
4883 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4884 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4885 mpfr_f_11.
4886 (func_calc_desc): Add mpfr_f_11 union field.
4887 (test_functions): Add sincos.
4888 (calc_generic_results): Handle mpfr_f_11.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891
83f5c32d
AS
48922013-12-19 Andreas Schwab <schwab@suse.de>
4893
4894 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4895 CALL_MCOUNT.
4896 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4898 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4899
c688b419
JM
49002013-12-19 Joseph Myers <joseph@codesourcery.com>
4901
335ee092
JM
4902 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905
f88acd39
JM
4906 [BZ #16293]
4907 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4908 round-to-nearest mode when using frndint.
4909 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4910 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4912 Likewise.
4913 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4914 sinh test to fail.
4915 * math/auto-libm-test-out: Regenerated.
4916 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4917 (TEST_COND_x86): Likewise.
4918 (expm1_tonearest_test_data): New array.
4919 (expm1_test_tonearest): New function.
4920 (expm1_towardzero_test_data): New array.
4921 (expm1_test_towardzero): New function.
4922 (expm1_downward_test_data): New array.
4923 (expm1_test_downward): New function.
4924 (expm1_upward_test_data): New array.
4925 (expm1_test_upward): New function.
4926 (main): Run the new test functions.
4927 * sysdeps/i386/fpu/libm-test-ulps: Update.
4928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4929
c688b419
JM
4930 * include/features.h: Update comment documenting feature test
4931 macros. Mention _DEFAULT_SOURCE in comment.
4932 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4933 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4934 _BSD_SOURCE and _SVID_SOURCE.
4935 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4936 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4937 !_SVID_SOURCE]: Likewise.
4938 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4939 (__USE_POSIX_IMPLICITLY): Define.
4940 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4941 (_POSIX_SOURCE): Undefine and redefine.
4942 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4943 (_POSIX_C_SOURCE): Likewise.
4944 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4945 (Feature Test Macros): Update documentation of default features.
4946
9f6e964c
RS
49472013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4948
4949 * benchtests/Makefile: Add bench-strtok.
4950 * benchtests/bench-strtok.c: New file: strtok benchtest.
4951
ee0a148a
AM
49522013-12-19 Allan McRae <allan@archlinux.org>
4953
4954 * manual/install.texi: Suppress menu for plain text output.
4955 * INSTALL: Regenerated.
4956
b9ab448f
BM
49572013-12-18 Brooks Moses <bmoses@google.com>
4958
4959 [BZ #15846]
4960 * misc/getauxval.c: Include errno.h.
4961 (__getauxval): Set errno to ENOENT if the requested type is not
4962 found.
4963 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4964 don't declare with __attribute_const__.
4965 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4966 * manual/startup.texi: Document that getauxval sets errno.
4967
23776487
JM
49682013-12-18 Joseph Myers <joseph@codesourcery.com>
4969
f889953b
JM
4970 * math/auto-libm-test-in: Add tests of jn and yn.
4971 * math/auto-libm-test-out: Regenerated.
4972 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4973 (yn_test_data): Likewise.
4974 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4975 mpfr_if_f.
4976 (func_calc_desc): Add mpfr_if_f union field.
4977 (FUNC_mpfr_if_f): New macro.
4978 (test_functions): Add jn and yn.
4979 (calc_generic_results): Assert type of second input for
4980 mpfr_ff_f. Handle mpfr_if_f.
4981 (output_for_one_input_case): Disable all checking for arguments
4982 fitting floating-point types in case of an integer argument.
4983 * sysdeps/i386/fpu/libm-test-ulps: Update.
4984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4985
23776487
JM
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4987 Don't expect fegetround reference in libm.so.
4988
cb756c6d
MS
49892013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4990
4991 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4992 $(config-cflags-nofma).
4993
2dec468f
JM
49942013-12-18 Joseph Myers <joseph@codesourcery.com>
4995
5953eb3a
JM
4996 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4997 * math/auto-libm-test-out: Regenerated.
4998
2dec468f
JM
4999 [BZ #16338]
5000 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5001 to determine exponent and adjust argument to have exponent of -1.
5002 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5003 log2.
5004 * math/auto-libm-test-out: Regenerated.
5005 * sysdeps/i386/fpu/libm-test-ulps: Update.
5006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5007
4d84e6ad
OB
50082013-12-18 Ondřej Bílka <neleai@seznam.cz>
5009
5010 * manual/probes.texi: Remove cases when per-thread arenas are
5011 disabled.
5012
1818483b
AS
50132013-12-18 Andreas Schwab <schwab@suse.de>
5014
5015 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5016 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5017 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5018 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5019 * sysdeps/i386/i686/multiarch/Makefile: Update.
5020 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5021
25de95bf
JM
50222013-12-17 Joseph Myers <joseph@codesourcery.com>
5023
5024 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5025 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5026
674762d9
PE
50272013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5028
ed27ed83 5029 [BZ #15968]
0748546f
PE
5030 Support TZ transition times < 00:00:00.
5031 This is needed for version-3 tz-format files; it supports time
5032 stamps past 2037 for America/Godthab (the only entry in the tz
5033 database for which this change is relevant).
5034 * manual/time.texi (TZ Variable): Document transition times
5035 from -167:59:59 through -00:00:01.
5036 * time/tzset.c (tz_rule): Time of day is now signed.
5037 (__tzset_parse_tz): Parse negative time of day.
5038
4480e934
PE
5039 Document TZ transition times >= 25:00:00.
5040 * manual/time.texi (TZ Variable): Document transition times from
5041 25:00:00 through 167:59:59. These are already supported, and this
5042 support will help with version-3 tz-format files.
5043
69947401
PE
5044 * manual/time.texi (TZ Variable): Modernize North America example
5045 to reflect current (i.e., 2007-and-later) daylight saving rules.
5046
674762d9
PE
5047 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5048
7011c262
JM
50492013-12-17 Joseph Myers <joseph@codesourcery.com>
5050
2fc6557e
JM
5051 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5052 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5055 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5056 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5057 * sysdeps/unix/bsd/clock.c: Likewise.
5058 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5059 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5060 * sysdeps/unix/bsd/init-posix.c: Likewise.
5061 * sysdeps/unix/bsd/poll.c: Likewise.
5062 * sysdeps/unix/bsd/ptsname.c: Likewise.
5063 * sysdeps/unix/bsd/seekdir.c: Likewise.
5064 * sysdeps/unix/bsd/setegid.c: Likewise.
5065 * sysdeps/unix/bsd/seteuid.c: Likewise.
5066 * sysdeps/unix/bsd/setgid.c: Likewise.
5067 * sysdeps/unix/bsd/setrgid.c: Likewise.
5068 * sysdeps/unix/bsd/setruid.c: Likewise.
5069 * sysdeps/unix/bsd/setsid.c: Likewise.
5070 * sysdeps/unix/bsd/setuid.c: Likewise.
5071 * sysdeps/unix/bsd/sigaction.c: Likewise.
5072 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5073 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5074 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5075 * sysdeps/unix/bsd/telldir.c: Likewise.
5076 * sysdeps/unix/bsd/times.c: Likewise.
5077 * sysdeps/unix/bsd/usleep.c: Likewise.
5078
029c7b25
JM
5079 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5080 ($(objpfx)libbsd-compat.a): Remove rule.
5081
7011c262
JM
5082 * include/features.h (__FAVOR_BSD): Do not define.
5083 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5084 features conflicting with POSIX.
5085 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5086 (_BSD_SOURCE): Remove description of not being a subset of other
5087 feature test macros.
5088 * manual/job.texi (getpgrp): Do not document BSD version.
5089 (getpgid): Do not document by reference to BSD getpgrp.
5090 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5091 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5092 * signal/signal.h [__FAVOR_BSD]: Likewise.
5093 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5094 instead of making contents conditional on [__FAVOR_BSD].
5095 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5096
affb6f78
AZ
50972013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5098
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5100
c88769dd
JM
51012013-12-17 Joseph Myers <joseph@codesourcery.com>
5102
6432a540
JM
5103 [BZ #16314]
5104 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5105 values below 2**-450, not 2**-500.
5106 * math/auto-libm-test-in: Don't allow spurious underflow from
5107 hypot.
5108 * math/auto-libm-test-out: Regenerated.
5109
c88769dd
JM
5110 [BZ #16316]
5111 [BZ #16330]
5112 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5113 values of ha and hb and sort them after adjusting subnormal
5114 arguments.
5115 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5116 Likewise.
5117 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5118 values of ea and eb and sort them after adjusting subnormal
5119 arguments.
5120 * math/auto-libm-test-in: Do not expect some hypot tests of
5121 subnormals to fail. Add more hypot tests.
5122 * math/auto-libm-test-out: Regenerated.
5123
29618f6b
KK
51242013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5125
5126 [BZ #13304]
5127 * sysdeps/sh/s_fma.c: New file.
5128 * sysdeps/sh/s_fmaf.c: New file.
5129 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5130 version.
5131 * sysdeps/sh/Implies: Add sh/soft-fp.
5132
eacfdfbf
RM
51332013-12-16 Roland McGrath <roland@hack.frob.com>
5134
5135 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5136 level of indirection to members `objname', `errstring', `malloced'.
5137 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5138 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5139 it as the __longjmp argument (just pass 1 instead).
5140 (_dl_catch_error): Initialize C with argument pointers and address of
5141 volatile local ERRCODE rather than copying values out of C at return.
5142
ff362e5b
JM
51432013-12-16 Joseph Myers <joseph@codesourcery.com>
5144
5145 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5146 * math/auto-libm-test-out: Regenerated.
5147 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5148 (hypot_test_data): Likewise.
5149 (pow_test_data): Likewise.
5150 (pow_tonearest_test_data): Likewise.
5151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5152 mpfr_ff_f.
5153 (func_calc_desc): Add mpfr_ff_f union field.
5154 (FUNC_mpfr_ff_f): New macro.
5155 (test_functions): Add atan2, hypot and pow.
5156 (special_fill_min): New function.
5157 (special_fill_minus_min): Likewise.
5158 (special_fill_min_subnorm): Likewise.
5159 (special_fill_minus_min_subnorm): Likewise.
5160 (special_real_inputs): Add min, -min, min_subnorm and
5161 -min_subnorm.
5162 (calc_generic_results): Handle mpfr_ff_f.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5165
5764c27f
WN
51662013-12-16 Will Newton <will.newton@linaro.org>
5167
5168 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5169 (Aligned Memory Blocks): Add documentation for aligned_alloc
5170 and suggest it as an alternative to posix_memalign.
5171 (Hooks for Malloc): Document __memalign_hook is also called
5172 for aligned_alloc. (Summary of Malloc): Add summary for
5173 aligned alloc. Document __memalign_hook is also called
5174 for aligned_alloc.
5175
0a096e44
WN
51762013-12-16 Will Newton <will.newton@linaro.org>
5177
5178 * manual/memory.texi (Malloc Examples): Clarify default
5179 alignment documentation. Suggest posix_memalign rather
5180 than memalign or valloc.
5181 (Aligned Memory Blocks): Remove suggestion to use memalign
5182 or valloc. Remove obsolete comment about BSD.
5183 Document memalign errno values and mark the function obsolete.
5184 Document posix_memalign returned error codes. Mark valloc
5185 as obsolete. (Hooks for Malloc): __memalign_hook is also
5186 called for posix_memalign and valloc.
5187 (Summary of Malloc): Add posix_memalign to function summary.
5188 __memalign_hook is also called for posix_memalign and valloc.
5189
8d561986
SP
51902013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5191
5192 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5193 TAYLOR_SIN.
5194 (__sin): Adjust.
5195 (__cos): Likewise.
5196 (sloww): Use mynumber union. Expand ternary operator into
5197 if-else statements.
5198 (cslow): use mynumber union.
5199
73616a74
AM
52002013-12-16 Allan McRae <allan@archlinux.org>
5201
9e8ac24b
AM
5202 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5203 * configure: Regenerated.
5204
6f8e37eb
AM
5205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5206
8894bad3
AM
5207 [BZ #14120]
5208 * configure.ac: Added --enable-maintainer-mode. Check for
5209 autoconf when enabled.
5210 * configure: Regenerated.
5211
73616a74
AM
5212 * nscd/nscd.service: New file.
5213 * nscd/nscd.tmpfiles: New file.
5214
584b18eb
OB
52152013-12-14 Ondřej Bílka <neleai@seznam.cz>
5216
5217 [BZ #12100]
5218 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5219 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5220 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5221 (strstr): Add __strstr_sse2_unaligned ifunc.
5222 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5223 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5224 (strcasestr): Remove __strcasestr_sse42 ifunc.
5225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5228
8a5c7897
KK
52292013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5230
5231 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5232 * sysdeps/sh/bits/fenv.h: ... here.
5233 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5234
fd712ef3
AZ
52352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236
5237 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5238
42fcb46c
AZ
52392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5240
5241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5242 hypotf multiarch implementations.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5246 multiarch hypot for PPC64.
5247 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5250 multiarch hypotf for PPC64.
5251
83efded4
AZ
52522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5253
5254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5255 modff multiarch implementations.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5259 multiarch modf for PPC64.
5260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5263 multiarch modff for PPC64.
5264
43e246d2
AZ
52652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5268 and logl multiarch implementations.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5272 multiarch logb for PPC64.
5273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5276 multiarch logb for PPC64.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5280 multiarch logb for PPC64.
5281
8fdad123
AZ
52822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5285 isinff multiarch implementation.
5286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5287 file.
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5290 multiarch isinf for PPC64.
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5292 file.
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5294 multiarch isinff for PPC64.
5295
1481d706
AZ
52962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5299 finitef multiarch implementation.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5301 file.
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5304 multiarch finite for PPC64.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5306 file.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5308 multiarch finitef for PPC64.
5309
5ccd5fc8
AZ
53102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5311
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5313 lrint multiarch implementation.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5315 file.
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5318 multiarch llrint for PPC64.
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5320 multiarch lrint for PPC64.
5321
2568f3fa
AZ
53222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5323
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5325 copysignf multiarch implementation.
5326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5327 file.
5328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5329 file.
5330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5331 multiarch copysign for PPC64.
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5333 multiarch copysignf for PPC64.
5334
1cb341fd
AZ
53352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5338 multiarch implementation.
5339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5340 file.
5341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5342 file.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5344 file.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5346 file.
5347 multiarch llround for PPC64.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5349 multiarch trunc for PPC64.
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5351 multiarch truncf for PPC64.
5352
59a3e194
AZ
53532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5356 multiarch implementation.
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5358 file.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5360 file.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5362 file.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5364 file.
5365 multiarch llround for PPC64.
5366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5367 multiarch round for PPC64.
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5369 multiarch roundf for PPC64.
5370
357fd3b4
AZ
53712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372
5373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5374 multiarch implementation.
5375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5376 file.
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5378 file.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5380 file.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5382 file.
5383 multiarch llround for PPC64.
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5385 multiarch floor for PPC64.
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5387 multiarch floorf for PPC64.
5388
96770f12
AZ
53892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5390
5391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5392 multiarch implementation.
5393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5394 file.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5396 file.
5397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5398 file.
5399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5400 file.
5401 multiarch llround for PPC64.
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5403 multiarch ceil for PPC64.
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5405 multiarch ceilf for PPC64.
5406
c3627f6e
AZ
54072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408
5409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5410 multiarch implementation.
5411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5412 file.
5413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5414 file.
5415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5416 file.
5417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5418 multiarch llround for PPC64.
5419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5420 multiarch lround for PPC64.
5421
b2284ad7
AZ
54222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5423
5424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5425 multiarch implementation.
5426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5429 file.
5430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5433 multiarch isnan for PPC64.
5434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5435 multiarch isnanf for PPC64.
5436
69bbc63d
AZ
54372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5438
5439 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5440 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5441 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5442 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5443 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5445
c24517c9
AZ
54462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5447
5448 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5449 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5452
a52374e8
AZ
54532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5454
5455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5456 multiarch implementations.
5457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5458 (__libc_ifunc_impl_list): Likewise.
5459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5460 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5461 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5462 multiarch stpcpy for PPC64.
5463
7f5ec113
AZ
54642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465
5466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5467 multiarch implementations.
5468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5469 (__libc_ifunc_impl_list): Likewise.
5470 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5471 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5472 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5473 multiarch strcpy for PPC64.
5474
e28bcd42
AZ
54752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5476
5477 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5478 redefine function name.
5479 (_wordcopy_fwd_dest_aligned): Likewise.
5480 (_wordcopy_bwd_aligned): Likewise.
5481 (_wordcopy_bwd_dest_aligned): Likewise.
5482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5483 multiarch implementations.
5484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5489 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5490 multiarch wcscpy for PPC64.
5491
92cacfce
AZ
54922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5495 multiarch implementations.
5496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5497 (__libc_ifunc_impl_list): Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5499 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5500 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5502 multiarch wcscpy for PPC64.
5503
7b714620
AZ
55042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5505
5506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5507 multiarch implementations.
5508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5509 (__libc_ifunc_impl_list): Likewise.
5510 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5511 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5514 multiarch wcsrchr for PPC64.
5515
16fd2ae3
AZ
55162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5517
5518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5519 multiarch implementations.
5520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5521 (__libc_ifunc_impl_list): Likewise.
5522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5525 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5526 multiarch wcschr for PPC64.
5527
9ee2969b
AZ
55282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5529
5530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5531 multiarch implementations.
5532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5533 (__libc_ifunc_impl_list): Likewise.
5534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5536 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5537 multiarch strchrnul for PPC64.
5538
372dc060
AZ
55392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540
5541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5542 implementations.
5543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5544 (__libc_ifunc_impl_list): Likewise.
5545 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5546 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5547 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5548 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5549 strchr for PPC64.
5550
24c2c3b9
AZ
55512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5554 implementations.
5555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5556 (__libc_ifunc_impl_list): Likewise.
5557 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5559 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5560 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5561 strncmp for PPC64.
5562
1c92d9a0
AZ
55632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5564
5565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5566 multiarch implementations.
5567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5568 (__libc_ifunc_impl_list): Likewise.
5569 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5570 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5571 strncasecmp for PPC64.
5572 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5573 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5574 multiarch strncasecmp_l for PPC64.
5575
17de3ee3
AZ
55762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5579 multiarch implementations.
5580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5581 (__libc_ifunc_impl_list): Likewise.
5582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5584 multiarch strcasecmp for PPC64.
5585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5586 file.
5587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5588 multiarch strcasecmp_l for PPC64.
5589
62982bf9
AZ
55902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591
5592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5593 implementations.
5594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5595 (__libc_ifunc_impl_list): Likewise.
5596 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5598 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5599 strnlen for PPC64.
5600
a65f4904
AZ
56012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5602
5603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5604 implementations.
5605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5606 (__libc_ifunc_impl_list): Likewise.
5607 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5608 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5609 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5610 strlen for PPC64.
5611
1fd005ad
AZ
56122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5613
5614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5615 implementations.
5616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5617 (__libc_ifunc_impl_list): Likewise.
5618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5619 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5620 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5621 rawmemrchr for PPC64.
5622
cd05ba91
AZ
56232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5624
5625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5626 implementation.
5627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5628 (__libc_ifunc_impl_list): Likewise.
5629 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5630 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5631 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5632 memrchr for PPC64.
5633
870f8676
AZ
56342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635
5636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5637 implementation.
5638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5639 (__libc_ifunc_impl_list): Likewise.
5640 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5641 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5642 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5643 memchr for PPC64.
5644
f00be62b
AZ
56452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5646
5647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5648 implementation.
5649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5650 (__libc_ifunc_impl_list): Likewise.
5651 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5652 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5653 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5654 mempcpy for PPC64.
5655
8a29a3d0
AZ
56562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5657
5658 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5659 avoid cretion of __bzero symbol.
5660 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5661 Likewise.
5662 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5663 Likewise.
5664 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5665 Likewise.
5666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5667 multiarch implementations.
5668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5669 (__libc_ifunc_impl_list): Likewise.
5670 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5671 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5672 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5673 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5674 bzero for PPC32.
5675 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5676 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5677 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5679 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5680 memset for PPC64.
5681 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5682
07253fcf
AZ
56832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5687 implementations.
5688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5689 (__libc_ifunc_impl_list): Likewise.
5690 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5691 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5692 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5693 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5694 memcmp for PPC64.
5695
b5beafbc
AZ
56962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5697
5698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5699 multiarch for POWER/PPC64.
5700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5701 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5708 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5709 memcpy for PPC64.
5710
5e6a4d4b
AZ
57112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5712
5713 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5714 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5715 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5716 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5717 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5718 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5719 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5720 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5721 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5722 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5723 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5724 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5725 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5726 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5727 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5735
ddfab6dc
KK
57362013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5737
5738 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5739
19b5525e
SP
57402013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5741
5742 * benchtests/Makefile (bench): Add exp2 and log2.
5743 (LDLIBS-bench-exp2): Add -lm.
5744 (LDLIBS-bench-log2): Likewise.
5745 * benchtests/exp2-inputs: New inputs file.
5746 * benchtests/log2-inputs: New inputs file.
5747 * benchtests/log-inputs: Add new inputs.
5748 * benchtests/tan-inputs: Likewise.
5749
196f7f5d
SP
57502013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5751
7a74607f
SP
5752 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5753 definition...
5754 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5755 csloww1, csloww2): ... from here.
5756
196f7f5d
SP
5757 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5758 instead of structures.
5759 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5760 (POLYNOMIAL): Likewise.
5761 (TAYLOR_SLOW): Likewise.
5762 (__sin): Likewise.
5763 (__cos): Likewise.
5764 (slow1): Likewise.
5765 (slow2): Likewise.
5766 (sloww): Likewise.
5767 (sloww1); Likewise.
5768 (sloww2): Likewise.
5769 (bsloww1): Likewise.
5770 (bsloww2): Likewise.
5771 (cslow2): Likewise.
5772 (csloww): Likewise.
5773 (csloww1): Likewise.
5774 (csloww2): Likewise.
5775
0dfa665c
OB
57762013-12-10 Ondřej Bílka <neleai@seznam.cz>
5777
5778 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5779 (__malloc_assert, __libc_realloc, __libc_calloc,
5780 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5781 memcpy and memset.
5782 * malloc/hooks.c (realloc_check): Likewise.
5783
5782a80f
OB
57842013-12-10 Ondřej Bílka <neleai@seznam.cz>
5785
5786 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5787 * malloc/arena.c: Remove PER_THREAD conditional.
5788 [!PER_THREAD]: Remove code.
5789 (ptmalloc_unlock_all2): Likewise.
5790 (ptmalloc_init): Likewise.
5791 (_int_new_arena): Likewise.
5792 (arena_get2): Likewise.
5793 * malloc/hooks.c (__malloc_get_state): Likewise.
5794 (__malloc_set_state): Likewise.
5795 * malloc/malloc.c: Likewise.
5796 (struct malloc_state): Likewise.
5797 (struct malloc_par): Likewise.
5798 (__libc_realloc): Likewise.
5799 (__libc_mallopt): Likewise.
5800
aeb95445
AZ
58012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802
5803 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5804
e8349efd
OB
58052013-12-09 Ondřej Bílka <neleai@seznam.cz>
5806
5807 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5808 macro to a function. Check for zero perturb_byte.
5809 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5810
f3eeb3fc
OB
58112013-12-09 Ondřej Bílka <neleai@seznam.cz>
5812
5813 * malloc/malloc.c: (force_reg): Remove.
5814 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5815 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5816 force_reg by atomic_forced_read.
5817 * malloc/arena.c (ptmalloc_init): Likewise.
5818 * malloc/hooks.c (top_check): Likewise.
5819
be2f9009
AZ
58202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5823
e7b914bd
MT
58242013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5825
5826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5827
9f0be4f8
JM
58282013-12-08 Joseph Myers <joseph@codesourcery.com>
5829
5830 * math/auto-libm-test-in: Add tests of lgamma.
5831 * math/auto-libm-test-out: Regenerated.
5832 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5833 (M_LOG_2_SQRT_PIl): Likewise.
5834 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5836 mpfr_f_f1.
5837 (func_calc_desc): Add mpfr_f_f1 union field.
5838 (ARGS1): New macro.
5839 (ARGS2): Likewise.
5840 (ARGS3): Likewise.
5841 (ARGS4): Likewise.
5842 (RET1): Likewise.
5843 (RET2): Likewise.
5844 (CALC): Likewise.
5845 (FUNC): Likewise.
5846 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5847 (test_functions): Add lgamma.
5848 (calc_generic_results): Handle mpfr_f_f1.
5849 * sysdeps/i386/fpu/libm-test-ulps: Update.
5850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851
24eeafdb
AZ
58522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5853
5854 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5855 __mpn_add_n for PowerPC64/POWER7.
5856 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5857 __mpn_sub_n for PowerPC64/POWER7.
5858
4a2c0fd4
AZ
58592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5860
5861 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5862 __mpn_addmul_1 for PowerPC64.
5863 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5864 __mpn_submul_1 for PowerPC64.
5865 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5866 for PowerPC64.
5867 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5868 for PowerPC64.
5869
4b5b548c
FS
58702013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5871
5872 [BZ #15089]
5873 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5874
0a3ac0aa
AZ
58752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876
5877 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5878
ccdc8438
AZ
58792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5880
5881 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5882 add multiarch folders.
5883 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5884 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5885 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5886 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5887 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5888 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5889 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5890 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5891 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5892 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5893 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5900
2e973d99
AZ
59012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5902
5903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5904 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5906 New file.
5907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5908 New file.
5909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5910 multiarch __ieee754_hypot for PowerPC32.
5911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5912 New file.
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5914 New file.
5915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5916 multiarch __ieee754_hypotf for PowerPC32.
5917
2d9470b2
AZ
59182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5919
5920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5921 long_double_symbol only if __logbl is defined.
5922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5923 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5925 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5927 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5928 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5929 path for implementation.
5930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5933 logb, and logbl multiarch implementations for PowerPC32.
5934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5935 file.
5936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5937 file.
5938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5939 multiarch logb for PowerPC32.
5940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5941 file.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5943 file.
5944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5945 multiarch logbf for PowerPC32.
5946 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5948 file.
5949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5950 multiarch logbl implementation for PowerPC32.
5951
5212ffce
AZ
59522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5953
5954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5955 and modff multiarch implementations.
5956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5957 New file.
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5959 New file.
5960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5961 multiarch modf for PowerPC32.
5962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5963 New file.
5964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5965 New file.
5966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5967 multiarch modff for PowerPC32.
5968
79dccf31
AZ
59692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5970
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5972 and lrintf multiarch implementations.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5974 New file.
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5976 New file.
5977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5978 multiarch lrint for PowerPC32.
5979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5980 file: multiarch lrintf for PowerPC32.
5981
deb66480
AZ
59822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5983
5984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5985 and lroundf multiarch implementations.
5986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5987 New file.
5988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5989 New file.
5990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5991 New file.
5992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5993 multiarch lround for PowerPC32.
5994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5995 file: multiarch lroundf for PowerPC32.
5996
264b036b
AZ
59972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5998
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6000 copysign and copysignf multiarch implementations.
6001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6002 New file.
6003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6004 New file.
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6006 file: multiarch copysign for PowerPC32.
6007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6008 file: multiarch copysignf for PowerPC32.
6009
d47db6c9
AZ
60102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011
6012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6013 and truncf multiarch implementations.
6014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6015 New file.
6016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6017 file.
6018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6019 multiarch trunc for PowerPC32.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6021 New file.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6023 New file.
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6025 multiarch truncf for PowerPC32.
6026
ddb60b5a
AZ
60272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6028
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6030 and roundf multiarch implementations.
6031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6032 New file.
6033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6034 file.
6035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6036 multiarch round for PowerPC32.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6038 New file.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6040 New file.
6041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6042 multiarch roundf for PowerPC32.
6043
bedcf49b
AZ
60442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6045
6046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6047 and floorf multiarch implementations.
6048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6049 New file.
6050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6051 file.
6052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6053 multiarch floor for PowerPC32.
6054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6055 New file.
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6057 New file.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6059 multiarch floorf for PowerPC32.
6060
35ae5b40
AZ
60612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6064 and ceilf multiarch implementations.
6065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6066 New file.
6067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6068 file.
6069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6070 multiarch ceil for PowerPC32.
6071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6072 New file.
6073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6074 file.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6076 multiarch ceilf for PowerPC32.
6077
ae1a4cd9
AZ
60782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079
6080 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6081 is defined.
6082 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6083 FINITEF is defined.
6084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6085 and finitef multiarch implementations.
6086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6087 New file.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6089 file.
6090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6091 multiarch finite for PowerPC32.
6092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6093 New file.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6095 file: multiarch finitef for PowerPC32.
6096
64fffd65
AZ
60972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6098
6099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6100 and isinff multiarch implementations.
6101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6102 file.
6103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6104 file.
6105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6106 multiarch isinf for PowerPC32.
6107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6108 New file.
6109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6110 multiarch isinff for PowerPC32.
6111
8e4e7ba2
AZ
61122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113
6114 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6115 alias when __isnan is defined.
6116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6117 and isnanf multiarch implementations.
6118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6119 file.
6120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6121 file.
6122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6123 file.
6124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6125 file.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6127 multiarch isnan for PowerPC32.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6129 New file.
6130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6131 New file.
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6133 multiarch isnanf for PowerPC32.
6134
ddba588e
AZ
61352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6136
6137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6138 and sqrtf multiarch implementations.
6139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6140 file.
6141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6142 file.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6144 multiarch sqrt for PowerPC32.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6146 file.
6147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6148 file.
6149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6150 multiarch sqrtf for PowerPC32.
6151
0f96a2f0
AZ
61522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6155 and llroundf multiarch implementations.
6156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6157 New file.
6158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6159 New file.
6160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6161 New file.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6163 file: multiarch llround for PowerPC32.
6164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6165 file: multiarch llroundf for PowerPC32.
6166
c9b5d79e
AZ
61672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6168
6169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6170 multiarch PowerPC32 fpu implementations.
6171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6172 New file.
6173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6174 New file.
6175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6176 multiarch llrint for PowerPC32.
6177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6178 New file.
6179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6180 New file.
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6182 file.
6183
9cbb3aab
AZ
61842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6187
ea5a72f8
AZ
61882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189
6190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6191 file.
6192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6193 file.
6194 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6195 file.
6196 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6197 multiarch wordcopy for PPC32.
6198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6199 wordcopy objects.
6200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6201 (__libc_ifunc_impl_list): Likewise.
6202 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6203 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6204 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6205 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6206 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6207 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6208
93be09e7
AZ
62092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210
6211 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6213 file.
6214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6215 file.
6216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6217 file.
6218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6219 multiarch wcscpy for PPC32.
6220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6221 multiarch objects.
6222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6223 (__libc_ifunc_impl_list): Likewise.
6224 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6225 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6226 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6227 sysdeps/powerpc/power6/wcscpy.c.
6228
bb04e529
AZ
62292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6230
6231 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6233 file.
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6235 file.
6236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6237 file.
6238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6239 multiarch wcsrchr for PPC32.
6240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6241 multiarch objects.
6242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6243 (__libc_ifunc_impl_list): Likewise.
6244 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6245 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6246 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6247 sysdeps/powerpc/power6/wcsrchr.c.
6248
05b5cd1c
AZ
62492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6250
6251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6252 file.
6253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6254 file.
6255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6257 multiarch wcschr for PPc32.
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6259 multiarch objects.
6260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6261 (__libc_ifunc_impl_list): Likewise.
6262 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6263 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6264 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6265 sysdeps/powerpc/power6/wcschr.c.
6266
ba964147
AZ
62672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6271 file.
6272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6273 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6274 file: multiarch strchr for PPC32.
6275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6276 multiarch objects.
6277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6278 (__libc_ifunc_impl_list): Likewise.
6279
31c81aaa
AZ
62802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
6282 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6283 name.
6284 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6285 file.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6287 file.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6289 multiarch strchrnul for PPC32.
6290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6291 multiarch objects.
6292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6293 (__libc_ifunc_impl_list): Likewise.
6294
0d0607d9
AZ
62952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6296
6297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6298 file.
6299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6300 multiarch strncasecmp for PPC32.
6301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6302 file.
6303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6304 multiarch strncasecmp_l for PPC32.
6305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6306 strncasecmp multiarch objects.
6307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6308 (__libc_ifunc_impl_list): Likewise.
6309
4dfd5c86
AZ
63102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6311
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6313 file.
6314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6315 multiarch strncasecmp for PPC32.
6316 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6317 New file.
6318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6319 multiarch strcasecmp_l for PPC32.
6320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6321 multiarch objects.
6322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6323 (__libc_ifunc_impl_list): Likewise.
6324
a19e01a3
AZ
63252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6328 file.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6330 file.
6331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6332 multiarch strncmp for PPC32.
6333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6334 multiarch objects.
6335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6336 (__libc_ifunc_impl_list): Likewise.
6337
ae9cf7a2
AZ
63382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6341 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6342 file.
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6344 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6346 multiarch objects.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6348 (__libc_ifunc_impl_list): Likewise.
6349
3148bb7d
AZ
63502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351
6352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6353 file.
6354 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6355 file.
6356 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6358 multiarch objects.
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6360 (__libc_ifunc_impl_list): Likewise.
6361
7af8b946
AZ
63622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363
6364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6365 file.
6366 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6367 file.
6368 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6369 multiarch rawmemchr for PPC32.
6370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6371 multiarch objects.
6372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6373 (__libc_ifunc_impl_list): Likewise.
6374
03a6aa6a
AZ
63752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6378 file.
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6380 file.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6382 file: memrchr multiarch for PPC32.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6384 multiarch objects.
6385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6386 (__libc_ifunc_impl_list): Likewise.
6387
1c62e6d9
AZ
63882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6389
6390 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6392 file.
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6395 multiarch memchr for PPC32.
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6397 multiarch objects.
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6399 (__libc_ifunc_impl_list): Likewise.
6400
87da8bdb
AZ
64012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6402
6403 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6405 file.
6406 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6407 file.
6408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6409 file: multiarch mempcpy for PPC32.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6411 multiarch objects.
6412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6413 (__libc_ifunc_impl_list): Likewise.
6414
20ed4714
AZ
64152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6418 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6420 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6421 multiarch bzero for PPC32.
6422 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6423 file.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6425 file.
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6427 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6428 file: multiarch memset for PPC32.
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6431 memset multiarch objects.
6432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6433 (__libc_ifunc_impl_list): Likewise.
6434
ab3e3a46
AZ
64352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6436
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6438 file.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6441 memcmp for PPC32.
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6444 multiarch objects.
6445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6446 (__libc_ifunc_impl_list): Likewise.
6447
930de6f0
AZ
64482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6449
6450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6453 file.
6454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6455 file.
6456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6457 file.
6458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6459 multiarch memcpy for PPC32.
6460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6461 multiarch objects.
6462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6463 (__libc_ifunc_impl_list): Likewise.
6464
4c628e00
AZ
64652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6466
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6468 support multiarch for POWER/PPC32.
6469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6470 Likewise.
6471 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6473 Implies file to make multiarch folder appers before the fpu and
6474 default folder for power4 configuration.
6475
f4479220
SP
64762013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6477
6478 * scripts/bench.pl: Append volatile keyword to type.
6479
8517800f
KK
64802013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6481
6482 * sysdeps/sh/sotruss-lib.c: New file.
6483 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6484
180138f1
AZ
64852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6486
6487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6488
bbf37bdc
JM
64892013-12-05 Joseph Myers <joseph@codesourcery.com>
6490
e47cc4e0
JM
6491 [BZ #6810]
6492 * math/w_tgamma.c: Include <errno.h>.
6493 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6494 * math/w_tgammaf.c: Include <errno.h>.
6495 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6496 * math/w_tgammal.c: Include <errno.h>.
6497 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6498 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6499 underflow. Add more tgamma tests.
6500 * math/auto-libm-test-out: Regenerated.
6501 * sysdeps/i386/fpu/libm-test-ulps: Update.
6502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6503
bbf37bdc
JM
6504 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6505 sin, sinh, tan, tanh, tgamma, y0 and y1.
6506 * math/auto-libm-test-out: Regenerated.
6507 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6508 (TEST_COND_x86): Likewise.
6509 (M_E2l): Remove macro.
6510 (M_E3l): Likewise.
6511 (M_2_SQRT_PIl): Likewise.
6512 (M_SQRT_PIl): Likewise.
6513 (M_1_DIV_El): Likewise.
6514 (log_test_data): Use AUTO_TESTS_f_f.
6515 (log10_test_data): Likewise.
6516 (log1p_test_data): Likewise.
6517 (log2_test_data): Likewise.
6518 (sin_test_data): Likewise.
6519 (sin_tonearest_test_data): Likewise.
6520 (sin_towardzero_test_data): Likewise.
6521 (sin_downward_test_data): Likewise.
6522 (sin_upward_test_data): Likewise.
6523 (sinh_test_data): Likewise.
6524 (sinh_tonearest_test_data): Likewise.
6525 (sinh_towardzero_test_data): Likewise.
6526 (sinh_downward_test_data): Likewise.
6527 (sinh_upward_test_data): Likewise.
6528 (tan_test_data): Likewise.
6529 (tan_tonearest_test_data): Likewise.
6530 (tan_towardzero_test_data): Likewise.
6531 (tan_downward_test_data): Likewise.
6532 (tan_upward_test_data): Likewise.
6533 (tanh_test_data): Likewise.
6534 (tgamma_test_data): Likewise.
6535 (y0_test_data): Likewise.
6536 (y1_test_data): Likewise.
6537 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6538 (special_real_inputs): Add pi/4.
6539 * sysdeps/i386/fpu/libm-test-ulps: Update.
6540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6541
eb5ad6b9
AZ
65422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6543
6544 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6545 "longjmp_target" static probes.
6546 (__longjmp): Rename to __longjmp_symbol.
6547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6548 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6549 on which longjmp to generate.
6550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6552 probe.
6553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6554 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6556 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6557 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6558 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6560 __longjmp_symbol based on which __longjmp to generate.
6561 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6562 probe.
6563 (setjmp): Rename to setjmp_symbol.
6564 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6565 (_setjmp): Rename to _setjmp_symbol.
6566 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6567 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6568 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6569 which setjmp to generate.
6570 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6571 "longjmp_target" static probes.
6572
d136c6dc
SP
65732013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
9298ecba
SP
6575 * benchtests/README: Add note about output arguments.
6576 * benchtests/bench-sincos.c: Remove file.
6577 * benchtests/sincos-inputs: New file.
6578 * scripts/bench.pl: Identify output arguments and define
6579 static variables for them.
6580
232983e9
SP
6581 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6582
d136c6dc
SP
6583 [BZ #15941]
6584 * Makefile (INSTALL): Add install-plain.texi as the primary
6585 dependency.
6586 * manual/install-plain.texi: New file.
6587 * manual/install.texi: Include node directive only for
6588 non-plaintext output.
6589
699ff837
JM
65902013-12-04 Joseph Myers <joseph@codesourcery.com>
6591
ab07cea8
JM
6592 * stdlib/longlong.h: Update from GCC.
6593
699ff837
JM
6594 [BZ #6807]
6595 [BZ #15901]
6596 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6597 * math/w_j0f.c (y0f): Likewise.
6598 * math/w_j0l.c (__y0l): Likewise.
6599 * math/w_j1.c (y1): Likewise.
6600 * math/w_j1f.c (y1f): Likewise.
6601 * math/w_j1l.c (__y1l): Likewise
6602 * math/w_jn.c (yn): Likewise.
6603 * math/w_jnf.c (ynf): Likewise.
6604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6605 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6606 value for Bessel function domain errors outside _SVID_ mode.
6607 Adjust sign of return value for yn (negative integer, 0).
6608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6609 by zero in return for negative x and set sign appropriately for
6610 negative n.
6611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6612 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6613 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6614 expectations in error cases.
6615 (y1_test_data): Likewise.
6616 (yn_test_data): Likewise.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update.
6618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6619
5b118558
UW
66202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6621
6622 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6623 "64" to "64-v1". Add "64-v2".
6624 (abi-64-options): Rename to ...
6625 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6626 (abi-64-condition): Rename to ...
6627 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6628 (abi-64-ld-soname): Rename to ...
6629 (abi-64-v1-ld-soname): ... this.
6630 (abi-64-v2-options): Define.
6631 (abi-64-v2-condition): Likewise.
6632 (abi-64-v2-ld-soname): Likewise.
6633 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6634 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6638
61cd8fe4
UW
66392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6640 Alan Modra <amodra@gmail.com>
6641
6642 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6643 New versions for use with the ELFv2 ABI.
6644 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6645 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6646 declaration.
6647 (struct La_ppc64v2_retval): Likewise.
6648 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6649 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6650 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6651 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6652 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6654 Do not save or restore CR.
6655 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6656 (_dl_profile_resolve): Do no save or restore CR. Support extended
6657 return values for ELFv2 ABI. Fix location of FPR return registers.
6658 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6659 updated values for _CALL_ELF == 2.
6660 (La_regs, La_retval, int_retval): Likewise.
6661
8b8a692c
UW
66622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6663
6664 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6665 (FRAME_MIN_SIZE_PARM): Likewise.
6666 (FRAME_BACKCHAIN): Likewise.
6667 (FRAME_CR_SAVE): Likewise.
6668 (FRAME_LR_SAVE): Likewise.
6669 (FRAME_TOC_SAVE): Likewise.
6670 (FRAME_PARM_SAVE): Likewise.
6671 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6672 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6673 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6674 (call_mcount_parm_offset): New macro.
6675 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6676 (PROF): Use symbolic stack frame offsets.
6677 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6679 Redefine in terms of FRAME_MIN_SIZE.
6680 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6681 (_dl_profile_resolve): Likewise. Update comment.
6682 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6683 symbols stack frame offsets.
6684 (__sigsetjmp): Likewise.
6685 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6686 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6687 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6688 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6689
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6691 (FRAME_BACKCHAIN): Remove.
6692 (FRAME_CR_SAVE): Likewise.
6693 (FRAME_LR_SAVE): Likewise.
6694 (FRAME_COMPILER_DW): Likewise.
6695 (FRAME_LINKER_DW): Likewise.
6696 (FRAME_TOC_SAVE): Likewise.
6697 (FRAME_PARM_SAVE): Likewise.
6698 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6699 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6700 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6702 (CHECK_SP): Use symbolic stack frame offsets.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6704 zone" instead of caller's parameter save area for temp storage.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6706 Likewise. Also, use symbolic stack frame offsets.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6708 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6709 our own stack frame instead of the caller's.
6710 (__socket): Use symbolic stack frame offsets.
6711
122b66de
UW
67122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6713 Alan Modra <amodra@gmail.com>
6714
6715 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6716 Define.
6717 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6718 PPC64_LOCAL_ENTRY_OFFSET): Define.
6719 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6720 New function.
6721 (elf_machine_fixup_plt): Call it.
6722 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6723 reloc arguments.
6724 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6725 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6726 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6727 r2 before calling target.
6728
696caf1d
UW
67292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6730 Alan Modra <amodra@gmail.com>
6731
6732 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6733 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6734 versions of macros to support ELFv2 ABI.
6735 (LOCALENTRY): New macro.
6736 (ENTRY, EALIGN): Use it.
6737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6738 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6739 fall through into ENTRY entry point.
6740 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6741 Only define if _CALL_ELF != 2.
6742
6743 (elf_machine_matches_host): Verify ABI version matches.
6744 (RTLD_START): Use LOCALENTRY.
6745 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6746 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6747 (PLT_ENTRY_WORDS): New macro.
6748 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6749 (elf_machine_runtime_setup): Support ELFv2 ABI.
6750 (elf_machine_fixup_plt): Likewise.
6751 (elf_machine_plt_conflict): Likewise.
6752 (resolve_ifunc): Likewise.
6753 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6755 Likewise.
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6757 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6759 (makecontext): Support ELFv2 ABI.
6760 * elf/elf.h (EF_PPC64_ABI): Define.
6761
d31beafa
UW
67622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6763
6764 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6765 New assembler macro.
6766 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6767 [ASSEMBLER] (ENTRY): ... but instead here ...
6768 [ASSEMBLER] (EALIGN): ... and here.
6769 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6770 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6771 [!ASSEMBLER] (ENTRY_2): Use it.
6772 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6773 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6775 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6776 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6778 Use PPC64_LOAD_FUNCPTR.
6779
b525166b
UW
67802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6781
6782 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6783
7ec07d9a
AM
67842013-12-04 Alan Modra <amodra@gmail.com>
6785
6786 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6787 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6788 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6789 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6790
6791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6792 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6793 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6794 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6795 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6796 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6797
5162e7dd
UW
67982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6799
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6801 (__makecontext): Fix incorrect CFI when backtracing out of
6802 context created via makecontext.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6804 (__setcontext): Fix incorrect CFI during switch to new context.
6805 (__novec_setcontext): Likewise.
6806
19e3372b
OB
68072013-12-04 Ondřej Bílka <neleai@seznam.cz>
6808
6809 [BZ #4772]
6810 * time/strptime_l.c (__strptime_internal): Allow modifiers
6811 in strptime.
6812 * time/tst-strptime.c (day_tests): Add testcase.
6813
6814
ecaf142d
SP
68152013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6816
6817 * scripts/bench.pl: Skip over blank lines.
6818
fbf964ae
PE
68192013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6820
6821 [BZ #926]
6822 * manual/time.texi (Calendar Time): Clarify what timezone functions
6823 use.
6824
fa60a674
AZ
68252013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826
6827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6828
d674f0ef
OB
68292013-12-04 Ondřej Bílka <neleai@seznam.cz>
6830
6831 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6832 implementation.
6833 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6834 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6835 * debug/memset_chk.c (__memset_chk): Likewise.
6836 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6837 * debug/strncpy_chk.c: Likewise.
6838
17dea188
JM
68392013-12-03 Joseph Myers <joseph@codesourcery.com>
6840
749008ff
JM
6841 [BZ #15268]
6842 [BZ #15425]
6843 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6844 (__ieee754_exp): For possibly underflowing results, check size of
6845 result and force underflow exception if required.
6846 * math/auto-libm-test-in: Add more tests of exp.
6847 * math/auto-libm-test-out: Regenerated.
6848 * sysdeps/i386/fpu/libm-test-ulps: Update.
6849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6850
17dea188
JM
6851 [BZ #16283]
6852 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6853 * math/w_exp2f.c (__exp2f): Likewise.
6854 * math/w_exp2l.c (__exp2l): Likewise.
6855 * math/auto-libm-test-in: Do not allow missing errno on exp2
6856 underflow.
6857 * math/auto-libm-test-out: Regenerated.
6858
b20de2c3
OB
68592013-12-03 Ondřej Bílka <neleai@seznam.cz>
6860
6861 [BZ #16274]
6862 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6863 handle filename validation.
6864 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6865 (do_open): Delete.
6866
d8e2dbe3
JM
68672013-12-03 Joseph Myers <joseph@codesourcery.com>
6868
34e16df5
JM
6869 [BZ #6786]
6870 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6871 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6872 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6873 <float.h>.
6874 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6875 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6876 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6878 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6879 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6880 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6881 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6882 Add more erfc tests.
6883 * math/auto-libm-test-out: Regenerated.
6884 * sysdeps/i386/fpu/libm-test-ulps: Update.
6885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6886
d8e2dbe3
JM
6887 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6888 exp2, expm1, j0 and j1.
6889 * math/auto-libm-test-out: Regenerated.
6890 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6891 (erfc_test_data): Likewise.
6892 (exp_test_data): Likewise.
6893 (exp_tonearest_test_data): Likewise.
6894 (exp_towardzero_test_data): Likewise.
6895 (exp_downward_test_data): Likewise.
6896 (exp_upward_test_data): Likewise.
6897 (exp10_test_data): Likewise.
6898 (exp2_test_data): Likewise.
6899 (expm1_test_data): Likewise.
6900 (j0_test_data): Likewise.
6901 (j1_test_data): Likewise.
6902 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6903 (input_flag_type): Add flag_xfail_rounding.
6904 (input_flags): Add xfail-rounding.
6905 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6906 (output_for_one_input_case): Handle flag_xfail_rounding.
6907 * sysdeps/i386/fpu/libm-test-ulps: Update.
6908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6909
18d14251
AJ
69102013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6911
3d2e6075 6912 [BZ #16289]
18d14251
AJ
6913 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6914 division by 0.
6915
520d437b
SP
69162013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6917
6918 [BZ #16195]
6919 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6920 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6921 (STAP_PROBE0): New macro.
6922 (STAP_PROBE1): Likewise.
6923 (STAP_PROBE2): Likewise.
6924 (STAP_PROBE3): Likewise.
6925 (STAP_PROBE4): Likewise.
6926
416e0145
OB
69272013-12-02 Ondřej Bílka <neleai@seznam.cz>
6928
6929 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6930
9d17796a
SE
69312013-12-02 Steve Ellcey <sellcey@mips.com>
6932
6933 * benchtests/Makefile (bench): Add sqrt.
6934 (LDLIBS-bench-sqrt): New.
6935 * benchtests/sqrt-input: New.
6936
f524d6a8
PS
69372013-12-02 Pavel Simerda <psimerda@redhat.com>
6938
639a0ef8
PS
6939 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6940 (GAIH_EAI): Likewise.
6941 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6942 (gaih_inet): Likewise.
6943 (getaddrinfo): Don't use GAIH_EAI.
6944
f524d6a8
PS
6945 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6946 (struct gaih): Remove definition.
6947
df3aedaf
SP
69482013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6949
6950 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6951 Use HERRNOP directly.
6952
1ab19dec
AZ
69532013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954
b42ad38d 6955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6956
176b0c79
JM
69572013-11-30 Joseph Myers <joseph@codesourcery.com>
6958
6959 * math/gen-auto-libm-tests.c (test_functions): Add more
6960 single-argument functions.
6961 (special_fill_pi_2): New function.
6962 (special_fill_minus_pi_2): Likewise.
6963 (special_fill_pi_6): Likewise.
6964 (special_fill_minus_pi_6): Likewise.
6965 (special_fill_pi_3): Likewise.
6966 (special_fill_2pi_3): Likewise.
6967 (special_fill_e): Likewise.
6968 (special_fill_1_e): Likewise.
6969 (special_fill_e_minus_1): Likewise.
6970 (special_real_inputs): Add more special inputs.
6971 (output_for_one_input_case): Do not require ERANGE on underflow to
6972 zero if round-to-nearest result does not underflow to zero, unless
6973 exact results required.
6974 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6975 atan, atanh, cbrt, cos and cosh.
6976 * math/auto-libm-test-out: Regenerated.
6977 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6978 (acos_tonearest_test_data): Likewise.
6979 (acos_towardzero_test_data): Likewise.
6980 (acos_downward_test_data): Likewise.
6981 (acos_upward_test_data): Likewise.
6982 (acosh_test_data): Likewise.
6983 (asin_test_data): Likewise.
6984 (asin_tonearest_test_data): Likewise.
6985 (asin_towardzero_test_data): Likewise.
6986 (asin_upward_test_data): Likewise.
6987 (asinh_test_data): Likewise.
6988 (atan_test_data): Likewise.
6989 (atanh_test_data): Likewise.
6990 (cbrt_test_data): Likewise.
6991 (cos_test_data): Likewise.
6992 (cos_tonearest_test_data): Likewise.
6993 (cos_towardzero_test_data): Likewise.
6994 (cos_downward_test_data): Likewise.
6995 (cos_upward_test_data): Likewise.
6996 (cosh_test_data): Likewise.
6997 (cosh_tonearest_test_data): Likewise.
6998 (cosh_towardzero_test_data): Likewise.
6999 (cosh_downward_test_data): Likewise.
7000 (cosh_upward_test_data): Likewise.
7001 * sysdeps/i386/fpu/libm-test-ulps: Update.
7002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7003
ffb536d0
JM
70042013-11-29 Joseph Myers <joseph@codesourcery.com>
7005
2a77a467
JM
7006 [BZ #6787]
7007 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7008 * math/w_exp10f.c (__exp10f): Likewise.
7009 * math/w_exp10l.c (__exp10l): Likewise.
7010 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7011 errno settings in existing tests.
7012
ea3bc4e8
JM
7013 [BZ #14032]
7014 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7015 precision control set to double precision.
7016 * sysdeps/i386/fpu/w_sqrt.c: New file.
7017 * math/auto-libm-test-in: Add more tests.
7018 * math/auto-libm-test-out: Update.
7019
0712c9d8
JM
7020 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7021 (sqrt_test_tonearest): New function.
7022 (sqrt_towardzero_test_data): New variable.
7023 (sqrt_test_towardzero): New function.
7024 (sqrt_downward_test_data): New variable.
7025 (sqrt_test_downward): New function.
7026 (sqrt_upward_test_data): New variable.
7027 (sqrt_test_upward): New function.
7028 (main): Call the new functions.
7029
ffb536d0
JM
7030 * math/gen-auto-libm-tests.c: New file.
7031 * math/auto-libm-test-in: Likewise.
7032 * math/auto-libm-test-out: New generated file.
7033 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7034 variables.
7035 (%beautify): Add generated representations of zero.
7036 (top level): Set $auto_input and call parse_auto_input.
7037 (beautify): Remove trailing "f" from hex float constants.
7038 (parse_args): Handle XFAIL_TEST.
7039 (convert_condition): New function.
7040 (or_value): Likewise.
7041 (or_cond_value): Likewise.
7042 (generate_testfile): Handle AUTO_TESTS_* lines.
7043 (parse_auto_input): New function.
7044 * math/libm-test.inc (XFAIL_TEST): New macro.
7045 (ERRNO_UNCHANGED): Update value.
7046 (ERRNO_EDOM): Likewise.
7047 (ERRNO_ERANGE): Likewise.
7048 (IGNORE_RESULT): Likewise.
7049 (TEST_COND_flt_32): New macro.
7050 (TEST_COND_dbl_64): Likewise.
7051 (TEST_COND_ldbl_96_intel): Likewise.
7052 (TEST_COND_ldbl_96_m68k): Likewise.
7053 (TEST_COND_ldbl_128): Likewise.
7054 (TEST_COND_ldbl_128ibm): Likewise.
7055 (TEST_COND_long32): Likewise.
7056 (TEST_COND_long64): Likewise.
7057 (TEST_COND_before_rounding): Likewise.
7058 (TEST_COND_after_rounding): Likewise.
7059 (enable_test): Handle XFAIL_TEST flag.
7060 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7061 with finite results.
7062 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7063 auto-libm-test-out.
7064
acd98a8e
AK
70652013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7066 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7067
7068 [BZ #16214]
7069 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7070 __tls_get_addr_internal instead of __tls_get_offset in order to
7071 avoid GOT pointer dependency. Make rtld export
7072 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7073 __tls_get_addr since we are a __tls_get_offset platform.
7074 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7075 GOT pointer being set up before.
7076 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7077
3c1c46a6
JM
70782013-11-28 Joseph Myers <joseph@codesourcery.com>
7079
7475aef5
JM
7080 * manual/math.texi (Errors in Math Functions): Document accuracy
7081 goals.
7082
8bca7cd8
JM
7083 [BZ #15004]
7084 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7085 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7086 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7090 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7100
91a1f3fe
JM
7101 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7102 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7103 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7104 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7105 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7106 Likewise.
7107 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7108 Likewise.
7109 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7110 Likewise.
7111 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7112 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7113 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7114 atomic-feupdateenv and flt-rounds.
7115 * sysdeps/powerpc/nofpu/Versions (libc): Add
7116 __atomic_feholdexcept, __atomic_feclearexcept,
7117 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7118 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7119 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7120 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7121 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7122 here.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7124 Update.
7125
c5df7609
JM
7126 * manual/arith.texi (FP Exceptions): Document that exceptions may
7127 not be raised when matherr is used.
7128 (Math Error Reporting): Document overflow in directed rounding
7129 modes. Document that errno may not be set when finite values are
7130 returned on overflow. Document intent to set errno on underflow
7131 only for underflow to zero.
7132
3c1c46a6
JM
7133 [BZ #16271]
7134 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7135 round-to-nearest then adjust result for other rounding modes.
7136 * include/fenv.h (fegetround): Use libm_hidden_proto.
7137 * math/fegetround.c (fegetround): Use libm_hidden_def.
7138 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7139 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7140 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7142 Likewise.
7143 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7144 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7145 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7146 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7147
5a4c6d53
SP
71482013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7149
7150 [BZ #16077]
7151 * nss/Versions (libnss_files): Add
7152 _nss_files_gethostbyname3_r.
7153 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7154 New function.
7155 (HOST_DB_LOOKUP): Remove macro.
7156 (_nss_files_gethostbyname_r): Implement function without the
7157 HOST_DB_LOOKUP macro.
7158 (_nss_files_gethostbyname2_r): Likewise.
7159
897b98ba
OB
71602013-11-28 Ondřej Bílka <neleai@seznam.cz>
7161
7162 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7163
6f476861
UB
71642013-11-26 Uros Bizjak <ubizjak@gmail.com>
7165
7166 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7167 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7168 warning.
7169
bd12ab55
AZ
71702013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7171
7172 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7173 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7174 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7175 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7176 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7177 __fe_nomask_env_priv and attribute_hidden.
7178 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7179 (libc_feupdateenv_test_ppc): Likewise.
7180 (libc_feresetround_ppc): Likewise.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7182 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7183 compat_symbol macro.
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7185 (__fe_nomask_env): Likewise.
7186 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7187
52bb6543
OB
71882013-11-26 Ondřej Bílka <neleai@seznam.cz>
7189
7190 * string/Makefile: Remove ifunc tests.
7191 * string/test-string.h: Define TEST_IFUNC.
7192 * string/test-bcopy-ifunc.c: Remove.
7193 * string/test-bzero-ifunc.c: Likewise.
7194 * string/test-memccpy-ifunc.c: Likewise.
7195 * string/test-memchr-ifunc.c: Likewise.
7196 * string/test-memcmp-ifunc.c: Likewise.
7197 * string/test-memcpy-ifunc.c: Likewise.
7198 * string/test-memmem-ifunc.c: Likewise.
7199 * string/test-memmove-ifunc.c: Likewise.
7200 * string/test-mempcpy-ifunc.c: Likewise.
7201 * string/test-memrchr-ifunc.c: Likewise.
7202 * string/test-memset-ifunc.c: Likewise.
7203 * string/test-rawmemchr-ifunc.c: Likewise.
7204 * string/test-stpcpy-ifunc.c: Likewise.
7205 * string/test-stpncpy-ifunc.c: Likewise.
7206 * string/test-strcasecmp-ifunc.c: Likewise.
7207 * string/test-strcasestr-ifunc.c: Likewise.
7208 * string/test-strcat-ifunc.c: Likewise.
7209 * string/test-strchr-ifunc.c: Likewise.
7210 * string/test-strchrnul-ifunc.c: Likewise.
7211 * string/test-strcmp-ifunc.c: Likewise.
7212 * string/test-strcpy-ifunc.c: Likewise.
7213 * string/test-strcspn-ifunc.c: Likewise.
7214 * string/test-strlen-ifunc.c: Likewise.
7215 * string/test-strncasecmp-ifunc.c: Likewise.
7216 * string/test-strncat-ifunc.c: Likewise.
7217 * string/test-strncmp-ifunc.c: Likewise.
7218 * string/test-strncpy-ifunc.c: Likewise.
7219 * string/test-strnlen-ifunc.c: Likewise.
7220 * string/test-strpbrk-ifunc.c: Likewise.
7221 * string/test-strrchr-ifunc.c: Likewise.
7222 * string/test-strspn-ifunc.c: Likewise.
7223 * string/test-strstr-ifunc.c: Likewise.
7224
ab260039 72252013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7226
7227 * benchtests/Makefile: Remove ifunc tests.
7228 * benchtests/bench-string.h: Define TEST_IFUNC.
7229 * benchtests/bench-bcopy-ifunc.c: Remove.
7230 * benchtests/bench-bzero-ifunc.c: Likewise.
7231 * benchtests/bench-memccpy-ifunc.c: Likewise.
7232 * benchtests/bench-memchr-ifunc.c: Likewise.
7233 * benchtests/bench-memcmp-ifunc.c: Likewise.
7234 * benchtests/bench-memcpy-ifunc.c: Likewise.
7235 * benchtests/bench-memmem-ifunc.c: Likewise.
7236 * benchtests/bench-memmove-ifunc.c: Likewise.
7237 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7238 * benchtests/bench-memrchr-ifunc.c: Likewise.
7239 * benchtests/bench-memset-ifunc.c: Likewise.
7240 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7241 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7242 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7243 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7244 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7245 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7246 * benchtests/bench-strcat-ifunc.c: Likewise.
7247 * benchtests/bench-strchr-ifunc.c: Likewise.
7248 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7249 * benchtests/bench-strcmp-ifunc.c: Likewise.
7250 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7251 * benchtests/bench-strcpy-ifunc.c: Likewise.
7252 * benchtests/bench-strcspn-ifunc.c: Likewise.
7253 * benchtests/bench-strlen-ifunc.c: Likewise.
7254 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7255 * benchtests/bench-strncat-ifunc.c: Likewise.
7256 * benchtests/bench-strncmp-ifunc.c: Likewise.
7257 * benchtests/bench-strncpy-ifunc.c: Likewise.
7258 * benchtests/bench-strnlen-ifunc.c: Likewise.
7259 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7260 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7261 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7262 * benchtests/bench-strspn-ifunc.c: Likewise.
7263 * benchtests/bench-strstr-ifunc.c: Likewise.
7264
72652013-11-26 Ondřej Bílka <neleai@seznam.cz>
7266
ab260039
OB
7267 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7268
d1d9eaf4 72692013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7270
d1d9eaf4
OB
7271 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7272 * rt/aio.h: Likewise.
7273 * sysdeps/gnu/bits/utmp.h: Likewise.
7274 * sysdeps/gnu/bits/utmpx.h: Likewise.
7275 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7276 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7277 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7278 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7279 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7280 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7281 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7282 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7283 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7284 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7285 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7286 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7287 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7289 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7290 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7291 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7292 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7293 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7297 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7298 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7299 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7302 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7303 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7304 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7307 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7311 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7312 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7313 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7314 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7315 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7316 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7317
a7624ed9
CD
73182013-11-25 Carlos O'Donell <carlos@redhat.com>
7319
7320 [BZ #16245]
7321 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7322 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7323
63cfe52b
JM
73242013-11-25 Joseph Myers <joseph@codesourcery.com>
7325
7326 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7327 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7328 Likewise.
7329
41e8926a
AZ
73302013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7331
7332 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7333 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7334 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7335 (__fesetround): Remove define.
7336 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7337 rounding and exceptions handling.
7338 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7339 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7340 (__fe_nomask_env): Likewise.
7341 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7342 __fegetround instead of fegetround.
7343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7344 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7345
6851bd4d
RM
73462013-11-21 Roland McGrath <roland@hack.frob.com>
7347
070906ff
RM
7348 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7349 it's there.
7350
6851bd4d
RM
7351 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7352
84ae135d
MI
73532013-11-21 Meador Inge <meadori@codesourcery.com>
7354
7355 [BZ #11157]
7356 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7357 (encrypt_r): Likewise.
7358 * malloc/obstack.h (obstack_free): Likewise.
7359 * posix/unistd.h (encrypt): Likewise.
7360
daf75146
GM
73612013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7362
7363 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7364 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7365 DL_CALL_DT_FINI() that call the functions directly.
7366 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7367 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7368 * elf/dl-fini.c: Likewise.
7369
10ad46bc
OB
73702013-11-20 Ondřej Bílka <neleai@seznam.cz>
7371
7372 * malloc/hooks.c (memalign_check): Add alignment rounding.
7373 * malloc/malloc.c (_mid_memalign): New function.
7374 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7375 Implement by calling _mid_memalign.
7376 * manual/probes.texi (Memory Allocation Probes): Remove
7377 memory_valloc_retry and memory_pvalloc_retry.
7378
f3fd2628
SP
73792013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7380
4712799f
SP
7381 * locale/programs/locarchive.c (open_archive): Add const
7382 qualifier to ARCHIVEFNAME and copy default fname to
7383 DEFAULT_FNAME.
7384
0417b20f
SP
7385 [BZ #15601]
7386 * libio/tst-widetext.input: Rename Oriya to Odia.
7387 * locale/iso-639.def: Likewise.
7388
f3fd2628
SP
7389 * manual/probes.texi (Mathematical Function Probes): Add
7390 documentation for sin, cos, asin and acos probes.
7391 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7392 (__sin32): Add slowasin probe.
7393 (__cos32): Add slowacos probe.
7394 (__mpsin): Add slowsin probe.
7395 (__mpcos): Add slowcos probe.
7396
73c1ce4f
JM
73972013-11-19 Joseph Myers <joseph@codesourcery.com>
7398
7399 [BZ #15483]
7400 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7401 thread-local __sim_exceptions_thread and global
7402 __sim_exceptions_global.
7403 (__sim_disabled_exceptions): Change to thread-local
7404 __sim_disabled_exceptions_thread and global
7405 __sim_disabled_exceptions_global.
7406 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7407 and global __sim_round_mode_global.
7408 (__simulate_exceptions): Use thread-local floating-point state and
7409 set global state from it as needed.
7410 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7411 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7412 __sim_round_mode_thread.
7413 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7414 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7415 and global __sim_exceptions_global.
7416 (__sim_disabled_exceptions): Change to thread-local
7417 __sim_disabled_exceptions_thread and global
7418 __sim_disabled_exceptions_global.
7419 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7420 and global __sim_round_mode_global.
7421 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7422 (SIM_SET_GLOBAL): Likewise.
7423 * sysdeps/powerpc/soft-fp/sfp-machine.h
7424 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7425 __sim_round_mode_thread.
7426 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7427 __sim_disabled_exceptions_thread.
7428 (__sim_exceptions): Change to __sim_exceptions_thread.
7429 (__sim_disabled_exceptions): Change to
7430 __sim_disabled_exceptions_thread.
7431 (__sim_round_mode): Change to __sim_round_mode_thread.
7432 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7433 thread-local floating-point state and set global state from it as
7434 needed.
7435 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7436 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7437 (__sim_disabled_exceptions): Remove extern declaration.
7438 (feenableexcept): Use thread-local floating-point state and set
7439 global state from it as needed.
7440 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7441 extern declaration.
7442 (__sim_disabled_exceptions): Likewise.
7443 (__sim_round_mode): Likewise.
7444 (__fegetenv): Use thread-local floating-point state.
7445 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7446 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7447 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7448 floating-point state and set global state from it as needed.
7449 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7450 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7451 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7452 Likewise.
7453 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7454 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7455 Likewise.
7456 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7457 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7458 Use __sim_round_mode_thread.
7459 * math/test-fenv-tls.c: New file.
7460 * math/Makefile (tests): Add test-fenv-tls.
7461 ($(objpfx)test-fenv-tls): Depend on
7462 $(common-objpfx)nptl/libpthread.so.
7463
b5449b12
AS
74642013-11-19 Andreas Schwab <schwab@suse.de>
7465
7466 * locale/programs/locale.c (show_info): Decode wordarray elements.
7467 * locale/categories.def (LC_MONETARY): Add element for
7468 _NL_MONETARY_CRNCYSTR.
7469 * locale/C-monetary.c (conversion_rate): New variable.
7470 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7471 element.
7472
e186536b
CM
74732013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7474
7475 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7476 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7477
5c349950
PP
74782013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7479
7480 * elf/Makefile (tst-auxv): New test.
7481 * elf/tst-auxv.c: New
7482 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7483
699df45b
JM
74842013-11-18 Joseph Myers <joseph@codesourcery.com>
7485
7486 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7487 (hidden_proto): Caller changed.
7488 (hidden_tls_proto): New macro.
7489 (libc_hidden_tls_proto): Likewise.
7490 (rtld_hidden_tls_proto): Likewise.
7491 (libm_hidden_tls_proto): Likewise.
7492 (libresolv_hidden_tls_proto): Likewise.
7493 (librt_hidden_tls_proto): Likewise.
7494 (libdl_hidden_tls_proto): Likewise.
7495 (libnss_files_hidden_tls_proto): Likewise.
7496 (libnsl_hidden_tls_proto): Likewise.
7497 (libnss_nisplus_hidden_tls_proto): Likewise.
7498 (libutil_hidden_tls_proto): Likewise.
7499
b7589107
OB
75002013-11-18 Ondřej Bílka <neleai@seznam.cz>
7501
7502 [BZ #10253]
7503 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7504 (decompose_rpath): Defer expansion to fillin_rpath.
7505 (_dl_init_paths): Pass linkmap to fillin_rpath.
7506
250c23bd
RS
75072013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7508
7509 * benchtests/Makefile: Add strsep.
7510 * benchtests/bench-strsep.c: New file: strsep benchtest.
7511 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7512
a7931fcf
AS
75132013-11-18 Andreas Schwab <schwab@suse.de>
7514
7515 * locale/programs/locale.c (show_info) [case byte]: Check for
7516 '\377' instead of '\177'.
7517 * locale/C-monetary.c (not_available): Always use "\377".
7518 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7519 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7520 detect unavailable sign_posn locale elements.
7521 * locale/localeconv.c (__localeconv): For grouping and
7522 mon_grouping handle "\177" and "\377" like no grouping.
7523 (INT_ELEM): New macro. Use it to set all numeric members.
7524 * locale/programs/ld-monetary.c (monetary_read)
7525 <tok_mon_grouping>: Normalize single -1 to the empty string.
7526 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7527 Likewise.
7528
728dab0e
OB
75292013-11-07 Ondřej Bílka <neleai@seznam.cz>
7530
7531 [BZ #16055]
7532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7533 when we match (nil).
7534 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7535
66294491
JM
75362013-11-16 Joseph Myers <joseph@codesourcery.com>
7537
ce665817
JM
7538 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7539 (NO_TEST_INLINE): Update value.
7540 (ERRNO_UNCHANGED): Likewise.
7541 (ERRNO_EDOM): Likewise.
7542 (ERRNO_ERANGE): Likewise.
7543 (IGNORE_RESULT): Likewise.
7544 (check_float_internal): Check signs of NaN results if
7545 TEST_NAN_SIGN used.
7546 (check_complex): Pass TEST_NAN_SIGN flag through to second
7547 check_float_internal call.
7548 (copysign_test_data): Add tests with quiet NaNs as second
7549 argument. Use TEST_NAN_SIGN.
7550 (fabs_test_data): Add test of negative quiet NaN argument. Use
7551 TEST_NAN_SIGN.
7552 (signbit_test_data): Add tests of quiet NaN argument.
7553 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7554
ee1466a9
JM
7555 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7556 $ignore_result.
7557 (parse_args): Handle function results specified as IGNORE.
7558 * math/libm-test.inc (IGNORE_RESULT): New macro.
7559 (check_float_internal): Do not check numerical result if flag
7560 IGNORE_RESULT set.
7561 (check_complex): Pass through IGNORE_RESULT to second
7562 check_float_internal call.
7563 (check_int): Do not check numerical result if flag IGNORE_RESULT
7564 set.
7565 (check_long): Likewise.
7566 (check_bool): Likewise.
7567 (check_longlong): Likewise.
7568 (lrint_test_data): Add tests of infinite and NaN arguments.
7569 (lrint_tonearest_test_data): Likewise.
7570 (lrint_towardzero_test_data): Likewise.
7571 (lrint_downward_test_data): Likewise.
7572 (lrint_upward_test_data): Likewise.
7573 (llrint_test_data): Likewise.
7574 (llrint_tonearest_test_data): Likewise.
7575 (llrint_towardzero_test_data): Likewise.
7576 (llrint_downward_test_data): Likewise.
7577 (llrint_upward_test_data): Likewise.
7578 (lround_test_data): Likewise.
7579 (llround_test_data): Likewise.
7580
14407b7e
JM
7581 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7582 (ERRNO_UNCHANGED): Update value.
7583 (ERRNO_EDOM): Likewise.
7584 (ERRNO_ERANGE): Likewise.
7585 (NO_TEST_INLINE_FLOAT): New macro.
7586 (NO_TEST_INLINE_DOUBLE): Likewise.
7587 (enable_test): New function.
7588 (RUN_TEST_f_f): Check enable_test before running test.
7589 (RUN_TEST_2_f): Likewise.
7590 (RUN_TEST_fff_f): Likewise.
7591 (RUN_TEST_c_f): Likewise.
7592 (RUN_TEST_f_f1): Likewise.
7593 (RUN_TEST_fF_f1): Likewise.
7594 (RUN_TEST_fI_f1): Likewise.
7595 (RUN_TEST_ffI_f1): Likewise.
7596 (RUN_TEST_c_c): Likewise.
7597 (RUN_TEST_cc_c): Likewise.
7598 (RUN_TEST_f_i): Likewise.
7599 (RUN_TEST_f_i_tg): Likewise.
7600 (RUN_TEST_ff_i_tg): Likewise.
7601 (RUN_TEST_f_b): Likewise.
7602 (RUN_TEST_f_b_tg): Likewise.
7603 (RUN_TEST_f_l): Likewise.
7604 (RUN_TEST_f_L): Likewise.
7605 (RUN_TEST_fFF_11): Likewise.
7606 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7607 conditionals.
7608 (cosh_test_data): Likewise.
7609 (exp_test_data): Likewise.
7610 (expm1_test_data): Likewise.
7611 (hypot_test_data): Likewise.
7612 (pow_test_data): Likewise.
7613 (sinh_test_data): Likewise.
7614 (tanh_test_data): Likewise.
7615 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7616 flags argument.
7617
ca07f197
JM
7618 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7619 tests with quiet NaN input and output.
7620 (acosh_test_data): Likewise.
7621 (asin_test_data): Likewise.
7622 (asinh_test_data): Likewise.
7623 (atan_test_data): Likewise.
7624 (atanh_test_data): Likewise.
7625 (atan2_test_data): Likewise.
7626 (cbrt_test_data): Likewise.
7627 (cos_test_data): Likewise.
7628 (cosh_test_data): Likewise.
7629 (erf_test_data): Likewise.
7630 (erfc_test_data): Likewise.
7631 (exp_test_data): Likewise.
7632 (exp10_test_data): Likewise.
7633 (exp2_test_data): Likewise.
7634 (expm1_test_data): Likewise.
7635 (hypot_test_data): Likewise.
7636 (j0_test_data): Likewise.
7637 (j1_test_data): Likewise.
7638 (jn_test_data): Likewise.
7639 (lgamma_test_data): Likewise.
7640 (log_test_data): Likewise.
7641 (log10_test_data): Likewise.
7642 (log1p_test_data): Likewise.
7643 (log2_test_data): Likewise.
7644 (pow_test_data): Likewise.
7645 (scalb_test_data): Likewise.
7646 (sin_test_data): Likewise.
7647 (sincos_test_data): Likewise.
7648 (sinh_test_data): Likewise.
7649 (tan_test_data): Likewise.
7650 (tanh_test_data): Likewise.
7651 (tgamma_test_data): Likewise.
7652 (y0_test_data): Likewise.
7653 (y1_test_data): Likewise.
7654 (yn_test_data): Likewise.
7655
66294491
JM
7656 [BZ #16167]
7657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7658 argument being NaN and avoid computations with second argument in
7659 that case.
7660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7661 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7663
1820b143
CL
76642013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7665
7666 * locale/iso-639.def: Add Chitwani Tharu (the).
7667
714bd261
AS
76682013-11-14 Andreas Schwab <schwab@suse.de>
7669
7670 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7671 word instead of empty string.
7672
7ab44563
AZ
76732013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7676 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7678 (__fe_nomask_env): Likewise.
7679
e8470ea2
SE
76802013-11-13 Steve Ellcey <sellcey@mips.com>
7681
7682 * benchtests/bench-timing.h: Include time.h.
7683
17c1d9f0
L
76842013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7685
7686 [BZ #15997]
7687 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7688 to 3.4.0 for x32.
7689 * sysdeps/unix/sysv/linux/configure: Regenerated.
7690
9310c284
JM
76912013-11-13 Joseph Myers <joseph@codesourcery.com>
7692
7693 [BZ #16151]
7694 * stdlib/strtod_l.c (round_and_return): Do not consider
7695 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7696 exponent one less than half the least subnormal exponent.
7697 * stdlib/test-strtod-round-data: Add more tests.
7698 * stdlib/tst-strtod-round.c (tests): Regenerated.
7699
7a2ad8cf
AZ
77002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7701
7702 [BZ #14143]
7703 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7704 (__fe_mask_env): Likewise.
7705 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7706 libm_hidden_proto and add function prototype.
7707 (__fe_mask_env): Add function prototype.
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7709 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7711 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7713 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7714
50727aa7
MS
77152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7716
b2f386c1 7717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7718 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7719
a615be46
MS
77202013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7721
7722 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7723 of htab_find_slot().
7724
7ddace62
DM
77252013-11-11 David S. Miller <davem@davemloft.net>
7726
7727 [BZ #16150]
7728 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7729 symbol in the non-vis3 case in static builds.
7730 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7731 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7732 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7733 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7734
9182aa67
JK
77352013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7736
7737 [BZ #387]
7738 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7739 it is empty.
7740
450a2e2d
AZ
77412013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7742
b2f386c1
SP
7743 * benchtests/Makefile: Add bench-strtod.
7744 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7745
8ec3f656
AS
77462013-11-11 Andreas Schwab <schwab@suse.de>
7747
7748 [BZ #16153]
7749 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7750 terminating NUL in key length.
7751
76a9b998
AZ
77522013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7753
7754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7755 Add artificial ODP entry for vDSO symbol for PPC64.
7756 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7757 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7758
e4368156
OB
77592013-11-07 Ondřej Bílka <neleai@seznam.cz>
7760
7761 [BZ #15374]
7762 * nss/getent.c (services_keys): Recognize services starting with digit.
7763
8d6bb57c
DM
77642013-11-06 David S. Miller <davem@davemloft.net>
7765
7766 [BZ #15985]
7767 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7768 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7769
e256c421
WN
77702013-11-06 Will Newton <will.newton@linaro.org>
7771
7772 * manual/memory.texi (Malloc Examples): Remove register
7773 keyword from examples.
7774
f6e12daa 77752013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7776
f6e12daa 7777 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7778
9d880655
AS
77792013-11-04 Joseph Myers <joseph@codesourcery.com>
7780
fd2f9486 7781 [BZ #6981]
9d880655
AS
7782 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7783 depending on [__GCC_IEC_559 > 0].
7784 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7785 depending on [__GCC_IEC_559_COMPLEX > 0].
7786
ae129d3c
CL
77872013-11-03 Chris Leonard <cjl@sugarlabs.org>
7788
7789 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7790 to iso-639.def.
7791
4a15c2a4 77922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7793
7794 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7795
8b35e35d
OB
77962013-11-01 Ondřej Bílka <neleai@seznam.cz>
7797
7798 [BZ #16112]
7799 * malloc/malloc (malloc_info): Do not handle first bin as
7800 special case.
7801
1d70fd6c
CL
78022013-11-01 Chris Leonard <cjl@sugarlabs.org>
7803
7804 * locale/iso-639.def: Add Central Nahuatl (nhn).
7805
8c5c2600
BH
78062013-11-01 Bruno Haible <bruno@clisp.org>
7807
7808 [BZ #7003]
7809 * manual/math.texi (BSD Random): Specify range upper bound as
7810 in POSIX.
7811
da5579c2
CL
78122013-10-31 Chris Leonard <cjl@sugarlabs.org>
7813
7814 * locale/iso-639.def: Add Meadow Mari (mhr).
7815
5d30d853
OB
78162013-10-31 Ondřej Bílka <neleai@seznam.cz>
7817
7818 [BZ #14752], [BZ #15763]
7819 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7820 Validate name.
7821 * rt/tst_shm.c: Add test for escaping directory.
7822
a4966c61
AS
78232013-10-31 Andreas Schwab <schwab@suse.de>
7824
8a43e768 7825 [BZ #15917]
a4966c61
AS
7826 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7827 followed by 'x' as part of digit sequence.
7828 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7829
28d708c4
MAP
78302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7831
7832 [BZ #16037]
7833 * configure.ac: allow GNU Make 4.0 and greater.
7834 * configure: Regenerated.
7835
a56ee40b
WN
78362013-10-30 Will Newton <will.newton@linaro.org>
7837
7838 [BZ #16038]
7839 * malloc/hooks.c (memalign_check): Limit alignment to the
7840 maximum representable power of two.
7841 * malloc/malloc.c (__libc_memalign): Likewise.
7842 * malloc/tst-memalign.c (do_test): Add test for very
7843 large alignment values.
7844 * malloc/tst-posix_memalign.c (do_test): Likewise.
7845
c6e4925d
OB
78462013-10-30 Ondřej Bílka <neleai@seznam.cz>
7847
7848 [BZ #11087]
7849 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7850 (munmap_chunk): Likewise.
7851 (mremap_chunk): Likewise.
7852
78532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7854
8a43e768 7855 [BZ #15799]
bbea82f7
OB
7856 * stdlib/div.c (div): Remove obsolete code.
7857 * stdlib/ldiv.c (ldiv): Likewise.
7858 * stdlib/lldiv.c (lldiv): Likewise.
7859
977f4b31
SP
78602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7861
7862 [BZ #16071]
7863 * nss/nss_files/files-XXX.c (get_contents_ret): New
7864 enumerator.
7865 (get_contents): New function.
7866 (internal_getent): Use it. Expand size of LINEBUFLEN.
7867
cb8a6dbd
MF
78682013-10-30 Mike Frysinger <vapier@gentoo.org>
7869
7870 * configure.in: Moved to ...
7871 * configure.ac: ... here. Change reference to configure.in
7872 to configure.ac.
7873 * sysdeps/arm/preconfigure.ac: ... here.
7874 configure.in to configure.ac.
7875 * sysdeps/gnu/configure.in: Moved to ...
7876 * sysdeps/gnu/configure.ac: ... here.
7877 * sysdeps/i386/configure.in: Moved to ...
7878 * sysdeps/i386/configure.ac: ... here.
7879 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7880 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7881 * sysdeps/mach/configure.in: Moved to ...
7882 * sysdeps/mach/configure.ac: ... here.
7883 * sysdeps/mach/hurd/configure.in: Moved to ...
7884 * sysdeps/mach/hurd/configure.ac: ... here.
7885 * sysdeps/powerpc/configure.in: Moved to ...
7886 * sysdeps/powerpc/configure.ac: ... here.
7887 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7888 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7889 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7890 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7891 * sysdeps/s390/s390-32/configure.in: Moved to ...
7892 * sysdeps/s390/s390-32/configure.ac: ... here.
7893 * sysdeps/s390/s390-64/configure.in: Moved to ...
7894 * sysdeps/s390/s390-64/configure.ac: ... here.
7895 * sysdeps/sh/configure.in: Moved to ...
7896 * sysdeps/sh/configure.ac: ... here.
7897 * sysdeps/sparc/configure.in: Moved to ...
7898 * sysdeps/sparc/configure.ac: ... here.
7899 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7900 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7901 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7902 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7903 * sysdeps/x86_64/configure.in: Moved to ...
7904 * sysdeps/x86_64/configure.ac: ... here.
7905 * sysdeps/x86_64/preconfigure.in: Moved to ...
7906 * sysdeps/x86_64/preconfigure.ac: ... here.
7907 * aclocal.m4: Change reference to configure.in to configure.ac.
7908 * config.h.in: Likewise.
7909 * manual/install.texi: Likewise.
7910 * manual/maint.texi: Likewise.
7911 * Makefile: Likewise.
7912 * malloc/Makefile: Likewise.
7913 * nscd/Makefile: Likewise.
7914 * Makeconfig: Change reference to configure.in and
7915 preconfigure.in to configure.ac and preconfigure.ac
7916 respectively.
7917 * INSTALL: Regenerated.
7918 * configure: Likewise.
7919 * sysdeps/gnu/configure: Likewise.
7920 * sysdeps/i386/configure: Likewise.
7921 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7922 * sysdeps/mach/configure: Likewise.
7923 * sysdeps/mach/hurd/configure: Likewise.
7924 * sysdeps/powerpc/configure: Likewise.
7925 * sysdeps/powerpc/powerpc32/configure: Likewise.
7926 * sysdeps/powerpc/powerpc64/configure: Likewise.
7927 * sysdeps/s390/s390-32/configure: Likewise.
7928 * sysdeps/s390/s390-64/configure: Likewise.
7929 * sysdeps/sh/configure: Likewise.
7930 * sysdeps/sparc/configure: Likewise.
7931 * sysdeps/unix/sysv/linux/configure: Likewise.
7932 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7933 * sysdeps/x86_64/configure: Likewise.
7934 * sysdeps/x86_64/preconfigure: Likewise.
7935
36a4953a
AS
79362013-10-29 Andreas Schwab <schwab@suse.de>
7937
7938 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7939
c79a1204
SP
79402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7941
dfa1b402
SP
7942 * benchtests/pow-inputs: Add new inputs.
7943
54f73d9c
SP
7944 * benchtests/exp-inputs: Add new inputs.
7945
c79a1204
SP
7946 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7947 conditional check for return value.
7948 (__cos32): Likewise.
7949
67beb545 79502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7951
7952 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7953 to provide a boost for large inputs with word alignment.
7954 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7955 implementation based on optimized PPC64 strcpy.
7956 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7957 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7958 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7959 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7960
151659f6
OB
79612013-10-25 Ondřej Bílka <neleai@seznam.cz>
7962
482a077e 7963 [BZ #2801]
151659f6
OB
7964 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7965
10b0f26b
OB
79662013-10-25 Ondřej Bílka <neleai@seznam.cz>
7967
7968 [BZ #14876]
7969 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7970 * time/tst-strptime.c (day_tests): Add testcase.
7971
ca42d35e
OB
79722013-10-25 Ondřej Bílka <neleai@seznam.cz>
7973
482a077e 7974 [BZ #14029]
ca42d35e
OB
7975 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7976
52e6d801
FB
79772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7978
7979 [BZ #16074]
7980 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7981 MAP_FAILED on error.
7982
7cbcdb36
SP
79832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7984
7985 [BZ #16072]
7986 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7987 heap for large requests.
7988
894f3f10
AM
79892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7990
7991 [BZ #9954]
7992 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7993 result if the result has no associated interface.
7994 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7995 interface for all 127.X.Y.Z addresses.
7996
b85545a6
CL
79972013-10-24 Chris Leonard <cjl@sugarlabs.org>
7998
7999 * locale/iso-639.def: Add Ligurian (lij)
8000
d1f23d46
OB
80012013-10-21 Ondřej Bílka <neleai@seznam.cz>
8002
8003 [BZ #15825]
8004 * sunrpc/rpc_main.c: Document rpcgen -5.
8005
4db5b08f
MS
80062013-10-19 Michael Stahl <mstahl@redhat.com>
8007
8008 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8009
a471e96a
OB
80102013-10-19 Ondřej Bílka <neleai@seznam.cz>
8011
d1f23d46 8012 [BZ #10278]
a471e96a
OB
8013 * posix/glob.c: Match only directories when trailing slash is present.
8014 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8015 (main): Add testcase.
8016
45c30c61
OB
80172013-10-19 Ondřej Bílka <neleai@seznam.cz>
8018
8019 [BZ #15670]
8020 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8021
484c12fb
CD
80222013-10-18 Carlos O'Donell <carlos@redhat.com>
8023
3d7dc513
CD
8024 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8025 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8026 AUTH_DES and cindex for FIPS 140-2.
8027 (DES Encryption): Add cindex FIPS 46-3.
8028
484c12fb
CD
8029 * locale/locarchive.h (struct locarhandle): Add fname.
8030 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8031 if an optional argument was specified to --list-archive,
8032 otherwise NULL.
8033 * locale/programs/locarchive.c (show_archive_content): Take new
8034 argument fname and pass it via ah.fname to open_archive.
8035 * locale/programs/localedef.h: Update decl.
8036 (open_archive): If AH->fname is non-null, open that file
8037 rather than the default file name, and don't ignore ENOENT.
8038 (create_archive): Set AH.fname to NULL.
8039 (delete_locales_from_archive): Likewise.
8040 (add_locales_to_archive): Likewise.
8041 * locale/programs/locfile.c (write_all_categories): Likewise.
8042
3c8325fb
JM
80432013-10-18 Joseph Myers <joseph@codesourcery.com>
8044 Aldy Hernandez <aldyh@redhat.com>
8045
8046 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8047 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8048 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8049 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8050 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8051 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8052 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8053 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8054 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8055 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8056 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8057 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8058 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8059 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8060 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8061 Likewise.
8062 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8063 Likewise.
8064 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8065 Likewise.
8066 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8067 Likewise.
8068 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8069 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8070 Likewise.
8071 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8072 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8073 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8074 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8075 Likewise.
8076 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8077 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8078 * sysdeps/powerpc/preconfigure: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8080 Likewise.
8081 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8082 Replace contents of file by #include of <fenv_libc.h>.
8083 * sysdeps/powerpc/soft-fp/sfp-machine.h
8084 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8085 and <sys/prctl.h>.
8086 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8099 Allow copysignl PLT reference to be missing.
8100
5abe0682
RS
81012013-10-18 Richard Sandiford <richard@codesourcery.com>
8102 Joseph Myers <joseph@codesourcery.com
8103
8104 [BZ #15948]
8105 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8106 single character.
8107 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8108
c7738d08
SP
81092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8110
8111 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8112 * elf/tst-tls1.c: Likewise.
8113 * elf/tst-tls10.h: Likewise.
8114 * elf/tst-tls14.c: Likewise.
8115 * elf/tst-tls2.c: Likewise.
8116 * elf/tst-tls3.c: Likewise.
8117 * elf/tst-tls4.c: Likewise.
8118 * elf/tst-tls5.c: Likewise.
8119 * elf/tst-tls6.c: Likewise.
8120 * elf/tst-tls7.c: Likewise.
8121 * elf/tst-tls8.c: Likewise.
8122 * elf/tst-tls9.c: Likewise.
8123 * elf/tst-tlsmod1.c: Likewise.
8124 * elf/tst-tlsmod13.c: Likewise.
8125 * elf/tst-tlsmod13a.c: Likewise.
8126 * elf/tst-tlsmod14a.c: Likewise.
8127 * elf/tst-tlsmod16a.c: Likewise.
8128 * elf/tst-tlsmod16b.c: Likewise.
8129 * elf/tst-tlsmod2.c: Likewise.
8130 * elf/tst-tlsmod3.c: Likewise.
8131 * elf/tst-tlsmod4.c: Likewise.
8132 * elf/tst-tlsmod5.c: Likewise.
8133 * elf/tst-tlsmod6.c: Likewise.
8134
0bfcf2c7
OB
81352013-10-18 Ondřej Bílka <neleai@seznam.cz>
8136
8137 [BZ #12486]
8138 * malloc/malloc.c: remove checks for statistics.
8139
264aad1e
OB
81402013-10-17 Ondřej Bílka <neleai@seznam.cz>
8141
8142 [BZ #15277]
8143 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8144 * inet/tst-network.c: Add testcase.
8145
b957ced8
AS
81462013-10-17 Andreas Schwab <schwab@suse.de>
8147
8148 [BZ #15218]
8149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8150 to determine canonical name.
8151
c5d5d574
OB
81522013-10-17 Ondřej Bílka <neleai@seznam.cz>
8153
8154 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8155 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8178 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8179 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8212
e5c2c2d0
JM
82132013-10-17 Joseph Myers <joseph@codesourcery.com>
8214
8215 [BZ #16041]
8216 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8217 make result into a quiet NaN.
8218
51ca9e29
JM
82192013-10-16 Joseph Myers <joseph@codesourcery.com>
8220
8221 * soft-fp/adddf3.c: Fix horizontal whitespace.
8222 * soft-fp/addsf3.c: Likewise.
8223 * soft-fp/addtf3.c: Likewise.
8224 * soft-fp/divdf3.c: Likewise.
8225 * soft-fp/divsf3.c: Likewise.
8226 * soft-fp/divtf3.c: Likewise.
8227 * soft-fp/double.h: Likewise.
8228 * soft-fp/eqdf2.c: Likewise.
8229 * soft-fp/eqsf2.c: Likewise.
8230 * soft-fp/eqtf2.c: Likewise.
8231 * soft-fp/extenddftf2.c: Likewise.
8232 * soft-fp/extended.h: Likewise.
8233 * soft-fp/extendsfdf2.c: Likewise.
8234 * soft-fp/extendsftf2.c: Likewise.
8235 * soft-fp/extendxftf2.c: Likewise.
8236 * soft-fp/fixdfdi.c: Likewise.
8237 * soft-fp/fixdfsi.c: Likewise.
8238 * soft-fp/fixdfti.c: Likewise.
8239 * soft-fp/fixsfdi.c: Likewise.
8240 * soft-fp/fixsfsi.c: Likewise.
8241 * soft-fp/fixsfti.c: Likewise.
8242 * soft-fp/fixtfdi.c: Likewise.
8243 * soft-fp/fixtfsi.c: Likewise.
8244 * soft-fp/fixtfti.c: Likewise.
8245 * soft-fp/fixunsdfdi.c: Likewise.
8246 * soft-fp/fixunsdfsi.c: Likewise.
8247 * soft-fp/fixunsdfti.c: Likewise.
8248 * soft-fp/fixunssfdi.c: Likewise.
8249 * soft-fp/fixunssfsi.c: Likewise.
8250 * soft-fp/fixunssfti.c: Likewise.
8251 * soft-fp/fixunstfdi.c: Likewise.
8252 * soft-fp/fixunstfsi.c: Likewise.
8253 * soft-fp/fixunstfti.c: Likewise.
8254 * soft-fp/floatdidf.c: Likewise.
8255 * soft-fp/floatdisf.c: Likewise.
8256 * soft-fp/floatditf.c: Likewise.
8257 * soft-fp/floatsidf.c: Likewise.
8258 * soft-fp/floatsisf.c: Likewise.
8259 * soft-fp/floatsitf.c: Likewise.
8260 * soft-fp/floattidf.c: Likewise.
8261 * soft-fp/floattisf.c: Likewise.
8262 * soft-fp/floattitf.c: Likewise.
8263 * soft-fp/floatundidf.c: Likewise.
8264 * soft-fp/floatundisf.c: Likewise.
8265 * soft-fp/floatunditf.c: Likewise.
8266 * soft-fp/floatunsidf.c: Likewise.
8267 * soft-fp/floatunsisf.c: Likewise.
8268 * soft-fp/floatunsitf.c: Likewise.
8269 * soft-fp/floatuntidf.c: Likewise.
8270 * soft-fp/floatuntisf.c: Likewise.
8271 * soft-fp/floatuntitf.c: Likewise.
8272 * soft-fp/fmadf4.c: Likewise.
8273 * soft-fp/fmasf4.c: Likewise.
8274 * soft-fp/fmatf4.c: Likewise.
8275 * soft-fp/gedf2.c: Likewise.
8276 * soft-fp/gesf2.c: Likewise.
8277 * soft-fp/getf2.c: Likewise.
8278 * soft-fp/ledf2.c: Likewise.
8279 * soft-fp/lesf2.c: Likewise.
8280 * soft-fp/letf2.c: Likewise.
8281 * soft-fp/muldf3.c: Likewise.
8282 * soft-fp/mulsf3.c: Likewise.
8283 * soft-fp/multf3.c: Likewise.
8284 * soft-fp/negdf2.c: Likewise.
8285 * soft-fp/negsf2.c: Likewise.
8286 * soft-fp/negtf2.c: Likewise.
8287 * soft-fp/op-1.h: Likewise.
8288 * soft-fp/op-2.h: Likewise.
8289 * soft-fp/op-4.h: Likewise.
8290 * soft-fp/op-8.h: Likewise.
8291 * soft-fp/op-common.h: Likewise.
8292 * soft-fp/quad.h: Likewise.
8293 * soft-fp/single.h: Likewise.
8294 * soft-fp/soft-fp.h: Likewise.
8295 * soft-fp/sqrtdf2.c: Likewise.
8296 * soft-fp/sqrtsf2.c: Likewise.
8297 * soft-fp/sqrttf2.c: Likewise.
8298 * soft-fp/subdf3.c: Likewise.
8299 * soft-fp/subsf3.c: Likewise.
8300 * soft-fp/subtf3.c: Likewise.
8301 * soft-fp/truncdfsf2.c: Likewise.
8302 * soft-fp/trunctfdf2.c: Likewise.
8303 * soft-fp/trunctfsf2.c: Likewise.
8304 * soft-fp/trunctfxf2.c: Likewise.
8305 * soft-fp/unorddf2.c: Likewise.
8306 * soft-fp/unordsf2.c: Likewise.
8307 * soft-fp/unordtf2.c: Likewise.
8308
9ebb0332
JM
83092013-10-15 Joseph Myers <joseph@codesourcery.com>
8310
8311 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8312 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8313
4b1a6d8b
OB
83142013-10-15 Ondřej Bílka <neleai@seznam.cz>
8315
8316 * elf/dl-libc.c: Clear initfini list after freeing.
8317
1e145589
JM
83182013-10-14 Joseph Myers <joseph@codesourcery.com>
8319
8320 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8321 * soft-fp/addsf3.c: Likewise.
8322 * soft-fp/addtf3.c: Likewise.
8323 * soft-fp/divdf3.c: Likewise.
8324 * soft-fp/divsf3.c: Likewise.
8325 * soft-fp/divtf3.c: Likewise.
8326 * soft-fp/double.h: Likewise.
8327 * soft-fp/eqdf2.c: Likewise.
8328 * soft-fp/eqsf2.c: Likewise.
8329 * soft-fp/eqtf2.c: Likewise.
8330 * soft-fp/extenddftf2.c: Likewise.
8331 * soft-fp/extended.h: Likewise.
8332 * soft-fp/extendsfdf2.c: Likewise.
8333 * soft-fp/extendsftf2.c: Likewise.
8334 * soft-fp/extendxftf2.c: Likewise.
8335 * soft-fp/fixdfdi.c: Likewise.
8336 * soft-fp/fixdfsi.c: Likewise.
8337 * soft-fp/fixdfti.c: Likewise.
8338 * soft-fp/fixsfdi.c: Likewise.
8339 * soft-fp/fixsfsi.c: Likewise.
8340 * soft-fp/fixsfti.c: Likewise.
8341 * soft-fp/fixtfdi.c: Likewise.
8342 * soft-fp/fixtfsi.c: Likewise.
8343 * soft-fp/fixtfti.c: Likewise.
8344 * soft-fp/fixunsdfdi.c: Likewise.
8345 * soft-fp/fixunsdfsi.c: Likewise.
8346 * soft-fp/fixunsdfti.c: Likewise.
8347 * soft-fp/fixunssfdi.c: Likewise.
8348 * soft-fp/fixunssfsi.c: Likewise.
8349 * soft-fp/fixunssfti.c: Likewise.
8350 * soft-fp/fixunstfdi.c: Likewise.
8351 * soft-fp/fixunstfsi.c: Likewise.
8352 * soft-fp/fixunstfti.c: Likewise.
8353 * soft-fp/floatdidf.c: Likewise.
8354 * soft-fp/floatdisf.c: Likewise.
8355 * soft-fp/floatditf.c: Likewise.
8356 * soft-fp/floatsidf.c: Likewise.
8357 * soft-fp/floatsisf.c: Likewise.
8358 * soft-fp/floatsitf.c: Likewise.
8359 * soft-fp/floattidf.c: Likewise.
8360 * soft-fp/floattisf.c: Likewise.
8361 * soft-fp/floattitf.c: Likewise.
8362 * soft-fp/floatundidf.c: Likewise.
8363 * soft-fp/floatundisf.c: Likewise.
8364 * soft-fp/floatunsidf.c: Likewise.
8365 * soft-fp/floatunsisf.c: Likewise.
8366 * soft-fp/floatuntidf.c: Likewise.
8367 * soft-fp/floatuntisf.c: Likewise.
8368 * soft-fp/floatuntitf.c: Likewise.
8369 * soft-fp/fmadf4.c: Likewise.
8370 * soft-fp/fmasf4.c: Likewise.
8371 * soft-fp/fmatf4.c: Likewise.
8372 * soft-fp/gedf2.c: Likewise.
8373 * soft-fp/gesf2.c: Likewise.
8374 * soft-fp/getf2.c: Likewise.
8375 * soft-fp/ledf2.c: Likewise.
8376 * soft-fp/lesf2.c: Likewise.
8377 * soft-fp/letf2.c: Likewise.
8378 * soft-fp/muldf3.c: Likewise.
8379 * soft-fp/mulsf3.c: Likewise.
8380 * soft-fp/multf3.c: Likewise.
8381 * soft-fp/negdf2.c: Likewise.
8382 * soft-fp/negsf2.c: Likewise.
8383 * soft-fp/negtf2.c: Likewise.
8384 * soft-fp/op-1.h: Likewise.
8385 * soft-fp/op-2.h: Likewise.
8386 * soft-fp/op-4.h: Likewise.
8387 * soft-fp/op-8.h: Likewise.
8388 * soft-fp/op-common.h: Likewise.
8389 * soft-fp/quad.h: Likewise.
8390 * soft-fp/single.h: Likewise.
8391 * soft-fp/soft-fp.h: Likewise.
8392 * soft-fp/sqrtdf2.c: Likewise.
8393 * soft-fp/sqrtsf2.c: Likewise.
8394 * soft-fp/sqrttf2.c: Likewise.
8395 * soft-fp/subdf3.c: Likewise.
8396 * soft-fp/subsf3.c: Likewise.
8397 * soft-fp/subtf3.c: Likewise.
8398 * soft-fp/truncdfsf2.c: Likewise.
8399 * soft-fp/trunctfdf2.c: Likewise.
8400 * soft-fp/trunctfsf2.c: Likewise.
8401 * soft-fp/trunctfxf2.c: Likewise.
8402 * soft-fp/unorddf2.c: Likewise.
8403 * soft-fp/unordsf2.c: Likewise.
8404 * soft-fp/unordtf2.c: Likewise.
8405
17c48a60
OB
84062013-10-14 Ondřej Bílka <neleai@seznam.cz>
8407
8408 [BZ #15672]
8409 * misc/error.c (error_tail): Fix possible buffer overflow.
8410
cabba934
OB
84112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8412
8413 [BZ #13028]
8414 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8415 address.
8416
94bf958a
PM
84172013-10-14 P. J. McDermott <pj@pehjota.net>
8418
8419 [BZ #832]
8420 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8421 testing pipefail option.
8422
71b4dea7
JM
84232013-10-12 Joseph Myers <joseph@codesourcery.com>
8424
8425 * soft-fp/double.h: Indent preprocessor directives inside #if.
8426 * soft-fp/extended.h: Likewise.
8427 * soft-fp/op-2.h: Likewise.
8428 * soft-fp/op-4.h: Likewise.
8429 * soft-fp/op-common.h: Likewise.
8430 * soft-fp/quad.h: Likewise.
8431 * soft-fp/single.h: Likewise.
8432 * soft-fp/soft-fp.h: Likewise.
8433
55602758
YC
84342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8435
8436 * iconv/iconv_prog.c: Fix typos.
8437 * stdio-common/psiginfo-data.h: Likewise.
8438
9cd83302
RT
84392013-10-12 Reuben Thomas <rrt@sc3d.org>
8440
8441 [BZ #15764]
8442 * locale/setlocale.c: Fix typo.
8443
99fd9f47
JM
84442013-10-12 Joseph Myers <joseph@codesourcery.com>
8445
b7ea74f0
JM
8446 [BZ #16036]
8447 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8448 signaling NaN arguments.
8449 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8450 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8451
8a509447
JM
8452 [BZ #14910]
8453 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8454 unordered operands.
8455 * soft-fp/gesf2.c (__gesf2): Likewise.
8456 * soft-fp/getf2.c (__getf2): Likewise.
8457 * soft-fp/ledf2.c (__ledf2): Likewise.
8458 * soft-fp/lesf2.c (__lesf2): Likewise.
8459 * soft-fp/letf2.c (__letf2): Likewise.
8460
98998e9f
JM
8461 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8462 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8463 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8464 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8465 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8466 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8467 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8468 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8469 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8470 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8471 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8472 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8473 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8474 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8475 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8476 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8477 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8478 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8479 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8480 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8481 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8482 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8483 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8484 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8485 * soft-fp/floattidf.c (__floattidf): Likewise.
8486 * soft-fp/floattisf.c (__floattisf): Likewise.
8487 * soft-fp/floattitf.c (__floattitf): Likewise.
8488 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8489 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8490 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8491 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8492 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8493 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8494 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8495 * soft-fp/gesf2.c (__gesf2): Likewise.
8496 * soft-fp/getf2.c (__getf2): Likewise.
8497 * soft-fp/ledf2.c (__ledf2): Likewise.
8498 * soft-fp/lesf2.c (__lesf2): Likewise.
8499 * soft-fp/letf2.c (__letf2): Likewise.
8500
8edc4a11
JM
8501 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8502 Undefine and redefine.
8503 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8504 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8505 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8506 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8507 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8508 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8509 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8510 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8511 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8512 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8513 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8514 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8515 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8516 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8517 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8518
8399acaf
JM
8519 [BZ #16032]
8520 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8521 without decrementing exponent if mantissa >= that for the
8522 denominator, not >.
8523 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8524 denominator, not >. Decrement exponent in < case instead of
8525 incrementing in >= case.
8526 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8527 without decrementing exponent if mantissa >= that for the
8528 denominator, not >.
8529
99fd9f47
JM
8530 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8531 computing saturated result for unsigned overflow.
8532
10e1cf6b
SP
85332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8534 Jeff Law <law@redhat.com>
8535
8536 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8537 (atan2Mp): Add systemtap probe marker.
8538 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8539 (__ieee754_log): Add systemtap probe marker.
8540 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8541 (atanMp): Add systemtap probe marker.
8542 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8543 (tanMp): Add systemtap probe marker.
8544 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8545 (__slowexp): Add systemtap probe marker.
8546 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8547 (__slowpow): Add systemtap probe marker.
8548 * manual/probes.texi: Document probes.
8549
3d110c7c
EB
85502013-10-11 Eric Biggers <ebiggers3@gmail.com>
8551
8552 [BZ #15362]
8553 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8554 written.
8555 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8556 written.
8557 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8558 written to buffer but not flushed.
8559 * libio/iofwrite_u.c: Likewise.
8560 * libio/iopadn.c: Return bytes returned even if EOF was
8561 encountered.
8562 * libio/iowpadn.c: Likewise.
8563 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8564 if _IO_padn does not write the whole buffer.
8565 [!COMPILE_WPRINTF] (PAD): Likewise.
8566
75b4202a
DM
85672013-10-10 David S. Miller <davem@davemloft.net>
8568
8569 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8570 directory block.
8571
6c6352e6
JM
85722013-10-10 Joseph Myers <joseph@codesourcery.com>
8573
33b853c3
JM
8574 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8575 instead of FSF address.
8576 * soft-fp/fixdfti.c: Likewise.
8577 * soft-fp/fixsfti.c: Likewise.
8578 * soft-fp/fixtfti.c: Likewise.
8579 * soft-fp/fixunsdfti.c: Likewise.
8580 * soft-fp/fixunssfti.c: Likewise.
8581 * soft-fp/fixunstfti.c: Likewise.
8582 * soft-fp/floattidf.c: Likewise.
8583 * soft-fp/floattisf.c: Likewise.
8584 * soft-fp/floattitf.c: Likewise.
8585 * soft-fp/floatuntidf.c: Likewise.
8586 * soft-fp/floatuntisf.c: Likewise.
8587 * soft-fp/floatuntitf.c: Likewise.
8588 * soft-fp/trunctfxf2.c: Likewise.
8589
6c6352e6
JM
8590 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8591 * soft-fp/fixdfti.c: Likewise.
8592 * soft-fp/fixsfti.c: Likewise.
8593 * soft-fp/fixtfti.c: Likewise.
8594 * soft-fp/fixunsdfti.c: Likewise.
8595 * soft-fp/fixunssfti.c: Likewise.
8596 * soft-fp/fixunstfti.c: Likewise.
8597 * soft-fp/floattidf.c: Likewise.
8598 * soft-fp/floattisf.c: Likewise.
8599 * soft-fp/floattitf.c: Likewise.
8600 * soft-fp/floatuntidf.c: Likewise.
8601 * soft-fp/floatuntisf.c: Likewise.
8602 * soft-fp/floatuntitf.c: Likewise.
8603 * soft-fp/trunctfxf2.c: Likewise.
8604
3bf78b71
DM
86052013-10-10 David S. Miller <davem@davemloft.net>
8606
8607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8608
6f10289e
JM
86092013-10-10 Joseph Myers <joseph@codsourcery.com>
8610
bd878fc0
JM
8611 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8612 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8613 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8618
6f10289e
JM
8619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8620 for NaNs before doing comparisons on argument.
8621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8622 Likewise.
8623
321e2684
WN
86242013-10-10 Will Newton <will.newton@linaro.org>
8625
8626 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8627 passed to _int_memalign does not overflow.
8628
40fefba1
TR
86292013-10-10 Torvald Riegel <triegel@redhat.com>
8630
8631 * scripts/bench.pl: Add include-sources directive.
8632 * benchtests/README: Update documentation.
8633
2ae21ed2
JM
86342013-10-10 Joseph Myers <joseph@codesourcery.com>
8635
dcc2dd3f
JM
8636 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8637 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8638 instead of FP_INIT_ROUNDMODE.
8639 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8640 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8641
2ae21ed2
JM
8642 [BZ #16034]
8643 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8644 copy class of input value.
8645 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8646 not handle exceptions.
8647 * soft-fp/negsf2.c (__negsf2): Likewise.
8648 * soft-fp/negtf2.c (__negtf2): Likewise.
8649 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8650
cb8f9562
JM
86512013-10-09 Joseph Myers <joseph@codesourcery.com>
8652
8653 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8654 semicolon. From Linux kernel.
8655
5b60c59d
AB
86562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8657
8658 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8659
b86835ca
YC
86602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8661
8662 [BZ #156]
8663 * manual/socket.texi: Added statement about buffer
8664 for gethostbyname2_r.
8665
e7044ea7
OB
86662013-10-08 Ondřej Bílka <neleai@seznam.cz>
8667
8668 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8669 Use .p2align directive instead, throughout.
8670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8671 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8672 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8675 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8676 * sysdeps/x86_64/strchr.S: Likewise.
8677 * sysdeps/x86_64/strrchr.S: Likewise.
8678
09544cbc
SP
86792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8680
88576635
SP
8681 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8682
e7b2d1dd
SP
8683 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8684
09544cbc
SP
8685 * sysdeps/generic/math_private.h (__mpsin1): Remove
8686 declaration.
8687 (__mpcos1): Likewise.
8688 (__mpsin): New argument __range_reduce.
8689 (__mpcos): Likewise.
8690 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8691 (slow): Use __mpsin and __mpcos.
8692 (slow1): Likewise.
8693 (slow2): Likewise.
8694 (sloww): Likewise.
8695 (sloww1): Likewise.
8696 (sloww2): Likewise.
8697 (bsloww): Likewise.
8698 (bsloww1): Likewise.
8699 (bsloww2): Likewise.
8700 (cslow2): Likewise.
8701 (csloww): Likewise.
8702 (csloww1): Likewise.
8703 (csloww2): Likewise.
8704 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8705 range_reduce. Merge in __mpsin1.
8706 (__mpcos): Likewise.
8707 (__mpsin1): Remove.
8708 (__mpcos1): Likewise.
8709
7602d070
JM
87102013-10-07 Joseph Myers <joseph@codesourcery.com>
8711
8712 * locale/loadlocale.c (_nl_intern_locale_data): Use
8713 LOCFILE_ALIGNED_P.
8714 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8715 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8716 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8717 obstack data is appropriately aligned.
8718 (obstack_int32_grow_fast): Likewise.
8719 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8720 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8721 (add_locale_uint32_array): Likewise.
8722
a357259b
SP
87232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8724
8725 * benchtests/Makefile: Remove ARGLIST and RET variables.
8726 ($(objpfx)bench-%.c): Pass only function name to the script.
8727 * benchtests/README: Update documentation.
8728 * benchtests/acos-inputs: Add new directives.
8729 * benchtests/acosh-inputs: Likewise.
8730 * benchtests/asin-inputs: Likewise.
8731 * benchtests/asinh-inputs: Likewise.
8732 * benchtests/atan-inputs: Likewise.
8733 * benchtests/atanh-inputs: Likewise.
8734 * benchtests/cos-inputs: Likewise.
8735 * benchtests/cosh-inputs: Likewise.
8736 * benchtests/exp-inputs: Likewise.
8737 * benchtests/log-inputs: Likewise.
8738 * benchtests/pow-inputs: Likewise.
8739 * benchtests/rint-inputs: Likewise.
8740 * benchtests/sin-inputs: Likewise.
8741 * benchtests/sinh-inputs: Likewise.
8742 * benchtests/tan-inputs: Likewise.
8743 * benchtests/tanh-inputs: Likewise.
8744 * scripts/bench.pl: Add support for new directives.
8745
9ec1b13d
AM
87462013-10-07 Alan Modra <amodra@gmail.com>
8747
8748 * README: Fix careless merge.
8749
8b7d57cd
AM
87502013-10-05 Alan Modra <amodra@gmail.com>
8751
8752 * NEWS: Mention powerpc64le support and bugs fixed.
8753 * README: Both big-endian and little-endian powerpc64 supported.
8754
7b7bab13
ST
87552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8756
8757 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8758 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8759 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8760 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8761
d39baad1
RA
87622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8763
8764 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8765 match prototype.
8766
cd78f7e7
JM
87672013-10-04 Joseph Myers <joseph@codesourcery.com>
8768
29d73d86
JM
8769 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8770 Move -mhard-float appending from
8771 ports/sysdeps/powerpc/powerpc32/Makefile.
8772 [$(with-fp) = yes] (ASFLAGS): Likewise.
8773 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8774 * sysdeps/powerpc/nofpu: Move directory from
8775 ports/sysdeps/powerpc/nofpu.
8776 * sysdeps/powerpc/soft-fp: Move directory from
8777 ports/sysdeps/powerpc/soft-fp.
8778 * sysdeps/powerpc/powerpc32/405: Move directory from
8779 ports/sysdeps/powerpc/powerpc32/405.
8780 * sysdeps/powerpc/powerpc32/440: Move directory from
8781 ports/sysdeps/powerpc/powerpc32/440.
8782 * sysdeps/powerpc/powerpc32/464: Move directory from
8783 ports/sysdeps/powerpc/powerpc32/464.
8784 * sysdeps/powerpc/powerpc32/476: Move directory from
8785 ports/sysdeps/powerpc/powerpc32/476.
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8787 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8789 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8791 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8793 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8795 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8796 * README: Update for powerpc-*-linux-gnu software floating point
8797 support in libc.
8798
e246b347
JM
8799 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8800 case to powerpc/powerpc32*.
8801 * sysdeps/unix/sysv/linux/configure: Regenerated.
8802
89c2003e
JM
8803 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8804 (_FPU_MASK_OM): Define as 0x04.
8805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8807 0x00c10080.
8808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8809 0x0000003c.
8810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8811
cd78f7e7
JM
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8813 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8814 getcontext_e500.
8815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8817 setcontext_e500.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8820 and setcontext_e500.
8821
c755294d
CL
88222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8823
8824 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8825
e16d221c
SP
88262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8827
8828 * manual/threads.texi (Default Thread Attributes): Fix typo.
8829
215c7d43
WN
88302013-10-04 Will Newton <will.newton@linaro.org>
8831
8832 * malloc/Makefile: Add tst-memalign.
8833 * malloc/tst-memalign.c: New file.
8834
27d0461b
WN
8835 * malloc/tst-posix_memalign.c: Add comments.
8836 (do_test): Add comments and call free on all potentially
8837 allocated pointers. Add space after cast.
8838
1bc92709
WN
8839 * malloc/tst-pvalloc.c: Add comments.
8840 (do_test): Add comments and call free on all potentially
8841 allocated pointers. Remove duplicate check for NULL pointer.
8842 Add space after cast.
8843
66a9be9d
WN
8844 * malloc/tst-valloc.c: Add comments.
8845 (do_test): Add comments and call free on all potentially
8846 allocated pointers. Remove duplicate check for NULL pointer.
8847 Add space after cast.
8848
4cb81307
AM
88492013-10-04 Alan Modra <amodra@gmail.com>
8850
8851 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8852 Use stdint types in rather than __attribute__((mode())).
8853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8854
f8e3e9f3
AM
88552013-10-04 Alan Modra <amodra@gmail.com>
8856
8857 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8858 Correct handling of unaligned relocs for little-endian.
8859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8860
8f9ebb08
AM
88612013-10-04 Alan Modra <amodra@gmail.com>
8862
8863 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8864 * configure: Regenerate.
8865 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8866 * shlib-versions: Likewise.
8867
0edf96c2
AM
88682013-10-04 Alan Modra <amodra@gmail.com>
8869
8870 * string/tester.c (test_memrchr): Increment reported test cycle.
8871
e0f7a380
AM
88722013-10-04 Alan Modra <amodra@gmail.com>
8873
8874 * string/test-memcpy.c (do_one_test): When reporting errors, print
8875 string address and don't overrun end of string.
8876
466b0393
AM
88772013-10-04 Alan Modra <amodra@gmail.com>
8878
8879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8880 insrdi. Make better use of reg selection to speed exit slightly.
8881 Schedule entry path a little better. Remove useless "are we done"
8882 checks on entry to main loop. Handle wrapping around zero address.
8883 Correct main loop count. Handle single left-over word from main
8884 loop inline rather than by using loop_small. Remove extra word
8885 case in loop_small caused by wrong loop count. Add little-endian
8886 support.
8887 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8889 cache hint.
8890 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8892 support. Avoid rlwimi.
8893 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8894
3be87c77
AM
88952013-10-04 Alan Modra <amodra@gmail.com>
8896
8897 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8898 insrdi. Formatting.
3be87c77
AM
8899 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8900 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8901 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8902 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8903 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8904 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8905
759cfef3
AM
89062013-10-04 Alan Modra <amodra@gmail.com>
8907
8908 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8911 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8912 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8913 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8914 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8916 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8917 use of regs. Use power7 mtocrf. Tidy function tails.
8918
fe6e95d7
AM
89192013-10-04 Alan Modra <amodra@gmail.com>
8920
8921 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8922 Formatting. Consistently use rXXX register defines or rN defines.
8923 Use early exit labels that avoid restoring unused non-volatile regs.
8924 Make cr field use more consistent with rWORDn compares. Rename
8925 regs used as shift registers for unaligned loop, using rN defines
8926 for short lifetime/multiple use regs.
8927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8928 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8929 addi 1,1,64 to pop stack frame. Simplify return value code.
8930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8931
664318c3
AM
89322013-10-04 Alan Modra <amodra@gmail.com>
8933
8934 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8935 support. Correct typos, formatting. Optimize tail. Use insrdi
8936 rather than rlwimi.
8937 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8938 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8939 little-endian support. Correct typos.
8940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8941 rather than rlwimi.
8942 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8943 in loop and entry code to keep "and." results.
8944 (strchr): Add little-endian support. Comment. Move cntlzd
8945 earlier in tail.
8946 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8947
43b84013
AM
89482013-10-04 Alan Modra <amodra@gmail.com>
8949
8950 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8951 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8952 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8953 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8954
8a7413f9
AM
89552013-10-04 Alan Modra <amodra@gmail.com>
8956
8957 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8958 (rTMP): Define as r11.
8959 (strcmp): Add little-endian support. Optimise tail.
8960 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8961 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8962 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8964 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8967
33ee81de
AM
89682013-10-04 Alan Modra <amodra@gmail.com>
8969
8970 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8971 little-endian support. Remove unnecessary "are we done" tests.
8972 Handle "s" wrapping around zero and extremely large "size".
8973 Correct main loop count. Handle single left-over word from main
8974 loop inline rather than by using small_loop. Correct comments.
8975 Delete "zero" tail, use "end_max" instead.
8976 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8977
db9b4570
AM
89782013-10-04 Alan Modra <amodra@gmail.com>
8979
8980 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8981 support. Don't branch over align.
8982 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8983 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8984 support. Rearrange tmp reg use to suit. Comment.
8985 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8986
f7c399cf
AM
89872013-10-04 Alan Modra <amodra@gmail.com>
8988
8989 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8990
0b2c2ace
AM
89912013-10-04 Alan Modra <amodra@gmail.com>
8992
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8994 conditional form of branch and link when obtaining pc.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8996
02f04a6c
AM
89972013-10-04 Alan Modra <amodra@gmail.com>
8998
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9000 HIWORD/LOWORD.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9003
9b874b2f
AM
90042013-10-04 Alan Modra <amodra@gmail.com>
9005
9006 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9007 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9008 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9009 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9010 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9011 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9012 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9013 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9014 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9015 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9016
be1e5d31
AB
90172013-10-04 Anton Blanchard <anton@au1.ibm.com>
9018 Alistair Popple <alistair@ozlabs.au.ibm.com>
9019 Alan Modra <amodra@gmail.com>
9020
9021 [BZ #15723]
9022 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9023 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9024 _dl_hwcap access for little-endian.
9025 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9026 destroy vmx regs when saving unaligned.
9027 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9028 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9029 destroy vmx regs when saving unaligned.
9030
fef13a78
AM
90312013-10-04 Alan Modra <amodra@gmail.com>
9032
9033 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9034 Don't use a union to pack hi/low value.
9035
76a66d51
AB
90362013-10-04 Anton Blanchard <anton@au1.ibm.com>
9037
9038 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9039 for little-endian.
9040 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9042 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9043 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9044 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9045
6a31fe7f
AM
90462013-10-04 Alan Modra <amodra@gmail.com>
9047
9048 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9049 constants to usual value for .cst8 section, and remove redundant
9050 high address load.
9051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9052 constant for 0x1p52. Load little-endian words of double from
9053 correct stack offsets.
9054
7b88401f
AM
90552013-10-04 Alan Modra <amodra@gmail.com>
9056
9057 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9058 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9059 words of double from correct stack offsets.
9060 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9061 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9062 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9066 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9067 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9068 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9071 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9072 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9073 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9074 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9075 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9076 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9077
9c008155
AM
90782013-10-04 Alan Modra <amodra@gmail.com>
9079
9080 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9081 64-bit int/double union.
9082 (_FPU_SETCW): Likewise.
9083 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9084 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9085
da13146d
AM
90862013-10-04 Alan Modra <amodra@gmail.com>
9087
9088 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9089 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9090
603e8410
AM
90912013-10-04 Alan Modra <amodra@gmail.com>
9092
9093 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9094 use vector int constants.
9095 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9096
4a28b3ca
AB
90972013-10-04 Anton Blanchard <anton@au1.ibm.com>
9098
9099 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9100 array with long long.
9101 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9102 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9103 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9104 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9105 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9106 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9107 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9108 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9109 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9110 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9111 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9112 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9113 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9114
2ca85d2b
AB
91152013-10-04 Anton Blanchard <anton@au1.ibm.com>
9116
9117 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9118 (__signbit): Likewise. Correct for little-endian.
9119 (__signbitl): Call __signbit.
9120 (lrint): Correct for little-endian.
9121 (lrintf): Call lrint.
9122
62a728ae
AM
91232013-10-04 Alan Modra <amodra@gmail.com>
9124
9125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9126 union 32-bit int array member with 64-bit int array.
9127 (t515, tm256): Double rather than long double.
9128 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9129
32c301df
AM
91302013-10-04 Alan Modra <amodra@gmail.com>
9131
9132 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9133 Delete.
9134 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9136 version of math_ldbl.h.
9137
650ef4bd
AM
91382013-10-04 Alan Modra <amodra@gmail.com>
9139
9140 [BZ #15734], [BZ #15735]
9141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9142 all uses of ieee875 long double macros and unions. Simplify test
9143 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9144 ldbl_extract_mantissa value for ix,iy exponents. Properly
9145 normalize after ldbl_extract_mantissa, and don't add hidden bit
9146 already handled. Don't treat low word of ieee854 mantissa like
9147 low word of IBM long double and mask off bit when testing for
9148 zero.
9149 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9150 all uses of ieee875 long double macros and unions. Simplify tests
9151 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9152 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9153 two1022, instead use their values. Recognise that tests for large
9154 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9156 Rewrite all uses of ieee875 long double macros and unions. Simplify
9157 test for 0.0L and nan. Correct negation.
9158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9159 ieee875 long double macros and unions. Correct output for large
9160 magnitude x. Correct absolute value calculation.
9161 (__erfcl): Likewise.
9162 * math/libm-test.inc: Add tests for errors discovered in IBM long
9163 double versions of fmodl, remainderl, erfl and erfcl.
9164
765714ca
AM
91652013-10-04 Alan Modra <amodra@gmail.com>
9166
9167 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9168 all uses of ieee854 long double macros and unions. Simplify tests
9169 for long doubles that are fully specified by the high double.
9170 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9171 Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9173 Remove dead code too.
9174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9175 (__ieee754_ynl): Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9179 Remove dead code too.
9180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9184 Simplify.
9185 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9186 Simplify.
9187 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9190 Comment on variable precision.
9191 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9193 Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9198 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9199
4ebd120c
AM
92002013-10-04 Alan Modra <amodra@gmail.com>
9201
9202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9203 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9204 all uses of ieee854 long double macros and unions.
9205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9211 Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9218 Simplify sign and nan test too.
9219 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9223 Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9226 Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9233
1b6adf88
AM
92342013-10-04 Alan Modra <amodra@gmail.com>
9235
9236 * stdio-common/printf_size.c (__printf_size): Don't use
9237 union ieee854_long_double in fpnum union.
9238 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9239 signbit macro to retrieve sign from long double.
9240 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9241 retrieve sign from long double.
9242 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9243 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9244 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9245 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9246 * math/test-misc.c (main): Don't use union ieee854_long_double.
9247
4cf69995
AM
92482013-10-04 Alan Modra <amodra@gmail.com>
9249
9250 [BZ #15680]
9251 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9252 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9253 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9254 calculation. Remove unnecessary test for denormal exponent.
9255 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9256 Correct handling of denormals. Avoid undefined shift behaviour.
9257 Correct normalisation of low mantissa when low double is denormal.
9258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9259 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9260 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9261 Correct normalisation of low mantissa. Test for overflow of high
9262 mantissa and normalise.
9263 (ldbl_nearbyint): Use more readable constant for two52.
9264 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9265 (__mpn_construct_long_double): Fix test for overflow of high
9266 mantissa and correct normalisation. Avoid undefined shift.
9267
9605ca6c
AM
92682013-10-04 Alan Modra <amodra@gmail.com>
9269
9270 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9271 (union ibm_extended_long_double): Define as an array of ieee754_double.
9272 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9273 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9274 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9275 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9283
975569d0
JM
92842013-10-03 Joseph Myers <joseph@codesourcery.com>
9285
d3d23756
JM
9286 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9287 page size instead of calling getpagesize.
9288
975569d0
JM
9289 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9290 (LOCFILE_ALIGN_MASK): Likewise.
9291 (LOCFILE_ALIGN_UP): Likewise.
9292 (LOCFILE_ALIGNED_P): Likewise.
9293 * locale/programs/ld-collate.c (collate_output): Use the new
9294 macros instead of __alignof__ (int32_t).
9295 * locale/weight.h (findidx): Likewise.
9296
b1fe1f2b
OB
92972013-10-03 Ondřej Bílka <neleai@seznam.cz>
9298
9299 [BZ #431]
9300 * manual/string.texi: Fix strncat and wcsncat.
9301
5f855e35
BM
93022013-10-03 Brooks Moses <bmoses@google.com>
9303
9304 [BZ #15915]
9305 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9306 * Makerules: ...here, and adjust associated comments.
9307
3cef6009
WN
93082013-10-02 Will Newton <will.newton@linaro.org>
9309
9310 * malloc/Makefile: Add tst-pvalloc.
9311 * malloc/tst-pvalloc.c: New file.
9312
7815420b
WN
93132013-10-02 Will Newton <will.newton@linaro.org>
9314
9315 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9316 improve test coverage.
9317
4868b204
WN
93182013-10-02 Will Newton <will.newton@linaro.org>
9319
9320 * malloc/Makefile: Add tst-posix_memalign.
9321 * malloc/tst-posix_memalign.c: New file.
9322
29c793b3
EB
93232013-10-01 Eric Blake <eblake@redhat.com>
9324
9325 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9326 Use __THROWNL rather than __THROW on static functions.
9327
fd967522
PM
93282013-09-30 Petr Machata <pmachata@redhat.com>
9329
9330 * elf/elf.h (R_AARCH64_ABS16): New macro.
9331 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9332 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9333 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9334 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9335 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9336 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9337 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9338 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9339 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9340 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9341 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9342 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9343 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9344 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9345 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9346 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9347 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9348 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9349 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9350 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9351 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9352 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9353 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9354 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9355 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9356 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9357 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9358 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9359 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9360 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9361 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9362 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9363 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9364 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9365 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9366 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9367 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9368 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9369 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9370 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9371 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9372 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9373 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9374 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9375 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9376 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9377 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9378 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9379 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9380 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9381 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9382 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9383 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9384 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9385 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9386 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9387 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9388 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9389 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9390 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9391 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9392 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9393 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9394 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9395 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9396 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9397 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9398 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9399 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9400 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9401 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9402 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9403 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9404 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9405 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9406 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9407 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9408 (R_AARCH64_TLSDESC_LDR): Likewise.
9409 (R_AARCH64_TLSDESC_ADD): Likewise.
9410 (R_AARCH64_TLSDESC_CALL): Likewise.
9411
b2179107
AS
94122013-09-30 Andreas Schwab <schwab@suse.de>
9413
9414 [BZ #15048]
9415 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9416 the nss database lookup.
9417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9419
47f28d0a
MF
94202013-09-28 Mike Frysinger <vapier@gentoo.org>
9421
9422 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9423
94242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9425
9426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9427 ${Bash-specific parameter/pattern/string} parameter expansion.
9428 * sysdeps/unix/make-syscalls.sh: Likewise.
9429
f4518a17
KK
94302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9431
9432 * sysdeps/sh/stackguard-macros.h: New file.
9433
dc1a95c7
OB
94342013-09-26 Ondřej Bílka <neleai@seznam.cz>
9435
9436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9438 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9439 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9440 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9441 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9442
5ebbff8f
AZ
94432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9444
9445 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9446 Fix thread ID register.
9447
4fd2cf9f
JM
94482013-09-25 Joseph Myers <joseph@codesourcery.com>
9449
9450 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9451 [POSIX || UNIX98]: Require rather than permitting all symbols from
9452 <time.h>.
9453 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9454 element of struct sched_param.
9455 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9456 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9457 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9458 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9459 constant.
9460
12c22bc4
OL
94612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9462
9463 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9464 argument calculation.
9465
a03d8ea7
JM
94662013-09-24 Joseph Myers <joseph@codesourcery.com>
9467
9468 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9469 Expect macro.
9470 [POSIX] (pthread_attr_t): Do not require type.
9471 [POSIX] (pthread_cond_t): Likewise.
9472 [POSIX] (pthread_condattr_t): Likewise.
9473 [POSIX] (pthread_key_t): Likewise.
9474 [POSIX] (pthread_mutex_t): Likewise.
9475 [POSIX] (pthread_mutexattr_t): Likewise.
9476 [POSIX] (pthread_once_t): Likewise.
9477 [POSIX] (pthread_t): Likewise.
9478 [POSIX-based standards] (pthread_atfork): Expect function.
9479
6055173a
JM
94802013-09-24 Joseph Myers <joseph@codesourcery.com>
9481 Richard Sandiford <richard@codesourcery.com>
9482
9483 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9484 (swap_endianness_p): New extern variable.
9485 (set_big_endian): New inline function.
9486 (maybe_swap_uint32): Likewise.
9487 (maybe_swap_uint32_array): Likewise.
9488 (maybe_swap_uint32_obstack): Likewise.
9489 * locale/programs/locfile.c: Include <stdbool.h>.
9490 (swap_endianness_p): New variable.
9491 (add_locale_uint32): Call maybe_swap_uint32.
9492 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9493 (write_locale_data): Call maybe_swap_uint32_array.
9494 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9495 maybe_swap_uint32.
9496 (obstack_int32_grow_fast): Likewise.
9497 (output_weightwc): Call maybe_swap_uint32_obstack.
9498 (collate_output): Likewise.
9499 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9500 (OPT_LITTLE_ENDIAN): Likewise.
9501 (options): Add --little-endian and --big-endian options.
9502 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9503 * locale/programs/locarchive.c: Include "locfile.h".
9504 (GET): New macro.
9505 (SET): Likewise.
9506 (INC): Likewise.
9507 (create_archive): Use the new macros to access fields of
9508 structures directly mapped from or written to locale archives.
9509 (oldlocrecentcmp): Likewise.
9510 (enlarge_archive): Likewise.
9511 (insert_name): Likewise.
9512 (add_alias): Likewise.
9513 (add_locale): Likewise.
9514 (delete_locales_from_archive): Likewise.
9515 (show_archive_content): Likewise.
9516 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9517 locale data.
9518
39bf0bb4
RM
95192013-09-24 Roland McGrath <roland@hack.frob.com>
9520
9521 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9522 http://www.gnu.org/doc/freemanuals.texi.
9523 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9524
f02eed10
WN
95252013-09-24 Will Newton <will.newton@linaro.org>
9526
9527 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9528 macro.
9529
a3a6c312
JM
95302013-09-23 Joseph Myers <joseph@codesourcery.com>
9531
9532 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9533 unsigned char.
9534
107375ac
MR
95352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9536
9537 * manual/threads.texi (POSIX Threads): Fix a typo.
9538
141f3a77
SP
95392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9540
303e567a
SP
9541 [BZ #14547]
9542 * string/tst-strcoll-overflow.c: New test case.
9543 * string/Makefile (xtests): Add tst-strcoll-overflow.
9544 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9545 cache if string sizes may cause integer overflow.
9546
141f3a77
SP
9547 [BZ #14547]
9548 * string/strcoll_l.c (coll_seq): New members rule, idx,
9549 save_idx and back_us.
9550 (get_next_seq_nocache): New function.
9551 (do_compare_nocache): New function.
9552 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9553 when malloc fails.
9554
c61b4d41
CD
95552013-09-23 Carlos O'Donell <carlos@redhat.com>
9556
0b1f8e35
CD
9557 [BZ #15754]
9558 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9559 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9560 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9561
c61b4d41
CD
9562 [BZ #15754]
9563 * elf/Makefile (tests): Add tst-ptrguard1.
9564 (tests-static): Add tst-ptrguard1-static.
9565 (tst-ptrguard1-ARGS): Define.
9566 (tst-ptrguard1-static-ARGS): Define.
9567 * elf/tst-ptrguard1.c: New file.
9568 * elf/tst-ptrguard1-static.c: New file.
9569 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9570 * sysdeps/i386/stackguard-macros.h: Likewise.
9571 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9572 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9573 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9574 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9575 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9576 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9577
95782013-09-23 Hector Marco <hecmargi@upv.es>
9579 Ismael Ripoll <iripoll@disca.upv.es>
9580 Carlos O'Donell <carlos@redhat.com>
9581
9582 [BZ #15754]
9583 * sysdeps/generic/stackguard-macros.h: Define
9584 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9585 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9586 Define __pointer_chk_guard_local.
9587 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9588 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9589
f5f4e7b4
VV
95902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9591
9592 [BZ #15859]
9593 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9594
5bb43a43
AS
95952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9596
9597 * include/string.h (__ffs): Declare as hidden.
9598 * string/ffs.c (__ffs): Define as hidden.
9599 * sysdeps/i386/ffs.c (__ffs): Likewise.
9600 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9601 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9602 * sysdeps/s390/ffs.c (__ffs): Likewise.
9603 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9604
3ea5be54
AO
96052013-09-20 Alexandre Oliva <aoliva@redhat.com>
9606
ffb89e53
AO
9607 * NEWS: Mention malloc probes.
9608
322dea08
AO
9609 * malloc/arena.c (new_heap): New memory_heap_new probe.
9610 (grow_heap): New memory_heap_more probe.
9611 (shrink_heap): New memory_heap_less probe.
9612 (heap_trim): New memory_heap_free probe.
9613 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9614 (systrim): New memory_sbrk_less probe.
9615 * manual/probes.texi: Document them.
9616
655673f3
AO
9617 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9618 * manual/probes.texi: Document it.
9619
35fed6f1
AO
9620 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9621 (__libc_realloc): Add memory_realloc_retry probe.
9622 (__libc_memalign): Add memory_memalign_retry probe.
9623 (__libc_valloc): Add memory_valloc_retry probe.
9624 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9625 (__libc_calloc): Add memory_calloc_retry probe.
9626 * manual/probes.texi: Document them.
9627
6999d38c
AO
9628 * malloc/arena.c (get_free_list): Add probe
9629 memory_arena_reuse_free_list.
9630 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9631 and memory_arena_reuse.
9632 (arena_get2) [!PER_THREAD]: Likewise.
9633 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9634 memory_arena_reuse_realloc.
9635 * manual/probes.texi: Document them.
9636
0653427f
AO
9637 * malloc/malloc.c (__libc_free): Add
9638 memory_mallopt_free_dyn_thresholds probe.
9639 (__libc_mallopt): Add multiple memory_mallopt probes.
9640 * manual/probes.texi: Document them.
9641
3ea5be54
AO
9642 * malloc/malloc.c: Include stap-probe.h.
9643 (__libc_mallopt): Add memory_mallopt probe.
9644 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9645 * manual/probes.texi: New.
9646 * manual/Makefile (chapters): Add probes.
9647 * manual/threads.texi: Set next node.
9648
e35696c3 96492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9650
e35696c3
CL
9651 [BZ #15963, #13985]
9652 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9653 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9654 Add `Chinese' to `nan' entry name.
9655
4aafb73c
SP
96562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9657
9658 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9659 (POLYNOMIAL): Likewise.
9660 (TAYLOR_SINCOS): Likewise.
9661 (TAYLOR_SLOW): Likewise.
9662 (__sin): Use TAYLOR_SINCOS.
9663 (__cos): Likewise.
9664 (slow): Use TAYLOR_SLOW.
9665 (sloww): Likewise.
9666 (bsloww): Likewise.
9667 (csloww): Likewise.
9668
d84f25c7
LD
96692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9670
9671 * stdlib/strtod_l.c: Fix buffer overrun.
9672
5eea0404
SP
96732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9674
7849ff93
SP
9675 * benchtests/Makefile (bench): Add sincos.
9676 * benchtests/bench-sincos.c: New file.
9677
cfa3c886
SP
9678 * math/libm-test.inc (cos_test_data): New test inputs.
9679 (sin_test_data): Likewise.
9680
b348e1e3
SP
9681 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9682 macro.
9683 (__sin): Use it.
9684 (__cos): Likewise.
9685 (slow1): Likewise.
9686 (slow2): Likewise.
9687 (sloww1): Likewise.
9688 (sloww2): Likewise.
9689 (bsloww1): Likewise.
9690 (bsloww2): Likewise.
9691 (cslow2): Likewise.
9692 (csloww1): Likewise.
9693 (csloww2): Likewise.
9694
6cce25f8
SP
9695 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9696 function.
9697 (__sin): Use it.
9698 (__cos): Likewise.
9699
5eea0404
SP
9700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9701 gotos.
9702 (__cos): Likewise.
9703
9c21573c
MR
97042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9705
9706 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9707 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9708 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9709 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9710 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9711 * elf/cache.c (print_entry): Handle the new cache flags.
9712
24d22e65
JM
97132013-09-18 Joseph Myers <joseph@codesourcery.com>
9714 Aldy Hernandez <aldyh@redhat.com>
9715
9716 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9717 Change condition to [_SOFT_FLOAT].
9718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9730 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9733 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9734 declaration.
9735
d13ef066
JM
97362013-09-18 Joseph Myers <joseph@codesourcery.com>
9737
2e071de0
JM
9738 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9739 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9740 (__longjmp): Use LOAD_GP to load saved GPRs.
9741 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9743 (__sigsetjmp): Use SAVE_GP to save GPRs.
9744
d13ef066
JM
9745 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9746 Do not append -msoft-float.
9747 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9748
97a0650b
SP
97492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9750
9751 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9752
11ca09e9
JM
97532013-09-17 Joseph Myers <joseph@codesourcery.com>
9754
9755 [BZ #15966]
9756 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9757 (_FPU_GETCW): Use initial "__" on variable and field names but not
9758 on macro parameter name.
9759 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9760 parentheses around reference to macro parameter.
9761
08ffcf34
RS
97622013-09-13 Richard Sandiford <richard@codesourcery.com>
9763
9764 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9765 prototype.
9766 (ctype_startup): Use uint32_t in cast and sizeof for
9767 ctype->charnames.
9768
ae7080d3
JL
97692013-09-11 Jia Liu <proljc@gmail.com>
9770
9771 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9772 __daddr_t_defined.
9773 [__FreeBSD__]: Likewise.
9774
5905e7b3
OB
97752013-09-11 Ondřej Bílka <neleai@seznam.cz>
9776
9777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9778 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9779 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9780 (strchr): Remove __strchr_sse42 ifunc selection.
9781 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9782 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9783
b987c776
WN
97842013-09-11 Will Newton <will.newton@linaro.org>
9785
9786 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9787 parameter to RES. Remove hardcoded 1000 value.
9788 * benchtests/bench-skeleton.c (main): Pass RES parameter
9789 to TIMING_INIT and multiply result by 1000.
9790
ddf985af
AZ
97912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9792
9793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9794
ffdd3181
AS
97952013-09-11 Andreas Schwab <schwab@suse.de>
9796
9797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9798 if not defined.
9799 (O_TMPFILE) [__USE_GNU]: Define.
9800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9801 Define.
9802
b73ed247
WN
98032013-09-11 Will Newton <will.newton@linaro.org>
9804
9805 [BZ #15857]
9806 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9807 does not overflow.
9808
55e17aad
WN
98092013-09-11 Will Newton <will.newton@linaro.org>
9810
9811 [BZ #15856]
9812 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9813 does not overflow.
9814
1159a193
WN
98152013-09-11 Will Newton <will.newton@linaro.org>
9816
9817 [BZ #15855]
9818 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9819 does not overflow.
9820
5905e7b3 98212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9822
9823 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9824 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9828
cdfc721b
AM
98292013-09-10 Allan McRae <allan@archlinux.org>
9830
aa04af00
AM
9831 [BZ #15748]
9832 * manual/arith.texi (Parsing of Floats): Clarify
9833 cross-reference.
9834
cdfc721b
AM
9835 [BZ #15849]
9836 * manual/install.texi (Running make install): Mention
9837 --enable-pt-chown.
9838 * INSTALL: Regenerated.
9839
95e7cf29
MR
98402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9841
9842 * csu/init-first.c (_init): Remove the !SHARED condition around
9843 FPU control word initialization.
9844 * elf/dl-support.c (_dl_fpu_control): New variable.
9845 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9846 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9847 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9848 * math/test-fpucw-static.c: New file.
9849 * math/test-fpucw-ieee.c: New file.
9850 * math/test-fpucw-ieee-static.c: New file.
9851 * math/Makefile (tests): Add `test-fpucw-ieee' and
9852 `$(tests-static)'.
9853 (tests-static): New variable.
9854 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9855 dependency to...
9856 [($(build-shared),yes)]
9857 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9858 ... this.
9859 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9860 New dependency.
9861
83e43bf0
AM
98622013-09-09 Allan McRae <allan@archlinux.org>
9863
a9f5ce09
AM
9864 [BZ #15939]
9865 * manual/string.texi (Collation Functions): Fix typo in
9866 strcoll example.
9867 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9868
34829bc2
AM
9869 [BZ #15893]
9870 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9871
3932737d
AM
9872 [BZ #15892]
9873 * libio/memstream.c (open_memstream): Fix memory leak.
9874 * libio/wmemstream.c (open_wmemstream): Likewise.
9875
83e43bf0
AM
9876 [BZ #15895]
9877 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9878
0c66b8e9
WN
98792013-09-09 Will Newton <will.newton@linaro.org>
9880
9881 * malloc/Makefile: Add tst-realloc to tests.
9882 * malloc/tst-realloc.c: New file.
9883
f6b00fd1
AM
98842013-09-09 Allan McRae <allan@archlinux.org>
9885
9886 [BZ #15844]
9887 * COPYING: Update from GNU website to fix FSF address.
9888 * COPYING.LIB: Likewise.
9889
eec55e16
DM
98902013-09-06 David S. Miller <davem@davemloft.net>
9891
9892 * po/zh_TW.po: Update Chinese (traditional) translation from
9893 translation project.
9894
1ecbb381
RS
98952013-09-06 Richard Sandiford <richard@codesourcery.com>
9896 Joseph Myers <joseph@codesourcery.com>
9897
9898 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9899 "localeinfo.h".
9900 (obstack_chunk_alloc): New macro.
9901 (obstack_chunk_free): Likewise.
9902 (record_offset): New function.
9903 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
9918 iovec.
9919 * locale/programs/locfile.h: Include "obstack.h".
9920 (struct locale_file): Change to store locale file contents instead
9921 of header.
9922 (init_locale_data): New prototype.
9923 (align_locale_data): Likewise.
9924 (add_locale_empty): Likewise.
9925 (add_locale_raw_data): Likewise.
9926 (add_locale_raw_obstack): Likewise.
9927 (add_locale_string): Likewise.
9928 (add_locale_wstring): Likewise.
9929 (add_locale_uint32): Likewise.
9930 (add_locale_uint32_array): Likewise.
9931 (add_locale_char): Likewise.
9932 (start_locale_structure): Likewise.
9933 (end_locale_structure): Likewise.
9934 (start_locale_prelude): Likewise.
9935 (end_locale_prelude): Likewise.
9936 (write_locale_data): Update prototype.
9937 * locale/programs/3level.h (struct TABLE): Remove result field.
9938 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9939 Use new locale_file interface.
9940 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9941 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9942 * locale/programs/ld-address.c (address_output): Use new
9943 locale_file interface.
9944 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9945 NO_ADD_LOCALE.
9946 (collate_finish): Don't call collseq_table_finalize.
9947 (collate_output): Use new locale_file interface.
9948 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9949 in file.
9950 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9951 (TABLE): Move defines earlier in file.
9952 (ELEMENT): Likewise.
9953 (DEFAULT): Likewise.
9954 (wctrans_table_add): Move macro and inline function earlier in
9955 file.
9956 (struct wctype_table): Move type earlier in file.
9957 (add_locale_wctype_table): New static prototype.
9958 (struct locale_ctype_t): Use logical types instead of struct iovec
9959 pointers for members.
9960 (ctype_output): Use new locale_file interface.
9961 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9962 new locale_file interface.
9963 (allocate_arrays): Update for use of new locale_file interface.
9964 * locale/programs/ld-identification.c (identification_output): Use
9965 new locale_file interface.
9966 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9967 * locale/programs/ld-messages.c (messages_output): Likewise.
9968 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9969 * locale/programs/ld-name.c (name_output): Likewise.
9970 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9971 * locale/programs/ld-paper.c (paper_output): Likewise.
9972 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9973 * locale/programs/ld-time.c (time_output): Likewise.
9974
e029e2e5
AZ
99752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9976
9977 * benchtests/Makefile: Add memrchr benchmark.
9978 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9979 benchmark as memrchr.
9980 * benchtests/bench-memrchr-ifunc.c: New file.
9981 * benchtests/bench-memrchr.c: New file.
9982
bbf6e8e4
WN
99832013-09-06 Will Newton <will.newton@linaro.org>
9984
9985 * benchtests/Makefile (string-bench): Add memcpy.
9986
6c82a2f8
CD
99872013-09-05 Carlos O'Donell <carlos@redhat.com>
9988 Cong Wang <amwang@redhat.com>
9989
e732c5f0 9990 [BZ #15850]
6c82a2f8
CD
9991 * sysdeps/unix/sysv/linux/bits/in.h
9992 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9993 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9994 before __USE_KERNEL_IPV6_DEFS uses.
9995 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9996 IPPROTO_BEETPH.
9997 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9998 sockaddr_in6, or ipv6_mreq.
9999
5430fc65
AZ
100002013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10001
10002 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10003 memory access for final bytes in some large inputs.
10004 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10005
4660856c
AZ
100062013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10007
10008 * string/test-memrchr.c: New file.
10009 * string/test-memrchr-ifunc.c: New file.
10010 * string/Makefile: Add new memrchr testcase.
10011
bb8ea713
MF
100122013-09-05 Mike Frysinger <vapier@gentoo.org>
10013
10014 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10015 fanotify_init returns EPERM.
10016
b92a20b5
JM
100172013-09-04 Joseph Myers <joseph@codesourcery.com>
10018
10019 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10020 errors.
10021 (top level): Treat second token from macro or constant entries for
10022 allowed headers as allowed.
10023 * include/complex.h: Condition internal declarations on
10024 [!_ISOMAC].
10025 * include/fenv.h: Condition include of <stdbool.h> and internal
10026 declarations on [!_ISOMAC].
7447ccd9
CL
10027
100282013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10029
3e181dda 10030 [BZ #15923]
7447ccd9
CL
10031 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10032
3f2e46a4
JM
100332013-09-04 Joseph Myers <joseph@codesourcery.com>
10034
10035 * configure.in (--enable-versioning): Remove configure option.
10036 (libc_cv_asm_symver_directive): Remove configure test.
10037 (libc_cv_ld_version_script_option): Likewise.
10038 (VERSIONING): Remove variable and AC_SUBST.
10039 (DO_VERSIONING): Remove AC_DEFINE.
10040 * configure: Regenerated.
10041 * config.h.in (DO_VERSIONING): Remove macro.
10042 * Makerules [$(versioning) = yes]: Change conditionals to
10043 [$(build-shared) = yes].
10044 * config.make.in (versioning): Remove variable.
10045 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10046 [$(build-shared) = yes].
10047 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10048 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10049 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10050 [$(build-shared) = yes].
10051 * extra-lib.mk [$(versioning) = yes]: Likewise.
10052 * hurd/Makefile [$(versioning) = yes]: Likewise.
10053 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10054 [SHARED].
10055 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10056 [SHARED].
10057 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10058 [SHARED && !NO_HIDDEN].
10059 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10060 [SHARED].
10061 [SHARED && DO_VERSIONING]: Likewise..
10062 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10063 [$(build-shared) = yes].
10064 * manual/install.texi (--disable-versioning): Remove
10065 documentation.
10066 * INSTALL: Regenerated.
10067 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10068 to [SHARED].
10069 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10070 [$(build-shared) = yes].
10071 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10072 * sysdeps/i386/i686/multiarch/strstr-c.c
10073 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10074 [SHARED && !NO_HIDDEN].
10075 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10076 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10077 * sysdeps/powerpc/powerpc32/dl-machine.c
10078 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10079 * sysdeps/powerpc/powerpc32/sysdep.h
10080 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10081 to [SHARED && PIC && !NO_HIDDEN].
10082 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10083 conditional to [SHARED].
10084
44558701
WN
100852013-09-04 Will Newton <will.newton@linaro.org>
10086
10087 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10088 * benchtests/bench-string.h: Include bench-timing.h instead
10089 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10090 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10091 call to HP_TIMING_DIFF_INIT.
10092 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10093 instead of hp-timing.h macros.
10094 * benchtests/bench-memchr.c: Likewise.
10095 * benchtests/bench-memcmp.c: Likewise.
10096 * benchtests/bench-memcpy.c: Likewise.
10097 * benchtests/bench-memmem.c: Likewise.
10098 * benchtests/bench-memmove.c: Likewise.
10099 * benchtests/bench-memset.c: Likewise.
10100 * benchtests/bench-rawmemchr.c: Likewise.
10101 * benchtests/bench-strcasecmp.c: Likewise.
10102 * benchtests/bench-strcasestr.c: Likewise.
10103 * benchtests/bench-strcat.c: Likewise.
10104 * benchtests/bench-strchr.c: Likewise.
10105 * benchtests/bench-strcmp.c: Likewise.
10106 * benchtests/bench-strcpy.c: Likewise.
10107 * benchtests/bench-strcpy_chk.c: Likewise.
10108 * benchtests/bench-strlen.c: Likewise.
10109 * benchtests/bench-strncasecmp.c: Likewise.
10110 * benchtests/bench-strncat.c: Likewise.
10111 * benchtests/bench-strncmp.c: Likewise.
10112 * benchtests/bench-strncpy.c: Likewise.
10113 * benchtests/bench-strnlen.c: Likewise.
10114 * benchtests/bench-strpbrk.c: Likewise.
10115 * benchtests/bench-strrchr.c: Likewise.
10116 * benchtests/bench-strspn.c: Likewise.
10117 * benchtests/bench-strstr.c: Likewise.
10118
cae16d66
WN
101192013-09-04 Will Newton <will.newton@linaro.org>
10120
10121 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10122
ffa3cd7f
JM
101232013-09-03 Joseph Myers <joseph@codesourcery.com>
10124
10125 [BZ #15427]
10126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10127 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10128 * math/libm-test.inc (lgamma_test_data): Add more tests.
10129 * sysdeps/i386/fpu/libm-test-ulps: Update.
10130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10131
8f02859f
OB
101322013-09-03 Ondřej Bílka <neleai@seznam.cz>
10133
10134 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10136 Add ifunc.
10137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10138 Add strcmp-sse2-unaligned
10139 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10140
18d43716
MF
101412013-09-02 Mike Frysinger <vapier@gentoo.org>
10142
10143 * Versions.def (libc): Add GLIBC_2.19.
10144
ac444012
MF
101452013-09-02 Mike Frysinger <vapier@gentoo.org>
10146
10147 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10148 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10149
b7835e32
JM
101502013-09-02 Joseph Myers <joseph@codesourcery.com>
10151
10152 [BZ #14155]
10153 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10154 intermediate calculations in recurrence.
10155 (__ieee754_ynf): Likewise.
10156 * math/libm-test.inc (jn_test_data): Do not allow spurious
10157 underflow exception. Add more tests.
10158 (yn_test_data): Add more tests.
10159 * sysdeps/i386/fpu/libm-test-ulps: Update.
10160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10161
8220f4f0
OB
101622013-09-02 Ondřej Bílka <neleai@seznam.cz>
10163
10164 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10165
f24a6d08
OB
101662013-08-30 Ondřej Bílka <neleai@seznam.cz>
10167
10168 * csu/init-first.c: Fix then/than typos.
10169 * locale/programs/ld-collate.c: Likewise.
10170 * locale/programs/linereader.h: Likewise.
10171 * manual/charset.texi: Likewise.
10172 * manual/filesys.texi: Likewise.
10173 * manual/stdio.texi: Likewise.
10174 * manual/string.texi: Likewise.
10175 * stdlib/fmtmsg.c: Likewise.
10176 * sysdeps/i386/stpncpy.S: Likewise.
10177 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10178 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10179 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10180 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10181
382466e0
OB
101822013-08-30 Ondřej Bílka <neleai@seznam.cz>
10183
10184 * elf/dl-open.c: Fix typos.
10185 * iconvdata/gbbig5.c: Likewise.
10186 * iconvdata/iso-2022-jp.c: Likewise.
10187 * iconv/gconv_int.h: Likewise.
10188 * iconv/loop.c: Likewise.
10189 * nis/rpcsvc/nis.h: Likewise.
10190 * resolv/ns_name.c: Likewise.
10191 * stdio-common/vfscanf.c: Likewise.
10192 * streams/stropts.h: Likewise.
10193 * sunrpc/rpc_thread.c: Likewise.
10194 * sysdeps/i386/strpbrk.S: Likewise.
10195 * sysdeps/ieee754/k_standard.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10198 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10199 * sysdeps/mach/hurd/profil.c: Likewise.
10200 * sysdeps/s390/dl-procinfo.h: Likewise.
10201 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10202 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10204 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10205 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10206
0186c6e9
OB
102072013-08-30 Ondřej Bílka <neleai@seznam.cz>
10208
10209 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10211
d4e16af1
OB
102122013-08-29 Ondřej Bílka <neleai@seznam.cz>
10213
10214 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10215 aix specific files.
10216 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10220 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10221 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10222 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10223 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10224
88335980
TS
102252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10226 Roland McGrath <roland@hack.frob.com>
10227
10228 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10229 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10230
ed479b02
ST
102312013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10232
10233 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10234 __executable_start symbol instead of _start.
10235
f1cc4c86
TS
102362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10237
d821f07c
TS
10238 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10239 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10240 Move macros to...
10241 * sysdeps/gnu/ldsodefs.h: ... this new file.
10242
c54290cf
TS
10243 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10244 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10245 instead of ELFOSABI_LINUX.
10246
0007fc9b 10247 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10248 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10249 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10250 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10251 Likewise.
10252 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10253 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10255 Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10257 (ibm_extended_long_double): Add ieee_nan member.
10258 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10259 (do_test): New function.
10260
f1cc4c86
TS
10261 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10262 TEST_TRUNC.
10263 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10264 functions, renamed from truncdfsf_test, trunctfsf_test,
10265 trunctfdf_test.
10266 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10267 functions.
10268 (do_test): Run all these.
10269
6f65e668
OB
102702013-08-29 Ondřej Bílka <neleai@seznam.cz>
10271
10272 * argp/argp-help.c: Fix typos.
10273 * argp/argp-parse.c: Likewise.
10274 * debug/backtracesyms.c: Likewise.
10275 * elf/elf.h: Likewise.
10276 * malloc/malloc.c: Likewise.
10277 * nis/nis_print.c: Likewise.
10278 * resolv/res_comp.c: Likewise.
10279 * stdlib/stdlib.h: Likewise.
10280 * sunrpc/clnt_tcp.c: Likewise.
10281 * sunrpc/clnt_udp.c: Likewise.
10282 * sunrpc/clnt_unix.c: Likewise.
10283 * sysdeps/unix/bsd/ptsname.c: Likewise.
10284 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10285 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10287 Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10289 Likewise.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10291 Likewise.
6f65e668
OB
10292 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10293
3a309239
SP
102942013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10295
10296 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10298
3b813b29
MF
102992013-08-27 Mike Frysinger <vapier@gentoo.org>
10300
10301 [BZ #15897]
10302 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10303 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10304 ($(objpfx)bug-dl-leaf): New rule.
10305 ($(objpfx)bug-dl-leaf.so): Likewise.
10306 ($(objpfx)bug-dl-leaf.out): Likewise.
10307 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10308 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10309 * dlfcn/bug-dl-leaf.c: New test.
10310 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10311 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10312 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10313 (dlclose): Likewise.
10314 (dlmopen): Likewise.
10315
8cc3269f
RM
103162013-08-27 Roland McGrath <roland@hack.frob.com>
10317
7f9d0034
RM
10318 * include/netdb.h [!_ISOMAC]:
10319 Don't include <tls.h>.
10320 (h_errno, __libc_h_errno): Move declaration and macros out of
10321 [_LIBC_REENTRANT].
10322
fb431262
RM
10323 * include/resolv.h [_RESOLV_H_]:
10324 Don't include <tls.h>.
10325 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10326 * resolv/res_libc.c: Don't include <tls.h>.
10327 (_res): Use __attribute__ ((nocommon)) in place of
10328 __attribute__ ((section (".bss"))).
10329
bd81123a
RM
10330 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10331 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10332
c4e42566
RM
10333 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10334
f890a59b
RM
10335 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10336 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10337
10338 * resolv/res_mkquery.c: Include <sys/time.h>.
10339
5d1f0a09
RM
10340 * inet/ifreq.c: Moved to ...
10341 * sysdeps/unix/ifreq.c: ... here.
10342 * inet/ifreq.c: New file, true stub version.
10343
6fcf28b3
RM
10344 * socket/sa_len.c: New file.
10345 * socket/Makefile (aux): Add it.
10346 * sysdeps/unix/sysv/linux/Makefile
10347 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10348 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10349 and #include <socket/sa_len.c>.
10350 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10351 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10352
e041fb8b
RM
10353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10354 * bits/socket.h: ... here.
10355
8cc3269f
RM
10356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10357 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10358 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10359
5d228a43
AS
103602013-08-27 Andreas Schwab <schwab@suse.de>
10361
45b8accc
AS
10362 [BZ #15736]
10363 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10364 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10365 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10366 * string/test-strcasecmp.c (test_main): Run tests in several
10367 locales.
10368 * string/test-strncasecmp.c (test_main): Likewise.
10369
5d228a43
AS
10370 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10371 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10372 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10374 (__strncasecmp_ssse3) [PIC]: Likewise.
10375
59d112a4
RM
103762013-08-26 Roland McGrath <roland@hack.frob.com>
10377
53234cc3
RM
10378 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10379
59d112a4
RM
10380 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10381 instead of explicitly declaring xdecrypt.
10382 * nis/nss_nis/nis-publickey.c: Likewise.
10383
595aba70
SP
103842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10385
10386 [BZ #15890]
10387 * nscd/aicache.c: Include res_hconf.h.
10388 (addhstaiX): Initialize res_hconf.
10389
ffabd393
AS
103902013-08-26 Andreas Schwab <schwab@suse.de>
10391
10392 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10393 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10394
e0a69f5c
SP
103952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10396
10397 * nscd/aicache.c (addhstaiX): Fix indentation.
10398
8c12f01d
MF
103992013-08-25 Mike Frysinger <vapier@gentoo.org>
10400
10401 * configure.ac: Quote $build_pt_chown test.
10402 * configure: Regenerated.
10403
8fe89494
JM
104042013-08-23 Joseph Myers <joseph@codesourcery.com>
10405
10406 [BZ #15532]
10407 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10408 * math/s_cexpf.c (__cexpf): Likewise.
10409 * math/s_cexpl.c (__cexpl): Likewise.
10410 * math/libm-test.inc (cexp_test_data): Correct expected return
10411 value for NaN + i0. Add another test.
10412
75b181d6
DM
104132013-08-22 David S. Miller <davem@davemloft.net>
10414
10415 * po/ca.po: Update Catalan translation from translation project.
936241e4 10416 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10417
acd06bb1
JM
104182013-08-21 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #15797]
10421 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10422 is infinite, not alongside NaN test.
10423 * math/s_fdimf.c (__fdimf): Likewise.
10424 * math/s_fdiml.c (__fdiml): Likewise.
10425 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10426 errno is unchanged.
10427
c0c3f78a
OB
104282013-08-21 Ondřej Bílka <neleai@seznam.cz>
10429
10430 * argp/argp-help.c: Fix typos.
10431 * crypt/speeds.c: Likewise.
10432 * csu/check_fds.c: Likewise.
10433 * elf/dl-load.c: Likewise.
10434 * elf/dl-open.c: Likewise.
10435 * elf/reldep3.c: Likewise.
10436 * elf/reldep.c: Likewise.
10437 * elf/sprof.c: Likewise.
10438 * iconv/iconv_charmap.c: Likewise.
10439 * iconv/skeleton.c: Likewise.
10440 * iconv/strtab.c: Likewise.
10441 * io/lockf64.c: Likewise.
10442 * libio/libioP.h: Likewise.
10443 * resolv/gai_notify.c: Likewise.
10444 * resolv/ns_name.c: Likewise.
10445 * resolv/ns_samedomain.c: Likewise.
10446 * resolv/res_send.c: Likewise.
10447 * stdlib/random.c: Likewise.
10448 * sunrpc/rpc/xdr.h: Likewise.
10449 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10450 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10453 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10454 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10457 * sysdeps/mach/hurd/check_fds.c: Likewise.
10458 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10459 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10461 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10462 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10463 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10464 * sysdeps/pthread/aio_notify.c: Likewise.
10465 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10466 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10467 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10469 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10470
46ed1038
LD
104712013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10472
10473 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10474 version if bit_Slow_SSE4_2 is set.
10475 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10476 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10477
d400dcac
AZ
104782013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10479
10480 [BZ #15867]
10481 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10482 trampoline stack frame information.
10483 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10485 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10486 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10487 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10488 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10489 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10490 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10491 sa_flags value.
10492 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10493 interrupting a syscall and set with option SA_SIGINFO.
10494
42c8fdd8
JM
104952013-08-20 Joseph Myers <joseph@codesourcery.com>
10496
c980f2f4
JM
10497 [BZ #15531]
10498 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10499 argument is infinite.
10500 * math/s_cprojf.c (__cprojf): Likewise.
10501 * math/s_cprojl.c (__cprojl): Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10503 * math/libm-test.inc (cproj_test_data): Add more tests.
10504
0716c4fc
JM
10505 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10506
42c8fdd8
JM
10507 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10508 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10509 size. Use __ffs to determine corresponding shift.
10510
b31469d0
JM
105112013-08-20 Joseph Myers <joseph@codesourcery.com>
10512 Roland McGrath <roland@hack.frob.com>
10513
10514 * Makefile (INSTALL): Remove trailing blank lines from output of
10515 makeinfo.
10516
4e39af6e
AK
105172013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10518
10519 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10520 Align 32 bit compat elf_greg to 8 bytes.
10521
f315524e
AA
105222013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10523
10524 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10525
1326ba1a
SP
105262013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10527
10528 * string/strcoll_l.c (coll_seq): New structure.
10529 (get_next_seq_cached): New function.
10530 (get_next_seq): New function.
10531 (do_compare): New function.
10532 (STRCOLL): Use GNU style definition. Simplify implementation
10533 by using get_next_seq, get_next_seq_cached and do_compare.
10534
91ce4085
FW
105352013-08-16 Florian Weimer <fweimer@redhat.com>
10536
10537 [BZ #14699]
10538 CVE-2013-4237
10539 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10540 member.
10541 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10542 member.
10543 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10544 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10545 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10546 conditional.
10547 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10548 GETDENTS_64BIT_ALIGNED.
10549 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10550 * manual/filesys.texi (Reading/Closing Directory): Document
10551 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10552 strongly.
10553 * manual/conf.texi (Limits for Files): Add portability note to
10554 NAME_MAX, PATH_MAX.
10555 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10556
ca0a6bc4
AS
105572013-08-13 Andreas Schwab <schwab@suse.de>
10558
10559 [BZ #15749]
10560 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10561 of fabs.
10562 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10563 LDBL_MAX_EXP >= 16384]: Add tests for it.
10564
6c1fd795
DM
105652013-08-12 David S. Miller <davem@davemloft.net>
10566
10567 * version.h (RELEASE): Set to "development".
10568 (VERSION): Set to "2.18.90".
10569 * NEWS: Add 2.19 section.
10570
31ad488d
DM
105712013-08-03 David S. Miller <davem@davemloft.net>
10572
10573 * po/ko.po: Update Korean translation from translation project.
10574
db24e684
DM
105752013-08-01 David S. Miller <davem@davemloft.net>
10576
10577 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10578 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10579 Bilka.
10580
f723285b
DM
105812013-07-30 David S. Miller <davem@davemloft.net>
10582
10583 * po/fr.po: Update French translation from translation project.
10584
3cbc52db
DM
105852013-07-28 David S. Miller <davem@davemloft.net>
10586
30bbc0cc
DM
10587 * po/cs.po: Update Czech translation from translation project.
10588
3cbc52db
DM
10589 * po/sv.po: Update Swedish translation from translation project.
10590
d492e6d0
DM
105912013-07-27 David S. Miller <davem@davemloft.net>
10592
f1a7f492
DM
10593 * po/eo.po: Update Esperanto translation from translation project.
10594
90e62a4a
DM
10595 * po/vi.po: Update Vietnamese translation from translation project.
10596
d492e6d0
DM
10597 * po/de.po: Update German translation from translation project.
10598
d4baa62d
DM
105992013-07-26 David S. Miller <davem@davemloft.net>
10600
641aa7b4
DM
10601 * po/bg.po: Update Bulgarian translation from translation project.
10602
d4baa62d
DM
10603 * po/nl.po: Update Dutch translation from translation project.
10604 * po/pl.po: Update Polish translation from translation project.
10605 * po/ru.po: Update Russian translation from translation project.
10606
61a9dcb9
DM
106072013-07-24 David S. Miller <davem@davemloft.net>
10608
10609 * po/libc.pot: Update.
10610
7b1f8b58
AZ
106112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10612
10613 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10614 variable page size.
10615 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10616 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10617 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10618
a8fc7a03
AK
106192013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10620
10621 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10622
e4608715
CD
106232013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10624 Andreas Schwab <schwab@suse.de>
10625 Roland McGrath <roland@hack.frob.com>
10626 Joseph Myers <joseph@codesourcery.com>
10627 Carlos O'Donell <carlos@redhat.com>
10628
10629 [BZ #15755]
10630 * config.h.in: Define HAVE_PT_CHOWN.
10631 * config.make.in (build-pt-chown): New variable.
10632 * configure.in (--enable-pt_chown): New configure option.
10633 * configure: Regenerate.
10634 * login/Makefile: Include Makeconfig. Build pt_chown only if
10635 build-pt-chown is enabled.
10636 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10637 pt_chown to fix pty ownership.
10638 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10639 CLOSE_ALL_FDS.
10640 * manual/install.texi (Configuring and compiling): Mention
10641 --enable-pt_chown. Add @findex for grantpt.
10642 * INSTALL: Regenerate.
10643
da2d62df
DM
106442013-07-20 David S. Miller <davem@davemloft.net>
10645
10646 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10647 difference between 32-bit and 64-bit.
10648
d7e06450
CD
106492013-07-15 Carlos O'Donell <carlos@redhat.com>
10650
10651 [BZ #15711]
10652 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10653 Avoid system header dependency with -ffreestanding.
10654 ($(objpfx)bits/syscall%d): Likewise.
10655
f959cfd7
DM
106562013-07-13 David S. Miller <davem@davemloft.net>
10657
10658 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10659 underflows from atanl/atan2l due to bug 15319.
10660 (casinh_test_data): Likewise.
10661
c61f8513
DM
106622013-07-07 David S. Miller <davem@davemloft.net>
10663
10664 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10665
72c90ed0
JA
106662013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10667
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10670
52dfbe13
SP
106712013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10672
10673 * configure.in (--enable-lock-elision): Fix message text.
10674 * INSTALL: Regenerate.
10675 * configure: Regenerate.
10676
3f169543
AZ
106772013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10678
10679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10680
521c6785
AJ
106812013-07-03 Andreas Jaeger <aj@suse.de>
10682
10683 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10684 define.
10685 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10686 (ptrace_peeksiginfo_args): Add.
10687 (__ptrace_peeksiginfo_flags): Add.
10688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10690 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10691
d2cc15cb
AM
106922013-07-03 Allan McRae <allan@archlinux.org>
10693
10694 * sysdeps/i386/fpu/libm-test-ulps: Update.
10695
3aaeeca7
DM
106962013-07-02 David S. Miller <davem@davemloft.net>
10697
10698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10699
5314ed1a
MT
107002013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10701
10702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10703
67338156
JM
107042013-07-02 Joseph Myers <joseph@codesourcery.com>
10705
10706 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708
1717da59
AK
107092013-07-02 Andi Kleen <ak@linux.intel.com>
10710
10711 * config.h.in (ENABLE_LOCK_ELISION): Add.
10712 * configure.in (--enable-lock-elision): Add option.
10713 * manual/install.texi: Document --enable lock elision.
10714 * configure: Regenerate
10715 * INSTALL: Regenerate.
10716
1c81621c
L
107172013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10718
10719 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10720 SSE4.2 strcasecmp for libc.a.
10721 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10722
77f01ab5
JM
107232013-07-02 Joseph Myers <joseph@codesourcery.com>
10724
10725 [BZ #13304]
10726 * soft-fp/op-common.h (_FP_FMA): New macro.
10727 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10728 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10729 (_FP_MUL_MEAT_1_imm): ... here.
10730 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10731 (_FP_MUL_MEAT_1_wide): ... here.
10732 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10733 (_FP_MUL_MEAT_1_hard): ... here.
10734 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10735 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10736 (_FP_MUL_MEAT_2_wide): ... here.
10737 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10738 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10739 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10740 (_FP_MUL_MEAT_2_gmp): ... here.
10741 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10742 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10743 (_FP_MUL_MEAT_4_wide): ... here.
10744 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10745 (_FP_MUL_MEAT_4_gmp): ... here.
10746 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10747 (_FP_WFRACBITS_DW_S): Likewise.
10748 (_FP_WFRACXBITS_DW_S): Likewise.
10749 (_FP_HIGHBIT_DW_S): Likewise.
10750 (FP_FMA_S): Likewise.
10751 (_FP_FRAC_HIGH_DW_S): Likewise.
10752 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10753 (_FP_WFRACBITS_DW_D): Likewise.
10754 (_FP_WFRACXBITS_DW_D): Likewise.
10755 (_FP_HIGHBIT_DW_D): Likewise.
10756 (FP_FMA_D): Likewise.
10757 (_FP_FRAC_HIGH_DW_D): Likewise.
10758 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10759 (_FP_WFRACBITS_DW_E): Likewise.
10760 (_FP_WFRACXBITS_DW_E): Likewise.
10761 (_FP_HIGHBIT_DW_E): Likewise.
10762 (FP_FMA_E): Likewise.
10763 (_FP_FRAC_HIGH_DW_E): Likewise.
10764 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10765 (_FP_WFRACBITS_DW_Q): Likewise.
10766 (_FP_WFRACXBITS_DW_Q): Likewise.
10767 (_FP_HIGHBIT_DW_Q): Likewise.
10768 (FP_FMA_Q): Likewise.
10769 (_FP_FRAC_HIGH_DW_Q): Likewise.
10770 * soft-fp/fmasf4.c: New file.
10771 * soft-fp/fmadf4.c: Likewise.
10772 * soft-fp/fmatf4.c: Likewise.
10773
6308fd9a
LD
107742013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10775
10776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10777 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10778 Silvermont.
10779 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10780 macro.
10781 (index_Slow_SSE4_2): Likewise.
10782 (index_Prefer_PMINUB_for_stringop): Likewise.
10783 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10784 bit_Slow_SSE4_2 is set.
10785 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10786 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10787
89cd9569
RA
107882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10789
10790 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10791 rtld_global._dl_hwcap2.
10792 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10793 POWER8.
10794 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10795 POWER8 feature descriptions defined in _dl_hwcap2.
10796 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10797 string handling for POWER8 feature bits.
10798 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10799 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10800 _dl_powerpc_cap_flags.
10801 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10802 * sysdeps/powerpc/rtld-global-offsets.sym
10803 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10804 _dl_hwcap2 in the rtld_global_ro structure.
10805
1ae8bfe0
RA
108062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10807
10808 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10809 hardware capabilities in support of AT_HWCAP2.
10810 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10811 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10812 GLRO(dl_hwcap2).
10813 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10814 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10815 explicitly the unknown a_type display mechanism is used.
10816 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10817 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10818 struct member.
10819 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10820 to macro prototype for AT_HWCAP2 support.
10821 * sysdeps/i386/dl-procinfo.h: Likewise.
10822 * sysdeps/s390/dl-procinfo.h: Likewise.
10823 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10824 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10825 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10826 return -1 for unknown a_type display fallback.
10827 * sysdeps/sparc/dl-procinfo.h: Likewise.
10828 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10829 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10830
8fbec010
JM
108312013-06-28 Joseph Myers <joseph@codesourcery.com>
10832
10833 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10834 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10835
0432680e
PY
108362013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10837
10838 [BZ #12492]
10839 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10840 mprotect making __stack_prot writable.
10841
ce61a2ad
NF
108422013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10843 Joseph Myers <joseph@codesourcery.com>
10844
10845 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10846 as being properly aligned.
10847
f91f1c0f
MR
108482013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10849
3d0f5d0c
MR
10850 * dlfcn/modstatic5.c: New file.
10851 * dlfcn/tststatic5.c: New file.
10852 * dlfcn/Makefile (tests): Add tststatic5.
10853 (tests-static): Likewise.
10854 (modules-names): Add modstatic5.
10855 (tststatic5-ENV): New variable.
10856 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10857
f91f1c0f
MR
10858 [BZ #15022]
10859 * elf/dl-support.c (_dl_main_map): New variable.
10860 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10861 (_dl_nns, _dl_load_adds): Set to 1.
10862 (_dl_initial_searchlist): Refer to _dl_main_map.
10863 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10864 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10865 call to _dl_get_origin.
10866 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10867 around call_map.
10868 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10869 * dlfcn/modstatic3.c: New file.
10870 * dlfcn/tststatic3.c: New file.
10871 * dlfcn/tststatic4.c: New file.
10872 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10873 (tests-static): Likewise.
10874 (modules-names): Add modstatic3.
10875 (tststatic3-ENV, tststatic4-ENV): New variables.
10876 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10877 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10878
cbe7d24b
JM
108792013-06-26 Joseph Myers <joseph@codesourcery.com>
10880
10881 * configure.in (CC): Require GCC version 4.4 or later.
10882 * configure: Regenerated.
10883 * manual/install.texi (Tools for Compilation): Update GCC version
10884 requirement.
10885 * INSTALL: Regenerated.
10886
11b8a0e1
LD
108872013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10888
10889 [BZ #15674]
bb5bb87c
L
10890 * string/test-memcmp.c (check2): New.
10891 (main): Call check2.
10892
11b8a0e1
LD
10893 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10894
b0037103
MR
108952013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10896
10897 [BZ #15022]
10898 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10899 over to...
10900 (dl_open_worker) [!SHARED]: ... here.
10901
c18c701d
RA
109022013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10903
10904 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10905
1d17fa5f
RH
109062013-06-25 Richard Henderson <rth@redhat.com>
10907
10908 * locale/programs/locarchive.c: Include <libc-internal.h>
10909
8fcb833a
JM
109102013-06-25 Joseph Myers <joseph@codesourcery.com>
10911
10912 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10913 trailing whitespace removed.
10914
17db6e8d
MF
109152013-06-24 Mike Frysinger <vapier@gentoo.org>
10916
10917 [BZ #10283]
17db6e8d
MF
10918 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10919 * locale/programs/locarchive.c: Include libc-mmap.h.
10920 (prepare_address_space): Take two new outputs (the mmap base and len).
10921 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10922 values.
10923 (create_archive): Declare new mmap base and len values for
10924 prepare_address_space, and store the result in ah.
10925 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10926 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10927 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10928 Declare new mmap base and len values for
10929 prepare_address_space, and store the result in new_ah.
10930 (open_archive): Declare new mmap base and len values for
10931 prepare_address_space, and store the result in ah.
10932 (close_archive): If ah->mmap_base is not NULL, use that and
10933 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10934 * sysdeps/generic/libc-mmap.h: New file.
10935
d605071e
MF
109362013-06-24 Mike Frysinger <vapier@gentoo.org>
10937
10938 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10939 (ALIGN_UP): Likewise.
10940 (PTR_ALIGN_DOWN): Likewise.
10941 (PTR_ALIGN_UP): Likewise.
10942
2f063a6e
RA
109432013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10944
10945 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10946 entry mapped to PPC_PLATFORM_POWER8.
10947 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10948 POWER8.
10949 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10950 (_dl_string_platform): Add case for exporting platform position for
10951 POWER8.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10953 search path to sysdeps/powerpc/powerpc32/power8 directory.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10955 search path to sysdeps/powerpc/powerpc64/power8 directory.
10956 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10957 power7 directories.
10958 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10959 power7 directories.
10960
a31ee4b3
SP
109612013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10962
a74ca98f
SP
10963 * INSTALL: Regenerate.
10964
a31ee4b3
SP
10965 * nscd/connections.c (nscd_init): Fix comment.
10966
695c378f
JM
109672013-06-22 Joseph Myers <joseph@codesourcery.com>
10968
d8412221
JM
10969 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10970
695c378f
JM
10971 [BZ #15667]
10972 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10973 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10974
d1d54715
MR
109752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10976
10977 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10978 DL_DST_REQ_STATIC.
10979 (DL_DST_REQ_STATIC): Remove macro.
10980
8fdda7af
JM
109812013-06-21 Joseph Myers <joseph@codesourcery.com>
10982
10983 [BZ #7006]
10984 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10985 with a shift of 0 bits.
10986
f3bc5e5a
MR
109872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10988
10989 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10990 $(tststatic-ENV).
10991
be09e8c9
KK
109922013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10993
10994 [BZ #15655]
10995 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10996
85c2e611
AZ
109972013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10998
10999 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11000 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11001 accepts -fno-tree-loop-distribute-patterns.
11002 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11003 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11004 recursive call.
11005 * string/memset.c (memset): Likewise.
11006 * string/test-memmove.c (simple_memmove): Disable loop transformation
11007 to library calls.
11008 * string/test-memset.c (simple_memset): Likewise.
11009 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11010 * benchtests/bench-memset.c (simple_memset): Likewise.
11011 * configure: Regenerated.
11012
c91e0825
JM
110132013-06-20 Joseph Myers <joseph@codesourcery.com>
11014
b8c792af
JM
11015 * math/test-misc.c (main): Ignore fesetround failure when failures
11016 of subsequent rounding tests would be ignored.
11017
c91e0825
JM
11018 [BZ #15654]
11019 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11020 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11021 * math/fegetenv.c (__fegetenv): Return 0.
11022 * math/fegetexcept.c (fegetexcept): Return 0.
11023 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11024 FE_TONEAREST.
11025 * math/feholdexcpt.c (feholdexcept): Return 0.
11026 * math/fesetenv.c (__fesetenv): Return 0.
11027 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11028 argument FE_TONEAREST.
11029 * math/feupdateenv.c (__feupdateenv): Return 0.
11030 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11031
bfcacbde
RM
110322013-06-18 Roland McGrath <roland@hack.frob.com>
11033
11034 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11035 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11036 ($(objpfx)rtld-%.os rules): Use them.
11037
e55a9b25
AZ
110382013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11039
11040 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11041 fields.
11042
346d65b3
RM
110432013-06-17 Roland McGrath <roland@hack.frob.com>
11044
12086fb4
RM
11045 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11046 length of target pattern, then descending length of dependency pattern.
11047 * configure.in (AWK): Require gawk 3.1.2 or newer.
11048 * manual/install.texi (Tools for Compilation): Say that we do.
11049 * configure: Regenerated.
11050
346d65b3
RM
11051 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11052 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11053 * scripts/sysd-rules.awk: ... this new script.
11054 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11055 than a glob-style pattern.
11056
1a846317
JM
110572013-06-17 Joseph Myers <joseph@codesourcery.com>
11058
11059 * math/test-misc.c (main): Do not treat incorrectly rounded
11060 conversions as failure unless ROUNDING_TESTS passes.
11061
8fc75e6f
JM
110622013-06-15 Joseph Myers <joseph@codesourcery.com>
11063
3711a167
JM
11064 [BZ #15631]
11065 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11066 restore exception state around main square root computation, then
11067 check for inexactness explicitly.
11068
8fc75e6f
JM
11069 * math/libm-test.inc (fma_test_data): Add another test.
11070
61dd6208
SP
110712013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11072
adf23d2c
SP
11073 * manual/threads.texi (Non-POSIX Extensions): New document
11074 node. Document pthread_getattr_default_np and
11075 pthread_setattr_default_np.
11076
61dd6208
SP
11077 * Versions.def (libpthread): Add GLIBC_2.18.
11078 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11080 Likewise.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11082 Likewise.
11083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11084 Likewise.
11085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11086 Likewise.
11087 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11088 Likewise.
11089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11090 Likewise.
11091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11092 Likewise.
11093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11094 Likewise.
11095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11096 Likewise.
11097
d086fc7b
LD
110982013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11099
11100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11101 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11102
747ef469
SP
111032013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11104 H.J. Lu <hjl.tools@gmail.com>
11105
11106 [BZ #15627]
11107 * sysdeps/x86_64/rtld-memset.c: Remove file.
11108 * sysdeps/x86_64/rtld-memset.S: New file.
11109
1b2feed2
JM
111102013-06-14 Joseph Myers <joseph@codesourcery.com>
11111
11112 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11113 (test_in_one_mode): Take arguments for whether the rounding mode
11114 is supported for each floating-point type.
11115 (do_test): Pass new arguments to test_in_one_mode using
11116 ROUNDING_TESTS.
11117
a58ad3f8
RM
111182013-06-13 Roland McGrath <roland@hack.frob.com>
11119
11120 * posix/tst-waitid.c (do_test): Distinguish different instances of
11121 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11122 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11123 before entering the kernel for waitpid.
11124
c204ab28
SP
111252013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11126
11127 * NEWS: Fix note on clock function precision. Text by Roland
11128 McGrath.
11129
f4a29fba
RM
111302013-06-13 Roland McGrath <roland@hack.frob.com>
11131
11132 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11133 it into place only when and if the sanity check passes.
11134
1f24b9ad
JM
111352013-06-13 Joseph Myers <joseph@codesourcery.com>
11136
11137 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11138 output for whether conversion result is exact. Take argument
11139 indicating whether type is IBM long double.
11140 (round_for_all): Change need_exact field to ibm_ld.
11141 * stdlib/tst-strtod-round.c (struct exactness): New type.
11142 (struct test): Change bool ld_ok field to struct exactness exact.
11143 (TEST): Update all definitions for change to field.
11144 (tests): Regenerate array contents.
11145 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11146 field value. Check for IBM long double here.
11147 (do_test): Update calls to test_in_one_mode.
11148
58206c68
SP
111492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11150
11151 [BZ #12515]
11152 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11153 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11154
2d6f4c5b 111552013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11156
11157 [BZ #15605]
11158 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11159 generated by the compiler on loop optimizations.
11160 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11161 general definitions.
11162
94f2c076
JM
111632013-06-12 Joseph Myers <joseph@codesourcery.com>
11164
11165 * math/bug-nextafter.c: Include <math-tests.h>.
11166 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11167 the relevant type.
11168 * math/bug-nexttoward.c: Include <math-tests.h>.
11169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11170 the relevant type.
11171 * math/test-misc.c: Include <math-tests.h>.
11172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11173 the relevant type.
11174
e0e50a0a
AJ
111752013-06-12 Andreas Jaeger <aj@suse.de>
11176
11177 * po/ia.po: Update Interlingua translation from translation
11178 project.
11179
25061094
SP
111802013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11181
11182 * include/fenv.h: Include stdbool.h.
11183 (struct rm_ctx): New structure.
11184 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11185 Define macro.
11186 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11187 (SET_RESTORE_ROUNDF): Likewise.
11188 (SET_RESTORE_ROUNDL): Likewise.
11189 (SET_RESTORE_ROUND_NOEX): Likewise.
11190 (SET_RESTORE_ROUND_NOEXF): Likewise.
11191 (SET_RESTORE_ROUND_NOEXL): Likewise.
11192 (SET_RESTORE_ROUND_53BIT): Likewise.
11193 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11194 (libc_feresetround_noexf_ctx): Likewise.
11195 (libc_feresetround_noexl_ctx): Likewise.
11196 (libc_feholdsetround_53bit_ctx): Likewise.
11197 (libc_feresetround_53bit_ctx): Likewise.
11198 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11199 (libc_feholdexcept_setround_sse_ctx): New function.
11200 (libc_fesetenv_sse_ctx): Likewise.
11201 (libc_feupdateenv_sse_ctx): Likewise.
11202 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11203 (libc_feholdexcept_setround_387_ctx): Likewise.
11204 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11205 (libc_feholdsetround_387_prec_ctx): Likewise.
11206 (libc_feholdsetround_387_ctx): Likewise.
11207 (libc_feholdsetround_387_53bit_ctx): Likewise.
11208 (libc_feholdsetround_sse_ctx): Likewise.
11209 (libc_feresetround_sse_ctx): Likewise.
11210 (libc_feresetround_387_ctx): Likewise.
11211 (libc_feupdateenv_387_ctx): Likewise.
11212 (libc_feholdexcept_setroundf_ctx): Define macro.
11213 (libc_fesetenvf_ctx): Likewise.
11214 (libc_feupdateenvf_ctx): Likewise.
11215 (libc_feholdsetroundf_ctx): Likewise.
11216 (libc_feresetroundf_ctx): Likewise.
11217 (libc_feholdexcept_setround_ctx): Likewise.
11218 (libc_fesetenv_ctx): Likewise.
11219 (libc_feupdateenv_ctx): Likewise.
11220 (libc_feholdsetround_ctx): Likewise.
11221 (libc_feresetround_ctx): Likewise.
11222 (libc_feholdexcept_setroundl_ctx): Likewise.
11223 (libc_feupdateenvl_ctx): Likewise.
11224 (libc_feholdsetroundl_ctx): Likewise.
11225 (libc_feresetroundl_ctx): Likewise.
11226 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11227 (libc_feresetround_53bit_ctx): Likewise.
11228
59b30555
SP
112292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11230
11231 * locale/iso-639.def: Convert to UTF-8.
11232
f1d73d30
JM
112332013-06-11 Joseph Myers <joseph@codesourcery.com>
11234
11235 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11236 (EXCEPTION_TESTS_double): Likewise.
11237 (EXCEPTION_TESTS_long_double): Likewise.
11238 (EXCEPTION_TESTS): Likewise.
11239 * math/libm-test.inc (test_exceptions): Only test exceptions if
11240 EXCEPTION_TESTS (FLOAT).
11241
94aca5e7
SP
112422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11243
11244 * benchtests/Makefile (string-bench): Add strcpy_chk and
11245 stpcpy_chk.
11246 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11247 * benchtests/bench-stpcpy_chk.c: New file.
11248 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11249 * benchtests/bench-strcpy_chk.c: New file.
11250 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11251 code.
11252 (do_test): Likewise.
11253
fac0c5f2
RA
112542013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11255
11256 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11257 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11258 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11259 with tabs where appropriate.
11260 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11261 dl-procinfo.h.
11262 [PPC_PLATFORM_PPC440]: Likewise.
11263 [PPC_PLATFORM_PPC464]: Likewise.
11264 [PPC_PLATFORM_PPC476]: Likewise.
11265 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11266 ppc464, and ppc476 platform strings merging from ports/
11267 dl-procinfo.h.
11268
f22bc486
AS
112692013-06-11 Andreas Schwab <schwab@suse.de>
11270
11271 [BZ #14991]
11272 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11273 (from_ucs4_idx): Regenerate.
11274 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11275 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11276 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11277 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11278 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11279 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11280 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11281 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11282 from FROM_LOOP and TO_LOOP specific macros.
11283 (BODY): Handle combining characters.
11284 * iconvdata/BIG5HKSCS.irreversible: Update.
11285 * iconvdata/BIG5HKSCS.precomposed: New file.
11286 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11287 characters.
11288 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11289
c1f75dc3
SP
112902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11291
4eacded2
SP
11292 * include/sys/time.h: Fix indentation and add copyright header.
11293
fec799f8
SP
11294 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11295 (do_test): Likewise.
11296 * string/test-memchr.c (do_one_test): Likewise.
11297 (do_test): Likewise.
11298 * string/test-memcmp.c (do_one_test): Likewise.
11299 (do_test): Likewise.
11300 * string/test-memcpy.c (do_one_test): Likewise.
11301 (do_test): Likewise.
11302 * string/test-memmem.c (do_one_test): Likewise.
11303 (do_test): Likewise.
11304 (do_random_tests): Likewise.
11305 * string/test-memmove.c (do_one_test): Likewise.
11306 (do_test): Likewise.
11307 * string/test-memset.c (do_one_test): Likewise.
11308 (do_test): Likewise.
11309 * string/test-rawmemchr.c (do_one_test): Likewise.
11310 (do_test): Likewise.
11311 * string/test-strcasecmp.c (do_one_test): Likewise.
11312 (do_test): Likewise.
11313 * string/test-strcasestr.c (do_one_test): Likewise.
11314 (do_test): Likewise.
11315 * string/test-strcat.c (do_one_test): Likewise.
11316 (do_test): Likewise.
11317 * string/test-strchr.c (do_one_test): Likewise.
11318 (do_test): Likewise.
11319 * string/test-strcmp.c (do_one_test): Likewise.
11320 (do_test): Likewise.
11321 * string/test-strcpy.c (do_one_test): Likewise.
11322 (do_test): Likewise.
11323 * string/test-string.h: Likewise.
11324 (test_init): Likewise.
11325 * string/test-strlen.c (do_one_test): Likewise.
11326 (do_test): Likewise.
11327 * string/test-strncasecmp.c (do_one_test): Likewise.
11328 (do_test): Likewise.
11329 * string/test-strncat.c (do_one_test): Likewise.
11330 (do_test): Likewise.
11331 * string/test-strncmp.c (do_one_test): Likewise.
11332 (do_test_limit): Likewise.
11333 (do_test): Likewise.
11334 * string/test-strncpy.c (do_one_test): Likewise.
11335 (do_test): Likewise.
11336 * string/test-strnlen.c (do_one_test): Likewise.
11337 (do_test): Likewise.
11338 * string/test-strpbrk.c (do_one_test): Likewise.
11339 (do_test): Likewise.
11340 * string/test-strrchr.c (do_one_test): Likewise.
11341 (do_test): Likewise.
11342 * string/test-strspn.c (do_one_test): Likewise.
11343 (do_test): Likewise.
11344 * string/test-strstr.c (do_one_test): Likewise.
11345 (do_test): Likewise.
11346
97020474
SP
11347 * benchtests/Makefile (string-bench): Add string benchmarks.
11348 * benchtests/bench-bcopy-ifunc.c: New file.
11349 * benchtests/bench-bcopy.c: New file.
11350 * benchtests/bench-bzero-ifunc.c: New file.
11351 * benchtests/bench-bzero.c: New file.
11352 * benchtests/bench-memccpy-ifunc.c: New file.
11353 * benchtests/bench-memccpy.c: New file.
11354 * benchtests/bench-memchr-ifunc.c: New file.
11355 * benchtests/bench-memchr.c: New file.
11356 * benchtests/bench-memcmp-ifunc.c: New file.
11357 * benchtests/bench-memcmp.c: New file.
11358 * benchtests/bench-memmem-ifunc.c: New file.
11359 * benchtests/bench-memmem.c: New file.
11360 * benchtests/bench-memmove-ifunc.c: New file.
11361 * benchtests/bench-memmove.c: New file.
11362 * benchtests/bench-mempcpy-ifunc.c: New file.
11363 * benchtests/bench-mempcpy.c: New file.
11364 * benchtests/bench-memset-ifunc.c: New file.
11365 * benchtests/bench-memset.c: New file.
11366 * benchtests/bench-rawmemchr-ifunc.c: New file.
11367 * benchtests/bench-rawmemchr.c: New file.
11368 * benchtests/bench-stpcpy-ifunc.c: New file.
11369 * benchtests/bench-stpcpy.c: New file.
11370 * benchtests/bench-stpncpy-ifunc.c: New file.
11371 * benchtests/bench-stpncpy.c: New file.
11372 * benchtests/bench-strcasecmp-ifunc.c: New file.
11373 * benchtests/bench-strcasecmp.c: New file.
11374 * benchtests/bench-strcasestr-ifunc.c: New file.
11375 * benchtests/bench-strcasestr.c: New file.
11376 * benchtests/bench-strcat-ifunc.c: New file.
11377 * benchtests/bench-strcat.c: New file.
11378 * benchtests/bench-strchr-ifunc.c: New file.
11379 * benchtests/bench-strchr.c: New file.
11380 * benchtests/bench-strchrnul-ifunc.c: New file.
11381 * benchtests/bench-strchrnul.c: New file.
11382 * benchtests/bench-strcmp-ifunc.c: New file.
11383 * benchtests/bench-strcmp.c: New file.
11384 * benchtests/bench-strcpy-ifunc.c: New file.
11385 * benchtests/bench-strcpy.c: New file.
11386 * benchtests/bench-strcspn-ifunc.c: New file.
11387 * benchtests/bench-strcspn.c: New file.
11388 * benchtests/bench-strlen-ifunc.c: New file.
11389 * benchtests/bench-strlen.c: New file.
11390 * benchtests/bench-strncasecmp-ifunc.c: New file.
11391 * benchtests/bench-strncasecmp.c: New file.
11392 * benchtests/bench-strncat-ifunc.c: New file.
11393 * benchtests/bench-strncat.c: New file.
11394 * benchtests/bench-strncmp-ifunc.c: New file.
11395 * benchtests/bench-strncmp.c: New file.
11396 * benchtests/bench-strncpy-ifunc.c: New file.
11397 * benchtests/bench-strncpy.c: New file.
11398 * benchtests/bench-strnlen-ifunc.c: New file.
11399 * benchtests/bench-strnlen.c: New file.
11400 * benchtests/bench-strpbrk-ifunc.c: New file.
11401 * benchtests/bench-strpbrk.c: New file.
11402 * benchtests/bench-strrchr-ifunc.c: New file.
11403 * benchtests/bench-strrchr.c: New file.
11404 * benchtests/bench-strspn-ifunc.c: New file.
11405 * benchtests/bench-strspn.c: New file.
11406 * benchtests/bench-strstr-ifunc.c: New file.
11407 * benchtests/bench-strstr.c: New file.
11408
c1f75dc3
SP
11409 * benchtests/Makefile: Disable parallel execution of targets.
11410 (string-bench): Add memcpy.
11411 (benchset): New variable to store a list of benchmark sets.
11412 (bench-func): Renamed from bench.
11413 (bench-set): New target.
11414 (bench): Depend on bench-func and bench-set.
11415 * benchtests/README: Add section on benchmark sets.
11416 * benchtests/bench-memcpy-ifunc.c: New file.
11417 * benchtests/bench-memcpy.c: New file.
11418 * benchtests/bench-string.h: New file.
11419
50fd745b
AS
114202013-06-11 Andreas Schwab <schwab@suse.de>
11421
11422 [BZ #15577]
11423 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11424 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11425 values in the triple.
11426 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11427 terminator in the group key.
11428
3ee7e9fe
AJ
114292013-06-11 Andreas Jaeger <aj@suse.de>
11430
11431 * po/zh_TW.po: Update Chinese (traditional) translation from
11432 translation project.
11433
89fb6835
SP
114342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11435
11436 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11437 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11438 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11439 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11440 (clock_getcpuclockid): Likewise.
11441 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11442 Add weak_alias and libc_hidden_def.
11443 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11444 * rt/clock_gettime.c (clock_gettime): Rename to
11445 __clock_gettime. Add weak_alias and libc_hidden_def.
11446 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11447 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11448 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11449 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11450 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11451 Likewise.
11452 * rt/clock_settime.c (clock_settime): Rename to
11453 __clock_settime. Add weak_alias and libc_hidden_def.
11454 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11455
0efa6f8b
JM
114562013-06-10 Joseph Myers <joseph@codesourcery.com>
11457
b8c61b4b
JM
11458 * mach/err_boot.sub: Remove trailing whitespace.
11459 * mach/err_ipc.sub: Likewise.
11460 * mach/err_mach.sub: Likewise.
11461
0efa6f8b
JM
11462 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11463 (ROUNDING_TESTS_double): Likewise.
11464 (ROUNDING_TESTS_long_double): Likewise.
11465 (ROUNDING_TESTS): Likewise.
11466 * math/libm-test.inc: Include <math-tests.h>.
11467 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11468 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11469 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11470 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11471
50b818bf
SP
114722013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11473
11474 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11475 of assigning.
11476
60d2f8f3
JM
114772013-06-08 Joseph Myers <joseph@codesourcery.com>
11478
4902d2c3
JM
11479 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11480 otherwise empty TRANS lines.
11481 * sysdeps/gnu/errlist.c: Regenerated.
11482
60d2f8f3
JM
11483 * catgets/gencat.c (error_print): Use (void) in function
11484 definition.
11485 * crypt/crypt_util.c (__init_des): Likewise.
11486 * crypt/speeds.c (Stop): Likewise.
11487 (main): Likewise.
11488 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11489 * inet/ruserpass.c (token): Likewise.
11490 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11491 * intl/localealias.c (extend_alias_table): Likewise.
11492 * intl/plural-exp.c (init_germanic_plural): Likewise.
11493 * libio/fcloseall.c (__fcloseall): Likewise.
11494 * libio/genops.c (_IO_flush_all): Likewise.
11495 (_IO_flush_all_linebuffered): Likewise.
11496 (_IO_cleanup): Likewise.
11497 (_IO_iter_begin): Likewise.
11498 (_IO_iter_end): Likewise.
11499 (_IO_list_lock): Likewise.
11500 (_IO_list_unlock): Likewise.
11501 (_IO_list_resetlock): Likewise.
11502 * libio/getchar.c (getchar): Likewise.
11503 * libio/getchar_u.c (getchar_unlocked): Likewise.
11504 * libio/getwchar.c (getwchar): Likewise.
11505 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11506 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11507 * login/getpt.c (__getpt): Likewise.
11508 * login/tst-utmp.c (main): Likewise.
11509 * malloc/hooks.c (__malloc_check_init): Likewise.
11510 * malloc/malloc.c (__malloc_stats): Likewise.
11511 * malloc/mtrace.c (tr_break): Likewise.
11512 (mtrace): Likewise.
11513 (muntrace): Likewise.
11514 * misc/fstab.c (endfsent): Likewise.
11515 * misc/getclktck.c (__getclktck): Likewise.
11516 * misc/getdtsz.c (__getdtablesize): Likewise.
11517 * misc/gethostid.c (gethostid): Likewise.
11518 * misc/getpagesize.c (__getpagesize): Likewise.
11519 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11520 (__get_nprocs): Likewise.
11521 (__get_phys_pages): Likewise.
11522 (__get_avphys_pages): Likewise.
11523 * misc/getttyent.c (getttyent): Likewise.
11524 (setttyent): Likewise.
11525 (endttyent): Likewise.
11526 * misc/getusershell.c (getusershell): Likewise.
11527 (endusershell): Likewise.
11528 (setusershell): Likewise.
11529 (initshells): Likewise.
11530 * misc/hsearch.c (__hdestroy): Likewise.
11531 * misc/sync.c (sync): Likewise.
11532 * misc/syslog.c (closelog_internal): Likewise.
11533 (closelog): Likewise.
11534 * misc/ttyslot.c (ttyslot): Likewise.
11535 * misc/vhangup.c (vhangup): Likewise.
11536 * posix/fork.c (__fork): Likewise.
11537 * posix/getegid.c (__getegid): Likewise.
11538 * posix/geteuid.c (__geteuid): Likewise.
11539 * posix/getgid.c (__getgid): Likewise.
11540 * posix/getpid.c (__getpid): Likewise.
11541 * posix/getppid.c (__getppid): Likewise.
11542 * posix/getuid.c (__getuid): Likewise.
11543 * posix/pause.c (pause): Likewise.
11544 * posix/setpgrp.c (setpgrp): Likewise.
11545 * posix/setsid.c (__setsid): Likewise.
11546 * posix/test-vfork.c (noop): Likewise.
11547 * resolv/gethnamaddr.c (_endhtent): Likewise.
11548 (_gethtent): Likewise.
11549 (ht_endhostent): Likewise.
11550 (gethostent): Likewise.
11551 (dns_service): Likewise.
11552 * stdlib/drand48.c (drand48): Likewise.
11553 * stdlib/lrand48.c (lrand48): Likewise.
11554 * stdlib/mrand48.c (mrand48): Likewise.
11555 * stdlib/rand.c (rand): Likewise.
11556 * stdlib/random.c (__random): Likewise.
11557 * stdlib/setenv.c (clearenv): Likewise.
11558 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11559 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11560 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11561 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11562 (__get_nprocs): Likewise.
11563 (__get_phys_pages): Likewise.
11564 (__get_avphys_pages): Likewise.
11565 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11566 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11567 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11568 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11569 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11570 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11571 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11572 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11573 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11574 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11575 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11576 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11577 * sysdeps/posix/clock.c (clock): Likewise.
11578 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11579 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11580 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11581 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11582 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11584 (__get_nprocs_conf): Likewise.
11585 (__get_phys_pages): Likewise.
11586 (__get_avphys_pages): Likewise.
11587 * time/clock.c (clock): Likewise.
11588 * time/tzset.c (__tzname_max): Likewise.
11589
2e09a79a
JM
115902013-06-07 Joseph Myers <joseph@codesourcery.com>
11591
11592 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11593 (__bswap_32): Do not use "register".
11594 * crypt/crypt.c (_ufc_doit_r): Likewise.
11595 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11596 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11597 * gmon/gmon.c (__monstartup): Likewise.
11598 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11599 * hurd/hurdmalloc.c (more_memory): Likewise.
11600 (malloc): Likewise.
11601 (free): Likewise.
11602 (realloc): Likewise.
11603 (malloc_fork_prepare): Likewise.
11604 (malloc_fork_parent): Likewise.
11605 (malloc_fork_child): Likewise.
11606 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11607 (_svcauth_des): Likewise.
11608 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11609 * inet/inet_net.c (inet_network): Likewise.
11610 * inet/inet_netof.c (inet_netof): Likewise.
11611 * inet/rcmd.c (__validuser2_sa): Likewise.
11612 * io/fts.c (fts_open): Likewise.
11613 (fts_load): Likewise.
11614 (fts_close): Likewise.
11615 (fts_read): Likewise.
11616 (fts_children): Likewise.
11617 (fts_build): Likewise.
11618 (fts_stat): Likewise.
11619 (fts_sort): Likewise.
11620 (fts_alloc): Likewise.
11621 (fts_lfree): Likewise.
11622 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11623 (_IO_file_xsgetn): Likewise.
11624 (_IO_file_xsgetn_mmap): Likewise.
11625 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11626 (_IO_cookie_write): Likewise.
11627 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11628 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11629 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11630 * malloc/obstack.c (_obstack_begin): Likewise.
11631 (_obstack_begin_1): Likewise.
11632 (_obstack_newchunk): Likewise.
11633 (_obstack_allocated_p): Likewise.
11634 (obstack_free): Likewise.
11635 (_obstack_memory_used): Likewise.
11636 * misc/getttyent.c (getttynam): Likewise.
11637 (getttyent): Likewise.
11638 (skip): Likewise.
11639 (value): Likewise.
11640 * misc/getusershell.c (initshells): Likewise.
11641 * misc/syslog.c (__vsyslog_chk): Likewise.
11642 * misc/ttyslot.c (ttyslot): Likewise.
11643 * nis/nis_hash.c (__nis_hash): Likewise.
11644 * posix/fnmatch_loop.c (FCT): Likewise.
11645 * posix/getconf.c (print_all): Likewise.
11646 (main): Likewise.
11647 * posix/getopt.c (exchange): Likewise.
11648 * posix/glob.c (globfree): Likewise.
11649 (prefix_array): Likewise.
11650 (__glob_pattern_type): Likewise.
11651 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11652 (NS_GET32): Likewise.
11653 (NS_PUT16): Likewise.
11654 (NS_PUT32): Likewise.
11655 * resolv/gethnamaddr.c (getanswer): Likewise.
11656 (gethostbyname2): Likewise.
11657 (gethostbyaddr): Likewise.
11658 (_gethtent): Likewise.
11659 (_gethtbyname2): Likewise.
11660 (_gethtbyaddr): Likewise.
11661 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11662 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11663 * resolv/res_init.c (__res_vinit): Likewise.
11664 (net_mask): Likewise.
11665 * resolv/res_mkquery.c (outchar): Likewise.
11666 (PRINT): Likewise.
11667 * stdio-common/printf_fp.c (outchar): Likewise.
11668 (PRINT): Likewise.
11669 * stdio-common/printf_fphex.c (outchar): Likewise.
11670 (PRINT): Likewise.
11671 * stdio-common/printf_size.c (outchar): Likewise.
11672 (PRINT): Likewise.
11673 * stdio-common/test_rdwr.c (main): Likewise.
11674 * stdio-common/tfformat.c (matches): Likewise.
11675 * stdio-common/vfprintf.c (outchar): Likewise.
11676 (printf_unknown): Likewise.
11677 (buffered_vfprintf): Likewise.
11678 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11679 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11680 (ReadFile): Likewise.
11681 * stdlib/qsort.c (SWAP): Likewise.
11682 (_quicksort): Likewise.
11683 * stdlib/setenv.c (__add_to_environ): Likewise.
11684 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11685 * stdlib/strtol_l.c (__strtol_l): Likewise.
11686 * stdlib/tst-strtod.c (main): Likewise.
11687 * stdlib/tst-strtol.c (main): Likewise.
11688 * stdlib/tst-strtoll.c (main): Likewise.
11689 * string/bits/string2.h (__strcmp_cc): Likewise.
11690 (__strcmp_cg): Likewise.
11691 (__strcspn_c1): Likewise.
11692 (__strcspn_c2): Likewise.
11693 (__strcspn_c3): Likewise.
11694 (__strspn_c1): Likewise.
11695 (__strspn_c2): Likewise.
11696 (__strspn_c3): Likewise.
11697 (__strsep_1c): Likewise.
11698 (__strsep_2c): Likewise.
11699 (__strsep_3c): Likewise.
11700 * string/memccpy.c (__memccpy): Likewise.
11701 * string/stpcpy.c (__stpcpy): Likewise.
11702 * string/strcmp.c (strcmp): Likewise.
11703 * string/strrchr.c (strrchr): Likewise.
11704 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11705 Likewise.
11706 * sysdeps/mach/hurd/getcwd.c
11707 (_hurd_canonicalize_directory_name_internal): Likewise.
11708 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11709 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11710 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11711 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11712 Likewise, in both definitions.
11713 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11714 definitions.
11715 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11716 64] (__bswap_64): Likewise.
11717 * time/test_time.c (main): Likewise.
11718 * time/tzfile.c (__tzfile_read): Likewise.
11719 (__tzfile_compute): Likewise.
11720 * time/tzset.c (__tzset_parse_tz): Likewise.
11721 (tzset_internal): Likewise.
11722 (compute_change): Likewise.
11723 * wcsmbs/wcscat.c (__wcscat): Likewise.
11724 * wcsmbs/wcschr.c (wcschr): Likewise.
11725 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11726 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11727 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11728 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11729 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11730 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11731 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11732 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11733 * wcsmbs/wmemset.c (wmemset): Likewise.
11734
9e54314b
JM
117352013-06-06 Joseph Myers <joseph@codesourcery.com>
11736
11737 * scripts/config.guess: Update to version 2013-05-16.
11738 * scripts/config.sub: Update to version 2013-04-24.
11739 * scripts/install-sh: Update to version 2011-11-20.07.
11740 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11741 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11742
350635a5
OB
117432013-06-06 Ondřej Bílka <neleai@seznam.cz>
11744
11745 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11746 * elf/sln.c: Likewise.
11747 * hurd/hurd/ioctl.h: Likewise.
11748 * hurd/hurdmalloc.c: Likewise.
11749 * hurd/xattr.c: Likewise.
11750 * include/shlib-compat.h: Likewise.
11751 * inet/ruserpass.c: Likewise.
11752 * libio/iofgets_u.c: Likewise.
11753 * libio/iofgetws_u.c: Likewise.
11754 * locale/programs/ld-identification.c: Likewise.
11755 * locale/programs/ld-time.c: Likewise.
11756 * mach/msg-destroy.c: Likewise.
11757 * nss/nss_files/files-netgrp.c: Likewise.
11758 * resolv/res_data.c: Likewise.
11759 * soft-fp/op-1.h: Likewise.
11760 * soft-fp/op-2.h: Likewise.
11761 * soft-fp/op-4.h: Likewise.
11762 * soft-fp/op-common.h: Likewise.
11763 * stdio-common/printf_fphex.c: Likewise.
11764 * stdlib/strtod_l.c: Likewise.
11765 * sunrpc/rpc/clnt.h: Likewise.
11766 * sysdeps/generic/framestate.c: Likewise.
11767 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11768 * sysdeps/i386/bsd-setjmp.S: Likewise.
11769 * sysdeps/i386/__longjmp.S: Likewise.
11770 * sysdeps/i386/setjmp.S: Likewise.
11771 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11772 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11789 * sysdeps/ieee754/support.c: Likewise.
11790 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11791 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11792 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11793 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11794 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11795 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11796 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11797 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11798 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11799 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11800 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11801 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11802 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11803 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11804 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11805 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11806 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11808
44a988af
OB
118092013-06-05 Ondřej Bílka <neleai@seznam.cz>
11810
25506f09 11811 * posix/transbug.c: Remove executable mode.
44a988af 11812
9c84384c
JM
118132013-06-05 Joseph Myers <joseph@codesourcery.com>
11814
11815 * crypt/speeds.c: Remove trailing whitespace.
11816 * dlfcn/default.c: Likewise.
11817 * elf/ifuncdep2.c: Likewise.
11818 * elf/ifuncmain1.c: Likewise.
11819 * elf/ifuncmain1vis.c: Likewise.
11820 * elf/testobj.h: Likewise.
11821 * elf/tst-stackguard1.c: Likewise.
11822 * gmon/sys/gmon.h: Likewise.
11823 * hurd/hurdmsg.c: Likewise.
11824 * hurd/new-fd.c: Likewise.
11825 * hurd/ports-get.c: Likewise.
11826 * iconvdata/ibm1008_420.c: Likewise.
11827 * inet/tst-getni1.c: Likewise.
11828 * inet/tst-getni2.c: Likewise.
11829 * libio/ioungetc.c: Likewise.
11830 * libio/wfiledoalloc.c: Likewise.
11831 * manual/libm-err-tab.pl: Likewise.
11832 * math/w_dremf.c: Likewise.
11833 * misc/ftruncate.c: Likewise.
11834 * posix/bug-glob2.c: Likewise.
11835 * posix/tst-pcre.c: Likewise.
11836 * posix/wait4.c: Likewise.
11837 * resolv/README: Likewise.
11838 * resolv/res_debug.h: Likewise.
11839 * resolv/tst-inet_ntop.c: Likewise.
11840 * setjmp/bug269-setjmp.c: Likewise.
11841 * soft-fp/extended.h: Likewise.
11842 * soft-fp/op-1.h: Likewise.
11843 * soft-fp/op-2.h: Likewise.
11844 * soft-fp/op-4.h: Likewise.
11845 * soft-fp/op-8.h: Likewise.
11846 * soft-fp/testit.c: Likewise.
11847 * stdio-common/bug16.c: Likewise.
11848 * stdlib/random.c: Likewise.
11849 * sunrpc/rpcsvc/rquota.x: Likewise.
11850 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11855 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11857 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11858 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11859 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11860 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11863 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11866 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11868 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11869 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11879 * sysdeps/ieee754/s_lib_version.c: Likewise.
11880 * sysdeps/mach/hurd/check_fds.c: Likewise.
11881 * sysdeps/mach/hurd/getsockname.c: Likewise.
11882 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11883 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11884 * sysdeps/powerpc/bits/link.h: Likewise.
11885 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11886 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11887 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11888 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11889 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11890 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11891 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11892 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11893 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11894 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11895 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11896 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11897 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11898 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11899 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11900 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11901 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11906 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11908 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11909 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11910 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11913 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11915 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11916 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11919 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11920 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11921 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11922 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11923 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11924 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11925 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11929 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11930 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11931 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11932 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11933 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11934 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11936 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11937 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11938 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11939 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11940 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11941 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11942 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11943 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11944 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11946 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11947 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11948 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11949 * sysdeps/powerpc/sysdep.h: Likewise.
11950 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11951 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11952 * sysdeps/sh/dl-trampoline.S: Likewise.
11953 * sysdeps/sh/memset.S: Likewise.
11954 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11955 * sysdeps/sh/strlen.S: Likewise.
11956 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11957 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11958 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11959 * sysdeps/sparc/sparc32/rem.S: Likewise.
11960 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11961 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11962 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11963 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11964 * sysdeps/sparc/sparc32/urem.S: Likewise.
11965 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11966 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11967 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11968 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11969 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11970 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11971 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11972 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11973 * sysdeps/unix/bsd/times.c: Likewise.
11974 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11975 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11979 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11980 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11981 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11982 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11983 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11985 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11988 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11989 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11990 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11992 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11993 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11994 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11995 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11996 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11997 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11998 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11999 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12000 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12001 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12002 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12003 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12004 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12005 * sysdeps/x86_64/strcspn.S: Likewise.
12006
869378a5
RA
120072013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12008
12009 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12010 generated file. Regenerate properly from gen-translit.pl.
12011 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12012 locale/C-translit.h.
12013
840e2943
AS
120142013-06-05 Andreas Schwab <schwab@suse.de>
12015
12016 [BZ #15100]
12017 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12018 week as 6 instead of -1.
12019 * time/tst-strptime.c (day_tests): Add test case.
12020
4c60cb0c
SP
120212013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12022
12023 * sysdeps/generic/math_private.h
12024 (libc_feholdexcept_setround_53bit): Replace with
12025 libc_feholdsetround_53bit.
12026 (libc_feupdateenv_53bit): Replace with
12027 libc_feresetround_53bit.
12028 (SET_RESTORE_ROUND_53BIT): Adjust.
12029
d180203e
SP
120302013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12031
96df079a
SP
12032 * string/test-strchrnul.c: Add copyright header.
12033
d180203e
SP
12034 * posix/tst-getaddrinfo4.c: Increase test timeout.
12035
8b0ccb2d
CD
120362013-06-03 Carlos O'Donell <carlos@redhat.com>
12037
12038 [BZ #15536]
12039 * math/libm-test.inc (MAX_EXP): Remove
12040 (MIN_EXP): Define.
12041 (ulp): Use MIN_EXP - MANT_DIG.
12042 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12043
3b3c4d40
CD
120442013-05-31 Carlos O'Donell <carlos@redhat.com>
12045
12046 * po/be.po: Revert last change.
12047 * po/zh_CN.po: Likewise.
12048 * po/header.pot: Likewise.
12049
fab7ce3f
JM
120502013-05-31 Joseph Myers <joseph@codesourcery.com>
12051
12052 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12053 link-libc-deps to empty as target-specific variable.
12054 * Makerules (link-libc-args): New variable.
12055 (libc-for-link): Likewise.
12056 (link-libc-deps): Likewise.
12057 (lib%.so): Depend on $(link-libc-deps). Link with
12058 $(link-libc-args).
12059 (build-module): Link with $(link-libc-args).
12060 (build-module-asneeded): Likewise.
12061 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12062 list of objects.
12063 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12064 target-specific variable.
12065 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12066 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12067 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12068 libc.
12069 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12070 libc and ld.so.
12071 ($(objpfx)libpcprofile.so): Likewise.
12072 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12073 libc_nonshared.a.
12074 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12075 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12076 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12077 $(link-libc-deps).
12078 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12079 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12080 * login/Makefile ($(objpfx)libutil.so): Likewise.
12081 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12082 * math/Makefile ($(objpfx)libm.so): Likewise.
12083 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12084 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12085 variable instead of depending directly on libc.
12086 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12087 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12088 $(link-libc-deps).
12089 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12090 libc.
12091 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12092 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12093 ($(objpfx)libanl.so): Likewise.
12094 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12095 ld.so.
12096 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12097 $(link-libc-deps).
12098 * sysdeps/i386/fpu/Makefile: Remove file.
12099 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12100 ($(objpfx)libm.so): Remove dependency on ld.so.
12101
eca5920c
PF
121022013-05-30 Patsy Franklin <pfrankli@redhat.com>
12103
12104 [BZ # 15553]
12105 * nis/yp_xdr.c (XDRMAXNAME): Define.
12106 (XDRMAXRECORD): Define.
12107 (xdr_domainname): Use XDRMAXNAME.
12108 (xdr_mapname): Likewise.
12109 (xdr_peername): Likewise.
12110 (xdr_keydat): Use XDRMAXRECORD.
12111 (xdr_valdat): Likewise.
12112
121132013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12114
12115 [BZ #14256]
12116 * manual/errno.texi (ESTALE): Update to account for more than
12117 just NFS file systems.
12118 * sysdeps/gnu/errlist.c: Regenerated.
12119
b9375348
SP
121202013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12121
12122 [BZ #15465]
12123 * elf/Makefile (tests): Add tst-null-argv.
12124 (modules-names): Add tst-null-argv-lib.
12125 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12126 (tst-null-argv-ENV): Set environment for tst-null-argv.
12127 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12128 (RTLD_PROGNAME): New macro.
12129 * elf/tst-null-argv.c: New test case.
12130 * elf/tst-null-argv-lib.c: Library for test case.
12131 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12132 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12133 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12134 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12135 * elf/dl-init.c (call_init): Likewise.
12136 (_dl_init): Likewise.
12137 * elf/dl-load.c (print_search_path): Likewise.
12138 (_dl_map_object): Likewise.
12139 * elf/dl-lookup.c (do_lookup_x): Likewise.
12140 (add_dependency): Likewise.
12141 (_dl_lookup_symbol_x): Likewise.
12142 (_dl_debug_bindings): Likewise.
12143 * elf/dl-open.c (_dl_show_scope): Likewise.
12144 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12145 * elf/dl-version.c (match_symbol): Likewise.
12146 (_dl_check_map_versions): Likewise.
12147 * elf/rtld.c (dl_main): Likewise.
12148 (print_unresolved): Use RTLD_PROGNAME.
12149 (print_missing_version): Likewise.
12150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12151 (elf_machine_rela): Likewise.
12152 * sysdeps/powerpc/powerpc32/dl-machine.c
12153 (__process_machine_rela): Likewise.
12154 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12155 Likewise.
12156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12157 Likewise.
12158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12159 Likewise.
12160 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12162 Likewise.
12163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12164 Likewise.
12165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12166
8a9f20c8
CD
121672013-05-28 Carlos O'Donell <carlos@redhat.com>
12168
12169 * po/be.po: Add descriptive title.
12170 * po/zh_CN.po: Likewise.
12171 * po/header.pot: Likewise.
12172
0e60d68e
MF
121732013-05-28 Mike Frysinger <vapier@gentoo.org>
12174
12175 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12176 error message.
12177 (enlarge_archive): Likewise.
12178
56b672e9
BN
121792013-05-28 Ben North <ben@redfrontdoor.org>
12180
12181 * manual/arith.texi (frexp): It is the magnitude of the return
12182 value which lies in [0.5, 1), not the return value itself.
12183
5e056687
AZ
121842013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12185
12186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12187
2b66ef5d
TS
121882013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12189
528c2405
TS
12190 * stdio-common/bug26.c (main): Correct fscanf template.
12191
07b4c13d
TS
12192 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12193 declare _dl_skip_args.
12194
ec9dd97c
TS
12195 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12196 Don't declare.
12197
2b66ef5d
TS
12198 * manual/platform.texi: Add missing @end deftypefun.
12199
4f8dfe27
JM
122002013-05-24 Joseph Myers <joseph@codesourcery.com>
12201
0323d086
JM
12202 [BZ #15529]
12203 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12204 bit of mantissa of 2^16382.
12205 * math/libm-test.inc (hypot_test_data): Add more tests.
12206
dd4259b9
JM
12207 * math/libm-test.inc: Add drem and pow10 to list of tested
12208 functions.
12209 (pow10_test): New function.
12210 (drem_test): Likewise.
12211 (drem_test_tonearest): Likewise.
12212 (drem_test_towardzero): Likewise.
12213 (drem_test_downward): Likewise.
12214 (drem_test_upward): Likewise.
12215 (main): Call the new functions.
12216
4f8dfe27
JM
12217 * math/libm-test.inc (finite_test_data): Remove.
12218 (finite_test): Run tests from isfinite_test_data.
12219 (gamma_test_data): Remove.
12220 (gamma_test): Run tests from lgamma_test_data.
12221 * sysdeps/i386/fpu/libm-test-ulps: Update.
12222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12223
d116b7c4
AZ
122242013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12225
12226 * manual/platform.texi: Add PowerPC PPR function set documentation.
12227 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12228 implementation.
12229
e96e3767
CD
122302013-05-24 Carlos O'Donell <carlos@redhat.com>
12231
12232 * math/libm-test.inc (MAX_EXP): Define.
12233 (ULPDIFF): Define.
12234 (ulp): New function.
12235 (check_float_internal): Use ULPDIFF.
12236 (cpow_test): Disable failing test.
12237 (check_ulp): Test ulp() implemetnation.
12238 (main): Call check_ulp before starting tests.
12239
b679a606
JM
122402013-05-24 Joseph Myers <joseph@codesourcery.com>
12241
e8bdba36
JM
12242 * math/gen-libm-test.pl (generate_testfile): Do not handle
12243 START_DATA and END_DATA.
12244 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12245 END_DATA.
12246 (acos_tonearest_test_data): Likewise.
12247 (acos_towardzero_test_data): Likewise.
12248 (acos_downward_test_data): Likewise.
12249 (acos_upward_test_data): Likewise.
12250 (acosh_test_data): Likewise.
12251 (asin_test_data): Likewise.
12252 (asin_tonearest_test_data): Likewise.
12253 (asin_towardzero_test_data): Likewise.
12254 (asin_downward_test_data): Likewise.
12255 (asin_upward_test_data): Likewise.
12256 (asinh_test_data): Likewise.
12257 (atan_test_data): Likewise.
12258 (atanh_test_data): Likewise.
12259 (atan2_test_data): Likewise.
12260 (cabs_test_data): Likewise.
12261 (cacos_test_data): Likewise.
12262 (cacosh_test_data): Likewise.
12263 (carg_test_data): Likewise.
12264 (casin_test_data): Likewise.
12265 (casinh_test_data): Likewise.
12266 (catan_test_data): Likewise.
12267 (catanh_test_data): Likewise.
12268 (cbrt_test_data): Likewise.
12269 (ccos_test_data): Likewise.
12270 (ccosh_test_data): Likewise.
12271 (ceil_test_data): Likewise.
12272 (cexp_test_data): Likewise.
12273 (cimag_test_data): Likewise.
12274 (clog_test_data): Likewise.
12275 (clog10_test_data): Likewise.
12276 (conj_test_data): Likewise.
12277 (copysign_test_data): Likewise.
12278 (cos_test_data): Likewise.
12279 (cos_tonearest_test_data): Likewise.
12280 (cos_towardzero_test_data): Likewise.
12281 (cos_downward_test_data): Likewise.
12282 (cos_upward_test_data): Likewise.
12283 (cosh_test_data): Likewise.
12284 (cosh_tonearest_test_data): Likewise.
12285 (cosh_towardzero_test_data): Likewise.
12286 (cosh_downward_test_data): Likewise.
12287 (cosh_upward_test_data): Likewise.
12288 (cpow_test_data): Likewise.
12289 (cproj_test_data): Likewise.
12290 (creal_test_data): Likewise.
12291 (csin_test_data): Likewise.
12292 (csinh_test_data): Likewise.
12293 (csqrt_test_data): Likewise.
12294 (ctan_test_data): Likewise.
12295 (ctan_tonearest_test_data): Likewise.
12296 (ctan_towardzero_test_data): Likewise.
12297 (ctan_downward_test_data): Likewise.
12298 (ctan_upward_test_data): Likewise.
12299 (ctanh_test_data): Likewise.
12300 (ctanh_tonearest_test_data): Likewise.
12301 (ctanh_towardzero_test_data): Likewise.
12302 (ctanh_downward_test_data): Likewise.
12303 (ctanh_upward_test_data): Likewise.
12304 (erf_test_data): Likewise.
12305 (erfc_test_data): Likewise.
12306 (exp_test_data): Likewise.
12307 (exp_tonearest_test_data): Likewise.
12308 (exp_towardzero_test_data): Likewise.
12309 (exp_downward_test_data): Likewise.
12310 (exp_upward_test_data): Likewise.
12311 (exp10_test_data): Likewise.
12312 (exp2_test_data): Likewise.
12313 (expm1_test_data): Likewise.
12314 (fabs_test_data): Likewise.
12315 (fdim_test_data): Likewise.
12316 (finite_test_data): Likewise.
12317 (floor_test_data): Likewise.
12318 (fma_test_data): Likewise.
12319 (fma_towardzero_test_data): Likewise.
12320 (fma_downward_test_data): Likewise.
12321 (fma_upward_test_data): Likewise.
12322 (fmax_test_data): Likewise.
12323 (fmin_test_data): Likewise.
12324 (fmod_test_data): Likewise.
12325 (fpclassify_test_data): Likewise.
12326 (frexp_test_data): Likewise.
12327 (gamma_test_data): Likewise.
12328 (hypot_test_data): Likewise.
12329 (ilogb_test_data): Likewise.
12330 (isfinite_test_data): Likewise.
12331 (isgreater_test_data): Likewise.
12332 (isgreaterequal_test_data): Likewise.
12333 (isinf_test_data): Likewise.
12334 (isless_test_data): Likewise.
12335 (islessequal_test_data): Likewise.
12336 (islessgreater_test_data): Likewise.
12337 (isnan_test_data): Likewise.
12338 (isnormal_test_data): Likewise.
12339 (issignaling_test_data): Likewise.
12340 (isunordered_test_data): Likewise.
12341 (j0_test_data): Likewise.
12342 (j1_test_data): Likewise.
12343 (jn_test_data): Likewise.
12344 (ldexp_test_data): Likewise.
12345 (lgamma_test_data): Likewise.
12346 (lrint_test_data): Likewise.
12347 (lrint_tonearest_test_data): Likewise.
12348 (lrint_towardzero_test_data): Likewise.
12349 (lrint_downward_test_data): Likewise.
12350 (lrint_upward_test_data): Likewise.
12351 (llrint_test_data): Likewise.
12352 (llrint_tonearest_test_data): Likewise.
12353 (llrint_towardzero_test_data): Likewise.
12354 (llrint_downward_test_data): Likewise.
12355 (llrint_upward_test_data): Likewise.
12356 (log_test_data): Likewise.
12357 (log10_test_data): Likewise.
12358 (log1p_test_data): Likewise.
12359 (log2_test_data): Likewise.
12360 (logb_test_data): Likewise.
12361 (logb_downward_test_data): Likewise.
12362 (lround_test_data): Likewise.
12363 (llround_test_data): Likewise.
12364 (modf_test_data): Likewise.
12365 (nearbyint_test_data): Likewise.
12366 (nextafter_test_data): Likewise.
12367 (nexttoward_test_data): Likewise.
12368 (pow_test_data): Likewise.
12369 (pow_tonearest_test_data): Likewise.
12370 (pow_towardzero_test_data): Likewise.
12371 (pow_downward_test_data): Likewise.
12372 (pow_upward_test_data): Likewise.
12373 (remainder_test_data): Likewise.
12374 (remainder_tonearest_test_data): Likewise.
12375 (remainder_towardzero_test_data): Likewise.
12376 (remainder_downward_test_data): Likewise.
12377 (remainder_upward_test_data): Likewise.
12378 (remquo_test_data): Likewise.
12379 (rint_test_data): Likewise.
12380 (rint_tonearest_test_data): Likewise.
12381 (rint_towardzero_test_data): Likewise.
12382 (rint_downward_test_data): Likewise.
12383 (rint_upward_test_data): Likewise.
12384 (round_test_data): Likewise.
12385 (scalb_test_data): Likewise.
12386 (scalbn_test_data): Likewise.
12387 (scalbln_test_data): Likewise.
12388 (signbit_test_data): Likewise.
12389 (sin_test_data): Likewise.
12390 (sin_tonearest_test_data): Likewise.
12391 (sin_towardzero_test_data): Likewise.
12392 (sin_downward_test_data): Likewise.
12393 (sin_upward_test_data): Likewise.
12394 (sincos_test_data): Likewise.
12395 (sinh_test_data): Likewise.
12396 (sinh_tonearest_test_data): Likewise.
12397 (sinh_towardzero_test_data): Likewise.
12398 (sinh_downward_test_data): Likewise.
12399 (sinh_upward_test_data): Likewise.
12400 (sqrt_test_data): Likewise.
12401 (tan_test_data): Likewise.
12402 (tan_tonearest_test_data): Likewise.
12403 (tan_towardzero_test_data): Likewise.
12404 (tan_downward_test_data): Likewise.
12405 (tan_upward_test_data): Likewise.
12406 (tanh_test_data): Likewise.
12407 (tgamma_test_data): Likewise.
12408 (trunc_test_data): Likewise.
12409 (y0_test_data): Likewise.
12410 (y1_test_data): Likewise.
12411 (yn_test_data): Likewise.
12412 (significand_test_data): Likewise.
12413
b679a606
JM
12414 * math/gen-libm-test.pl (@functions): Remove variable.
12415 (generate_testfile): Don't handle START and END lines.
12416 * math/libm-test.inc (START): New macro.
12417 (END): Likewise.
12418 (END_COMPLEX): Likewise.
12419 (acos_test): Use END macro without arguments.
12420 (acos_test_tonearest): Likewise.
12421 (acos_test_towardzero): Likewise.
12422 (acos_test_downward): Likewise.
12423 (acos_test_upward): Likewise.
12424 (acosh_test): Likewise.
12425 (asin_test): Likewise.
12426 (asin_test_tonearest): Likewise.
12427 (asin_test_towardzero): Likewise.
12428 (asin_test_downward): Likewise.
12429 (asin_test_upward): Likewise.
12430 (asinh_test): Likewise.
12431 (atan_test): Likewise.
12432 (atanh_test): Likewise.
12433 (atan2_test): Likewise.
12434 (cabs_test): Likewise.
12435 (cacos_test): Use END_COMPLEX macro without arguments.
12436 (cacosh_test): Likewise.
12437 (carg_test): Use END macro without arguments.
12438 (casin_test): Use END_COMPLEX macro without arguments.
12439 (casinh_test): Likewise.
12440 (catan_test): Likewise.
12441 (catanh_test): Likewise.
12442 (cbrt_test): Use END macro without arguments.
12443 (ccos_test): Use END_COMPLEX macro without arguments.
12444 (ccosh_test): Likewise.
12445 (ceil_test): Use END macro without arguments.
12446 (cexp_test): Use END_COMPLEX macro without arguments.
12447 (cimag_test): Use END macro without arguments.
12448 (clog_test): Use END_COMPLEX macro without arguments.
12449 (clog10_test): Likewise.
12450 (conj_test): Likewise.
12451 (copysign_test): Use END macro without arguments.
12452 (cos_test): Likewise.
12453 (cos_test_tonearest): Likewise.
12454 (cos_test_towardzero): Likewise.
12455 (cos_test_downward): Likewise.
12456 (cos_test_upward): Likewise.
12457 (cosh_test): Likewise.
12458 (cosh_test_tonearest): Likewise.
12459 (cosh_test_towardzero): Likewise.
12460 (cosh_test_downward): Likewise.
12461 (cosh_test_upward): Likewise.
12462 (cpow_test): Use END_COMPLEX macro without arguments.
12463 (cproj_test): Likewise.
12464 (creal_test): Use END macro without arguments.
12465 (csin_test): Use END_COMPLEX macro without arguments.
12466 (csinh_test): Likewise.
12467 (csqrt_test): Likewise.
12468 (ctan_test): Likewise.
12469 (ctan_test_tonearest): Likewise.
12470 (ctan_test_towardzero): Likewise.
12471 (ctan_test_downward): Likewise.
12472 (ctan_test_upward): Likewise.
12473 (ctanh_test): Likewise.
12474 (ctanh_test_tonearest): Likewise.
12475 (ctanh_test_towardzero): Likewise.
12476 (ctanh_test_downward): Likewise.
12477 (ctanh_test_upward): Likewise.
12478 (erf_test): Use END macro without arguments.
12479 (erfc_test): Likewise.
12480 (exp_test): Likewise.
12481 (exp_test_tonearest): Likewise.
12482 (exp_test_towardzero): Likewise.
12483 (exp_test_downward): Likewise.
12484 (exp_test_upward): Likewise.
12485 (exp10_test): Likewise.
12486 (exp2_test): Likewise.
12487 (expm1_test): Likewise.
12488 (fabs_test): Likewise.
12489 (fdim_test): Likewise.
12490 (finite_test): Likewise.
12491 (floor_test): Likewise.
12492 (fma_test): Likewise.
12493 (fma_test_towardzero): Likewise.
12494 (fma_test_downward): Likewise.
12495 (fma_test_upward): Likewise.
12496 (fmax_test): Likewise.
12497 (fmin_test): Likewise.
12498 (fmod_test): Likewise.
12499 (fpclassify_test): Likewise.
12500 (frexp_test): Likewise.
12501 (gamma_test): Likewise.
12502 (hypot_test): Likewise.
12503 (ilogb_test): Likewise.
12504 (isfinite_test): Likewise.
12505 (isgreater_test): Likewise.
12506 (isgreaterequal_test): Likewise.
12507 (isinf_test): Likewise.
12508 (isless_test): Likewise.
12509 (islessequal_test): Likewise.
12510 (islessgreater_test): Likewise.
12511 (isnan_test): Likewise.
12512 (isnormal_test): Likewise.
12513 (issignaling_test): Likewise.
12514 (isunordered_test): Likewise.
12515 (j0_test): Likewise.
12516 (j1_test): Likewise.
12517 (jn_test): Likewise.
12518 (ldexp_test): Likewise.
12519 (lgamma_test): Likewise.
12520 (lrint_test): Likewise.
12521 (lrint_test_tonearest): Likewise.
12522 (lrint_test_towardzero): Likewise.
12523 (lrint_test_downward): Likewise.
12524 (lrint_test_upward): Likewise.
12525 (llrint_test): Likewise.
12526 (llrint_test_tonearest): Likewise.
12527 (llrint_test_towardzero): Likewise.
12528 (llrint_test_downward): Likewise.
12529 (llrint_test_upward): Likewise.
12530 (log_test): Likewise.
12531 (log10_test): Likewise.
12532 (log1p_test): Likewise.
12533 (log2_test): Likewise.
12534 (logb_test): Likewise.
12535 (logb_test_downward): Likewise.
12536 (lround_test): Likewise.
12537 (llround_test): Likewise.
12538 (modf_test): Likewise.
12539 (nearbyint_test): Likewise.
12540 (nextafter_test): Likewise.
12541 (nexttoward_test): Likewise.
12542 (pow_test): Likewise.
12543 (pow_test_tonearest): Likewise.
12544 (pow_test_towardzero): Likewise.
12545 (pow_test_downward): Likewise.
12546 (pow_test_upward): Likewise.
12547 (remainder_test): Likewise.
12548 (remainder_test_tonearest): Likewise.
12549 (remainder_test_towardzero): Likewise.
12550 (remainder_test_downward): Likewise.
12551 (remainder_test_upward): Likewise.
12552 (remquo_test): Likewise.
12553 (rint_test): Likewise.
12554 (rint_test_tonearest): Likewise.
12555 (rint_test_towardzero): Likewise.
12556 (rint_test_downward): Likewise.
12557 (rint_test_upward): Likewise.
12558 (round_test): Likewise.
12559 (scalb_test): Likewise.
12560 (scalbn_test): Likewise.
12561 (scalbln_test): Likewise.
12562 (signbit_test): Likewise.
12563 (sin_test): Likewise.
12564 (sin_test_tonearest): Likewise.
12565 (sin_test_towardzero): Likewise.
12566 (sin_test_downward): Likewise.
12567 (sin_test_upward): Likewise.
12568 (sincos_test): Likewise.
12569 (sinh_test): Likewise.
12570 (sinh_test_tonearest): Likewise.
12571 (sinh_test_towardzero): Likewise.
12572 (sinh_test_downward): Likewise.
12573 (sinh_test_upward): Likewise.
12574 (sqrt_test): Likewise.
12575 (tan_test): Likewise.
12576 (tan_test_tonearest): Likewise.
12577 (tan_test_towardzero): Likewise.
12578 (tan_test_downward): Likewise.
12579 (tan_test_upward): Likewise.
12580 (tanh_test): Likewise.
12581 (tgamma_test): Likewise.
12582 (trunc_test): Likewise.
12583 (y0_test): Likewise.
12584 (y1_test): Likewise.
12585 (yn_test): Likewise.
12586 (significand_test): Likewise.
12587
bae143d2
OB
125882013-05-24 Ondřej Bílka <neleai@seznam.cz>
12589
12590 [BZ #15381]
12591 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12592
9323d39b
EM
125932013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12594
d4ea44a0 12595 [BZ #14894]
9323d39b
EM
12596 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12597 __ppc_mdoio and __ppc_mdoom.
12598 * manual/platform.texi: Document new functions __ppc_yield,
12599 __ppc_mdoio and __ppc_mdoom.
12600
13e23af7
CD
126012013-05-22 Carlos O'Donell <carlos@redhat.com>
12602
12603 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12604 (main): Mention "tls" pseudo-hwcap is legacy.
12605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12606
351fe550
JM
126072013-05-22 Joseph Myers <joseph@codesourcery.com>
12608
12609 * math/gen-libm-test.pl (parse_args): Output only string of
12610 arguments as text for test name, not full call or descriptions of
12611 tests for extra outputs.
12612 (generate_testfile): Do not pass function name to parse_args.
12613 Generate this_func variable from START.
12614 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12615 field to arg_str.
12616 (struct test_ff_f_data): Likewise.
12617 (test_ff_f_data_nexttoward): Likewise.
12618 (struct test_fi_f_data): Likewise.
12619 (struct test_fl_f_data): Likewise.
12620 (struct test_if_f_data): Likewise.
12621 (struct test_fff_f_data): Likewise.
12622 (struct test_c_f_data): Likewise.
12623 (struct test_f_f1_data): Likewise. Remove field extra_name.
12624 (struct test_fF_f1_data): Likewise.
12625 (struct test_ffI_f1_data): Likewise.
12626 (struct test_c_c_data): Rename test_name field to arg_str.
12627 (struct test_cc_c_data): Likewise.
12628 (struct test_f_i_data): Likewise.
12629 (struct test_ff_i_data): Likewise.
12630 (struct test_f_l_data): Likewise.
12631 (struct test_f_L_data): Likewise.
12632 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12633 and extra2_name.
12634 (COMMON_TEST_SETUP): New macro.
12635 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12636 (COMMON_TEST_CLEANUP): Likewise.
12637 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12638 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12639 macros.
12640 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12641 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12642 macros.
12643 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12644 (RUN_TEST_fff_f): Take argument string. Call new setup and
12645 cleanup macros.
12646 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12647 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12648 macros.
12649 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12650 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12651 macros.
12652 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12653 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12654 cleanup macros.
12655 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12656 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12657 cleanup macros.
12658 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12659 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12660 cleanup macros.
12661 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12662 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12663 macros.
12664 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12665 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12666 macros.
12667 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12668 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12669 macros.
12670 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12671 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12672 cleanup macros.
12673 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12674 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12675 cleanup macros.
12676 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12677 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12678 macros.
12679 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12680 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12681 cleanup macros.
12682 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12683 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12684 macros.
12685 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12686 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12687 macros.
12688 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12689 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12690 cleanup macros.
12691 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12692
85118d4d
EBM
126932013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12694
12695 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12696 to _sifields.sigfault.
12697 (si_addr_lsb): Define new macro.
12698 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12700 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12701
7a44c18f
CD
127022013-05-03 Carlos O'Donell <carlos at redhat.com>
12703
12704 [BZ #15441]
12705 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12706 returns -1.
12707 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12708 null return -1.
12709 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12710 loading the domain.
12711
b50a7181
JM
127122013-05-22 Joseph Myers <joseph@codesourcery.com>
12713
12714 * math/gen-libm-test.pl (parse_args): Do not include expected
12715 result in test name.
12716 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12718 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12719 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12720 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12722
051063c8
SP
127232013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12724
3ce9e010
SP
12725 * benchtests/Makefile: Sort function entries.
12726
051063c8
SP
12727 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12728 tanh, asinh, acosh, atanh.
12729 * benchtests/acos-inputs: New file.
12730 * benchtests/acosh-inputs: New file.
12731 * benchtests/asin-inputs: New file.
12732 * benchtests/asinh-inputs: New file.
12733 * benchtests/atanh-inputs: New file.
12734 * benchtests/cosh-inputs: New file.
12735 * benchtests/log-inputs: New file.
12736 * benchtests/sinh-inputs: New file.
12737 * benchtests/tanh-inputs: New file.
12738
47c22455
DL
127392013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12740
12741 [BZ #15339]
12742 * posix/tst-getaddrinfo4.c: New test.
12743 * posix/Makefile (tests): Add it.
12744
3d04f5db
SP
127452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12746
12747 [BZ #15339]
12748 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12749 when no services were used.
12750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12751 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12752
d5dd6189
AS
127532013-05-21 Andreas Schwab <schwab@suse.de>
12754
12755 [BZ #15014]
12756 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12757 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12758 successful.
12759 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12760 redundant variable declarations and reallocation of buffer when
12761 parsing as IPv6 address. Always set NSS status when called from
12762 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12763 buffer too small. Correct computation of needed size.
12764 * nss/Makefile (tests): Add test-digits-dots.
12765 * nss/test-digits-dots.c: New test.
12766
fef94eab
SP
127672013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12768
12769 * benchtests/Makefile: Remove instructions for adding
12770 benchmark tests.
12771 * benchtests/README: New file to explain how to execute and
12772 enhance the benchmark tests.
12773
e39adf43
AS
127742013-05-21 Andreas Schwab <schwab@suse.de>
12775
12776 [BZ #15493]
12777 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12778 * setjmp/tst-sigsetjmp.c: New test.
12779
b2b671b6
OB
127802013-05-20 Ondřej Bílka <neleai@seznam.cz>
12781
12782 * sysdeps/x86_64/memset.S (memset): New implementation.
12783 (__bzero): Likewise.
12784 (__memset_tail): New function.
12785
2d48b41c
OB
127862013-05-20 Ondřej Bílka <neleai@seznam.cz>
12787
12788 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12789 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12790 __memcpy_sse2_unaligned ifunc selection.
12791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12792 Add memcpy-sse2-unaligned.S.
12793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12794 Add: __memcpy_sse2_unaligned.
12795
f16cc3eb
JM
127962013-05-19 Joseph Myers <joseph@codesourcery.com>
12797
3e694268
JM
12798 [BZ #15490]
12799 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12800 math_force_eval before restoring floating-point envrionment.
12801 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12803 Likewise.
12804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12805 <math_private.h>.
12806 (__nearbyintl): Use math_force_eval before restoring
12807 floating-point environment.
12808 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12809
db62a907
JM
12810 * math/gen-libm-test.pl (special_functions): Remove.
12811 (parse_args): Don't handle TEST_extra. Handle functions with no
12812 return value.
12813 * math/libm-test.inc (struct test_sincos_data): Replace with
12814 struct test_fFF_11_data.
12815 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12816 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12817 (sincos_test_data): Change element type to struct
12818 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12819 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12820 RUN_TEST_LOOP_sincos.
12821 * math/README.libm-test: Don't mention special handling of
12822 individual functions.
12823 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12825 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12826 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12827 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
f16cc3eb
JM
12830 * math/gen-libm-test.pl (get_variable): Remove function.
12831 (parse_args): Don't show pointer parameters to call in test
12832 names. Use "extra output N" in test names for extra outputs
12833 rather than naming variables.
12834
3779b5b6
JM
128352013-05-18 Joseph Myers <joseph@codesourcery.com>
12836
2ee094ff
JM
12837 [BZ #15488]
12838 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12839 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12840 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12841 double tests.
12842 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12843 disable.
12844 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12845 check_long_double.
12846
3779b5b6
JM
12847 * math/gen-libm-test.pl (@tests): Remove variable.
12848 ($count): Likewise.
12849 (new_test): Remove function.
12850 (show_exceptions): New function.
12851 (special_functions): Use show_exceptions instead of new_test.
12852 (parse_args): Likewise.
12853 (generate_testfile): Pass only function name in generated call to
12854 print_max_error or print_complex_max_error.
12855 (get_ulps): Do not handle complex tests specially.
12856 (output_test): Rename to ...
12857 (get_all_ulps_for_test): ... this. Return a string rather than
12858 printing to a file. Require ulps to be present.
12859 (output_ulps): Generate arrays rather than #defines.
12860 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12861 (struct ulp_data): New type.
12862 (BUILD_COMPLEX_ULP): Remove macro.
12863 (compare_ulp_data): New function.
12864 (find_ulps): Likewise.
12865 (find_test_ulps): Likewise.
12866 (find_function_ulps): Likewise.
12867 (find_complex_function_ulps): Likewise.
12868 (print_max_error): Determine allowed ulps using
12869 find_function_ulps.
12870 (print_complex_max_error): Determine allowed ulps using
12871 find_complex_function_ulps.
12872 (check_float_internal): Determine max ulps using find_test_ulps.
12873 (check_float): Do not take max_ulp parameter. Update call to
12874 check_float_internal.
12875 (check_complex): Likewise.
12876 (check_int): Do not take max_ulp parameter.
12877 (check_long): Likewise.
12878 (check_bool): Likewise.
12879 (check_longlong): Likewise.
12880 (struct test_f_f_data): Remove max_ulp field.
12881 (struct test_ff_f_data): Likewise.
12882 (struct test_ff_f_data_nexttoward): Likewise.
12883 (struct test_fi_f_data): Likewise.
12884 (struct test_fl_f_data): Likewise.
12885 (struct test_if_f_data): Likewise.
12886 (struct test_fff_f_data): Likewise.
12887 (struct test_c_f_data): Likewise.
12888 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12889 (struct test_fF_f1_data): Likewise.
12890 (struct test_ffI_f1_data): Likewise.
12891 (struct test_c_c_data): Remove max_ulp field.
12892 (struct test_cc_c_data): Likewise.
12893 (struct test_f_i_data): Likewise.
12894 (struct test_ff_i_data): Likewise.
12895 (struct test_f_l_data): Likewise.
12896 (struct test_f_L_data): Likewise.
12897 (struct test_sincos_data): Likewise.
12898 (RUN_TEST_f_f): Do not handle ulps.
12899 (RUN_TEST_LOOP_f_f): Likewise.
12900 (RUN_TEST_2_f): Likewise.
12901 (RUN_TEST_LOOP_2_f): Likewise.
12902 (RUN_TEST_fff_f): Likewise.
12903 (RUN_TEST_LOOP_fff_f): Likewise.
12904 (RUN_TEST_c_f): Likewise.
12905 (RUN_TEST_LOOP_c_f): Likewise.
12906 (RUN_TEST_f_f1): Likewise.
12907 (RUN_TEST_LOOP_f_f1): Likewise.
12908 (RUN_TEST_fF_f1): Likewise.
12909 (RUN_TEST_LOOP_fF_f1): Likewise.
12910 (RUN_TEST_fI_f1): Likewise.
12911 (RUN_TEST_LOOP_fI_f1): Likewise.
12912 (RUN_TEST_ffI_f1): Likewise.
12913 (RUN_TEST_LOOP_ffI_f1): Likewise.
12914 (RUN_TEST_c_c): Likewise.
12915 (RUN_TEST_LOOP_c_c): Likewise.
12916 (RUN_TEST_cc_c): Likewise.
12917 (RUN_TEST_LOOP_cc_c): Likewise.
12918 (RUN_TEST_f_i): Likewise.
12919 (RUN_TEST_LOOP_f_i): Likewise.
12920 (RUN_TEST_f_i_tg): Likewise.
12921 (RUN_TEST_LOOP_f_i_tg): Likewise.
12922 (RUN_TEST_ff_i_tg): Likewise.
12923 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12924 (RUN_TEST_f_b): Likewise.
12925 (RUN_TEST_LOOP_f_b): Likewise.
12926 (RUN_TEST_f_b_tg): Likewise.
12927 (RUN_TEST_LOOP_f_b_tg): Likewise.
12928 (RUN_TEST_f_l): Likewise.
12929 (RUN_TEST_LOOP_f_l): Likewise.
12930 (RUN_TEST_f_L): Likewise.
12931 (RUN_TEST_LOOP_f_L): Likewise.
12932 (RUN_TEST_sincos): Likewise.
12933 (RUN_TEST_LOOP_sincos): Likewise.
12934
8269107f
JM
129352013-05-17 Joseph Myers <joseph@codesourcery.com>
12936
bb38759d
JM
12937 [BZ #15480]
12938 [BZ #15485]
12939 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12940 main case of finite arguments, set rounding mode to FE_TONEAREST
12941 and discard exceptions.
12942 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12943 exceptions.
12944 (remainder_tonearest_test_data): New variable.
12945 (remainder_test_tonearest): New function.
12946 (remainder_towardzero_test_data): New variable.
12947 (remainder_test_towardzero): New function.
12948 (remainder_downward_test_data): New variable.
12949 (remainder_test_downward): New function.
12950 (remainder_upward_test_data): New variable.
12951 (remainder_test_upward): New function.
12952 (main): Call the new test functions.
12953
a00bdcf0
JM
12954 * math/libm-test.inc (struct test_f_f1_data): Remove field
12955 extra_init.
12956 (struct test_fF_f1_data): Likewise.
12957 (struct test_ffI_f1_data): Likewise.
12958 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12959 based on value of EXTRA_EXPECTED.
12960 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12961 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12962 EXTRA_VAR based on value of EXTRA_EXPECTED.
12963 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12964 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12965 EXTRA_VAR based on value of EXTRA_EXPECTED.
12966 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12967 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12968 EXTRA_VAR based on value of EXTRA_EXPECTED.
12969 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12970 * math/gen-libm-test.pl (parse_args): Don't output initializers
12971 for extra output values.
12972
de407f79
JM
12973 * math/libm-test.inc (check_int): Expect result to be exactly
12974 equal to expected value and do not handle ulps.
12975 (check_long): Likewise.
12976 (check_longlong): Likewise.
12977
8269107f
JM
12978 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12979 exceptions.
12980 (cimag_test_data): Likewise.
12981 (conj_test_data): Likewise.
12982 (copysign_test_data): Likewise.
12983 (cproj_test_data): Likewise.
12984 (creal_test_data): Likewise.
12985 (fabs_test_data): Likewise.
12986 (fdim_test_data): Likewise.
12987 (finite_test_data): Likewise.
12988 (floor_test_data): Likewise.
12989 (fmax_test_data): Likewise.
12990 (fmin_test_data): Likewise.
12991 (fmod_test_data): Likewise.
12992 (fpclassify_test_data): Likewise.
12993 (frexp_test_data): Likewise.
12994 (ilogb_test_data): Likewise.
12995 (isfinite_test_data): Likewise.
12996 (isgreater_test_data): Likewise.
12997 (isgreaterequal_test_data): Likewise.
12998 (isinf_test_data): Likewise.
12999 (isless_test_data): Likewise.
13000 (islessequal_test_data): Likewise.
13001 (islessgreater_test_data): Likewise.
13002 (isnan_test_data): Likewise.
13003 (isnormal_test_data): Likewise.
13004 (issignaling_test_data): Likewise.
13005 (isunordered_test_data): Likewise.
13006 (ldexp_test_data): Likewise.
13007 (lrint_test_data): Likewise.
13008 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13009 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13010 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13011 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13012 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13013 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13014 test input.
13015 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13016 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13017 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13018 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13019 that test input.
13020 (lrint_downward_test_data): Test for "inexact" exceptions.
13021 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13022 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13023 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13024 test input.
13025 (lrint_upward_test_data): Test for "inexact" exceptions.
13026 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13027 test input.
13028 (llrint_test_data): Test for "inexact" exceptions.
13029 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13030 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13031 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13032 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13033 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13034 (llrint_downward_test_data): Test for "inexact" exceptions.
13035 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13036 (llrint_upward_test_data): Test for "inexact" exceptions.
13037 (logb_test_data): Likewise.
13038 (logb_downward_test_data): Likewise.
13039 (nextafter_test_data): Likewise.
13040 (nexttoward_test_data): Likewise.
13041 (remainder_test_data): Likewise.
13042 (remquo_test_data): Likewise.
13043 (scalbn_test_data): Likewise.
13044 (scalbln_test_data): Likewise.
13045 (signbit_test_data): Likewise.
13046 (sqrt_test_data): Likewise.
13047 (significand_test_data): Likewise.
13048
48a18de1
SP
130492013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13050
13051 [BZ #15424]
13052 * benchtests/bench-modf.c (struct args): Mark arg0 as
13053 volatile.
13054 * scripts/bench.pl: Mark members of struct args as volatile.
13055
13d3b41a
AZ
130562013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13057
68191c1d 13058 [BZ # 15497]
13d3b41a
AZ
13059 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13060 negative infinity on POWER6 or lower.
13061 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13062
2848b105
MR
130632013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13064
13065 [BZ #15442]
13066 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13067 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13068 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13069 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13070 (_FP_SETQNAN): New macro.
13071 (_FP_SETQNAN_SEMIRAW): Likewise.
13072 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13073 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13074 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13075 (FP_EXTEND): Use _FP_FRAC_SNANP.
13076 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13077 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13078 into account.
13079 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13080 New macro.
13081 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13082 Likewise.
13083
323e5cb7
JM
130842013-05-16 Joseph Myers <joseph@codesourcery.com>
13085
c58b274f
JM
13086 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13087 with DIVIDE_BY_ZERO_EXCEPTION.
13088 (gamma_test_data): Likewise.
13089 (lgamma_test_data): Likewise.
13090 (log_test_data): Likewise.
13091 (log10_test_data): Likewise.
13092 (log2_test_data): Likewise.
13093 (tgamma_test_data): Likewise.
13094
0ab34904
JM
13095 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13096 (acos_test_tonearest): Likewise.
13097 (acos_test_towardzero): Likewise.
13098 (acos_test_downward): Likewise.
13099 (acos_test_upward): Likewise.
13100 (acosh_test): Likewise.
13101 (asin_test): Likewise.
13102 (asin_test_tonearest): Likewise.
13103 (asin_test_towardzero): Likewise.
13104 (asin_test_downward): Likewise.
13105 (asin_test_upward): Likewise.
13106 (asinh_test): Likewise.
13107 (atan_test): Likewise.
13108 (atanh_test): Likewise.
13109 (atan2_test): Likewise.
13110 (cabs_test): Likewise.
13111 (cacos_test): Likewise.
13112 (cacosh_test): Likewise.
13113 (casin_test): Likewise.
13114 (casinh_test): Likewise.
13115 (catan_test): Likewise.
13116 (catanh_test): Likewise.
13117 (cbrt_test): Likewise.
13118 (ccos_test): Likewise.
13119 (ccosh_test): Likewise.
13120 (cexp_test): Likewise.
13121 (clog_test): Likewise.
13122 (clog10_test): Likewise.
13123 (cos_test): Likewise.
13124 (cos_test_tonearest): Likewise.
13125 (cos_test_towardzero): Likewise.
13126 (cos_test_downward): Likewise.
13127 (cos_test_upward): Likewise.
13128 (cosh_test): Likewise.
13129 (cosh_test_tonearest): Likewise.
13130 (cosh_test_towardzero): Likewise.
13131 (cosh_test_downward): Likewise.
13132 (cosh_test_upward): Likewise.
13133 (cpow_test): Likewise.
13134 (csin_test): Likewise.
13135 (csinh_test): Likewise.
13136 (csqrt_test): Likewise.
13137 (ctan_test): Likewise.
13138 (ctan_test_tonearest): Likewise.
13139 (ctan_test_towardzero): Likewise.
13140 (ctan_test_downward): Likewise.
13141 (ctan_test_upward): Likewise.
13142 (ctanh_test): Likewise.
13143 (ctanh_test_tonearest): Likewise.
13144 (ctanh_test_towardzero): Likewise.
13145 (ctanh_test_downward): Likewise.
13146 (ctanh_test_upward): Likewise.
13147 (erf_test): Likewise.
13148 (erfc_test): Likewise.
13149 (exp_test): Likewise.
13150 (exp_test_tonearest): Likewise.
13151 (exp_test_towardzero): Likewise.
13152 (exp_test_downward): Likewise.
13153 (exp_test_upward): Likewise.
13154 (exp10_test): Likewise.
13155 (exp2_test): Likewise.
13156 (expm1_test): Likewise.
13157 (fmod_test): Likewise.
13158 (gamma_test): Likewise.
13159 (hypot_test): Likewise.
13160 (j0_test): Likewise.
13161 (j1_test): Likewise.
13162 (jn_test): Likewise.
13163 (lgamma_test): Likewise.
13164 (log_test): Likewise.
13165 (log10_test): Likewise.
13166 (log1p_test): Likewise.
13167 (log2_test): Likewise.
13168 (logb_test_downward): Likewise.
13169 (pow_test): Likewise.
13170 (pow_test_tonearest): Likewise.
13171 (pow_test_towardzero): Likewise.
13172 (pow_test_downward): Likewise.
13173 (pow_test_upward): Likewise.
13174 (remainder_test): Likewise.
13175 (remquo_test): Likewise.
13176 (sin_test): Likewise.
13177 (sin_test_tonearest): Likewise.
13178 (sin_test_towardzero): Likewise.
13179 (sin_test_downward): Likewise.
13180 (sin_test_upward): Likewise.
13181 (sincos_test): Likewise.
13182 (sinh_test): Likewise.
13183 (sinh_test_tonearest): Likewise.
13184 (sinh_test_towardzero): Likewise.
13185 (sinh_test_downward): Likewise.
13186 (sinh_test_upward): Likewise.
13187 (sqrt_test): Likewise.
13188 (tan_test): Likewise.
13189 (tan_test_tonearest): Likewise.
13190 (tan_test_towardzero): Likewise.
13191 (tan_test_downward): Likewise.
13192 (tan_test_upward): Likewise.
13193 (tanh_test): Likewise.
13194 (tgamma_test): Likewise.
13195 (y0_test): Likewise.
13196 (y1_test): Likewise.
13197 (yn_test): Likewise.
13198
323e5cb7
JM
13199 * math/gen-libm-test.pl (adjust_arg): Remove function.
13200 (special_function): Remove argument $in_func. Only handle
13201 generating output for tables of tests, not inside functions.
13202 (parse_args): Likewise.
13203 (generate_testfile): Remove variable $in_func. Update call to
13204 parse_args.
13205 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13206 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13207 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13208 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13209 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13210 (MAX_VALUE_INIT): Rename macro to max_value.
13211 (MIN_VALUE_INIT): Rename macro to min_value.
13212 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13213 (plus_zero): Remove variable.
13214 (minus_zero): Likewise.
13215 (plus_infty): Likewise.
13216 (minus_infty): Likewise.
13217 (qnan_value): Likewise.
13218 (max_value): Likewise.
13219 (min_value): Likewise.
13220 (min_subnorm_value): Likewise.
13221
e054f494
RA
132222013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13223
13224 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13225 uint64_t or uint32_t usage.
13226 * crypt/sha256-block.c: Likewise.
13227 * crypt/sha256-crypt.c: Likewise.
13228 * crypt/sha256.c: Likewise.
13229 * crypt/sha512-block.c: Likewise.
13230 * crypt/sha512-crypt.c: Likewise.
13231 * crypt/sha512.c: Likewise.
13232 * debug/backtrace-tst.c: Likewise.
13233 * debug/pcprofiledump.c: Likewise.
13234 * elf/cache.c: Likewise.
13235 * elf/dl-cache.c: Likewise.
13236 * elf/dl-misc.c: Likewise.
13237 * elf/dl-profile.c: Likewise.
13238 * elf/dl-support.c: Likewise.
13239 * elf/ldconfig.c: Likewise.
13240 * elf/sprof.c: Likewise.
13241 * iconv/dummy-repertoire.c: Likewise.
13242 * iconv/iconv_charmap.c: Likewise.
13243 * iconv/skeleton.c: Likewise.
13244 * iconvdata/8bit-generic.c: Likewise.
13245 * iconvdata/cp737.h: Likewise.
13246 * iconvdata/cp775.h: Likewise.
13247 * iconvdata/ibm1008.h: Likewise.
13248 * iconvdata/ibm1025.h: Likewise.
13249 * iconvdata/ibm1046.h: Likewise.
13250 * iconvdata/ibm1097.h: Likewise.
13251 * iconvdata/ibm1112.h: Likewise.
13252 * iconvdata/ibm1122.h: Likewise.
13253 * iconvdata/ibm1123.h: Likewise.
13254 * iconvdata/ibm1124.h: Likewise.
13255 * iconvdata/ibm1129.h: Likewise.
13256 * iconvdata/ibm1130.h: Likewise.
13257 * iconvdata/ibm1132.h: Likewise.
13258 * iconvdata/ibm1133.h: Likewise.
13259 * iconvdata/ibm1137.h: Likewise.
13260 * iconvdata/ibm1140.h: Likewise.
13261 * iconvdata/ibm1141.h: Likewise.
13262 * iconvdata/ibm1142.h: Likewise.
13263 * iconvdata/ibm1143.h: Likewise.
13264 * iconvdata/ibm1144.h: Likewise.
13265 * iconvdata/ibm1145.h: Likewise.
13266 * iconvdata/ibm1146.h: Likewise.
13267 * iconvdata/ibm1147.h: Likewise.
13268 * iconvdata/ibm1148.h: Likewise.
13269 * iconvdata/ibm1149.h: Likewise.
13270 * iconvdata/ibm1153.h: Likewise.
13271 * iconvdata/ibm1154.h: Likewise.
13272 * iconvdata/ibm1155.h: Likewise.
13273 * iconvdata/ibm1156.h: Likewise.
13274 * iconvdata/ibm1157.h: Likewise.
13275 * iconvdata/ibm1158.h: Likewise.
13276 * iconvdata/ibm1160.h: Likewise.
13277 * iconvdata/ibm1161.h: Likewise.
13278 * iconvdata/ibm1162.h: Likewise.
13279 * iconvdata/ibm1163.h: Likewise.
13280 * iconvdata/ibm1164.h: Likewise.
13281 * iconvdata/ibm1166.h: Likewise.
13282 * iconvdata/ibm1167.h: Likewise.
13283 * iconvdata/ibm12712.h: Likewise.
13284 * iconvdata/ibm1390.h: Likewise.
13285 * iconvdata/ibm1399.h: Likewise.
13286 * iconvdata/ibm16804.h: Likewise.
13287 * iconvdata/ibm4517.h: Likewise.
13288 * iconvdata/ibm4899.h: Likewise.
13289 * iconvdata/ibm4909.h: Likewise.
13290 * iconvdata/ibm4971.h: Likewise.
13291 * iconvdata/ibm5347.h: Likewise.
13292 * iconvdata/ibm803.h: Likewise.
13293 * iconvdata/ibm856.h: Likewise.
13294 * iconvdata/ibm901.h: Likewise.
13295 * iconvdata/ibm902.h: Likewise.
13296 * iconvdata/ibm9030.h: Likewise.
13297 * iconvdata/ibm9066.h: Likewise.
13298 * iconvdata/ibm921.h: Likewise.
13299 * iconvdata/ibm922.h: Likewise.
13300 * iconvdata/ibm9448.h: Likewise.
13301 * iconvdata/isiri-3342.h: Likewise.
13302 * iconvdata/jis0201.h: Likewise.
13303 * include/link.h: Likewise.
13304 * include/netdb.h: Likewise.
13305 * inet/check_native.c: Likewise.
13306 * inet/check_pf.c: Likewise.
13307 * inet/getipv4sourcefilter.c: Likewise.
13308 * inet/getnameinfo.c: Likewise.
13309 * inet/getsourcefilter.c: Likewise.
13310 * inet/htonl.c: Likewise.
13311 * inet/setipv4sourcefilter.c: Likewise.
13312 * inet/setsourcefilter.c: Likewise.
13313 * inet/test-inet6_opt.c: Likewise.
13314 * inet/tst-network.c: Likewise.
13315 * locale/C-collate.c: Likewise.
13316 * locale/C-ctype.c: Likewise.
13317 * locale/C-time.c: Likewise.
13318 * locale/C-translit.h: Likewise.
13319 * locale/loadarchive.c: Likewise.
13320 * locale/programs/3level.h: Likewise.
13321 * locale/programs/charmap.c: Likewise.
13322 * locale/programs/charmap.h: Likewise.
13323 * locale/programs/ld-address.c: Likewise.
13324 * locale/programs/ld-collate.c: Likewise.
13325 * locale/programs/ld-ctype.c: Likewise.
13326 * locale/programs/ld-identification.c: Likewise.
13327 * locale/programs/ld-measurement.c: Likewise.
13328 * locale/programs/ld-messages.c: Likewise.
13329 * locale/programs/ld-monetary.c: Likewise.
13330 * locale/programs/ld-name.c: Likewise.
13331 * locale/programs/ld-numeric.c: Likewise.
13332 * locale/programs/ld-paper.c: Likewise.
13333 * locale/programs/ld-telephone.c: Likewise.
13334 * locale/programs/ld-time.c: Likewise.
13335 * locale/programs/linereader.c: Likewise.
13336 * locale/programs/locale.c: Likewise.
13337 * locale/programs/locarchive.c: Likewise.
13338 * locale/programs/locfile.h: Likewise.
13339 * locale/programs/repertoire.c: Likewise.
13340 * locale/programs/simple-hash.c: Likewise.
13341 * locale/programs/simple-hash.h: Likewise.
13342 * malloc/memusage.c: Likewise.
13343 * malloc/memusagestat.c: Likewise.
13344 * nis/nis_defaults.c: Likewise.
13345 * nis/nis_hash.c: Likewise.
13346 * nis/nis_print.c: Likewise.
13347 * nis/nis_xdr.c: Likewise.
13348 * nscd/connections.c: Likewise.
13349 * nscd/hstcache.c: Likewise.
13350 * nscd/nscd_gethst_r.c: Likewise.
13351 * nscd/nscd_getserv_r.c: Likewise.
13352 * nscd/nscd_helper.c: Likewise.
13353 * nscd/servicescache.c: Likewise.
13354 * nss/makedb.c: Likewise.
13355 * nss/nss_db/db-XXX.c: Likewise.
13356 * nss/nss_db/db-initgroups.c: Likewise.
13357 * nss/nss_db/db-netgrp.c: Likewise.
13358 * nss/nss_files/files-network.c: Likewise.
13359 * nss/nss_files/files-parse.c: Likewise.
13360 * posix/bug-regex5.c: Likewise.
13361 * posix/fnmatch_loop.c: Likewise.
13362 * posix/regcomp.c: Likewise.
13363 * posix/regexec.c: Likewise.
13364 * posix/tst-rfc3484-2.c: Likewise.
13365 * posix/tst-rfc3484-3.c: Likewise.
13366 * posix/tst-rfc3484.c: Likewise.
13367 * resolv/nss_dns/dns-canon.c: Likewise.
13368 * resolv/nss_dns/dns-network.c: Likewise.
13369 * resolv/res_init.c: Likewise.
13370 * resolv/res_mkquery.c: Likewise.
13371 * resolv/tst-aton.c: Likewise.
13372 * stdlib/cxa_atexit.c: Likewise.
13373 * stdlib/cxa_finalize.c: Likewise.
13374 * stdlib/gen-fpioconst.c: Likewise.
13375 * stdlib/strtol_l.c: Likewise.
13376 * string/tst-endian.c: Likewise.
13377 * sunrpc/auth_des.c: Likewise.
13378 * sunrpc/clnt_udp.c: Likewise.
13379 * sunrpc/rtime.c: Likewise.
13380 * sunrpc/svcauth_des.c: Likewise.
13381 * sunrpc/xdr.c: Likewise.
13382 * sunrpc/xdr_intXX_t.c: Likewise.
13383 * sunrpc/xdr_rec.c: Likewise.
13384 * sysdeps/generic/ldconfig.h: Likewise.
13385 * sysdeps/generic/ldsodefs.h: Likewise.
13386 * sysdeps/generic/memusage.h: Likewise.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13390 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13397 * sysdeps/posix/getaddrinfo.c: Likewise.
13398 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13399 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13400 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13401 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13402 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13403 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13404 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13405 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13406 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13408 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13409 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13410 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13411 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13412 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13413 * sysdeps/x86_64/dl-tls.h: Likewise.
13414 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13415 * time/alt_digit.c: Likewise.
13416 * time/era.c: Likewise.
13417 * wcsmbs/tst-c16c32-1.c: Likewise.
13418
8c75f674
JM
134192013-05-16 Joseph Myers <joseph@codesourcery.com>
13420
13421 * math/libm-test.inc (struct test_sincos_data): New type.
13422 (RUN_TEST_LOOP_sincos): New macro.
13423 (sincos_test_data): New variable.
13424 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13425
e6e49e59
RH
134262013-05-16 Richard Henderson <rth@redhat.com>
13427
13428 * math/atest-exp2.c (LIMB64): New macro.
13429 (CONSTSZ): New macro.
13430 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13431 (hexdig): Move ...
13432 (print_mpn_fp): ... to function scope.
13433 (read_mpn_hex): Remove.
13434 (get_log2): Remove.
13435 (exp2_mpn): Use mp_log2.
13436 (main): Use mp_exp1.
13437
15c7c18d
JM
134382013-05-16 Joseph Myers <joseph@codesourcery.com>
13439
105a07df
JM
13440 * math/libm-test.inc: Remove comment about not testing "inexact"
13441 exceptions.
13442 (INEXACT_EXCEPTION): New macro.
13443 (NO_INEXACT_EXCEPTION): Likewise.
13444 (INVALID_EXCEPTION_OK): Update value.
13445 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13446 (OVERFLOW_EXCEPTION_OK): Likewise.
13447 (UNDERFLOW_EXCEPTION_OK): Likewise.
13448 (IGNORE_ZERO_INF_SIGN): Likewise.
13449 (ERRNO_UNCHANGED): Likewise.
13450 (ERRNO_EDOM): Likewise.
13451 (ERRNO_ERANGE): Likewise.
13452 (test_exceptions): Handle testing "inexact" exceptions.
13453 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13454 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13455 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13456 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13457 INEXACT_EXCEPTION.
13458 (rint_towardzero_test_data): Likewise.
13459 (rint_downward_test_data): Likewise.
13460 (rint_upward_test_data): Likewise.
13461
e9eee333
JM
13462 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13463 with OVERFLOW_EXCEPTION.
13464 (exp10_test_data): Likewise.
13465 (exp2_test_data): Likewise.
13466 (expm1_test_data): Likewise.
13467 (lgamma_test_data): Likewise.
13468 (pow_test_data): Likewise.
13469 (tgamma_test_data): Likewise.
13470 (yn_test_data): Remove duplicate test of overflow.
13471
1c38ff73
JM
13472 * math/libm-test.inc (struct test_cc_c_data): New type.
13473 (RUN_TEST_LOOP_cc_c): New macro.
13474 (cpow_test_data): New variable.
13475 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13476
15c7c18d
JM
13477 * math/libm-test.inc (struct test_f_L_data): New type.
13478 (RUN_TEST_LOOP_f_L): New macro.
13479 (llrint_test_data): New variable.
13480 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13481 (llrint_tonearest_test_data): New variable.
13482 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13483 (llrint_towardzero_test_data): New variable.
13484 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13485 (llrint_downward_test_data): New variable.
13486 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13487 (llrint_upward_test_data): New variable.
13488 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13489 (llround_test_data): New variable.
13490 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13491
f137ff13
PC
134922013-05-13 Peter Collingbourne <pcc@google.com>
13493
13494 * math/atest-exp2.c (get_log2): Remove const attribute.
13495
3608cb24
JM
134962013-05-15 Joseph Myers <joseph@codesourcery.com>
13497
13498 * math/libm-test.inc (struct test_f_l_data): New type.
13499 (RUN_TEST_LOOP_f_l): New macro.
13500 (lrint_test_data): New variable.
13501 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13502 (lrint_tonearest_test_data): New variable.
13503 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13504 (lrint_towardzero_test_data): New variable.
13505 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13506 (lrint_downward_test_data): New variable.
13507 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13508 (lrint_upward_test_data): New variable.
13509 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13510 (lround_test_data): New variable.
13511 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13512
39b1f617
PC
135132013-05-15 Peter Collingbourne <pcc@google.com>
13514
1deff3dc
PC
13515 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13516 (EXTRACT_WORDS64) Use where appropriate.
13517 (INSERT_WORDS64) Likewise.
13518
791f3ba0
PC
13519 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13520 constraints with x constraints.
13521 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13522
39b1f617
PC
13523 * malloc/obstack.c (_obstack_compat): Add initializer.
13524
12fba011
EM
135252013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13526
13527 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13528 si_trapno and add si_addr_lsb to _sifields.sigfault.
13529 (si_trapno): Remove macro.
13530 (si_addr_lsb): Define new macro.
13531 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13532
d369f531
JM
135332013-05-15 Joseph Myers <joseph@codesourcery.com>
13534
b861c6c4
JM
13535 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13536 instead of TEST_f_l.
13537 (llrint_test_tonearest): Likewise.
13538 (llrint_test_towardzero): Likewise.
13539 (llrint_test_downward): Likewise.
13540 (llrint_test_upward): Likewise.
13541 (llround_test): Likewise.
13542
7abeee12
JM
13543 * math/libm-test.inc (struct test_f_i_data): Add comment.
13544 (RUN_TEST_LOOP_f_b): New macro.
13545 (RUN_TEST_LOOP_f_b_tg): Likewise.
13546 (finite_test_data): New variable.
13547 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13548 (isfinite_test_data): New variable.
13549 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13550 (isinf_test_data): New variable.
13551 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13552 (isnan_test_data): New variable.
13553 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13554 (isnormal_test_data): New variable.
13555 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13556 (issignaling_test_data): New variable.
13557 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13558 (signbit_test_data): New variable.
13559 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13560
cbe8c4d3
JM
13561 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13562 with INVALID_EXCEPTION.
13563 (acosh_test_data): Likewise.
13564 (asin_test_data): Likewise.
13565 (atanh_test_data): Likewise.
13566 (fmod_test_data): Likewise.
13567 (log_test_data): Likewise.
13568 (log10_test_data): Likewise.
13569 (log2_test_data): Likewise.
13570 (pow_test_data): Likewise.
13571 (sqrt_test_data): Likewise.
13572 (y0_test_data): Likewise.
13573 (y1_test_data): Likewise.
13574 (yn_test_data): Likewise.
13575
5575c0e5
JM
13576 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13577 function contents.
13578
d369f531
JM
13579 * math/libm-test.inc (struct test_ff_i_data): New type.
13580 (RUN_TEST_LOOP_ff_i_tg): New macro.
13581 (isgreater_test_data): New variable.
13582 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13583 (isgreaterequal_test_data): New variable.
13584 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13585 (isless_test_data): New variable.
13586 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13587 (islessequal_test_data): New variable.
13588 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13589 (islessgreater_test_data): New variable.
13590 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13591 (isunordered_test_data): New variable.
13592 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13593
781fd748
DM
135942013-05-14 David S. Miller <davem@davemloft.net>
13595
13596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13597
87aa21df
JM
135982013-05-14 Joseph Myers <joseph@codesourcery.com>
13599
5e908270
JM
13600 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13601
f71172e5
JM
13602 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13603 extra_test to int.
13604 (struct test_f_i_data): Change type of max_ulp to int.
13605
8cfa635a
JM
13606 * math/libm-test.inc (test_ffI_f1_data): New type.
13607 (RUN_TEST_LOOP_ffI_f1): New macro.
13608 (remquo_test_data): New variable.
13609 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13610
2bcb36b2
JM
13611 * setjmp/tst-setjmp-fp.c: New file.
13612 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13613 (link-libm): New variable.
13614 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13615
acbd839a
JM
13616 * math/libm-test.inc (struct test_f_i_data): New type.
13617 (RUN_TEST_LOOP_f_i): New macro.
13618 (RUN_TEST_LOOP_f_i_tg): Likewise.
13619 (fpclassify_test_data): New variable.
13620 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13621 (ilogb_test_data): New variable.
13622 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13623
e414d745
JM
13624 * math/libm-test.inc (scalbln_test): Correct function name in END
13625 call.
13626
d9c2a0fd
JM
13627 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13628 (RUN_TEST_LOOP_fI_f1): New macro.
13629 (frexp_test_data): New variable.
13630 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13631
9dc9095d
JM
13632 * math/libm-test.inc (struct test_fF_f1_data): New type.
13633 (RUN_TEST_LOOP_fF_f1): New macro.
13634 (modf_test_data): New variable.
13635 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13636
87aa21df
JM
13637 * math/libm-test.inc (struct test_f_f1_data): New type.
13638 (RUN_TEST_LOOP_f_f1): New macro.
13639 (gamma_test_data): New variable.
13640 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13641 (lgamma_test_data): New variable.
13642 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13643
141af660
CD
136442013-05-13 Carlos O'Donell <carlos@redhat.com>
13645
13646 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13647 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13648 (main): Comment "tls" pseudo-hwcap.
13649
6d33265c
JM
136502013-05-13 Joseph Myers <joseph@codesourcery.com>
13651
68fc074c
JM
13652 * math/libm-test.inc (struct test_fl_f_data): New type.
13653 (RUN_TEST_LOOP_fl_f): New variable.
13654 (scalbln_test_data): New variable.
13655 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13656
243216e1
JM
13657 * math/libm-test.inc (struct test_fi_f_data): New type.
13658 (RUN_TEST_LOOP_fi_f): New macro.
13659 (ldexp_test_data): New variable.
13660 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13661 (scalbn_test_data): New variable.
13662 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13663
6a1992e2
JM
13664 * math/libm-test.inc (struct test_c_f_data): New type.
13665 (RUN_TEST_LOOP_c_f): New macro.
13666 (cabs_test_data): New variable.
13667 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13668 (carg_test_data): New variable.
13669 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13670 (cimag_test_data): New variable.
13671 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13672 (creal_test_data): New variable.
13673 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13674
0e400df5
JM
13675 * math/libm-test.inc (struct test_if_f_data): New type.
13676 (RUN_TEST_LOOP_if_f): New macro.
13677 (jn_test_data): New variable.
13678 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13679 (yn_test_data): New variable.
13680 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13681
6d33265c
JM
13682 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13683
f98ece5f
AZ
136842013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13685
13686 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13687 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13688
0f7d347b
SP
136892013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13690
43fe811b
SP
13691 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13692 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13693 (bench-deps): Add bench-timing.h.
13694 * benchtests-bench-skeleton.c: Include bench-timing.h.
13695 (main): Use TIMING_* macros instead of clock_gettime.
13696 * benchtests/bench-timing.h: New file.
13697
0f7d347b
SP
13698 [BZ #14582]
13699 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13700 Renamed from _LIB_VERSION.
13701 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13702
601a3a5f
JM
137032013-05-12 Joseph Myers <joseph@codesourcery.com>
13704
4f184d30
JM
13705 * math/libm-test.inc (struct test_fff_f_data): New type.
13706 (RUN_TEST_LOOP_fff_f): New macro.
13707 (fma_test_data): New variable.
13708 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13709 (fma_towardzero_test_data): New variable.
13710 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13711 (fma_downward_test_data): New variable.
13712 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13713 (fma_upward_test_data): New variable.
13714 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13715
08198877
JM
13716 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13717 (struct test_c_c_data): New type.
13718 (RUN_TEST_LOOP_c_c): New macro.
13719 (cacos_test_data): New variable.
13720 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13721 (cacosh_test_data): New variable.
13722 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13723 (casin_test_data): New variable.
13724 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13725 (casinh_test_data): New variable.
13726 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13727 (catan_test_data): New variable.
13728 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13729 (catanh_test_data): New variable.
13730 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13731 (ccos_test_data): New variable.
13732 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13733 (ccosh_test_data): New variable.
13734 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13735 (cexp_test_data): New variable.
13736 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13737 (clog_test_data): New variable.
13738 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13739 (clog10_test_data): New variable.
13740 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13741 (conj_test_data): New variable.
13742 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13743 (cproj_test_data): New variable.
13744 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13745 (csin_test_data): New variable.
13746 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13747 (csinh_test_data): New variable.
13748 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13749 (csqrt_test_data): New variable.
13750 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13751 (ctan_test_data): New variable.
13752 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13753 (ctan_tonearest_test_data): New variable.
13754 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13755 (ctan_towardzero_test_data): New variable.
13756 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13757 (ctan_downward_test_data): New variable.
13758 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13759 (ctan_upward_test_data): New variable.
13760 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13761 (ctanh_test_data): New variable.
13762 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13763 (ctanh_tonearest_test_data): New variable.
13764 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13765 (ctanh_towardzero_test_data): New variable.
13766 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13767 (ctanh_downward_test_data): New variable.
13768 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13769 (ctanh_upward_test_data): New variable.
13770 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13771 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13772 of BUILD_COMPLEX.
13773
601a3a5f
JM
13774 * math/libm-test.inc (struct test_ff_f_data): New type.
13775 (struct test_ff_f_data_nexttoward): Likewise.
13776 (RUN_TEST_LOOP_2_f): New macro.
13777 (RUN_TEST_LOOP_ff_f): Likewise.
13778 (atan2_test_data): New variable.
13779 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13780 (copysign_test_data): New variable.
13781 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13782 (fdim_test_data): New variable.
13783 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13784 (fmax_test_data): New variable.
13785 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13786 (fmin_test_data): New variable.
13787 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13788 (fmod_test_data): New variable.
13789 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13790 (hypot_test_data): New variable.
13791 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13792 (nextafter_test_data): New variable.
13793 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13794 (nexttoward_test_data): New variable.
13795 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13796 (pow_test_data): New variable.
13797 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13798 (pow_tonearest_test_data): New variable.
13799 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13800 (pow_towardzero_test_data): New variable.
13801 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13802 (pow_downward_test_data): New variable.
13803 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13804 (pow_upward_test_data): New variable.
13805 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13806 (remainder_test_data): New variable.
13807 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13808 (scalb_test_data): New variable.
13809 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13810 * sysdeps/i386/fpu/libm-test-ulps: Update.
13811
74c57478
JM
138122013-05-11 Joseph Myers <joseph@codesourcery.com>
13813
8329e4da
JM
13814 * math/libm-test.inc (fma_test): Use max_value instead of local
13815 variable fltmax.
13816 (nextafter_test): Likewise.
13817
74c57478
JM
13818 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13819 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13820 (acos_downward_test_data): New variable.
13821 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13822 (acos_upward_test_data): New variable.
13823 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13824 (acosh_test_data): New variable.
13825 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13826 (asin_test_data): New variable.
13827 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13828 (asin_tonearest_test_data): New variable.
13829 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13830 (asin_towardzero_test_data): New variable.
13831 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13832 (asin_downward_test_data): New variable.
13833 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13834 (asin_upward_test_data): New variable.
13835 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13836 (asinh_test_data): New variable.
13837 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13838 (atan_test_data): New variable.
13839 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13840 (atanh_test_data): New variable.
13841 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13842 (cbrt_test_data): New variable.
13843 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13844 (ceil_test_data): New variable.
13845 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13846 (cos_test_data): New variable.
13847 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13848 (cos_tonearest_test_data): New variable.
13849 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13850 (cos_towardzero_test_data): New variable.
13851 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13852 (cos_downward_test_data): New variable.
13853 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13854 (cos_upward_test_data): New variable.
13855 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13856 (cosh_test_data): New variable.
13857 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13858 (cosh_tonearest_test_data): New variable.
13859 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13860 (cosh_towardzero_test_data): New variable.
13861 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13862 (cosh_downward_test_data): New variable.
13863 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13864 (cosh_upward_test_data): New variable.
13865 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13866 (erf_test_data): New variable.
13867 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13868 (erfc_test_data): New variable.
13869 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13870 (exp_test_data): New variable.
13871 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13872 (exp_tonearest_test_data): New variable.
13873 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13874 (exp_towardzero_test_data): New variable.
13875 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13876 (exp_downward_test_data): New variable.
13877 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13878 (exp_upward_test_data): New variable.
13879 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13880 (exp10_test_data): New variable.
13881 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13882 (exp2_test_data): New variable.
13883 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13884 (expm1_test_data): New variable.
13885 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13886 (fabs_test_data): New variable.
13887 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13888 (floor_test_data): New variable.
13889 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13890 (j0_test_data): New variable.
13891 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13892 (j1_test_data): New variable.
13893 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13894 (log_test_data): New variable.
13895 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13896 (log10_test_data): New variable.
13897 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13898 (log1p_test_data): New variable.
13899 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13900 (log2_test_data): New variable.
13901 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13902 (logb_test_data): New variable.
13903 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13904 (logb_downward_test_data): New variable.
13905 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13906 (nearbyint_test_data): New variable.
13907 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13908 (rint_test_data): New variable.
13909 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13910 (rint_tonearest_test_data): New variable.
13911 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13912 (rint_towardzero_test_data): New variable.
13913 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13914 (rint_downward_test_data): New variable.
13915 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13916 (rint_upward_test_data): New variable.
13917 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13918 (round_test_data): New variable.
13919 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13920 (sin_test_data): New variable.
13921 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13922 (sin_tonearest_test_data): New variable.
13923 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13924 (sin_towardzero_test_data): New variable.
13925 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13926 (sin_downward_test_data): New variable.
13927 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13928 (sin_upward_test_data): New variable.
13929 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13930 (sinh_test_data): New variable.
13931 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13932 (sinh_tonearest_test_data): New variable.
13933 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13934 (sinh_towardzero_test_data): New variable.
13935 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13936 (sinh_downward_test_data): New variable.
13937 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13938 (sinh_upward_test_data): New variable.
13939 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13940 (sqrt_test_data): New variable.
13941 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13942 (tan_test_data): New variable.
13943 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13944 (tan_tonearest_test_data): New variable.
13945 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13946 (tan_towardzero_test_data): New variable.
13947 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13948 (tan_downward_test_data): New variable.
13949 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13950 (tan_upward_test_data): New variable.
13951 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13952 (tanh_test_data): New variable.
13953 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13954 (tgamma_test_data): New variable.
13955 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13956 (trunc_test_data): New variable.
13957 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13958 (y0_test_data): New variable.
13959 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13960 (y1_test_data): New variable.
13961 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13962 (significand_test_data): New variable.
13963 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13964
7187d844
CG
139652013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13966
13967 [BZ #12387]
13968 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13969
f63fae73
PT
139702013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13971
13972 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13973
8a67a4b3
AJ
139742013-05-10 Andreas Jaeger <aj@suse.de>
13975
13976 [BZ #15448]
13977 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13978 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13979
51df539d
JM
139802013-05-10 Joseph Myers <joseph@codesourcery.com>
13981
13982 * math/gen-libm-test.pl (adjust_arg): New function.
13983 (special_functions): Handle generating output in both functions
13984 and arrays.
13985 (parse_args): Likewise.
13986 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13987 $in_func argument to parse_args.
13988 * math/libm-test.inc (struct test_f_f_data): New type.
13989 (IF_ROUND_INIT_): New macro.
13990 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13991 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13992 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13993 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13994 (ROUND_RESTORE_): Likewise.
13995 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13996 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13997 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13998 (ROUND_RESTORE_FE_UPWARD): Likewise.
13999 (RUN_TEST_LOOP_f_f): New macro.
14000 (acos_test_data): New variable.
14001 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14002 (acos_tonearest_test_data): New variable.
14003 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14004
5c637fe5
SP
140052013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14006
14007 * benchtests/bench-skeleton.c (startup): Fix coding style.
14008
ab2b9461
JM
140092013-05-10 Joseph Myers <joseph@codesourcery.com>
14010
14011 [BZ #6809]
14012 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14013 negative infinity argument.
14014 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14015 negative infinity argument.
14016 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14017 negative infinity argument.
14018 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14019 domain errors.
14020
4c0fe6fe
FW
140212013-05-10 Florian Weimer <fweimer@redhat.com>
14022
14023 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14024 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14025 * iconv/iconv_prog.c (main): Likewise.
14026 * locale/programs/charmap-dir.c (charmap_readdir)
14027 (fopen_uncompressed): Likewise.
14028 * locale/programs/locfile.c (siblings_uncached)
14029 (write_locale_data): Use lstat64 instead of lstat.
14030 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14031 stat.
14032
a3375d29
AJ
140332013-05-10 Andreas Jaeger <aj@suse.de>
14034
14035 [BZ #15395]
14036 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14037 localization.
14038 Include <locale.h>.
14039
36129722
CD
140402013-05-09 Carlos O'Donell <carlos@redhat.com>
14041
14042 * elf/dl-close.c (_dl_close_worker): Add comments.
14043
faa7f811
JM
140442013-05-09 Joseph Myers <joseph@codesourcery.com>
14045
ed41ffef
JM
14046 [BZ #15359]
14047 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14048 high part of pi/2.
14049 (__ieee754_rem_pio2l): Update comments.
14050
d0213cd0
JM
14051 [BZ #15429]
14052 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14053 high part of pi/2.
14054 (__ieee754_rem_pio2l): Update comments.
14055
0d3e777a
JM
14056 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14057 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14058
24f56066
JM
14059 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14060 M_PI_4l.
14061
faa7f811
JM
14062 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14063 (M_PI_34_LOG10El): Likewise.
14064 (M_PI2_LOG10El): Likewise.
14065 (M_PI4_LOG10El): Likewise.
14066 (M_PI_LOG10El): Likewise.
14067
e9a5e0fd
AZ
140682013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14069
14070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14071
d8cd06db
JM
140722013-05-08 Joseph Myers <joseph@codesourcery.com>
14073
a0d9f9d7
JM
14074 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14075 (MINUS_ZERO_INIT): Likewise.
14076 (PLUS_INFTY_INIT): Likewise.
14077 (MINUS_INFTY_INIT): Likewise.
14078 (QNAN_VALUE_INIT): Likewise.
14079 (MAX_VALUE_INIT): Likewise.
14080 (MIN_VALUE_INIT): Likewise.
14081 (MIN_SUBNORM_VALUE_INIT): Likewise.
14082 (plus_zero): Initialize with PLUS_ZERO_INIT.
14083 (minus_zero): Initialize with MINUS_ZERO_INIT.
14084 (plus_infty): Initialize with PLUS_INFTY_INIT.
14085 (minus_infty): Initialize with MINUS_INFTY_INIT.
14086 (qnan_value): Initialize with QNAN_VALUE_INIT.
14087 (max_value): Initialize with MAX_VALUE_INIT.
14088 (min_value): Initialize with MIN_VALUE_INIT.
14089 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14090
ae08db3b
JM
14091 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14092 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14093 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14094 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14095
f44bf14a
JM
14096 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14097 (RUN_TEST_2_f): Likewise.
14098 (RUN_TEST_ff_f): Likewise.
14099 (RUN_TEST_fi_f): Likewise.
14100 (RUN_TEST_fl_f): Likewise.
14101 (RUN_TEST_fff_f): Likewise.
14102 (RUN_TEST_c_f): Likewise.
14103 (RUN_TEST_f_f1): Likewise.
14104 (RUN_TEST_fF_f1): Likewise.
14105 (RUN_TEST_fI_f1): Likewise.
14106 (RUN_TEST_ffI_f1): Likewise.
14107 (RUN_TEST_c_c): Likewise.
14108 (RUN_TEST_cc_c): Likewise.
14109 (RUN_TEST_f_i): Likewise.
14110 (RUN_TEST_f_i_tg): Likewise.
14111 (RUN_TEST_ff_i_tg): Likewise.
14112 (RUN_TEST_f_b): Likewise.
14113 (RUN_TEST_f_b_tg): Likewise.
14114 (RUN_TEST_f_l): Likewise.
14115 (RUN_TEST_f_L): Likewise.
14116 (RUN_TEST_sincos): Likewise.
14117 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14118 whether to show exceptions. Do not include ");\n" in return
14119 value.
14120 (special_functions): Output call to RUN_TEST_sincos instead of
14121 check_float calls. Update calls to new_test.
14122 (parse_args): Output call to single RUN_TEST_* macro instead of
14123 check_* calls and other assignments. Update calls to new_test.
14124
d8cd06db
JM
14125 [BZ #2546]
14126 [BZ #2560]
14127 [BZ #5159]
14128 [BZ #15426]
14129 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14130 input to result for tgamma overflow.
14131 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14132 (gamma_coeff): New variable.
14133 (NCOEFF): New macro.
14134 (gamma_positive): New function.
14135 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14136 underflow here. Use gamma_positive instead of exp (lgamma) for
14137 other arguments.
14138 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14139 (gamma_coeff): New variable.
14140 (NCOEFF): New macro.
14141 (gammaf_positive): New function.
14142 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14143 underflow here. Use gamma_positive instead of exp (lgamma) for
14144 other arguments.
14145 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14146 (gamma_coeff): New variable.
14147 (NCOEFF): New macro.
14148 (gammal_positive): New function.
14149 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14150 underflow here. Use gamma_positive instead of exp (lgamma) for
14151 other arguments.
14152 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14153 (gamma_coeff): New variable.
14154 (NCOEFF): New macro.
14155 (gammal_positive): New function.
14156 (__ieee754_gammal_r): Handle positive infinity, overflow and
14157 underflow here. Handle NaN the same as positive infinity. Remove
14158 check x < 0xffffffff for negative integers. Use gamma_positive
14159 instead of exp (lgamma) for other arguments.
14160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14161 (gamma_coeff): New variable.
14162 (NCOEFF): New macro.
14163 (gammal_positive): New function.
14164 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14165 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14169 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14170 * sysdeps/generic/math_private.h (__gamma_productf): New
14171 prototype.
14172 (__gamma_product): Likewise.
14173 (__gamma_productl): Likewise.
14174 * math/Makefile (libm-calls): Add gamma_product.
14175 * math/libm-test.inc (tgamma_test): Add more tests.
14176 * sysdeps/i386/fpu/libm-test-ulps: Update.
14177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14178
bb7cf681
OB
141792013-05-08 Ondřej Bílka <neleai@seznam.cz>
14180
14181 * benchtests/bench-skeleton.c (main): Preheat CPU.
14182
ba853947
AJ
141832013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14184
14185 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14186
8347c74c
RM
141872013-05-07 Roland McGrath <roland@hack.frob.com>
14188
14189 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14190 and _dl_skip_args_internal.
14191
e8dd4791
CD
141922013-05-07 Carlos O'Donell <carlos@redhat.com>
14193
14194 * manual/message.texi (Message Translation): Talk about users.
14195 Message to key mapping impacts design.
14196
c7405830
RM
141972013-05-06 Roland McGrath <roland@hack.frob.com>
14198
a9173057
RM
14199 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14200
976e2f03
RM
14201 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14202
9723ffc5
RM
14203 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14204 * sysdeps/wordsize-64/glob64.c: ... here.
14205
962e6658
RM
14206 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14207 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14208 New macros.
14209
ee586a6d
RM
14210 * debug/getlogin_r_chk.c: Moved to ...
14211 * login/getlogin_r_chk.c: ... here.
14212 * debug/Makefile (routines): Move getlogin_r_chk to ...
14213 * login/Makefile (routines): ... here.
14214 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14215 * login/Versions (libc: GLIBC_2.4): ... here.
14216
355f9165
RM
14217 * io/poll.c (__poll): Renamed from poll.
14218 Add libc_hidden_def.
14219 (poll): Define as weak alias.
14220
bd9ffde6
RM
14221 * debug/ptsname_r_chk.c: Moved to ...
14222 * login/ptsname_r_chk.c: ... here.
14223 * debug/Makefile (routines): Move ptsname_r_chk to ...
14224 * login/Makefile (routines): ... here.
14225 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14226 * login/Versions (libc: GLIBC_2.4): ... here.
14227
8fb16a04
RM
14228 * posix/getlogin.c: Moved to ...
14229 * login/getlogin.c: ... here.
14230 * posix/getlogin_r.c: Moved to ...
14231 * login/getlogin_r.c: ... here.
14232 * posix/getlogin_r.c: Moved to ...
14233 * login/getlogin_r.c: ... here.
14234 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14235 * login/Makefile (routines): ... here.
14236 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14237 * login/Versions (libc: GLIBC_2.0): ... here.
14238
b99b892f
RM
14239 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14240 (setrlimit): Define as weak alias.
14241
c7405830
RM
14242 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14243 Call __ names for open, ftruncate, and close.
14244 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14245 (truncate): Define as weak alias.
14246
5bf96de5
JM
142472013-05-06 Joseph Myers <joseph@codesourcery.com>
14248
9ea3513c
JM
14249 * math/gen-libm-test.pl (parse_args): Initialize x before each
14250 test of frexp, modf and remquo.
14251
5bf96de5
JM
14252 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14253 test signgam value.
14254
16e616a7
AZ
142552013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14256
14257 [BZ #15418]
14258 [BZ #15419]
14259 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14260 internal tests.
14261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14262
d5e82754
RM
142632013-05-06 Roland McGrath <roland@hack.frob.com>
14264
14265 * elf/dl-writev.h: New file.
14266 * elf/dl-misc.c: Include it.
14267 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14268 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14269
a7548d41
JM
142702013-05-04 Joseph Myers <joseph@codesourcery.com>
14271
b7dab1e4
JM
14272 * math/libm-test.inc (noXFails): Remove variable.
14273 (noXPasses): Likewise.
14274 (BUILD_COMPLEX_INT): Remove macro.
14275 (print_screen): Remove xfail argument.
14276 (print_screen_max_error): Likewise.
14277 (update_stats): Likewise.
14278 (print_max_error): Likewise. Update calls to other affected
14279 functions.
14280 (print_complex_max_error): Likewise.
14281 (test_single_exception): Update calls to print_screen.
14282 (test_single_errno): Likewise.
14283 (check_float_internal): Remove xfail argument. Update calls to
14284 other affected functions.
14285 (check_float): Likewise.
14286 (check_complex): Likewise.
14287 (check_int): Likewise.
14288 (check_long): Likewise.
14289 (check_bool): Likewise.
14290 (check_longlong): Likewise.
14291 (main): Don't print noXFails and noXPasses.
14292 * math/gen-libm-test.pl (top level): Don't mention expected
14293 failure handling in comment.
14294 (new_test): Don't handle expected failures.
14295 (parse_args): Don't mention expected failure handling in comment.
14296 (generate_testfile): Don't handle expected failures.
14297 (parse_ulps): Likewise.
14298 (print_ulps_file): Likewise.
14299 (get_failure): Remove function.
14300 (output_test): Don't handle expected failures.
14301 * make/README.libm-test: Don't mention expected failure handling.
14302
a7548d41
JM
14303 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14304 (minus_zero): Likewise.
14305 (plus_infty): Likewise.
14306 (minus_infty): Likewise.
14307 (qnan_value): Likewise.
14308 (max_value): Likewise.
14309 (min_value): Likewise.
14310 (min_subnorm_value): Likewise.
14311 (initialize): Do not initialize those variables dynamically.
14312
60bfd54c
RM
143132013-05-03 Roland McGrath <roland@hack.frob.com>
14314
cc0e6ed8
RM
14315 * io/open.c (__open_2): Moved to ...
14316 * io/open_2.c: ... this new file.
14317 * io/open64.c (__open64_2): Moved to ...
14318 * io/open64_2.c: ... this new file.
14319 * io/openat.c (__openat_2): Moved to ...
14320 * io/openat_2.c: ... this new file.
14321 * io/openat64.c (__openat64_2): Moved to ...
14322 * io/openat64_2.c: ... this new file.
14323 * io/Makefile (routines): Add them.
14324 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14325 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14326 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14327 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14328 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14329 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14330 (__openat64): Add hidden_ver.
14331 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14332 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14333
60bfd54c
RM
14334 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14335 Separately conditionalize setting of GLRO(dl_sysinfo) so
14336 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14337 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14338
83e7640f
AZ
143392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14340
14341 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14342 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14343 definition.
14344 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14345 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14346 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14347 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14348 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14349
d5dc2af3
JM
143502013-05-03 Joseph Myers <joseph@codesourcery.com>
14351
c31a5b1e
JM
14352 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14353 test signgam value.
14354
d5dc2af3
JM
14355 * math/libm-test.inc (hypot_test): Do not use
14356 IGNORE_ZERO_INF_SIGN.
14357
164fd39d
AJ
143582013-05-03 Andreas Jaeger <aj@suse.de>
14359
14360 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14361 Linux 3.9.
14362 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14363 (PF_MAX): Adjust for VSOCK change.
14364
8237f48c
AZ
143652013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14366
14367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14368
9df02941
CD
143692013-05-02 Carlos O'Donell <carlos@redhat.com>
14370
14371 [BZ #15264]
14372 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14373 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14374 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14375
d422395e
DM
143762013-05-02 David S. Miller <davem@davemloft.net>
14377
14378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14379
a07c5731
OB
143802013-05-01 Ondřej Bílka <neleai@seznam.cz>
14381
14382 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14383
1324e37f
RM
143842013-05-01 Roland McGrath <roland@hack.frob.com>
14385
14386 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14387
0695940b
RS
143882013-05-01 Richard Smith <richard@metafoo.co.uk>
14389
bb5f27ad 14390 [BZ #14952]
0695940b
RS
14391 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14392 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14393 Use __attribute__ ((__gnu_inline__)).
14394 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14395 Don't use __attribute__ ((__gnu_inline__)).
14396
10de07f5
JM
143972013-05-01 Joseph Myers <joseph@codesourcery.com>
14398
14399 [BZ #15423]
14400 * math/s_catan.c (__catan): Handle small real or imaginary part of
14401 input specially to avoid spurious underflow.
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
cb4d5414
AZ
144122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14413
14414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14415
caf84319
JM
144162013-04-30 Joseph Myers <joseph@codesourcery.com>
14417
14418 [BZ #15416]
14419 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14420 accurately for denominator in atan2.
14421 * math/s_catanf.c (__catanf): Likewise.
14422 * math/s_catanh.c (__catanh): Likewise.
14423 * math/s_catanhf.c (__catanhf): Likewise.
14424 * math/s_catanhl.c (__catanhl): Likewise.
14425 * math/s_catanl.c (__catanl): Likewise.
14426 * math/libm-test.inc (catan_test): Add more tests.
14427 (catanh_test): Likewise.
14428 * sysdeps/i386/fpu/libm-test-ulps: Update.
14429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14430
d569c6ee
SP
144312013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14432
6dbe713d
SP
14433 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14434
f0ee064b
SP
14435 * benchtests/Makefile (bench): Remove slow benchmarks.
14436 * benchtests/atan-inputs: Add slow benchmark inputs.
14437 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14438 (BENCH_FUNC): Accept variant offset.
14439 (VARIANT): Define.
14440 * benchtests/bench-skeleton.c (main): Run benchmark for each
14441 variant.
14442 * benchtests/cos-inputs: Add slow benchmark inputs.
14443 * benchtests/exp-inputs: Likewise.
14444 * benchtests/pow-inputs: Likewise.
14445 * benchtests/sin-inputs: Likewise.
14446 * benchtests/slowatan-inputs: Remove.
14447 * benchtests/slowatan.c: Remove.
14448 * benchtests/slowcos-inputs: Remove.
14449 * benchtests/slowcos.c: Remove.
14450 * benchtests/slowexp-inputs: Remove.
14451 * benchtests/slowexp.c: Remove.
14452 * benchtests/slowpow-inputs: Remove.
14453 * benchtests/slowpow.c: Remove.
14454 * benchtests/slowsin-inputs: Remove.
14455 * benchtests/slowsin.c: Remove.
14456 * benchtests/slowtan-inputs: Remove.
14457 * benchtests/slowtan.c: Remove.
14458 * benchtests/tan-inputs: Add slow benchmark inputs.
14459 * scripts/bench.pl: Parse comments and directives.
14460
d569c6ee
SP
14461 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14462 in CPPFLAGS.
14463 ($(objpfx)bench-%.c): Remove *-ITER.
14464 * benchtests/bench-modf.c: Remove definition of ITER.
14465 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14466 (main): Loop for DURATION seconds instead of fixed number of
14467 iterations.
14468 * scripts/bench.pl: Don't expect iterations in parameters.
14469
a6a242fe
RM
144702013-04-29 Roland McGrath <roland@hack.frob.com>
14471
14472 * io/fchdir.c (__fchdir): Renamed from fchdir.
14473 (fchdir): Define as weak alias.
14474
f2da7793
JM
144752013-04-29 Joseph Myers <joseph@codesourcery.com>
14476
14477 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14478 (ERRNO_EDOM): Likewise.
14479 (ERRNO_ERANGE): Likewise.
14480 (noErrnoTests): New variable.
14481 (init_max_error): Set errno to 0.
14482 (test_single_errno): New function.
14483 (test_errno): Likewise.
14484 (check_float_internal): Call test_errno. Set errno to 0.
14485 (check_complex): Refer to errno tests in comment.
14486 (check_int): Call test_errno. Set errno to 0.
14487 (check_long): Likewise.
14488 (check_bool): Likewise.
14489 (check_longlong): Likewise.
14490 (cos_test): Use ERRNO_* flags for errno tests instead of
14491 check_int.
14492 (expm1_test): Likewise.
14493 (fmod_test): Likewise.
14494 (ilogb_test): Likewise.
14495 (lgamma_test): Likewise.
14496 (pow_test): Likewise.
14497 (remainder_test): Likewise.
14498 (sin_test): Likewise.
14499 (tan_test): Likewise.
14500 (yn_test): Likewise.
14501 (initialize): Set errno to 0.
14502 (main): Print number of errno tests.
14503 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14504
b1a36ceb
AJ
145052013-04-29 Andreas Jaeger <aj@suse.de>
14506
c3ed8088
AJ
14507 [BZ #15084]
14508 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14509 and RES_USEVC.
14510
f1a24198
AJ
14511 [BZ #15085]
14512 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14513 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14514 unimplemented.
14515
9ce3b2cb
AJ
14516 [BZ #15380]
14517 * stdlib/random.c (__initstate): Return NULL if
14518 __initstate fails.
14519
f1a24198 14520 [BZ #15086]
b1a36ceb
AJ
14521 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14522 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14523 RES_SNGLKUPREOP.
14524
7e7b6f36
AZ
145252013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14526
14527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14528
4d14f449
JM
145292013-04-29 Joseph Myers <joseph@codesourcery.com>
14530
14531 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14532 of individual tests.
14533 (casin_test): Likewise.
14534 (casinh_test): Likewise.
14535
5b4217d7
JM
145362013-04-27 Joseph Myers <joseph@codesourcery.com>
14537
14538 [BZ #15409]
14539 * math/s_catan.c (__catan): Handle arguments with large real or
14540 imaginary part separately without squaring.
14541 * math/s_catanf.c (__catanf): Likewise.
14542 * math/s_catanh.c (__catanh): Likewise.
14543 * math/s_catanhf.c (__catanhf): Likewise.
14544 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14545 and redefine.
14546 (__catanhl): Handle arguments with large real or imaginary part
14547 separately without squaring.
14548 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14549 and redefine.
14550 (__catanl): Handle arguments with large real or imaginary part
14551 separately without squaring.
14552 * math/libm-test.inc (catan_test): Add more tests.
14553 (catanh_test): Likewise.
14554 * sysdeps/i386/fpu/libm-test-ulps: Update.
14555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14556
4220c3ef
AJ
145572013-04-27 Andreas Jaeger <aj@suse.de>
14558
14559 [BZ #15007]
14560 * stdlib/stdlib.h: Update guards for qecvt.
14561 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14562 <stdlib.h>.
14563
4721b2d1
AM
145642013-04-27 Allan McRae <allan@archlinux.org>
14565
14566 * sysdeps/i386/fpu/libm-test-ulps: Update.
14567
f0302940
JM
145682013-04-26 Joseph Myers <joseph@codesourcery.com>
14569
9457fd95
JM
14570 [BZ #15406]
14571 * math/s_catan.c: Include <float.h>.
14572 (__catan): Ensure underflow exception occurs for underflowed
14573 result.
14574 * math/s_catanf.c: Include <float.h>.
14575 (__catanf): Ensure underflow exception occurs for underflowed
14576 result.
14577 * math/s_catanh.c: Include <float.h>.
14578 (__catanh): Ensure underflow exception occurs for underflowed
14579 result.
14580 * math/s_catanhf.c: Include <float.h>.
14581 (__catanhf): Ensure underflow exception occurs for underflowed
14582 result.
14583 * math/s_catanhl.c: Include <float.h>.
14584 (__catanhl): Ensure underflow exception occurs for underflowed
14585 result.
14586 * math/s_catanl.c: Include <float.h>.
14587 (__catanl): Ensure underflow exception occurs for underflowed
14588 result.
14589 * math/libm-test.inc (catan_test): Add more tests.
14590 (catanh_test): Likewise.
14591
f0302940
JM
14592 [BZ #15405]
14593 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14594 underflowed result.
14595 * math/s_ccoshf.c (__ccoshf): Likewise.
14596 * math/s_ccoshl.c (__ccoshl): Likewise.
14597 * math/s_csin.c (__csin): Likewise.
14598 * math/s_csinf.c (__csinf): Likewise.
14599 * math/s_csinh.c (__csinh): Likewise.
14600 * math/s_csinhf.c (__csinhf): Likewise.
14601 * math/s_csinhl.c (__csinhl): Likewise.
14602 * math/s_csinl.c (__csinl): Likewise.
14603 * math/libm-test.inc (ccos_test): Add more tests.
14604 (ccosh_test): Likewise.
14605 (csin_test): Likewise.
14606 (csinh_test): Likewise.
14607
aa630f59
AZ
146082013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609
14610 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14611 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14612 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14613 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14614 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14615 powerpc/power5+/fpu folders.
14616 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14617
14618
1b835983
MT
146192013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14620
14621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14622
73709b26
JM
146232013-04-25 Joseph Myers <joseph@codesourcery.com>
14624
14625 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14626 additions to variable.
14627 [$(config-machine) = x86_64] (modules-names): Likewise.
14628 ($(objpfx)tst-audit3): Remove dependency.
14629 ($(objpfx)tst-audit3.out): Likewise.
14630 ($(objpfx)tst-audit4): Likewise.
14631 ($(objpfx)tst-audit4.out): Likewise.
14632 ($(objpfx)tst-audit5): Likewise.
14633 ($(objpfx)tst-audit5.out): Likewise.
14634 ($(objpfx)tst-audit6): Likewise.
14635 ($(objpfx)tst-audit6.out): Likewise.
14636 ($(objpfx)tst-audit7): Likewise.
14637 ($(objpfx)tst-audit7.out): Likewise.
14638 (tst-audit3-ENV): Remove variable.
14639 (tst-audit4-ENV): Likewise.
14640 (tst-audit5-ENV): Likewise.
14641 (tst-audit6-ENV): Likewise.
14642 (tst-audit7-ENV): Likewise.
14643 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14644 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14645 addition to variable.
14646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14647 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14648 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14651 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14652 tst-audit3, tst-audit4 and tst-audit5.
14653 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14654 tst-audit6 and tst-audit7.
14655 [$(subdir) = elf] (modules-names): Add audit modules for those
14656 tests.
14657 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14658 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14659 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14660 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14661 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14662 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14663 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14664 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14665 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14666 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14667 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14668 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14669 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14670 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14671 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14672 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14673 Likewise.
14674 [$(subdir) = elf && $(config-cflags-avx) = yes]
14675 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14676 [$(subdir) = elf && $(config-cflags-avx) = yes]
14677 (CFLAGS-tst-auditmod4a.c): Likewise.
14678 [$(subdir) = elf && $(config-cflags-avx) = yes]
14679 (CFLAGS-tst-auditmod4b.c): Likewise.
14680 [$(subdir) = elf && $(config-cflags-avx) = yes]
14681 (CFLAGS-tst-auditmod6b.c): Likewise.
14682 [$(subdir) = elf && $(config-cflags-avx) = yes]
14683 (CFLAGS-tst-auditmod6c.c): Likewise.
14684 [$(subdir) = elf && $(config-cflags-avx) = yes]
14685 (CFLAGS-tst-auditmod7b.c): Likewise.
14686 * elf/tst-audit3.c: Move to ...
14687 * sysdeps/x86_64/tst-audit3.c: ... here.
14688 * elf/tst-audit4.c: Move to ...
14689 * sysdeps/x86_64/tst-audit4.c: ... here.
14690 * elf/tst-audit5.c: Move to ...
14691 * sysdeps/x86_64/tst-audit5.c: ... here.
14692 * elf/tst-audit6.c: Move to ...
14693 * sysdeps/x86_64/tst-audit6.c: ... here.
14694 * elf/tst-audit7.c: Move to ...
14695 * sysdeps/x86_64/tst-audit7.c: ... here.
14696 * elf/tst-auditmod3a.c: Move to ...
14697 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14698 * elf/tst-auditmod3b.c: Move to ...
14699 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14700 * elf/tst-auditmod4a.c: Move to ...
14701 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14702 * elf/tst-auditmod4b.c: Move to ...
14703 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14704 * elf/tst-auditmod5a.c: Move to ...
14705 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14706 * elf/tst-auditmod5b.c: Move to ...
14707 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14708 * elf/tst-auditmod6a.c: Move to ...
14709 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14710 * elf/tst-auditmod6b.c: Move to ...
14711 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14712 * elf/tst-auditmod6c.c: Move to ...
14713 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14714 * elf/tst-auditmod7a.c: Move to ...
14715 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14716 * elf/tst-auditmod7b.c: Move to ...
14717 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14718
1ef74943
PP
147192013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14720
14721 [BZ #15366]
14722 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14723 define unconditionally.
14724 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14725 define unconditionally.
14726 (INT8_C, INT16_C, etc.): Likewise.
14727
93fd48c5
MR
147282013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14729
ae9552cf
MR
14730 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14731 __ehdr_start with hidden visibility.
14732
93fd48c5
MR
14733 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14734
418601aa
CD
147352013-04-24 Carlos O'Donell <carlos@redhat.com>
14736
14737 * math/libm-test.inc (cos_test): Use accurate hex constants.
14738 (sincost_test): Likewise.
14739
2f38fbfe
JM
147402013-04-24 Joseph Myers <joseph@codesourcery.com>
14741
5e221800
JM
14742 * math/libm-test.inc (catan_test): Add more tests.
14743 (catanh_test): Likewise.
14744
77f143fd
JM
14745 * math/s_catanf.c (__catanf): Use suffixed floating-point
14746 constants.
14747 * math/s_catanhf.c (__catanhf): Likewise.
14748 * math/s_catanhl.c (__catanhl): Likewise.
14749 * math/s_catanl.c (__catanl): Likewise.
14750
2f38fbfe
JM
14751 [BZ #15394]
14752 * math/s_catan.c (__catan): Calculate imaginary part of result
14753 with log1p not log unless computing log of number close to 0.
14754 * math/s_catanf.c (__catanf): Likewise.
14755 * math/s_catanl.c (__catanl): Likewise.
14756 * math/s_catanh.c (__catanh): Calculate real part of result with
14757 log1p not log unless computing log of number close to 0.
14758 * math/s_catanhf.c (__catanhf): Likewise.
14759 * math/s_catanhl.c (__catanhl): Likewise.
14760 * math/libm-test.inc (catan_test): Add more tests.
14761 (catanh_test): Likewise.
14762 * sysdeps/i386/fpu/libm-test-ulps: Update.
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
45d69176
SP
147652013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14766
14767 * benchtests/Makefile: Mention files in which fast and slow
14768 paths of math functions are implemented.
14769
87f51853
RM
147702013-04-23 Roland McGrath <roland@hack.frob.com>
14771
14772 * sysdeps/posix/timespec_get.c: New file.
14773
3c026539
AZ
147742013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14775
14776 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14777 POWER.
14778 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14779 for POWER.
14780 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14781 powerpc/power5/fpu folders.
14782 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14783 * benchtests/Makefile: Add modf testcase.
14784 * benchtests/bench-modf.c: New file: Benchmark test for mo
14785
ff491d14
SP
147862013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14787
14788 [BZ #14888]
14789 * time/Makefile (tests): Add tst-strptime-whitespace.
14790 * time/strptime_l.c (get_number): Use ISSPACE.
14791 (__strptime_internal): Likewise.
14792 * time/tst-strptime-whitespace.c: New test case.
14793
7ed3f4e8
AS
147942013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14795
14796 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14797 member.
14798 (_nss_files_init): Set it here.
14799
5c95f7b6
HC
148002013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14801
14802 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14803 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14804 unsigned.
14805
d34c9158
JBG
148062013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14807
14808 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14809
2169712d
SP
148102013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14811
14812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14813 size just once.
14814
29c5de99
DM
148152013-04-21 David S. Miller <davem@davemloft.net>
14816
14817 * po/ru.po: Update Russion translation from translation project.
14818
ccdad15d
AC
148192013-04-17 Adam Conrad <adconrad@0c3.net>
14820
14821 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14822 and setfsgid.
14823
0f122b8d
CD
148242013-04-17 Carlos O'Donell <carlos@redhat.com>
14825
5c5b07da 14826 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14827 * configure: Regenerate.
5c5b07da 14828 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14829 Add example to error message.
14830 * sysdeps/i386/configure: Regenerate.
14831
037714dd
SP
148322013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14833
14834 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14835 slowtan.
14836 * benchtests/cos-inputs: New file.
14837 * benchtests/slowcos-inputs: New file.
14838 * benchtests/slowcos.c: New file.
14839 * benchtests/slowtan-inputs: New file.
14840 * benchtests/slowtan.c: New file.
14841 * benchtests/tan-inputs: New file.
14842
e913141d
RM
148432013-04-16 Roland McGrath <roland@hack.frob.com>
14844
14845 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14846 considered kosher.
14847
a2964074
SP
148482013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14849
4856bcd2
SP
14850 * benchtests/Makefile: Include cppflags-iterator.mk to add
14851 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14852
a2964074
SP
14853 * Makefile.in (bench-clean): New target.
14854 * benchtests/Makefile (bench-clean): Likewise.
14855
9fbf9aca
DH
148562013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14857
14858 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14859
207d1e2a
TS
148602013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14861
14862 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14863
306dfba9
AS
148642013-04-15 Andreas Schwab <schwab@suse.de>
14865
14866 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14867 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14868 * nscd/pwdcache.c (cache_addpw): Likewise.
14869 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14870 more than recsize.
14871
206a6699
SP
148722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14873
14874 * benchtests/Makefile (bench): Write all output to
14875 bench-out.tmp together.
14876
0582f6b3
AS
148772013-04-15 Andreas Schwab <schwab@suse.de>
14878
14879 * nscd/nscd.c (main): Don't fork again after closing files.
14880
acb4325f
SP
148812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14882
5cb26d0a
SP
14883 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14884
acb4325f
SP
14885 * benchtests/Rules (bench-deps): Collect dependencies into a
14886 single variable. Add Makefile to dependencies.
14887 ($(objpfx)bench-%.c): Depend on bench-deps.
14888
47792506
RM
148892013-04-12 Roland McGrath <roland@hack.frob.com>
14890 Xavier Roche <roche+kml2@exalead.com>
14891
14892 [BZ #15361]
14893 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14894 just that it's a file descriptor.
14895 * manual/llio.texi (Synchronizing AIO Operations): Update description
14896 for EBADF error from aio_fsync.
14897
8fc1bee5
SP
148982013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14899
14900 * Rules (bench): Move target definition...
14901 * benchtests/Makefile: ... here.
14902
aba5e333
CD
149032013-04-11 Carlos O'Donell <carlos@redhat.com>
14904
14905 * math/libm-test.inc (cos_test): Fix PI/2 test.
14906 (sincos_test): Likewise.
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14908 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14909
273cdee8
AS
149102013-04-11 Andreas Schwab <schwab@suse.de>
14911
6ecec3b6
AS
14912 [BZ #13988]
14913 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14914 accept exponent character only when digits were seen.
14915 * stdio-common/Makefile (tests): Add bug26.
14916 * stdio-common/bug26.c: New file.
14917
273cdee8
AS
14918 [BZ #14293]
14919 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14920 non-freeable.
14921
8da491f5
SP
149222013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14923
01dc6df9
SP
14924 * Makeconfig (rtld-prefix): Define built linker prefix.
14925 * Rules (run-bench): Use it.
14926 * math/Makefile (run-regen-ulps): Likewise.
14927
8da491f5
SP
14928 * Rules (bench): Remove eval.
14929
abe7f530
SP
149302013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14931 Roland McGrath <roland@hack.frob.com>
14932 Ondrej Bilka <neleai@seznam.cz>
14933
14934 [BZ #15346]
14935 * time/getdate.c: Include ctype.h and alloca.h.
14936 (__getdate_r): Trim leading and trailing spaces of input.
14937 * time/tst-getdate.c (tests): Add tests with leading and
14938 trailing spaces.
14939
61c23e62
RM
149402013-04-08 Roland McGrath <roland@hack.frob.com>
14941
14942 [BZ #14280]
14943 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14944 when computing value.
14945
7208a313
CD
149462013-04-06 Carlos O'Donell <carlos@redhat.com>
14947
085b2d41
CD
14948 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14949 Use testrun.sh to run libm tests.
14950
7208a313
CD
14951 [BZ #15309]
14952 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14953
872c0acd
MM
149542013-04-06 Marko Myllynen <myllynen@redhat.com>
14955
14956 [BZ #15264]
14957 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14958
26510bdd
CD
149592013-04-06 Carlos O'Donell <carlos@redhat.com>
14960
14961 * Makefile.in (regen-ulps): New target.
14962 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14963 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14964 [ifneq (no,$(PERL)] (regen-ulps): New target.
14965 [ifeq (no,$(PERL)] (regen-ulps): New target.
14966 * math/libm-test.inc (ulps_file_name): Define.
14967 (output_dir): New variable.
14968 (options): Add "output-dir" option.
14969 (parse_opt): Handle 'o' case.
14970 (main): If output_dir is non-NULL use it as a prefix
14971 otherwise use "".
14972 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14973
a01f19c8
CD
149742013-04-06 Carlos O'Donell <carlos@redhat.com>
14975
14976 [BZ #10060, #10062]
14977 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14978 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14979 fail configure if __sync_val_compare_and_swap is not inlined.
14980 * sysdeps/i386/configure: Regenerate.
14981 * configure.in: Build for i686 when configured for i386.
14982 * configure: Regenerate.
14983 * README: Remove i386 reference.
14984
b7a329a5
CD
149852013-04-06 Carlos O'Donell <carlos@redhat.com>
14986
14987 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14988 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14989
bf0f50df
TS
149902013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14991
ee091edf
TS
14992 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14993 (lmsnanval): New variables.
14994 (F): Add conversion tests.
14995 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14996 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14997
a8b792d6
TS
14998 * stdio-common/tstdiomisc.c (F): Properly collect individual
14999 tests' results.
15000
a1cbf437
TS
15001 [BZ #14686, #15336]
15002 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15003 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15004 Instead, use input NaN values or generate a qNaN by arithmetic
15005 operation. Also fix bugs to comply with the standard.
15006 * math/libm-test.inc (remainder_test): Add more tests.
15007
8b43a0c9
TS
15008 [BZ #15335, #15342]
15009 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15011 input NaN values or generate a qNaN by arithmetic operation.
15012
d91da4ce
TS
15013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15014 unreachable code.
15015
bf0f50df
TS
15016 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15017 definitions.
15018
05e166c8
JM
150192013-04-03 Joseph Myers <joseph@codesourcery.com>
15020
15021 [BZ #14478]
15022 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15023 underflowed result.
15024 * math/s_cexpf.c (__cexpf): Likewise.
15025 * math/s_cexpl.c (__cexpl): Likewise.
15026 * math/libm-test.inc (cexp_test): Add more tests.
15027
1cef1b19
AS
150282013-04-03 Andreas Schwab <schwab@suse.de>
15029
15030 [BZ #15330]
15031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15032 order arrays from heap if bigger than alloca cutoff.
15033
74d87055
TS
150342013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15035
15036 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15037 (SNAN_TESTS_double): Refer to GCC PR56831.
15038 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15039 GCC PR56828.
15040
d755bba4
SP
150412013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
90d5d5bb
SP
15043 * Rules (bench): Move bench.out after the run is complete.
15044
73e0cd5d
SP
15045 * Rules (bench): Echo currently running benchmark.
15046
64aabd4b
SP
15047 * benchtests/Makefile (bench): Add atan and slowatan.
15048 * benchtests/atan-inputs: New file.
15049 * benchtests/slowatan-inputs: New file.
15050 * benchtests/slowatan.c: New file.
15051
c871eccd
SP
15052 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15053 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15054 its value.
15055
d755bba4
SP
15056 [BZ #15305]
15057 * sysdeps/unix/sysv/linux/kernel-features.h
15058 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15059 __ASSUME_XFS_RESTRICTED_CHOWN.
15060 * sysdeps/unix/sysv/linux/pathconf.c
15061 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15062 Save and restore errno.
15063
52ce4860
JM
150642013-04-02 Joseph Myers <joseph@codesourcery.com>
15065
15066 [BZ #15327]
15067 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15068 arguments using __kernel_casinh.
15069 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15070 arguments using __kernel_casinhf.
15071 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15072 arguments using __kernel_casinhl.
15073 * math/libm-test.inc (cacosh_test): Add more tests.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15076
81f311c2
SP
150772013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15078
e7906a47
SP
15079 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15081
92e3664b
SP
15082 * bench/Makefile (bench): Add sin and slowsin.
15083 * benchtests/sin-inputs: New file.
15084 * benchtests/slowsin-inputs: New file.
15085 * benchtests/slowsin.c: New file.
15086
81f311c2
SP
15087 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15088 (bench): Add slowexp and slowpow.
15089 (exp-ITER): Increase iterations.
15090 (pow-ITER): Likewise.
15091 * benchtests/exp-inputs: Change input.
15092 * benchtests/pow-inputs: Likewise.
15093 * benchtests/slowexp-inputs: New file.
15094 * benchtests/slowexp.c: New file.
15095 * benchtests/slowpow-inputs: New file.
15096 * benchtests/slowpow.c: New file.
15097
ab0f1aa9
AZ
150982013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15099
15100 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15101 instructions.
15102 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15103 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15104 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15105 * benchtests/Makefile: Add rint benchtest.
15106 * benchtests/rint-inputs: Input for rint benchtest.
15107
57267616
TS
151082013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15109
15110 * Versions.def (libm): Add GLIBC_2.18.
15111 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15112 hidden libm prototypes.
15113 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15114 * math/Makefile (libm-calls): Add s_issignaling.
15115 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15116 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15117 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15118 declaration.
15119 * math/math.h [__USE_GNU] (issignaling): New macro.
15120 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15121 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15122 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15124 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15125 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15126 * manual/arith.texi (issignaling): New section.
15127 * manual/libm-err-tab.pl (@all_functions): Update comment.
15128 * math/gen-libm-test.pl (parse_args): Apply special handling for
15129 issignaling.
15130 * math/libm-test.inc (print_float, issignaling_test): New
15131 functions.
15132 (check_float_internal): Add issignaling checks.
15133 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15134 default definition.
15135 * sysdeps/powerpc/math-tests.h: New file.
15136 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15137 tests.
15138 * math/test-snan.c (TEST_FUNC): Likewise.
15139
6142896d
DM
151402013-03-30 David S. Miller <davem@davemloft.net>
15141
15142 * po/de.po: Update from translation team.
15143
ccc8cadf
JM
151442013-03-30 Joseph Myers <joseph@codesourcery.com>
15145
15146 [BZ #10357]
15147 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15148 imaginary part less than 1.0 and real part less than 0.5
15149 specially.
15150 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15151 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15152 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15153 (cacos_test): Add more tests.
15154 (casin_test): Likewise.
15155 (casinh_test): Likewise.
15156 * sysdeps/i386/fpu/libm-test-ulps: Update.
15157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15158
0f6a8d4b
SP
151592013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15160
0d1029de
SP
15161 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15162 ONE with its value.
15163
c2d94018
SP
15164 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15165 (__pow_mp): Replace ONE and MONE with their values.
15166 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15169 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15170 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15171 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15172
27ec37f1
SP
15173 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15174
a64d7e0e
SP
15175 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15176 (__pow_mp): Replace ZERO and MZERO with their values.
15177 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15178 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15179 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15181 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15182 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15183 (__sqr): Likewise.
15184
d26dd3eb
SP
15185 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15186
0f6a8d4b
SP
15187 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15188
e57b0c61
RM
151892013-03-28 Roland McGrath <roland@hack.frob.com>
15190
15191 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15192 Declare with __attribute__ ((weak)).
15193 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15194 Call __call_tls_dtors only if it's not NULL.
15195
356b3480
RM
151962013-03-28 Roland McGrath <roland@hack.frob.com>
15197
288f7d79
RM
15198 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15199 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15200 magic __ehdr_start linker symbol if it's defined.
15201 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15202 them up here if it was already done.
15203
dc0a0263
RM
15204 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15205 (_dl_aux_init): Use const in cast when setting it.
15206 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15207 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15208 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15209
3d3436ae
RM
15210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15211 Declare them here.
15212 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15213 * csu/libc-tls.c: Nor here.
15214 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15215
356b3480
RM
15216 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15217 (__libc_message): Never call vsyslog.
15218
b0f1246a
AM
152192013-03-28 Alan Modra <amodra@gmail.com>
15220
15221 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15222 Define as empty.
15223 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15224 Likewise.
15225
fbbe2b9a
AZ
152262013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15227
15228 [BZ #15214]
15229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15230 underflow.
15231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15232
1728ab37
SP
152332013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15234
7a86be6e
SP
15235 [BZ #15304]
15236 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15237 Don't add gid passed as argument.
15238
1728ab37
SP
15239 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15240
3a7182a1
JM
152412013-03-27 Joseph Myers <joseph@codesourcery.com>
15242
15243 [BZ #15307]
15244 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15245 imaginary part between 1.0 and 1.5 and real part less than 0.5
15246 specially.
15247 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15248 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15249 * math/libm-test.inc (cacos_test): Add more tests.
15250 (casin_test): Likewise.
15251 (casinh_test): Likewise.
15252 * sysdeps/i386/fpu/libm-test-ulps: Update.
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15254
6f2e90e7
SP
152552013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15256
5739f705
SP
15257 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15258 constants.
15259 (norm): Likewise.
15260 (denorm): Likewise.
15261 (__dbl_mp): Likewise.
15262 (add_magnitudes): Likewise.
15263 (sub_magnitudes): Likewise.
15264 (__add): Likewise.
15265 (__sub): Likewise.
15266 (__mul): Likewise.
15267 (__sqr): Likewise.
15268 (__inv): Likewise.
15269 (__dvd): Likewise.
15270
e375e83d
SP
15271 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15272 commented code.
15273 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15274 (__dubcos): Likewise.
15275 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15276 (__ieee754_acos): Likewise.
15277 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15278 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15279 (__exp1): Likewise.
15280 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15282 (log1): Likewise.
15283 (my_log2): Likewise.
15284 (checkint): Likewise.
15285 * sysdeps/ieee754/dbl-64/e_remainder.c
15286 (__ieee754_remainder): Likewise.
15287 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15289 (bsloww): Likewise.
15290 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15291
6f2e90e7
SP
15292 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15293 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15294 MANTISSA_STORE_T to store computations on mantissa. Use
15295 macros for rounding and division.
15296 (denorm): Likewise.
15297 (__dbl_mp): Likewise.
15298 (add_magnitudes): Likewise.
15299 (sub_magnitudes): Likewise.
15300 (__mul): Likewise.
15301 (__sqr): Likewise.
15302 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15303 powers of two in terms of TWOPOW macro.
15304 (mp_no): Make type of mantissa as MANTISSA_T.
15305 [!RADIXI]: Define RADIXI.
15306 [!TWO52]: Define TWO52.
15307 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15308
fce14d4e
AZ
153092013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15310
15311 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15312 llroundl symbol when building for PPC32.
15313
9ad027fb
MW
153142013-03-24 Mark H Weaver <mhw@netris.org>
15315
15316 * manual/arith.texi (Normalization Functions): Fix prototypes for
15317 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15318
e42a38dd
AZ
153192013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15320
15321 [BZ #13889]
15322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15323 high value to check if expl overflow.
15324 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15325 to check for underflow and overflow.
15326 * math/libm-test.inc: Add exp test.
15327
2e0fb521
DL
153282013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15329
15330 [BZ #11120]
15331 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15332 with NOT_IN_libc.
15333
b5784d95
AZ
153342013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15335
15336 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15337 symbol.
15338
5aa4a1a1
TS
153392013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15340
bdef0be7
TS
15341 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15342 wrap blocks consisting of several statements.
15343
5aa4a1a1
TS
15344 * sysdeps/generic/math-tests.h: New file.
15345 * sysdeps/i386/fpu/math-tests.h: Likewise.
15346 * math/test-snan.c: Include it.
15347 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15348
98c48fe5
JM
153492013-03-21 Joseph Myers <joseph@codesourcery.com>
15350
15351 [BZ #15285]
15352 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15353 (__ieee754_j0l): Do not improve calculations using cos of twice
15354 input for inputs above LDBL_MAX / 2.0L.
15355 (__ieee754_y0l): Likewise.
15356 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15357 (__ieee754_j1l): Do not improve calculations using cos of twice
15358 input for inputs above LDBL_MAX / 2.0L.
15359 (__ieee754_y1l): Likewise.
15360 * math/libm-test.inc (j0_test): Add another test.
15361 (j1_test): Likewise.
15362 (y0_test): Likewise.
15363 (y1_test): Likewise.
15364 * sysdeps/i386/fpu/libm-test-ulps: Update.
15365
3775a8bc
SP
153662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15367
15368 * Rules ($(objpfx)bench-%.c): Include code from a C source
15369 file.
15370
0a1b2ae6
JM
153712013-03-21 Joseph Myers <joseph@codesourcery.com>
15372
15373 [BZ #15287]
15374 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15375 imaginary part 1.0 and real part less than 0.5 specially.
15376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15378 * math/libm-test.inc (cacos_test): Add more tests.
15379 (casin_test): Likewise.
15380 (casinh_test): Likewise.
15381 * sysdeps/i386/fpu/libm-test-ulps: Update.
15382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15383
b33d4ce4
SP
153842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15385
15386 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15387 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15388
bef0b507
JM
153892013-03-20 Joseph Myers <joseph@codesourcery.com>
15390
15391 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15392 * config.make.in (config-cflags-sse4): Remove variable.
15393 (config-cflags-avx): Likewise.
15394 (config-cflags-sse2avx): Likewise.
15395 (config-cflags-novzeroupper): Likewise.
15396 (config-asflags-i686): Likewise.
15397 (have-mfma4): Likewise.
15398 (have-as-vis3): Likewise.
15399 (MIG): Likewise.
15400 * configure.in (MIG): Do not AC_SUBST.
15401 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15402 (libc_cv_cc_sse4): Do not AC_SUBST.
15403 (libc_cv_cc_avx): Likewise.
15404 (libc_cv_cc_sse2avx): Likewise.
15405 (libc_cv_cc_novzeroupper): Likewise.
15406 (libc_cv_cc_fma4): Likewise.
15407 (libc_cv_as_i686): Likewise.
15408 (libc_cv_sparc_as_vis3): Likewise.
15409 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15410 LIBC_CONFIG_VAR.
15411 (config-asflags-i686): Likewise.
15412 (config-cflags-avx): Likewise.
15413 (config-cflags-sse2avx): Likewise.
15414 (have-mfma4): Likewise.
15415 (config-cflags-novzeroupper): Likewise.
15416 * sysdeps/mach/configure.in (MIG): Likewise.
15417 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15418 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15419 LIBC_CONFIG_VAR.
15420 (config-cflags-avx): Likewise.
15421 (config-cflags-sse2avx): Likewise.
15422 (have-mfma4): Likewise.
15423 (config-cflags-novzeroupper): Likewise.
15424 * configure: Regenerated.
15425 * sysdeps/i386/configure: Likewise.
15426 * sysdeps/mach/configure: Likewise.
15427 * sysdeps/sparc/configure: Likewise.
15428 * sysdeps/x86_64/configure: Likewise.
15429
912cc4b3
RM
154302013-03-20 Roland McGrath <roland@hack.frob.com>
15431
15432 [BZ #14812]
15433 * locale/programs/localedef.c (options): Put N_ translation marker
15434 on argument names, not just descriptions.
15435
04eed2b0
MS
154362013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15437
15438 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15439
a065ceff
OB
154402013-03-20 Ondřej Bílka <neleai@seznam.cz>
15441
9bb2a810 15442 [BZ #14176]
a065ceff
OB
15443 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15444
a600e5ce
RM
154452013-03-19 Roland McGrath <roland@hack.frob.com>
15446
15447 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15448 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15449 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15450 [!BEFORE_ABORT] (before_abort): New function.
15451 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15452 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15453 (writev_for_fatal): New function.
15454 (WRITEV_FOR_FATAL): New macro; call that.
15455 (backtrace_and_maps): New function.
15456 (BEFORE_ABORT): New macro; call that.
15457 (struct str_list): Type removed.
15458 (__libc_message, __libc_fatal): Functions removed.
15459 Include <sysdeps/posix/libc_fatal.c> instead.
15460
6b18bea6
JM
154612013-03-19 Joseph Myers <joseph@codesourcery.com>
15462
15463 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15464 constants.
15465 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15466 double constants.
15467
aaa8cb4b
AS
154682013-03-19 Andreas Schwab <schwab@suse.de>
15469
44673770
AS
15470 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15471 * sysdeps/gnu/configure: Regenerate.
15472
aaa8cb4b
AS
15473 * configure.in: Substitute libc_cv_rtlddir.
15474 * configure: Regenerate.
15475 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15476 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15477 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15478 * elf/Makefile (install-others, CFLAGS-interp.c)
15479 (ldso_install, common-ldd-rewrite): Likewise.
15480 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15481 $(inst_slibdir)/$(rtld-installed-name).
15482 * scripts/rellns-sh: Add -p option.
15483 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15484 for source.
15485
d3cfc668
SP
154862013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15487
15488 * manual/nptl.texi: Renamed to ...
15489 * manual/threads.texi: ... this.
15490 * manual/Makefile (chapters): Update.
15491
0e2b9cdd
RM
154922013-03-18 Roland McGrath <roland@hack.frob.com>
15493
15494 [BZ #14812]
15495 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15496 on argument names, not just descriptions.
0e2b9cdd
RM
15497 * malloc/memusagestat.c (options): Likewise.
15498 * nss/getent.c (options): Likewise.
63270c24
RM
15499
155002013-03-18 Benno Schulenberg <bensberg@justemail.net>
15501
15502 [BZ #14812]
15503 * iconv/iconv_prog.c (options): Put N_ translation marker
15504 on argument names, not just descriptions.
15505 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15506
b2e1393c
OB
155072013-03-18 Ondrej Bilka <neleai@seznam.cz>
15508
15509 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15510 implementation which is faster on all x86_64 architectures.
15511 Tested on AMD, Intel Nehalem, SNB, IVB.
15512 * sysdeps/x86_64/strnlen.S: Likewise.
15513
15514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15515 Remove all multiarch strlen and strnlen versions.
15516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15517 Remove strlen and strnlen related parts.
15518
15519 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15520 Inline strlen part.
15521 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15522
15523 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15524 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15525 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15526 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15527 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15528 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15529
ec4ff04d
CD
155302013-03-17 Carlos O'Donell <carlos@redhat.com>
15531
15532 * manual/memory.texi (Malloc Tunable Parameters):
15533 Sort parameters alphabetically. Add comments for missing entries.
15534
cd18e90a
DM
155352013-03-17 David S. Miller <davem@davemloft.net>
15536
15537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15538
2a185d32
JM
155392013-03-16 Joseph Myers <joseph@codesourcery.com>
15540
d2f9799e
JM
15541 [BZ #15283]
15542 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15543 for arguments at most half maximum finite value.
15544 * math/libm-test.inc (j0_test): Add more tests.
15545 (j1_test): Likewise.
15546 (y0_test): Likewise.
15547 (y1_test): Likewise.
15548 * sysdeps/i386/fpu/libm-test-ulps: Update.
15549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15550
2a185d32
JM
15551 [BZ #14155]
15552 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15553 1 / x and functions P and Q for arguments above 0x1p256L.
15554 (__ieee754_y0l): Likewise.
15555 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15556 (__ieee754_y1l): Likewise.
15557 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15558 (j1_test): Likewise.
15559 (y0_test): Likewise.
15560 (y1_test): Likewise.
15561
6cbec759
TS
155622013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15563
15564 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15565 variable.
15566
bc16e260
RM
155672013-03-15 Roland McGrath <roland@hack.frob.com>
15568
aefc9b8c
RM
15569 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15570 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15571 zero since it's initialized to EXEC_PAGESIZE.
15572
bc16e260
RM
15573 * sysdeps/unix/sysv/linux/ldsodefs.h
15574 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15575 * sysdeps/generic/ldsodefs.h: ... here.
15576
a57da955
TS
155772013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15578
af00a34d
TS
15579 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15580
495ded2c
TS
15581 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15582 math/test-snan.c.
15583 * math/test-snan.c: Renamed from
15584 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15585 * math/Makefile (tests): Add test-snan.
15586 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15587 test-powerpc-snan.
15588
777b0332
TS
15589 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15590 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15591 functions.
15592 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15593 __builtin_nan family of functions.
15594 * math/libm-test.inc (initialize): Initialize qnan_value with
15595 __builtin_nan family of functions.
15596 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15597 Remove variables.
15598 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15599 Remove functions.
15600 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15601 storage class. Initialize qNaN_var and sNaN_var with
15602 __builtin_nan and __builtin_nans families of functions,
15603 respectively.
15604
64d063b8
TS
15605 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15606 (sqrt_test): Remove duplicate test with qNaN input.
15607 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15608 (round_test, signbit_test, significand_test): Note missing +/-Inf
15609 as well as qNaN tests.
15610
67e971f1
TS
15611 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15612 qNaN_var. Fix a few strings, too.
15613 * math/libm-test.inc (nan_value): Rename to qnan_value.
15614 * math/gen-libm-test.pl (%beautify): Adjust to that.
15615 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15616 * math/test-misc.c (main): Likewise.
15617 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15618 to __qnan_bytes, and __qnan_union, respectively.
15619 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15620 Likewise.
15621 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15622 and lqnanval, respectively.
15623 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15624 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15625 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15626 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15627
64487e12
TS
15628 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15629 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15630 doubles.
15631
e015e27b
TS
15632 * math/test-misc.c (main): Fix copy'n'pastos.
15633 * misc/tst-efgcvt.c (special): Likewise.
15634
a57da955
TS
15635 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15636 Remove declarations.
15637
1e380345
SP
156382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15639
15640 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15641 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15642 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15643 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15644
ef26eece
AZ
156452013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646
15647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15648 macro to return vdso values correctly in IFUNC implementations.
15649 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15650 Optimization by using IFUNC.
15651
8cfdb7e0
SP
156522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15653 Richard Henderson <rth@redhat.com>
15654 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15655
15656 * Makefile.in (bench): New target.
15657 * NEWS: Mention the benchmark framework.
15658 * Rules (bench): Likewise.
15659 (binaries-bench): Generate binaries for functions to
15660 benchmark.
15661 * benchtests/Makefile: New makefile for benchmark tests.
15662 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15663 programs.
15664 * benchtests/exp-inputs: New input file for EXP function.
15665 * benchtests/pow-inputs: New input file for POW function.
15666 * scripts/bench.pl: New script to generate source files for
15667 benchmark programs.
15668
bcda9880
SP
156692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15670
d22ca8cd
SP
15671 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15672 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15673 computations on mantissa. Use macros for rounding and
15674 division.
15675 (denorm): Likewise.
15676 (__dbl_mp): Likewise.
15677 (add_magnitudes): Likewise.
15678 (sub_magnitudes): Likewise.
15679 (__mul): Likewise.
15680 (__sqr): Likewise.
15681 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15682 powers of two in terms of TWOPOW macro.
15683 (mp_no): Make type of mantissa as MANTISSA_T.
15684 [!RADIXI]: Define RADIXI.
15685 [!TWO52]: Define TWO52.
15686 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15687
bcda9880
SP
15688 * manual/nptl.texi (cindex): Modify threads to pthreads.
15689
06d5adfb
JM
156902013-03-15 Joseph Myers <joseph@codesourcery.com>
15691
15692 * sysdeps/x86_64/preconfigure: Regenerated.
15693
41c7328e
JM
156942013-03-14 Joseph Myers <joseph@codesourcery.com>
15695
15696 [BZ #14155]
15697 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15698 0x1p28 and above.
15699 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15700 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15701 0x1p28 and above.
15702 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15703 * math/libm-test.inc (j0_test): Do not allow one spurious
15704 underflow exception.
15705 (y1_test): Likewise.
15706
e25cfa60
SP
157072013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15708
0409959c
SP
15709 * manual/Makefile (chapters): Add nptl.
15710 * manual/debug.texi (Debugging Support): Add link to Threads
15711 chapter.
15712 * manual/nptl.texi: New file.
15713
e25cfa60
SP
15714 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15715
58a1335e
PB
157162013-03-14 Petr Baudis <pasky@ucw.cz>
15717
15718 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15719 for non-NULL pointer before the memory validity test. Pointed
15720 out by Holger Brunck <holger.brunck@keymile.com>.
15721
9dc7c64f
AS
157222013-03-13 Andreas Schwab <schwab@suse.de>
15723
15724 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15725 instead of .os.
15726
54206aa6
JM
157272013-03-13 Joseph Myers <joseph@codesourcery.com>
15728
15729 * timezone/zic.c: Update from tzcode 2013b.
15730
e98cdb38
CD
157312013-03-12 Carlos O'Donell <carlos@redhat.com>
15732
15733 * manual/install.texi (Configuring and compiling):
15734 Mention i686 and i586.
15735 * INSTALL: Regenerate.
15736
9967e003
RM
157372013-03-12 Roland McGrath <roland@hack.frob.com>
15738
15739 * sysdeps/init_array/elf-init.c: New file.
15740 * csu/elf-init.c
15741 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15742 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15743
15744 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15745 __gmon_start__ as global, but as static with a .preinit_array pointer.
15746 * sysdeps/init_array/gmon-start.c: New file. Use that.
15747 * sysdeps/init_array/crti.S: New file, empty except for comments.
15748 * sysdeps/init_array/crtn.S: Likewise.
15749
e6b5a293 157502013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15751
15752 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15753 definining bcopy.
80f844c9
OB
15754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15755 Remove Prefer_SSE_for_memop.
15756 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15757 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15758 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15760 memset-x86-64.
80f844c9 15761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15762 Remove bzero, memset ifunc support.
80f844c9
OB
15763 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15764 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15765 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15766 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15767
fb6b0fcb
AS
157682013-03-11 Andreas Schwab <schwab@suse.de>
15769
15770 [BZ #15234]
15771 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15772 by SHLIB_COMPAT.
15773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15774 (GLIBC_2.16): Remove pthread_atfork.
15775
3e6bd4b1
PP
157762013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15777
15778 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15779 (ptestcases.h): Likewise.
15780
222d7f00
RM
157812013-03-08 Roland McGrath <roland@hack.frob.com>
15782
15783 * Makeconfig ($(common-objpfx)config.status): Depend on
15784 sysdeps/*/preconfigure{,.in} too.
15785
1ba4f030
JM
157862013-03-08 Joseph Myers <joseph@codesourcery.com>
15787
a222d91a
JM
15788 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15789 (__free_hook): Use void * instead of __malloc_ptr_t.
15790 (__malloc_hook): Likewise.
15791 (__realloc_hook): Likewise.
15792 (__memalign_hook): Likewise.
15793 (__after_morecore_hook): Likewise.
15794 * malloc/arena.c (save_malloc_hook): Likewise.
15795 (save_free_hook): Likewise.
15796 * malloc/hooks.c (malloc_hook_ini): Likewise.
15797 (realloc_hook_ini): Likewise.
15798 (memalign_hook_ini): Likewise.
15799 * malloc/malloc.c (malloc_hook_ini): Likewise.
15800 (realloc_hook_ini): Likewise.
15801 (memalign_hook_ini): Likewise.
15802 (__free_hook): Likewise.
15803 (__malloc_hook): Likewise.
15804 (__realloc_hook): Likewise.
15805 (__memalign_hook): Likewise.
15806 (__libc_malloc): Likewise.
15807 (__libc_free): Likewise.
15808 (__libc_realloc): Likewise.
15809 (__libc_memalign): Likewise.
15810 (__libc_valloc): Likewise.
15811 (__libc_pvalloc): Likewise.
15812 (__libc_calloc): Likewise.
15813 (__posix_memalign): Likewise.
15814 * malloc/morecore.c (__sbrk): Likewise.
15815 (__default_morecore): Likewise.
15816
5cc45e10
JM
15817 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15818
dd54b864
JM
15819 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15820 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15821 __malloc_ptrdiff_t.
15822
1ba4f030
JM
15823 * malloc/malloc.h (__malloc_size_t): Remove macro.
15824 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15825 __malloc_size_t.
15826 (old_memalign_hook): Likewise.
15827 (old_realloc_hook): Likewise.
15828 (struct hdr): Likewise.
15829 (flood): Likewise.
15830 (mallochook): Likewise.
15831 (memalignhook): Likewise.
15832 (reallochook): Likewise.
15833 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15834 (tr_old_realloc_hook): Likewise.
15835 (tr_old_memalign_hook): Likewise.
15836 (tr_mallochook): Likewise.
15837 (tr_reallochook): Likewise.
15838 (tr_memalignhook): Likewise.
15839
edf66e57
AZ
158402013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15841
15842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15843 default_ldbl_pack and using as default implementation.
15844 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15845 implementation.
15846 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15847 redundant definition.
15848 (ldbl_insert_mantissa): Likewise.
15849 (ldbl_canonicalize): Likewise.
15850 (ldbl_nearbyint): Likewise.
15851 (ldbl_pack): Rename to ldbl_pack_ppc.
15852 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15853 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15854 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15855
6d9145d8
SP
158562013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15857
15858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15859 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15861 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15864 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15865 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15866
4dd4e157
AJ
158672013-03-07 Andreas Jaeger <aj@suse.de>
15868
15869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15870 bits/mman-linux.h.
15871
adbb8027
SP
158722013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15873
ce544b5b
SP
15874 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15875 Include mpa.h and declare __MPEXP.
15876 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15877 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15878 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15879 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15880 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15882 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15883
4cc149fd
SP
15884 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15885 (__slowpow): Use long double EXPL and LOGL functions to
15886 compute POW.
15887 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15888 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15889 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15890 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15892 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15893
e6ebd4a7
SP
15894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15895 intermediate variable to calculate exponent.
15896 (__sqr): Likewise.
15897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15898 Likewise.
15899 (__sqr): Likewise.
15900
82a9811d
SP
15901 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15902 [!NO__SQR]: Define __sqr.
15903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15904 and NO__SQR. Remove all code except __mul and __sqr. Include
15905 sysdeps/ieee754/dbl-64/mpa.c.
15906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15907
adbb8027
SP
15908 [BZ #12723]
15909 * posix/Makefile (tests): Add tst-pathconf.
15910 * posix/tst-pathconf.c: New test case.
15911 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15912 _PC_PIPE_BUF.
15913 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15914
39120df9
PF
159152013-03-06 Patsy Franklin <pfrankli@redhat.com>
15916
15917 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15918
67525cb8
AJ
159192013-03-06 Andreas Jaeger <aj@suse.de>
15920
664a9ce4
AJ
15921 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15922 definition via __MAP_ANONYMOUS.
15923
8e39047d
AJ
15924 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15925 it's not part of Linux headers.
15926
67525cb8
AJ
15927 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15928 (MAP_HUGE_MASK): Define.
15929
15930 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15931 Define.
15932 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15934 Define.
15935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15936 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15937 Define.
15938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15940 Define.
15941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15942
15943 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15944 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15945 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15946 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15947 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15948 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15949
15950 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15951 Handle f2fs.
15952
15953 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15954 Handle f2fs and efivarfs.
15955
15956 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15957 f2fs.
15958
15959 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15960 (EFIVARFS_MAGIC): Add.
15961 (F2FS_LINK_MAX): Add.
15962
e1b42695
PP
159632013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15964
15965 * stdio-common/vfprintf.c: Replace __builtin_expect with
15966 __glibc_unlikely.
15967
2d67d91a
JM
159682013-03-06 Joseph Myers <joseph@codesourcery.com>
15969
15970 [BZ #13550]
15971 * sysdeps/generic/bp-sym.h: Remove file.
15972 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15973 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15974 <bp-sym.h> and <bp-asm.h>.
15975 (__longjmp): Don't use BP_SYM.
15976 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15977 and <bp-asm.h>.
15978 (memcpy): Don't use BP_SYM.
15979 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15980 <bp-sym.h> and <bp-asm.h>.
15981 (memcpy): Don't use BP_SYM.
15982 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15983 <bp-asm.h>.
15984 (memcpy): Don't use BP_SYM.
15985 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15986 <bp-asm.h>.
15987 (memset): Don't use BP_SYM.
15988 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15989 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15990 (__bzero): Don't use BP_SYM.
15991 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15992 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15993 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15994 <bp-sym.h> and <bp-asm.h>.
15995 (memcmp): Don't use BP_SYM. Remove comment about bounded
15996 pointers.
15997 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15998 <bp-sym.h> and <bp-asm.h>.
15999 (memcpy): Don't use BP_SYM.
16000 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16001 <bp-sym.h> and <bp-asm.h>.
16002 (memset): Don't use BP_SYM.
16003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16005 (__bzero): Don't use BP_SYM.
16006 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16007 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16008 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16009 <bp-sym.h> and <bp-asm.h>.
16010 (strncmp): Don't use BP_SYM. Remove comment about bounded
16011 pointers.
16012 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16013 <bp-sym.h> and <bp-asm.h>.
16014 (memcpy): Don't use BP_SYM.
16015 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16016 <bp-sym.h> and <bp-asm.h>.
16017 (memset): Don't use BP_SYM.
16018 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16019 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16020 (__bzero): Don't use BP_SYM.
16021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16023 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16024 <bp-sym.h> and <bp-asm.h>.
16025 (__memchr): Don't use BP_SYM.
16026 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16027 <bp-sym.h> and <bp-asm.h>.
16028 (memcmp): Don't use BP_SYM. Remove comment about bounded
16029 pointers.
16030 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16031 <bp-sym.h> and <bp-asm.h>.
16032 (memcpy): Don't use BP_SYM.
16033 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16034 <bp-sym.h> and <bp-asm.h>.
16035 (__mempcpy): Don't use BP_SYM.
16036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16037 <bp-sym.h> and <bp-asm.h>.
16038 (__memrchr): Don't use BP_SYM.
16039 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16040 <bp-sym.h> and <bp-asm.h>.
16041 (memset): Don't use BP_SYM.
16042 (__bzero): Likewise.
16043 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16044 <bp-sym.h> and <bp-asm.h>.
16045 (__rawmemchr): Don't use BP_SYM.
16046 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16047 <bp-sym.h> and <bp-asm.h>.
16048 (__STRCMP): Don't use BP_SYM.
16049 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16050 <bp-sym.h> and <bp-asm.h>.
16051 (strchr): Don't use BP_SYM.
16052 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16053 <bp-sym.h> and <bp-asm.h>.
16054 (__strchrnul): Don't use BP_SYM.
16055 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16056 <bp-sym.h> and <bp-asm.h>.
16057 (strlen): Don't use BP_SYM.
16058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16059 <bp-sym.h> and <bp-asm.h>.
16060 (strncmp): Don't use BP_SYM. Remove comment about bounded
16061 pointers.
16062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16063 <bp-sym.h> and <bp-asm.h>.
16064 (__strnlen): Don't use BP_SYM.
16065 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16066 <bp-sym.h> and <bp-asm.h>.
16067 (__GI__setjmp): Don't use BP_SYM.
16068 (_setjmp): Likewise.
16069 (__sigsetjmp): Likewise.
16070 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16071 (L(start_addresses)): Don't use BP_SYM.
16072 (_start): Likewise.
16073 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16074 <bp-asm.h>.
16075 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16076 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16077 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16078 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16079 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16080 <bp-asm.h>.
16081 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16082 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16083 about bounded pointers.
16084 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16085 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16086 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16087 <bp-asm.h>.
16088 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16089 about bounded pointers. Remove GKM FIXME comments.
16090 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16091 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16092 <bp-asm.h>.
16093 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16094 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16095 Remove GKM FIXME comments.
16096 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16097 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16098 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16099 <bp-asm.h>.
16100 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16101 about bounded pointers. Remove GKM FIXME comment.
16102 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16103 and <bp-asm.h>.
16104 (strncmp): Don't use BP_SYM. Remove comment about bounded
16105 pointers.
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16107 <bp-sym.h> and <bp-asm.h>.
16108 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16110 <bp-sym.h> and <bp-asm.h>.
16111 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16112 comment.
16113
cdcf361f
PP
161142013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16115
16116 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16117 call free(NULL).
16118
3c4a2b15
DM
161192013-03-05 David S. Miller <davem@davemloft.net>
16120
16121 * po/es.po: Update from translation team.
16122
cdcf361f 161232013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16124
16125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16126 <bits/mman-linux.h>.
16127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16128 is fine.
16129 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16130 <bits/mman-linux.h> to end of file.
16131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16132 is fine.
16133 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16134 <bits/mman-linux.h> to end of file.
16135 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16136 is fine.
16137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16138 <bits/mman-linux.h> to end of file.
16139
16140 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16141 (MCL_CURRENT, MCL_FUTURE): Define here.
16142
5f67c04f
AK
161432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16144
8a4473cc 16145 [BZ #15232]
5f67c04f
AK
16146 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16147 attribute_hidden.
16148 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16149
c3e94a95
AK
161502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16151
16152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16153 fourth parameter needed for rt_sigprocmask syscall.
16154 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16155 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16156 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16157 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16158 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16159 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16160
cfb6382a
JM
161612013-03-04 Joseph Myers <joseph@codesourcery.com>
16162
16163 [BZ #13550]
16164 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16165 comment about bounded pointers.
16166 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16167 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16168
539d8e01
AJ
161692013-03-04 Andreas Jaeger <aj@suse.de>
16170
16171 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16172 common definitions.
16173
16174 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16175 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16176 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16180
2e167a70 161812013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16182
16183 [BZ #15055]
16184 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16185 __ieee754_sqrl instead of __sqrl.
16186
68508633
JM
161872013-03-01 Joseph Myers <joseph@codesourcery.com>
16188
16189 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16190 * sysdeps/powerpc/fpu_control.h: ... here.
16191 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16192 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16193 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16194 * sysdeps/powerpc/bits/mathinline.h: ... here.
16195
7775448e
RM
161962013-03-01 Roland McGrath <roland@hack.frob.com>
16197
16198 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16199 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16200 to just [NEED_DL_SYSINFO_DSO].
16201 * elf/dl-support.c: Likewise.
16202 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16203 * elf/rtld.c (dl_main): Likewise.
16204 * elf/setup-vdso.h (setup_vdso): Likewise.
16205 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16206 * sysdeps/unix/sysv/linux/dl-sysdep.c
16207 (_dl_discover_osversion): Likewise.
16208
4e9b5995
CD
162092013-03-01 Carlos O'Donell <carlos@redhat.com>
16210
16211 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16212 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16213
e23872c8
SP
162142013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16215
e5c74c63
SP
16216 * NEWS: Mention libm performance improvements and non-x86 PI
16217 futex support.
16218
e23872c8
SP
16219 * csu/libc-start.c (__pthread_initialize_minimal): Change
16220 function arguments.
16221 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16222
b5510883
JM
162232013-02-28 Joseph Myers <joseph@codesourcery.com>
16224
16225 [BZ #13550]
16226 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16227 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16228 <bp-sym.h> and <bp-asm.h>.
16229 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16230 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16231 and <bp-asm.h>.
16232 (memcpy): Don't use BP_SYM.
16233 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16234 <bp-asm.h>.
16235 (__mpn_add_n): Don't use BP_SYM.
16236 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16237 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16238 and <bp-asm.h>.
16239 (__mpn_addmul_1): Don't use BP_SYM.
16240 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16241 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16242 <bp-sym.h>.
16243 (_setjmp): Don't use BP_SYM.
16244 (__novmx_setjmp): Likewise.
16245 (__GI__setjmp): Likewise.
16246 (__vmx_setjmp): Likewise.
16247 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16248 <bp-sym.h>.
16249 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16250 (__bzero): Don't use BP_SYM.
16251 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16252 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16253 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16254 <bp-sym.h> and <bp-asm.h>.
16255 (memcpy): Don't use BP_SYM.
16256 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16257 <bp-sym.h> and <bp-asm.h>.
16258 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16259 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16260 <bp-sym.h> and <bp-asm.h>.
16261 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16262 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16263 <bp-asm.h>.
16264 (__mpn_lshift): Don't use BP_SYM.
16265 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16266 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16267 <bp-asm.h>.
16268 (memset): Don't use BP_SYM.
16269 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16270 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16271 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16272 <bp-asm.h>.
16273 (__mpn_mul_1): Don't use BP_SYM.
16274 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16276 <bp-sym.h> and <bp-asm.h>.
16277 (memcmp): Don't use BP_SYM.
16278 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16279 <bp-sym.h> and <bp-asm.h>.
16280 (memcpy): Don't use BP_SYM.
16281 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16282 <bp-sym.h> and <bp-asm.h>.
16283 (memset): Don't use BP_SYM.
16284 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16285 <bp-sym.h> and <bp-asm.h>.
16286 (strncmp): Don't use BP_SYM.
16287 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16288 <bp-sym.h> and <bp-asm.h>.
16289 (memcpy): Don't use BP_SYM.
16290 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16291 <bp-sym.h> and <bp-asm.h>.
16292 (memset): Don't use BP_SYM.
16293 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16294 <bp-sym.h> and <bp-asm.h>.
16295 (__memchr): Don't use BP_SYM.
16296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16297 <bp-sym.h> and <bp-asm.h>.
16298 (memcmp): Don't use BP_SYM.
16299 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16300 <bp-sym.h> and <bp-asm.h>.
16301 (memcpy): Don't use BP_SYM.
16302 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16303 <bp-sym.h> and <bp-asm.h>.
16304 (__mempcpy): Don't use BP_SYM.
16305 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16306 <bp-sym.h> and <bp-asm.h>.
16307 (__memrchr): Don't use BP_SYM.
16308 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16309 <bp-sym.h> and <bp-asm.h>.
16310 (memset): Don't use BP_SYM.
16311 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16312 <bp-sym.h> and <bp-asm.h>.
16313 (__rawmemchr): Don't use BP_SYM.
16314 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16315 <bp-sym.h> and <bp-asm.h>.
16316 (__STRCMP): Don't use BP_SYM.
16317 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16318 <bp-sym.h> and <bp-asm.h>.
16319 (strchr): Don't use BP_SYM.
16320 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16321 <bp-sym.h> and <bp-asm.h>.
16322 (__strchrnul): Don't use BP_SYM.
16323 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16324 <bp-sym.h> and <bp-asm.h>.
16325 (strlen): Don't use BP_SYM.
16326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16327 <bp-sym.h> and <bp-asm.h>.
16328 (strncmp): Don't use BP_SYM.
16329 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16330 <bp-sym.h> and <bp-asm.h>.
16331 (__strnlen): Don't use BP_SYM.
16332 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16333 <bp-asm.h>.
16334 (__mpn_rshift): Don't use BP_SYM.
16335 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16336 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16337 <bp-sym.h> and <bp-asm.h>.
16338 (__sigsetjmp): Don't use BP_SYM.
16339 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16340 (L(start_addresses)): Don't use BP_SYM.
16341 (_start): Likewise.
16342 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16343 <bp-asm.h>.
16344 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16345 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16346 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16347 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16348 <bp-asm.h>.
16349 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16350 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16351 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16352 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16353 <bp-asm.h>.
16354 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16355 comments.
16356 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16357 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16358 <bp-asm.h>.
16359 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16360 FIXME comments.
16361 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16362 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16363 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16364 <bp-asm.h>.
16365 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16366 comment.
16367 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16368 and <bp-asm.h>.
16369 (strncmp): Don't use BP_SYM,
16370 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16371 <bp-asm.h>.
16372 (__mpn_sub_n): Don't use BP_SYM.
16373 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16374 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16375 and <bp-asm.h>.
16376 (__mpn_submul_1): Don't use BP_SYM.
16377 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16379 <bp-sym.h> and <bp-asm.h>.
16380 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16382 <bp-sym.h> and <bp-asm.h>.
16383 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16384 comment.
16385
8d19fe64
SP
163862013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16387
16388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16389 Use ZK to minimize writes to Z.
16390 (sub_magnitudes): Simplify code a bit.
16391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16392 Use ZK to minimize writes to Z.
16393 (sub_magnitudes): Simplify code a bit.
16394
85bd816a
RM
163952013-02-27 Roland McGrath <roland@hack.frob.com>
16396
16397 * csu/gmon-start.c: Add special exception to license text.
16398
b5977bf2
RH
163992013-02-27 Richard Henderson <rth@redhat.com>
16400
16401 * scripts/config.guess: Update from config.git.
16402 * scripts/config.sub: Likewise.
16403
11d6e2f2
SP
164042013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16405
09c14ed2
SP
16406 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16407
a688864e
SP
16408 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16409
6295157a
SP
16410 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16411
b8de2202
SP
16412 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16413
11d6e2f2
SP
16414 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16415
7e80ddb8
RM
164162013-02-26 Roland McGrath <roland@hack.frob.com>
16417
16418 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16419 [$(build-shared = yes].
7e80ddb8 16420
7da6d9ed
SP
164212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
45f05884
SP
16423 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16424 (__mul): Reduce iterations for calculating mantissa.
16425
2236d359
SP
16426 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16427 MPTWO.
16428 (__mpranred): Likewise.
16429
7da6d9ed
SP
16430 [BZ #15160]
16431 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16432 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16433
b7688c42
PE
164342013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16435
16436 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16437 Define __attribute__.
16438
53a5c423
SP
164392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16440
16441 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16442 unused.
16443 * posix/regex_internal.h (__attribute): Remove.
16444 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16445 (re_string_context_at): Likewise.
16446 (bitset_not): Use __attribute__ and mark function as possibly
16447 unused.
16448 (bitset_merge): Likewise.
16449 (bitset_mask): Likewise.
16450 (re_string_char_size_at): Likewise.
16451 (re_string_wchar_at): Likewise.
16452 (re_string_elem_size_at): Likewise.
16453
60f5a8b5
SP
164542013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16455
2a983a2e
SP
16456 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16457 code.
16458 (cc32): Likewise.
16459
e69804d1
SP
16460 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16461 (__acr): Likewise.
16462 (__cpy): Likewise.
16463 (norm): Likewise.
16464 (denorm): Likewise.
16465 (__dbl_mp): Likewise.
16466 (add_magnitudes): Likewise.
16467 (sub_magnitudes): Likewise.
16468 (__mul): Likewise.
16469 (__inv): Likewise.
16470
2f22a1e8
SP
16471 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16472 style.
16473
8930ddc7
SP
16474 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16475 style.
16476
dc60cb11
SP
16477 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16478 code.
16479
60f5a8b5
SP
16480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16481 up changes with default code.
16482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16483 Likewise.
16484
b4d1fd33
AM
164852013-02-24 Allan McRae <allan@archlinux.org>
16486
faf6f8bc
AM
16487 * manual/socket.texi (The Internet Namespace): Order menu items
16488 to match that in the file.
16489
b4d1fd33
AM
16490 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16491 node listing of the info page menu.
16492
2366713d
JM
164932013-02-21 Joseph Myers <joseph@codesourcery.com>
16494
16495 [BZ #13550]
16496 * sysdeps/i386/bp-asm.h: Remove file.
16497 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16498 (PARMS): Do not use macros from bp-asm.h.
16499 (S1): Likewise.
16500 (S2): Likewise.
16501 (SIZE): Likewise.
16502 (__mpn_add_n): Do not use BP_SYM
16503 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16504 "bp-asm.h".
16505 (PARMS): Do not use macros from bp-asm.h.
16506 (S1): Likewise.
16507 (SIZE): Likewise.
16508 (__mpn_addmul_1): Do not use BP_SYM
16509 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16510 "bp-asm.h".
16511 (PARMS): Do not use macros from bp-asm.h.
16512 (SIGMSK): Likewise.
16513 (_setjmp): Likewise. Do not use BP_SYM.
16514 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16515 "bp-asm.h".
16516 (PARMS): Do not use macros from bp-asm.h.
16517 (SIGMSK): Likewise.
16518 (setjmp): Likewise. Do not use BP_SYM.
16519 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16520 "bp-asm.h".
16521 (PARMS): Do not use macros from bp-asm.h.
16522 (__frexp): Do not use BP_SYM.
16523 (frexp): Likewise.
16524 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16525 "bp-asm.h".
16526 (PARMS): Do not use macros from bp-asm.h.
16527 (__frexpf): Do not use BP_SYM.
16528 (frexpf): Likewise.
16529 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16530 "bp-asm.h".
16531 (PARMS): Do not use macros from bp-asm.h.
16532 (__frexpl): Do not use BP_SYM.
16533 (frexpl): Likewise.
16534 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16535 "bp-asm.h".
16536 (PARMS): Do not use macros from bp-asm.h.
16537 (__remquo): Do not use BP_SYM.
16538 (remquo): Likewise.
16539 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16540 "bp-asm.h".
16541 (PARMS): Do not use macros from bp-asm.h.
16542 (__remquof): Do not use BP_SYM.
16543 (remquof): Likewise.
16544 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16545 "bp-asm.h".
16546 (PARMS): Do not use macros from bp-asm.h.
16547 (__remquol): Do not use BP_SYM.
16548 (remquol): Likewise.
16549 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16550 "bp-asm.h".
16551 (PARMS): Do not use macros from bp-asm.h.
16552 (DEST): Likewise.
16553 (SRC): Likewise.
16554 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16555 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16556 "bp-asm.h".
16557 (PARMS): Do not use macros from bp-asm.h.
16558 (strlen): Do not use BP_SYM.
16559 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16560 "bp-asm.h".
16561 (PARMS): Do not use macros from bp-asm.h.
16562 (S1): Likewise.
16563 (S2): Likewise.
16564 (SIZE): Likewise.
16565 (__mpn_add_n): Do not use BP_SYM.
16566 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16567 "bp-asm.h".
16568 (PARMS): Do not use macros from bp-asm.h.
16569 (S1): Likewise.
16570 (SIZE): Likewise.
16571 (__mpn_addmul_1): Do not use BP_SYM.
16572 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16573 weak_alias.
16574 (bzero): Likewise.
16575 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16576 "bp-asm.h".
16577 (PARMS): Do not use macros from bp-asm.h.
16578 (S): Likewise.
16579 (SIZE): Likewise.
16580 (__mpn_lshift): Do not use BP_SYM.
16581 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16582 "bp-asm.h".
16583 (PARMS): Do not use macros from bp-asm.h.
16584 (DEST): Likewise.
16585 (SRC): Likewise.
16586 (LEN): Likewise.
16587 (memcpy): Likewise. Do not use BP_SYM.
16588 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16589 libc_hidden_def and weak_alias.
16590 (mempcpy): Do not use BP_SYM in weak_alias.
16591 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16592 "bp-asm.h".
16593 (PARMS): Do not use macros from bp-asm.h.
16594 (DEST): Likewise.
16595 (LEN): Likewise.
16596 [!BZERO_P] (CHR): Likewise.
16597 (memset): Likewise. Do not use BP_SYM.
16598 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16599 "bp-asm.h".
16600 (PARMS): Do not use macros from bp-asm.h.
16601 (S1): Likewise.
16602 (SIZE): Likewise.
16603 (__mpn_mul_1): Do not use BP_SYM.
16604 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16605 "bp-asm.h".
16606 (PARMS): Do not use macros from bp-asm.h.
16607 (S): Likewise.
16608 (SIZE): Likewise.
16609 (__mpn_rshift): Do not use BP_SYM.
16610 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16611 "bp-asm.h".
16612 (PARMS): Do not use macros from bp-asm.h.
16613 (STR): Likewise.
16614 (CHR): Likewise.
16615 (strchr): Likewise. Do not use BP_SYM.
16616 (index): Do not use BP_SYM in weak_alias.
16617 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16618 "bp-asm.h".
16619 (PARMS): Do not use macros from bp-asm.h.
16620 (DEST): Likewise.
16621 (SRC): Likewise.
16622 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16623 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16624 "bp-asm.h".
16625 (PARMS): Do not use macros from bp-asm.h.
16626 (strlen): Do not use BP_SYM.
16627 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16628 "bp-asm.h".
16629 (PARMS): Do not use macros from bp-asm.h.
16630 (S1): Likewise.
16631 (S2): Likewise.
16632 (SIZE): Likewise.
16633 (__mpn_sub_n): Do not use BP_SYM.
16634 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16635 "bp-asm.h".
16636 (PARMS): Do not use macros from bp-asm.h.
16637 (S1): Likewise.
16638 (SIZE): Likewise.
16639 (__mpn_submul_1): Do not use BP_SYM.
16640 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16641 "bp-asm.h".
16642 (PARMS): Do not use macros from bp-asm.h.
16643 (S1): Likewise.
16644 (S2): Likewise.
16645 (SIZE): Likewise.
16646 (__mpn_add_n): Do not use BP_SYM.
16647 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16648 weak_alias.
16649 (bzero): Likewise.
16650 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 (PARMS): Do not use macros from bp-asm.h.
16653 (BLK2): Likewise.
16654 (LEN): Likewise.
16655 (memcmp): Do not use BP_SYM.
16656 (bcmp): Do not use BP_SYM in weak_alias.
16657 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16658 "bp-asm.h".
16659 (PARMS): Do not use macros from bp-asm.h.
16660 (DEST): Likewise.
16661 (SRC): Likewise.
16662 (LEN): Likewise.
16663 (memcpy): Likewise. Do not use BP_SYM.
16664 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16665 "bp-asm.h".
16666 (PARMS): Do not use macros from bp-asm.h.
16667 (DEST): Likewise.
16668 (SRC): Likewise.
16669 (LEN): Likewise.
16670 (memmove): Likewise. Do not use BP_SYM.
16671 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16672 "bp-asm.h".
16673 (PARMS): Do not use macros from bp-asm.h.
16674 (DEST): Likewise.
16675 (SRC): Likewise.
16676 (LEN): Likewise.
16677 (__mempcpy): Likewise. Do not use BP_SYM.
16678 (mempcpy): Do not use BP_SYM in weak_alias.
16679 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16680 "bp-asm.h".
16681 (PARMS): Do not use macros from bp-asm.h.
16682 (DEST): Likewise.
16683 (LEN): Likewise.
16684 [!BZERO_P] (CHR): Likewise.
16685 (memset): Likewise. Do not use BP_SYM.
16686 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16687 "bp-asm.h".
16688 (PARMS): Do not use macros from bp-asm.h.
16689 (STR2): Likewise.
16690 (strcmp): Do not use BP_SYM.
16691 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16692 "bp-asm.h".
16693 (PARMS): Do not use macros from bp-asm.h.
16694 (STR): Likewise.
16695 (DELIM): Likewise.
16696 [USE_AS_STRTOK_R] (SAVE): Likewise.
16697 (FUNCTION): Likewise. Do not use BP_SYM.
16698 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16699 aliases.
16700 (strtok_r): Likewise.
16701 (__GI___strtok_r): Likewise.
16702 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16703 (PARMS): Do not use macros from bp-asm.h.
16704 (S): Likewise.
16705 (SIZE): Likewise.
16706 (__mpn_lshift): Do not use BP_SYM.
16707 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16708 (PARMS): Do not use macros from bp-asm.h.
16709 (STR): Likewise.
16710 (CHR): Likewise.
16711 (__memchr): Do not use BP_SYM.
16712 (memchr): Do not use BP_SYM in weak_alias.
16713 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16714 (PARMS): Do not use macros from bp-asm.h.
16715 (BLK2): Likewise.
16716 (LEN): Likewise.
16717 (memcmp): Do not use BP_SYM.
16718 (bcmp): Do not use BP_SYM in weak_alias.
16719 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16720 (PARMS): Do not use macros from bp-asm.h.
16721 (S1): Likewise.
16722 (SIZE): Likewise.
16723 (__mpn_mul_1): Do not use BP_SYM.
16724 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16725 "bp-asm.h".
16726 (PARMS): Do not use macros from bp-asm.h.
16727 (STR): Likewise.
16728 (CHR): Likewise.
16729 (__rawmemchr): Do not use BP_SYM.
16730 (rawmemchr): Do not use BP_SYM in weak_alias.
16731 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16732 (PARMS): Do not use macros from bp-asm.h.
16733 (S): Likewise.
16734 (SIZE): Likewise.
16735 (__mpn_rshift): Do not use BP_SYM.
16736 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16737 (PARMS): Do not use macros from bp-asm.h.
16738 (SIGMSK): Likewise.
16739 (__sigsetjmp): Likewise. Do not use BP_SYM.
16740 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16741 (_start): Do not use BP_SYM.
16742 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16743 (PARMS): Do not use macros from bp-asm.h.
16744 (DEST): Likewise.
16745 (SRC): Likewise.
16746 (__stpcpy): Likewise. Do not use BP_SYM.
16747 (stpcpy): Do not use BP_SYM in weak_alias.
16748 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16749 "bp-asm.h".
16750 (PARMS): Do not use macros from bp-asm.h.
16751 (DEST): Likewise.
16752 (SRC): Likewise.
16753 (LEN): Likewise.
16754 (__stpncpy): Likewise. Do not use BP_SYM.
16755 (stpncpy): Do not use BP_SYM in weak_alias.
16756 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16757 (PARMS): Do not use macros from bp-asm.h.
16758 (STR): Likewise.
16759 (CHR): Likewise.
16760 (strchr): Likewise. Do not use BP_SYM.
16761 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16762 "bp-asm.h".
16763 (PARMS): Do not use macros from bp-asm.h.
16764 (STR): Likewise.
16765 (CHR): Likewise.
16766 (__strchrnul): Likewise. Do not use BP_SYM.
16767 (strchrnul): Do not use BP_SYM in weak_alias.
16768 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16769 "bp-asm.h".
16770 (PARMS): Do not use macros from bp-asm.h.
16771 (STOP): Likewise.
16772 (strcspn): Do not use BP_SYM.
16773 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16774 "bp-asm.h".
16775 (PARMS): Do not use macros from bp-asm.h.
16776 (STR): Likewise.
16777 (STOP): Likewise.
16778 (strpbrk): Likewise. Do not use BP_SYM.
16779 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16780 "bp-asm.h".
16781 (PARMS): Do not use macros from bp-asm.h.
16782 (STR): Likewise.
16783 (CHR): Likewise.
16784 (strrchr): Likewise. Do not use BP_SYM.
16785 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16786 (PARMS): Do not use macros from bp-asm.h.
16787 (SKIP): Likewise.
16788 (strspn): Do not use BP_SYM.
16789 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16790 (PARMS): Do not use macros from bp-asm.h.
16791 (STR): Likewise.
16792 (DELIM): Likewise.
16793 (SAVE): Likewise.
16794 (FUNCTION): Likewise. Do not use BP_SYM.
16795 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16796 aliases.
16797 (strtok_r): Likewise.
16798 (__GI___strtok_r): Likewise.
16799 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16800 (PARMS): Do not use macros from bp-asm.h.
16801 (S1): Likewise.
16802 (S2): Likewise.
16803 (SIZE): Likewise.
16804 (__mpn_sub_n): Do not use BP_SYM.
16805 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16806 "bp-asm.h".
16807 (PARMS): Do not use macros from bp-asm.h.
16808 (S1): Likewise.
16809 (SIZE): Likewise.
16810 (__mpn_submul_1): Do not use BP_SYM.
16811 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16812 <bp-sym.h>.
16813 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16814 and <bp-asm.h>.
16815 (PARMS): Do not use macros from bp-asm.h.
16816 (FLAGS): Likewise.
16817 (PTID): Likewise.
16818 (TLS): Likewise.
16819 (CTID): Likewise.
16820 (__clone): Do not use BP_SYM.
16821 (clone): Do not use BP_SYM in weak_alias.
16822 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16823 and <bp-asm.h>.
16824 (PARMS): Do not use macros from bp-asm.h.
16825 (LEN): Likewise.
16826 (__mmap64): Do not use BP_SYM.
16827 (mmap64): Do not use BP_SYM in weak_alias.
16828 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16829 <bp-sym.h> and <bp-asm.h>.
16830 (PARMS): Do not use macros from bp-asm.h.
16831 (__posix_fadvise64_l64): Do not use BP_SYM.
16832 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16833 (PARMS): Do not use macros from bp-asm.h.
16834 (NSOPS): Likewise.
16835 (semtimedop): Do not use BP_SYM.
16836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16837 and <bp-asm.h>.
16838
582a3cff
AM
168392013-02-21 Allan McRae <allan@archlinux.org>
16840
16841 * manual/message.texi (Charset conversion in gettext):
16842 Move @end statement to beginning of line.
16843
bab8a695
SP
168442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16845
80945231
SP
16846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16847 static.
16848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16849 Likewise.
16850
bab8a695
SP
16851 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16852 (denorm): Likewise.
16853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16855
e21d7aa7
AK
168562013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16857
16858 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16859 tail-call to the resolved function if pltexit isn't needed.
16860
4c7a4263
SP
168612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16862
16863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16864 or Y being zero as being unlikely.
16865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16866 Likewise.
16867
41f49342
CD
168682013-02-20 Carlos O'Donell <carlos@redhat.com>
16869
16870 * manual/nss.texi (System Databases and Name Service Switch):
16871 Remove frobnicate @pxref.
16872
50022a93
TS
168732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16874
16875 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16876 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16877
08cbd996
PM
168782013-02-20 Petr Machata <pmachata@redhat.com>
16879
16880 * elf/elf.h (R_ARM_TARGET1): New macro.
16881 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16882 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16883 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16884 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16885 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16886 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16887 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16888 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16889 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16890 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16891 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16892 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16893 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16894 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16895 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16896 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16897 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16898 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16899 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16900 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16901 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16902 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16903 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16904 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16905 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16906 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16907 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16908 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16909 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16910 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16911 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16912 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16913 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16914 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16915 (R_ARM_THM_GOT_BREL12): Likewise.
16916 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16917 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16918 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16919 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16920 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16921 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16922 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16923 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16924 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16925
c7b275d6
TS
169262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16927
16928 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16929 __attribute_used__ to __attribute__ ((unused)).
16930
20cd7fb3
SP
169312013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16932
16933 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16934 powerpc mpa.c.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16936 comment formatting.
16937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16938
92945b52
JM
169392013-02-19 Joseph Myers <joseph@codesourcery.com>
16940
16941 [BZ #13550]
16942 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16943 Remove macro.
16944 (ENTER): Remove both macro definitions.
16945 (LEAVE): Likewise.
16946 (CHECK_BOUNDS_LOW): Likewise.
16947 (CHECK_BOUNDS_HIGH): Likewise.
16948 (CHECK_BOUNDS_BOTH): Likewise.
16949 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16950 (RETURN_BOUNDED_POINTER): Likewise.
16951 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16952 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16953 (POP_ERRNO_LOCATION_RETURN): Likewise.
16954 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16955 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16956 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16957 macros.
16958 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16959 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16960 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16961 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16962 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16963 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16964 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16965 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16966 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16967 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16968 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16969 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16970 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16971 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16972 removed macros.
16973 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16975 macros.
16976 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16977 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16978 * sysdeps/i386/i586/memset.S (memset): Likewise.
16979 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16980 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16981 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16982 macros.
16983 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16984 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16985 Change uses of L(2) to L(out).
16986 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16987 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16988 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16989 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16990 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16991 removed macros.
16992 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16993 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16994 macros.
16995 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16996 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16997 (RETURN): Do not use macro LEAVE.
16998 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16999 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17000 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17001 * sysdeps/i386/i686/memset.S (memset): Likewise.
17002 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17003 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17004 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17005 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17006 Likewise.
17007 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17008 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17009 L(1_2) and L(1_3) into L(1).
17010 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17011 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17012 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17013 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17014 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17015 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17016 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17017 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17018 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17019 macros.
17020 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17021 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17022 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17023 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17024 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17025 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17026 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17027 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17028 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17029 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17030 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17031 * sysdeps/i386/strspn.S (strspn): Likewise.
17032 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17033 conditional code.
17034 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17035 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17037 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17038 L(1_3) into L(1_1).
17039 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17040 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17041 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17042 macros.
17043 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17044
2389741a
JJ
170452013-02-19 Jakub Jelinek <jakub@redhat.com>
17046
17047 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17048 macro.
17049
2016b3cd
SP
170502013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17051
e4f22324
SP
17052 * math/atest-exp.c (exp_mpn): Remove ROUND.
17053 * math/atest-exp2.c (exp_mpn): Likewise.
17054 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17055
2016b3cd
SP
17056 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17057 * stdlib/tst-tls-atexit-lib.c: Likewise.
17058 * stdlib/tst-tls-atexit.c: Likewise.
17059
4be9b544
MF
170602013-02-18 Mike Frysinger <vapier@gentoo.org>
17061
17062 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17063 and __attribute_alloc_size__.
17064
2f62b9ee
MF
170652013-02-18 Mike Frysinger <vapier@gentoo.org>
17066
17067 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17068 __attribute_alloc_size__.
17069 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17070 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17071
6ff444c4
MF
170722013-02-18 Mike Frysinger <vapier@gentoo.org>
17073
17074 * include/programs/xmalloc.h: New file.
17075 * catgets/gencat.c: Include it.
17076 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17077 * elf/pldd.c: Likewise.
17078 * iconv/iconv_charmap.c: Likewise.
17079 * iconv/iconvconfig.c: Likewise.
17080 * iconv/strtab.c: Likewise.
17081 * locale/programs/locale.c: Likewise.
17082 * locale/programs/localedef.h: Likewise.
17083 * locale/programs/simple-hash.c: Likewise.
17084 * nscd/nscd.h: Likewise.
17085 * nss/makedb.c: Likewise.
17086 * sysdeps/generic/ldconfig.h: Likewise.
17087
be179c8a
SP
170882013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17089
ba384f6e
SP
17090 * Versions.def: Add GLIBC_2.18.
17091 * include/link.h (struct link_map): New member l_tls_dtor_count.
17092 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17093 (__call_tls_dtors): Likewise.
17094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17095 __cxa_thread_atexit_impl.
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17097 Likewise.
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17099 Likewise.
17100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17101 Likewise.
17102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17103 Likewise.
17104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17106 Likewise.
17107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17108 Likewise.
17109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17111 Likewise.
17112 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17113 (tests): Add test case tst-tls-atexit.
17114 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17115 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17116 (GLIBC_PRIVATE): Add __call_tls_dtors.
17117 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17118 for libstdc++.
17119 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17120 * stdlib/tst-tls-atexit.c: New test case.
17121 * stdlib/tst-tls-atexit-lib.c: New test case.
17122
ffaa74cf 17123 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17124
be179c8a
SP
17125 * elf/Versions (ld): Add _dl_find_dso_for_object.
17126 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17127 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17128 (dl_open_worker): Use _dl_find_dso_for_object.
17129 * elf/dl-sym.c (do_sym): Likewise.
17130 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17131
f78b5caa
AK
171322013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17133
17134 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17135 Syntactic changes only.
17136 (_dl_runtime_profile): Do a tail-call to the resolved function.
17137
29691210
JM
171382013-02-17 Joseph Myers <joseph@codesourcery.com>
17139
17140 [BZ #13550]
17141 * sysdeps/x86_64/bp-asm.h: Remove file.
17142 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17143 <bp-sym.h> and <bp-asm.h>.
17144 (__clone): Do not use BP_SYM.
17145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17146 <bp-sym.h> and <bp-asm.h>.
17147 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17148 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17149 "bp-asm.h".
17150 (_setjmp): Do not use BP_SYM.
17151 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17152 "bp-asm.h".
17153 (setjmp): Do not use BP_SYM.
17154 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17155 libc_hidden_def.
17156 (mempcpy): Do not use BP_SYM in weak_alias.
17157 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17158 "bp-asm.h".
17159 (strchr): Do not use BP_SYM.
17160 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17161 "bp-asm.h".
17162 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17163 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17164 (_start): Do not use BP_SYM.
17165 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17166 "bp-asm.h".
17167 (strcat): Do not use BP_SYM.
17168 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17169 "bp-asm.h".
17170 (STRCMP): Do not use BP_SYM.
17171 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17172 "bp-asm.h".
17173 (STRCPY): Do not use BP_SYM.
17174 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17175 "bp-asm.h".
17176 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17177 "bp-asm.h".
17178 (FUNCTION): Do not use BP_SYM.
17179 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17180 weak_alias.
17181 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17182
f238fd19
AJ
171832013-02-17 Andreas Jaeger <aj@suse.de>
17184
17185 * time/Versions: Sort entries.
17186 * string/Versions: Likewise.
17187 * resolv/Versions: Likewise.
17188 * posix/Versions: Likewise.
17189 * iconv/Versions: Likewise.
17190 * elf/Versions: Likewise.
17191 * wcsmbs/Versions: Likewise.
17192
bd07f23c 171932013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17194
22af19f9
SP
17195 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17196 loop termination condition.
17197
4709fe76
SP
17198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17199 variable to calculate EZ.
17200 (__sqr): Likewise.
2d0e0f29
SP
17201
17202 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17203 the lower precision input.
17204
daaa7713
JM
172052013-02-15 Joseph Myers <joseph@codesourcery.com>
17206
17207 [BZ #13550]
17208 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17209 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17210 (run-via-rtld-prefix): Do not handle %-bp tests.
17211 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17212 (all-object-suffixes): Remove .ob.
17213 (bppfx): Remove variable.
17214 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17215 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17216 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17217 [$(build-bounded) = yes] (libtype.ob): Likewise.
17218 * Makerules (elide-routines.ob): Remove variable.
17219 (do-tests-clean): Do not handle *-bp.out.
17220 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17221 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17222 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17223 (tests): Do not include $(tests-bp.out).
17224 (xtests): Do not include $(xtests-bp.out).
17225 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17226 [$(build-bounded) = yes] ($(addprefix
17227 $(objpfx),$(binaries-bounded))): Remove rule.
17228 ($(objpfx)%-bp.out): Remove rule.
17229 * config.make.in (build-bounded): Remove variable.
17230 * crypt/Makefile [$(build-bounded) = yes]
17231 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17232 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17233 append to variable.
17234 [$(build-bounded) = yes] (install-lib): Likewise.
17235 [$(build-bounded) = yes] (generated): Likewise.
17236 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17237 Remove rule.
17238 * intl/Makefile [$(build-bounded) = yes]
17239 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17240 * math/Makefile [$(build-bounded) = yes]
17241 ($(tests:%=$(objpfx)%-bp): Likewise.
17242 * misc/Makefile [$(build-bounded) = yes]
17243 ($(objpfx)tst-tsearch-bp): Likewise.
17244 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17245 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17246 Remove dependency.
17247 * string/Makefile (o-objects.ob): Remove variable.
17248 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17249 (CFLAGS-.ob): Remove variable.
17250 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17251 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17252 both definitions of variable.
17253 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17254 (ASFLAGS-.ob): Remove variable.
17255
e97ed6dd
JM
172562013-02-14 Joseph Myers <joseph@codesourcery.com>
17257
2bdd4ca6
JM
17258 [BZ #13550]
17259 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17260 Remove __BOUNDED_POINTERS__ from condition.
17261 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17262 * string/bits/string2.h [!__NO_STRING_INLINES &&
17263 !__BOUNDED_POINTERS__]: Likewise.
17264 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17265 Likewise.
17266 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17267 Remove conditional code.
17268 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17269 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17270 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17271 condition.
17272
e97ed6dd
JM
17273 [BZ #13550]
17274 * csu/libc-start.c: Do not include <bp-sym.h>.
17275 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17276 * elf/dl-open.c: Do not include <bp-sym.h>.
17277 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17278 * math/fegetenv.c: Do not include <bp-sym.h>.
17279 (fegetenv): Do not use BP_SYM in versioned symbols.
17280 * nptl/sysdeps/pthread/bits/libc-lockP.h
17281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17282 <bp-sym.h>.
17283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17284 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17286 (__pthread_mutex_destroy): Likewise.
17287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17288 (__pthread_mutex_lock): Likewise.
17289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17290 (__pthread_mutex_trylock): Likewise.
17291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17292 (__pthread_mutex_unlock): Likewise.
17293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17294 (__pthread_mutexattr_init): Likewise.
17295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17296 (__pthread_mutexattr_destroy): Likewise.
17297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17298 (__pthread_mutexattr_settype): Likewise.
17299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17300 (__pthread_rwlock_init): Likewise.
17301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17302 (__pthread_rwlock_destroy): Likewise.
17303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17304 (__pthread_rwlock_rdlock): Likewise.
17305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17306 (__pthread_rwlock_tryrdlock): Likewise.
17307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17308 (__pthread_rwlock_wrlock): Likewise.
17309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17310 (__pthread_rwlock_trywrlock): Likewise.
17311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17312 (__pthread_rwlock_unlock): Likewise.
17313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17314 (__pthread_key_create): Likewise.
17315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17316 (__pthread_setspecific): Likewise.
17317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17318 (__pthread_getspecific): Likewise.
17319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17320 Likewise.
17321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17322 (_pthread_cleanup_push_defer): Likewise.
17323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17324 (_pthread_cleanup_pop_restore): Likewise.
17325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17326 (pthread_setcancelstate): Likewise.
17327 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17328 <bp-sym.h>.
17329 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17330 (memchr): Do not use BP_SYM in weak_alias.
17331 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17332 (fegetenv): Do not use BP_SYM in versioned symbols.
17333 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17334 (fesetenv): Do not use BP_SYM in versioned symbols.
17335 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17336 (feupdateenv): Do not use BP_SYM in versioned symbols.
17337 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17338 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17339 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17340 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17341 (open64): Do not use BP_SYM in weak_alias.
17342 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17343 (fegetenv): Do not use BP_SYM in versioned symbols.
17344 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17345 (fesetenv): Do not use BP_SYM in versioned symbols.
17346 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17347 (feupdateenv): Do not use BP_SYM in versioned symbols.
17348 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17349 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17350 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17351 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17352 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17353 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17354 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17355 <bp-sym.h>.
17356 (__libc_start_main): Do not use BP_SYM.
17357
d6752ccd
SP
173582013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17359
cb57ce60
SP
17360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17361 redundant return line.
17362 (norm): Likewise.
17363 (denorm): Likewise.
17364 (dbl_mp): Likewise.
17365 (sub_magnitudes): Likewise.
17366 (__add): Likewise.
17367 (__sub): Likewise.
17368 (__mul): Likewise.
17369 (__inv): Likewise.
17370 (__dvd): Likewise.
17371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17372 (norm): Likewise.
17373 (denorm): Likewise.
17374 (dbl_mp): Likewise.
17375 (sub_magnitudes): Likewise.
17376 (__add): Likewise.
17377 (__sub): Likewise.
17378 (__mul): Likewise.
17379 (__inv): Likewise.
17380 (__dvd): Likewise.
17381
f414520d
SP
17382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17383 instead of __mul.
17384 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17385 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17386 (cc32): Likewise.
17387
d6752ccd
SP
17388 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17389 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17390 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17391 of __mul for squares.
17392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17393 function
17394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17395 Likewise.
17396 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17397 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17398
70d9946a
JM
173992013-02-13 Joseph Myers <joseph@codesourcery.com>
17400
17401 [BZ #13550]
17402 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17403 code.
17404 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17405 prototype or function definition. Rename ubp_* variables and
17406 parameters. Remove argv definitions conditional on
17407 [__BOUNDED_POINTERS__].
17408 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17409 * elf/dl-runtime.c (_dl_fixup): Likewise.
17410 * include/set-hooks.h (RUN_HOOK): Likewise.
17411 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17412 definition.
17413 * string/strcpy.c (strcpy): Do not use __unbounded.
17414 * sysdeps/generic/frame.h (struct layout): Likewise.
17415 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17416 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17417 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17418 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17419 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17420 (__backtrace): Likewise.
17421 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17422 use __ptrvalue.
17423 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17424 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17425 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17426 Likewise.
17427 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17428 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17429 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17430 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17431 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17432 Do not use __unbounded.
17433 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17434 Rename __unboundedrlimits parameter to rlimits in prototype.
17435 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17436 Do not use __unbounded.
17437 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17438 not use __ptrvalue.
17439 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17440 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17441 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17442 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17443 __ptrvalue or __unbounded.
17444 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17445 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17446 use __unbounded.
17447 (__new_msgctl): Do not use __ptrvalue.
17448 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17449 __unbounded.
17450 (__libc_msgrcv): Do not use __ptrvalue.
17451 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17452 startup_info): Do not use __unbounded.
17453 (__libc_start_main): Likewise. Rename ubp_* variables and
17454 parameters. Remove argv definitions conditional on
17455 [__BOUNDED_POINTERS__].
17456 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17457 __ptrvalue.
17458 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17459 use __unbounded.
17460 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17461 or __ptrvalue.
17462 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17463 use __unbounded.
17464 (__new_shmctl): Do not use __ptrvalue.
17465 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17466 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17467 Likewise.
17468 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17470 (__libc_sigaction): Likewise.
17471 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17472 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17473 Likewise.
17474 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17475
cc7834d6
OB
174762013-02-13 Ondřej Bílka <neleai@seznam.cz>
17477
ffb1ec7b 17478 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17479
17480 * string/mempcpy.c: Implement by calling memcpy.
17481
bdf02814
SP
174822013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17483
c2af38aa
SP
17484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17485
4e92d59e
SP
17486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17487 evaluation.
17488
909279a5
SP
17489 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17490 values in the mantissa.
17491
bdf02814
SP
17492 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17493 minimize writes to Z.
17494 (sub_magnitudes): Simplify code a bit.
17495
cd525923
RM
174962013-02-12 Roland McGrath <roland@hack.frob.com>
17497
17498 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17499 from the message. The linker prefixes all warnings with that already.
17500
7e2f0d2d
AS
175012013-02-12 Andreas Schwab <schwab@suse.de>
17502
a445af0b
AS
17503 [BZ #15078]
17504 * posix/regexec.c (extend_buffers): Add parameter min_len.
17505 (check_matching): Pass minimum needed length.
17506 (clean_state_log_if_needed): Likewise.
17507 (get_subexp): Likewise.
17508 * posix/Makefile (tests): Add bug-regex34.
17509 (bug-regex34-ENV): Define.
17510 * posix/bug-regex34.c: New file.
17511
7e2f0d2d
AS
17512 [BZ #11561]
17513 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17514 elements compare against the byte sequence of it, not its name.
17515 * posix/Makefile (tests): Add bug-regex35.
17516 (bug-regex35-ENV): Define.
17517 * posix/bug-regex35.c: New file.
17518
a175b684
TV
175192013-02-11 Tom de Vries <tom@codesourcery.com>
17520
17521 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17522 comment.
17523 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17524 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17525 (CHECK_EOL): Add undef.
17526
310998fe 175272013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17528
17529 * bits/stdlib-bsearch.h: New file.
17530 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17531 * stdlib/stdlib.h: Likewise.
41eda41d 17532
8ded91fb
RM
175332013-02-11 Roland McGrath <roland@hack.frob.com>
17534
17535 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17536 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17537 declaration.
17538 * manual/search.texi (Array Search Function): Add missing const in
17539 lfind prototype.
17540 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17541 declaration to use rlim_t.
17542 (Basic Scheduling Functions): Remove erroneous const from
17543 sched_getparam prototype. Remove erroneous * from
17544 sched_get_priority_max and sched_get_priority_min prototypes.
17545 (Resource Usage): Fix summary @comment on vtimes to refer to
17546 sys/vtimes.h rather than vtimes.h.
17547 Add missing *s in vtimes prototype.
17548 (Limits on Resources): Fix ulimit prototype to return long int.
17549 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17550 prototypes to use long int rather than double.
17551 (BSD Random): Fix initstate and setstate to use char *, not void *.
17552 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17553 prototype to make second argument 'struct aiocb64 *const[]'.
17554 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17555 (Status of AIO Operations): Remove erroneous const in aio_return and
17556 aio_return64 prototypes.
17557 (Synchronizing I/O): Fix sync prototype to return void.
17558 * manual/startup.texi (Suboptions): Remove an erroneous const in
17559 getsubopt prototype.
17560 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17561 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17562 use size_t rather than int.
17563 (Scanning All Users): Likewise for getpwent_r.
17564 (Setting Groups): Add missing const to setgroups prototype.
17565 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17566 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17567 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17568 'const void *' rather than 'const char *'.
17569 (Host Address Functions): Likewise for inet_ntop.
17570 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17571 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17572 ssize_t for return value.
17573 (Sending Data): Likewise for send, sendto, sendmsg.
17574 (Socket Option Functions): Add a missing const in setsockopt prototype.
17575 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17576 use wchar_t for the argument.
17577 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17578 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17579 take no arguments.
17580 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17581 double/float/long double for second argument.
17582 Fix return types of significand, significandf, significandl.
17583 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17584 argument in fchmod prototype.
17585 (File Owner): Use uid_t and gid_t in fchown prototype.
17586 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17587 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17588 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17589 use 'const struct dirent **' as argument types to CMP function pointer
17590 argument.
17591 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17592 (File Times): Fix summary magic @comment for struct utimbuf and utime
17593 to refer to utime.h, not time.h.
17594 * manual/string.texi (Argz Functions): Add missing const in
17595 argz_extract and argz_next prototypes.
17596 (Finding Tokens in a String): Likewise for basename.
17597 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17598 (Copying and Concatenation): Fix typo in wmemmove prototype.
17599 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17600 (Signal Stack): Remove erroneous const in sigstack prototype.
17601 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17602 prototype.
17603 (Simple Calendar Time): Likewise for stime.
17604 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17605 prototype.
17606 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17607 say sys/sysctl.h instead.
17608 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17609 and vsyslog prototypes.
17610
fe77fe6d
TV
176112013-02-11 Tom de Vries <tom@codesourcery.com>
17612
17613 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17614 Remove.
17615
3a09b620
RM
176162013-02-11 Roland McGrath <roland@hack.frob.com>
17617
17618 * misc/sys/mman.h: Fix typo in mremap comment.
17619
550a0b89
RM
176202013-02-08 Roland McGrath <roland@hack.frob.com>
17621
17622 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17623 the '\0' terminator.
17624
a2da1673
JM
176252013-02-08 Joseph Myers <joseph@codesourcery.com>
17626
17627 [BZ #13550]
17628 * debug/segfault.c: Don't include <bp-checks.h>.
17629 * sysdeps/generic/bp-checks.h: Remove file.
17630 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17631 (__GETDENTS): Don't use CHECK_N.
17632 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17633 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17634 (__getgroups): Don't use CHECK_N.
17635 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17636 (setgroups): Don't use CHECK_N.
17637 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17638 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17639 (__libc_msgrcv): Don't use CHECK_N.
17640 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17641 (__libc_msgsnd): Don't use CHECK_N.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17643 <bp-checks.h>.
17644 (__libc_pread): Don't use CHECK_N.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17646 include <bp-checks.h>.
17647 (__libc_pread64): Don't use CHECK_N.
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17649 include <bp-checks.h>.
17650 (__libc_pwrite): Don't use CHECK_N.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17652 include <bp-checks.h>.
17653 (__libc_pwrite64): Don't use CHECK_N.
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17655 <bp-checks.h>.
17656 (__libc_pread): Don't use CHECK_N.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17658 include <bp-checks.h>.
17659 (__libc_pread64): Don't use CHECK_N.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17661 include <bp-checks.h>.
17662 (__libc_pwrite): Don't use CHECK_N.
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17664 include <bp-checks.h>.
17665 (__libc_pwrite64): Don't use CHECK_N.
17666 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17667 (do_pread): Don't use CHECK_N.
17668 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17669 (do_pread64): Don't use CHECK_N.
17670 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17671 (do_pwrite): Don't use CHECK_N.
17672 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17673 (do_pwrite64): Don't use CHECK_N.
17674 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17675 (__libc_readv): Don't use CHECK_N.
17676 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17677 (semop): Don't use CHECK_N.
17678 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17679 <bp-checks.h>.
17680 (semtimedop): Don't use CHECK_N.
17681 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17682 (__libc_pread): Don't use CHECK_N.
17683 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17684 <bp-checks.h>.
17685 (__libc_pread64): Don't use CHECK_N.
17686 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17687 <bp-checks.h>.
17688 (__libc_pwrite): Don't use CHECK_N.
17689 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17690 <bp-checks.h>.
17691 (__libc_pwrite64): Don't use CHECK_N.
17692 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17693 <bp-checks.h>.
17694 (__libc_msgrcv): Don't use CHECK_N.
17695 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17696 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17697 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17698 (__libc_writev): Don't use CHECK_N.
17699
b84660a8
RM
177002013-02-08 Roland McGrath <roland@hack.frob.com>
17701
7f3e75f8
RM
17702 * string/strcpy.c: Removed unused variable.
17703
b84660a8
RM
17704 * Makeconfig (+sysdep-includes): Define with := rather than =.
17705 Use an existing include/ subdir of each sysdeps dir before it.
17706
471514d3
CD
177072013-02-08 Carlos O'Donell <carlos@redhat.com>
17708
17709 * nscd/connection.c (register_traced_file): Comment function.
17710 [HAVE_INOTIFY] (union __inev): Define.
17711 [HAVE_INOTIFY] (inotify_check_files): New function.
17712 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17713 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17714 clear_db_cache.
17715 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17716
b2d3c3be
CD
177172013-02-08 Carlos O'Donell <carlos@redhat.com>
17718
17719 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17720 loaded if not already and that a failure is permanent.
17721
b39949d2
CD
177222013-02-08 Carlos O'Donell <carlos@redhat.com>
17723
ddacd1db 17724 [BZ #15006]
b39949d2
CD
17725 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17726 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17727
b2c9eff4
JM
177282013-02-08 Joseph Myers <joseph@codesourcery.com>
17729
f3aae3f3
JM
17730 [BZ #13550]
17731 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17732 (CHECK_1_NULL_OK): Likewise.
17733 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17734 (__fxstat): Do not use CHECK_1.
17735 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17736 <bp-checks.h>.
17737 (___fxstat64): Do not use CHECK_1.
17738 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17739 <bp-checks.h>.
17740 (__fxstatat): Do not use CHECK_1.
17741 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17742 <bp-checks.h>.
17743 (__fxstatat64): Do not use CHECK_1.
17744 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17745 <bp-checks.h>.
17746 (__fxstat): Do not use CHECK_1.
17747 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17748 <bp-checks.h>.
17749 (__fxstatat): Do not use CHECK_1.
17750 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17751 <bp-checks.h>.
17752 (__getresgid): Do not use CHECK_1.
17753 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17754 <bp-checks.h>.
17755 (__getresuid): Do not use CHECK_1.
17756 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17757 <bp-checks.h>.
17758 (__lxstat): Do not use CHECK_1.
17759 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17760 <bp-checks.h>.
17761 (__old_msgctl): Do not use CHECK_1.
17762 (__new_msgctl): Likewise.
17763 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17764 <bp-checks.h>.
17765 (__new_setrlimit): Do not use CHECK_1.
17766 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17767 <bp-checks.h>.
17768 (__old_shmctl): Do not use CHECK_1.
17769 (__new_shmctl): Likewise.
17770 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17771 <bp-checks.h>.
17772 (__xstat): Do not use CHECK_1.
17773 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17774 (__lxstat): Do not use CHECK_1.
17775 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17776 <bp-checks.h>.
17777 (___lxstat64): Do not use CHECK_1.
17778 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17779 (__old_msgctl): Do not use CHECK_1.
17780 (__new_msgctl): Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17782 <bp-checks.h>.
17783 (__gettimeofday): Do not use CHECK_1.
17784 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17785 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17786 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17787 <bp-checks.h>.
17788 (__gettimeofday): Do not use CHECK_1.
17789 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17790 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17791 (__new_shmctl): Do not use CHECK_1.
17792 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17793 <bp-checks.h>.
17794 (do_sigtimedwait): Do not use CHECK_1.
17795 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17796 <bp-checks.h>.
17797 (do_sigwaitinfo): Do not use CHECK_1.
17798 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17799 <bp-checks.h>.
17800 (msgctl): Do not use CHECK_1.
17801 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17802 <bp-checks.h>.
17803 (shmctl): Do not use CHECK_1.
17804 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17805 (ustat): Do not use CHECK_1.
17806 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17807 <bp-checks.h>.
17808 (__fxstat): Do not use CHECK_1.
17809 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17810 <bp-checks.h>.
17811 (__fxstatat): Do not use CHECK_1.
17812 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17813 <bp-checks.h>.
17814 (__lxstat): Do not use CHECK_1.
17815 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17816 <bp-checks.h>.
17817 (__xstat): Do not use CHECK_1.
17818 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17819 (__xstat): Do not use CHECK_1.
17820 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17821 (___xstat64): Do not use CHECK_1.
17822
b2c9eff4
JM
17823 [BZ #13550]
17824 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17825 definitions.
17826 (CHECK_BOUNDS_HIGH): Likewise.
17827 * string/strcpy.c: Do not include <bp-checks.h>.
17828 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17829
f1d70dad
RM
178302013-02-07 Roland McGrath <roland@hack.frob.com>
17831
17832 * nscd/nscd-client.h (__nscd_drop_map_ref):
17833 Add __attribute__ ((unused)).
17834 * nis/nss-nisplus.h (niserr2nss): Likewise.
17835
17836 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17837 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17838
17839 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17840 Remove inline keyword.
17841 * include/rounding-mode.h (round_away): Likewise.
17842 * libio/wfileops.c (adjust_wide_data): Likewise.
17843 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17844 (__m128i_strloadu_tolower): Likewise.
17845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17846 (__m128i_strloadu_tolower): Likewise.
17847 * time/mktime.c (ydhms_diff): Likewise.
17848 * locale/elem-hash.h (elem_hash): Likewise.
17849 * locale/setlocale.c (setdata): Likewise.
17850 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17851 (re_string_wchar_at): Likewise.
17852 (bitset_not, bitset_merge, bitset_mask): Likewise.
17853 [!(__GNUC__ > 3)] (inline): Remove macro.
17854 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17855 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17856 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17857 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17858 * string/memcmp.c (memcmp_bytes): Likewise.
17859 * locale/programs/locarchive.c (compute_hashval): Likewise.
17860 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17861 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17862 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17863 * nss/getent.c (print_rpc, print_protocols): Likewise.
17864 (print_passwd, print_group, print_aliases): Likewise.
17865 * nis/nss-nisplus.h (niserr2nss): Likewise.
17866 * nscd/connections.c (restart_p): Likewise.
17867 Change return type to bool.
17868
eab55bfb
RM
178692013-02-05 Roland McGrath <roland@hack.frob.com>
17870
7bd642f5
RM
17871 * Makeconfig (all-Depend-files): Add existing
17872 $(sorted-subdirs:=/Depend) files.
17873 (all-subdirs): Remove nss.
17874 * sysdeps/unix/inet/Subdirs: Add it here instead.
17875 * hesiod/Depend: New file.
17876
573c29b2
RM
17877 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17878 instead of calling alloca.
17879
b2e25af0
RM
17880 * io/lseek.c (__lseek): Rename to __libc_lseek.
17881 Define __lseek as an alias.
17882
eab55bfb
RM
17883 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17884
9a0d1941
CD
178852013-02-04 Carlos O'Donell <carlos@redhat.com>
17886
17887 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17888 else clause and remove check for non-standard endianness.
17889
b83bbec4
DM
178902013-02-04 David S. Miller <davem@davemloft.net>
17891
17892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17893
6277fdab
JM
178942013-02-04 Joseph Myers <joseph@codesourcery.com>
17895
17896 [BZ #13550]
17897 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17898 (__ubp_memchr): Remove prototype.
17899 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17900 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17901 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17902 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17903 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17904 Remove alias.
17905 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17906 (__ubp_memchr): Likewise.
17907 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17908 (__ubp_memchr): Likewise.
17909 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17910 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17911 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17912 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17913 CHECK_STRING.
17914 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17915 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17916 (__getcwd): Do not use CHECK_STRING.
17917 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17918 <bp-checks.h>.
17919 (__real_chown): Do not use CHECK_STRING.
17920 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17921 <bp-checks.h>.
17922 (fchownat): Do not use CHECK_STRING.
17923 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17924 CHECK_STRING.
17925 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17926 <bp-checks.h>.
17927 (__lchown): Do not use CHECK_STRING.
17928 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17929 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17930 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17931 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17933 include <bp-checks.h>.
17934 (truncate64): Do not use CHECK_STRING.
17935 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17936 <bp-checks.h>.
17937 (__real_chown): Do not use CHECK_STRING.
17938 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17939 <bp-checks.h>.
17940 (__lchown): Do not use CHECK_STRING.
17941 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17942 <bp-checks.h>.
17943 (__chown): Do not use CHECK_STRING.
17944 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17945 <bp-checks.h>.
17946 (truncate64): Do not use CHECK_STRING.
17947 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17948 Likewise.
17949 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17950 (__xmknod): Do not use CHECK_STRING.
17951 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17952 <bp-checks.h>.
17953 (__xmknodat): Do not use CHECK_STRING.
17954 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17955 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17956
903ae060
AS
179572013-02-04 Andreas Schwab <schwab@suse.de>
17958
17959 [BZ #14142]
17960 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17961 * include/netdb.h: Likewise for h_errno.
17962 * elf/tst-stackguard1.c: Include <tls.h>.
17963
542f9466
JK
179642013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17965
17966 * elf/link.h (struct link_map): Extend the l_addr comment.
17967 * include/link.h (struct link_map): Likewise.
17968
e782a927
JM
179692013-02-01 Joseph Myers <joseph@codesourcery.com>
17970
17971 [BZ #13550]
17972 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17973 (BOUNDED_1): Remove macro.
17974 * debug/backtrace.c: Don't include <bp-checks.h>.
17975 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17976 (__backtrace): Likewise.
17977 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17978 <bp-checks.h>.
17979 (__backtrace): Don't use BOUNDED_1.
17980 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17981 <bp-checks.h>.
17982 (__backtrace): Don't use BOUNDED_1.
17983 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17984 (__backtrace): Don't use BOUNDED_1.
17985 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17986 (shmat): Don't use BOUNDED_N.
17987
8cf28c5e
JM
179882013-01-31 Joseph Myers <joseph@codesourcery.com>
17989
3a7ac8a0
JM
17990 [BZ #13550]
17991 * sysdeps/generic/bp-start.h: Remove file.
17992 * csu/libc-start.c: Don't include <bp-start.h>.
17993 (LIBC_START_MAIN): Set up __environ directly instead of using
17994 INIT_ARGV_and_ENVIRON.
17995 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17996 <bp-start.h>.
17997
f3499f95
JM
17998 [BZ #13550]
17999 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18000 definitions.
18001 (CHECK_FCNTL): Likewise.
18002 (CHECK_N_PAGES): Likewise.
18003
32a45bea
JM
18004 [BZ #13550]
18005 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18006 definitions.
18007 (CHECK_SIGSET_NULL_OK): Likewise.
18008 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18009 <bp-checks.h>.
18010 (sigpending): Don't use CHECK_SIGSET.
18011 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18012 <bp-checks.h>.
18013 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18014 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18015 <bp-checks.h>.
18016 (do_sigsuspend): Don't use CHECK_SIGSET.
18017 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18018 use CHECK_SIGSET.
18019 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18020 (do_sigwait): Don't use CHECK_SIGSET.
18021 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18022 use CHECK_SIGSET.
18023 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18024 include <bp-checks.h>.
18025 (sigpending): Don't use CHECK_SIGSET.
18026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18027 include <bp-checks.h>.
18028 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18029 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18030 <bp-checks.h>.
18031 (sigpending): Don't use CHECK_SIGSET.
18032 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18033 <bp-checks.h>.
18034 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18035
2e8a5c8c
JM
18036 [BZ #13550]
18037 * sysdeps/generic/bp-semctl.h: Remove file.
18038 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18039 <bp-checks.h> and <bp-semctl.h>.
18040 (__old_semctl): Don't use CHECK_SEMCTL.
18041 (__new_semctl): Likewise.
18042 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18043 and <bp-semctl.h>.
18044 (__old_semctl): Don't use CHECK_SEMCTL.
18045 (__new_semctl): Likewise.
18046 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18047 <bp-checks.h> and <bp-semctl.h>.
18048 (__old_semctl): Don't use CHECK_SEMCTL.
18049 (__new_semctl): Likewise.
18050 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18051 <bp-checks.h> and <bp-semctl.h>.
18052 (semctl): Don't use CHECK_SEMCTL.
18053
c2d54929
JM
18054 [BZ #13550]
18055 * Makerules (elide-bp-thunks): Remove variable.
18056 (elide-routines.oS): Don't use $(elide-bp-thunks).
18057 (elide-routines.os): Likewise.
18058 (elide-routines.o): Likewise.
18059 (elide-routines.op): Likewise.
18060 (elide-routines.og): Likewise.
18061 (objects): Don't use $(bp-thunks).
18062 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18063 include.
18064 (common-generated): Do not add s-proto-bp.d.
18065 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18066 (int): Likewise.
18067 (typ): Likewise.
18068 Do not generate makefile rules for bounded-pointer thunks.
18069 * sysdeps/generic/bp-thunks.h: Remove file.
18070 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18071 * sysdeps/unix/s-proto-bp.S: Likewise.
18072
8cf28c5e
JM
18073 [BZ #15062]
18074 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18075 parts of result separately when argument is not close to line from
18076 -i to i and one part of argument is small.
18077 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18078 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18079 * math/libm-test.inc (cacos_test): Add more tests.
18080 (casin_test): Likewise.
18081 (casinh_test): Likewise.
18082 * sysdeps/i386/fpu/libm-test-ulps: Update.
18083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18084
c4e33b8d
DM
180852013-01-31 David S. Miller <davem@davemloft.net>
18086
18087 * po/de.po: Update from translation team.
18088
3b60b421
MK
180892013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18090
18091 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18092
bb931195
TS
180932013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18094
b5a5da23
TS
18095 * configure.in (_AC_PROG_CC_C89): New definition.
18096 * configure: Regenerate.
18097
bb931195
TS
18098 * configure.in (AC_PROG_CPP): New definition.
18099 * configure: Regenerate.
18100
8c53a12c
JM
181012013-01-23 Joseph Myers <joseph@codesourcery.com>
18102
18103 * debug/tst-backtrace.h: New file.
18104 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18105 (ret): Remove variable.
18106 (x): Likewise.
18107 (FAIL): Remove macro.
18108 (NO_INLINE): Likewise.
18109 (fn1): Use match function instead of strstr.
18110 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18111 (ret): Remove variable.
18112 (x): Likewise.
18113 (FAIL): Remove macro.
18114 (NO_INLINE): Likewise.
18115 (fn): Use match function instead of strstr.
18116 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18117 (ret): Remove variable.
18118 (x): Likewise.
18119 (FAIL): Remove macro.
18120 (NO_INLINE): Likewise.
18121 (handle_signal): Use match function instead of strstr.
18122 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18123 (ret): Remove variable.
18124 (x): Likewise.
18125 (FAIL): Remove macro.
18126 (NO_INLINE): Likewise.
18127 (handle_signal): Use match function instead of strstr.
18128
4858fa2a
RM
181292013-01-23 Roland McGrath <roland@hack.frob.com>
18130
18131 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18132
bae8e7f5
DM
181332013-01-23 David S. Miller <davem@davemloft.net>
18134
18135 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18136 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18137 argument of CAS if possible.
18138 * sysdeps/sparc/sparc64/bits/atomic.h
18139 (__arch_compare_and_exchange_val_32_acq): Likewise.
18140 (__arch_compare_and_exchange_val_64_acq): Likewise.
18141
9cbbc4ae
PT
181422013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18143
18144 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18145 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18146 Include <limits.h>.
67b3f58c 18147 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18148
5655a0b5
AC
181492013-01-23 Adam Conrad <adconrad@0c3.net>
18150
18151 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18152 (LDFLAGS-tst-array5): Likewise.
18153
052aff95
JM
181542013-01-23 Joseph Myers <joseph@codesourcery.com>
18155
18156 [BZ #15036]
18157 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18158 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18159 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18160 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18161
7c1e01aa
DM
181622013-01-21 David S. Miller <davem@davemloft.net>
18163
18164 * sysdeps/sparc/backtrace.c: New file.
18165 * sysdeps/sparc/sparc32/backtrace.h: New file.
18166 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18167 * sysdeps/sparc/sparc64/backtrace.h: New file.
18168 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18169 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18170 -funwind-tables.
18171
ab087e0a
AS
181722013-01-21 Andreas Schwab <schwab@suse.de>
18173
18174 [BZ #15020]
18175 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18176 closed its stdout.
18177
ed689c2f
AS
181782013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18179
18180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18181 "mpa2.h".
18182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18183
31d470ac
JM
181842013-01-18 Joseph Myers <joseph@codesourcery.com>
18185 Mark Mitchell <mark@codesourcery.com>
18186 Tom de Vries <tom@codesourcery.com>
18187 Paul Pluzhnikov <ppluzhnikov@google.com>
18188
18189 * debug/tst-backtrace2.c: New file.
18190 * debug/tst-backtrace3.c: Likewise.
18191 * debug/tst-backtrace4.c: Likewise.
18192 * debug/tst-backtrace5.c: Likewise.
18193 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18194 (CFLAGS-tst-backtrace3.c): Likewise.
18195 (CFLAGS-tst-backtrace4.c): Likewise.
18196 (CFLAGS-tst-backtrace5.c): Likewise.
18197 (LDFLAGS-tst-backtrace2): Likewise.
18198 (LDFLAGS-tst-backtrace3): Likewise.
18199 (LDFLAGS-tst-backtrace4): Likewise.
18200 (LDFLAGS-tst-backtrace5): Likewise.
18201 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18202 tst-backtrace4 and tst-backtrace5.
18203
90567f30 182042013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18205 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18206
18207 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18208 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18209 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18210 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18212 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18213 "+r" and remove output regs list as redundant. Add explicit inline
18214 asm to specify register of return val to work around compiler codegen
18215 bug. Remove (int) cast on return value. Add return type parameter to
18216 use in macro so that this macro does not truncate return value for
18217 64-bit values.
18218 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18219 pass to INTERNAL_VSYSCALL_NCS.
18220 (INLINE_VSYSCALL): Add 'long int' as return type to
18221 INTERNAL_VSYSCALL_NCS macro invocation.
18222 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18223 INTERNAL_VSYSCALL_NCS macro invocation.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18225
d3b9ea61
SP
182262013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18227
0b57daeb
SP
18228 [BZ #14496]
18229 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18230 Fix application of SIMD FP exception mask.
18231
caa99d06
SP
18232 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18233 mp_no from a power of two.
18234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18235 __mpexp_twomm1. Use __pow_mp.
18236
d3b9ea61
SP
18237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18238 multiplication.
18239
1dbaee3c
DM
182402013-01-17 David S. Miller <davem@davemloft.net>
18241
18242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18243
728d7b43
JM
182442013-01-17 Joseph Myers <joseph@codesourcery.com>
18245
18246 [BZ #15023]
18247 * include/complex.h: Condition contents on [!_COMPLEX_H].
18248 (__kernel_casinhf): New prototype.
18249 (__kernel_casinh): Likewise.
18250 (__kernel_casinhl): Likewise.
18251 * math/Makefile (libm_calls): Add k_casinh.
18252 * math/k_casinh.c: New file.
18253 * math/k_casinhf.c: Likewise.
18254 * math/k_casinhl.c: Likewise.
18255 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18256 finite nonzero arguments.
18257 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18258 finite nonzero arguments.
18259 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18260 finite nonzero arguments.
18261 * math/s_casinh.c: Do not include <float.h>.
18262 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18263 * math/s_casinhf.c: Do not include <float.h>.
18264 (__casinhf): Move code for finite nonzero arguments to
18265 k_casinhf.c.
18266 * math/s_casinhl.c: Do not include <float.h>.
18267 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18268 redefine.
18269 (__casinhl): Move code for finite nonzero arguments to
18270 k_casinhl.c.
18271 * math/libm-test.inc (cacos_test): Add more tests.
18272 * sysdeps/i386/fpu/libm-test-ulps: Update.
18273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18274
2a26ef3a
PT
182752013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18276
18277 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18278 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18279 [!HAVE_MREMAP]: Remove [defined linux] case.
18280 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18281
a897655d
SP
182822013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18283
18284 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18285
881ebe89 182862013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18287
18288 * elf/elf.h (R_386_SIZE32): New relocation.
18289 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18290 R_386_SIZE32.
18291 (elf_machine_rela): Likewise.
18292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18293 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18294
59981e9b
JM
182952013-01-17 Joseph Myers <joseph@codesourcery.com>
18296
18297 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18298 (FP_FAST_FMA): Do not define.
18299 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18300 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18301 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18302 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18303 !_SOFT_FLOAT]: Likewise.
18304 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18306 value.
18307 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18308 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18311 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18312 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18313 file.
18314
cfa8054f
AS
183152013-01-16 Andreas Schwab <schwab@suse.de>
18316
18317 [BZ #14327]
18318 * include/stdlib.h (__mktemp): Add declaration.
18319 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18320 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18321
dd930cc5
SP
183222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18323
881ebe89
SP
18324 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18325 definitions.
18326 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18327 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18328 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18329 definitions here.
18330 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18331 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18332 definitions.
18333 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18334 and ONE.
18335 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18336 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18337 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18338 definitions.
18339 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18340 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18341 definitions.
18342 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18343
dd930cc5
SP
18344 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18345
c19a9f89
DM
183462013-01-15 David S. Miller <davem@davemloft.net>
18347
1aa61767
DM
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18349 trunc{,f} to libm-sysdep_routes.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18352 file.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18355 file.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18357 file.
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18363 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18364 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18365 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18366
c42d5e98
DM
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18368 nearbyint{,f} to libm-sysdep_routes.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18371 New file.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18373 file.
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18375 New file.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18377 file.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18381 file.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18384 file.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18386 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18387 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18388
c19a9f89
DM
18389 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18390 libc_feholdexcept and libc_fesetenv.
18391
357679d2
MF
183922013-01-15 Mike Frysinger <vapier@gentoo.org>
18393
18394 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18395
65a82e3d
DM
183962013-01-14 David S. Miller <davem@davemloft.net>
18397
8b954ab9
DM
18398 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18399 (SPARC_ASM_VIS2_IFUNC): Likewise.
18400 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18402 use of 'siam' instruction.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18404 Likewise.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18406 Likewise.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18408 Likewise.
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18414 file.
18415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18416 file.
18417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18418 file.
18419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18420 file.
18421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18426 new VIS2 routines.
18427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18430 Likewise.
18431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18436 routines to libm-sysdep_routines.
18437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18438
65a82e3d
DM
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18440 fdim/fdimf to libm-sysdep_routines.
18441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18442 file.
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18445 file.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18449 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18450 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18452 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18453
e34ab705
SP
184542013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18455
2a91b573
SP
18456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18457 to optimize copies.
18458
1066a534
SP
18459 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18462
e34ab705
SP
18463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18464 local variable MPTWO.
18465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18466 Likewise.
18467
aba5e596
MF
184682013-01-13 Mike Frysinger <vapier@gentoo.org>
18469
18470 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18471 GLOB_NOESCAPE.
18472
e557e9e5
MF
184732013-01-13 Mike Frysinger <vapier@gentoo.org>
18474
18475 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18476
0428cec9
MF
184772013-01-13 Mike Frysinger <vapier@gentoo.org>
18478
18479 * manual/pattern.texi (glob_t): Document gl_flags.
18480 (glob64_t): Likewise.
18481
8794a964
DM
184822013-01-11 David S. Miller <davem@davemloft.net>
18483
66438c3f
RM
18484 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18485 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18486 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18487 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18488 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18489 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18490 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18491 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18492 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18493 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18494 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18495 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18496 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18497
4ae4244d
DM
18498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18499 sparc V9 rather than using V8 code.
18500 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18501 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18502
8794a964
DM
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18504 Move to...
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18506 Here.
18507
6270516e
RM
185082013-01-11 Roland McGrath <roland@hack.frob.com>
18509
18510 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18511 not in the main loop.
18512 * configure: Regenerated.
18513
6a57d931
JM
185142013-01-11 Joseph Myers <joseph@codesourcery.com>
18515
18516 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18517 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18518 to just #else.
18519 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18520 [!__GLIBC_HAVE_LONG_LONG] case.
18521 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18522 condition to just #else.
18523 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18524 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18525 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18526 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18527 unconditional.
18528 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18529 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18530 #elif condition to just #else.
18531 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18532 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18533 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18534 #elif condition to just #else.
18535
0e8529e9
SE
185362013-01-11 Steve Ellcey <sellcey@mips.com>
18537
18538 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18539 (EF_MIPS_ARCH_64): Fix value.
18540 (EF_MIPS_ARCH_32R2): New.
18541 (EF_MIPS_ARCH_64R2): New.
18542
740b3dbe
L
185432013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * Makeconfig (+link-pie-before-libc): New.
18546 (+link-pie-after-libc): Likewise.
18547 (+link-pie-tests): Likewise.
18548 (+link-pie): Rewritten.
18549 (link-before-libc): Remove $(config-LDFLAGS).
18550 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18551 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18552 (config-LDFLAGS): Renamed to ...
18553 (rtld-LDFLAGS): This.
18554 (rtld-tests-LDFLAGS): New macro.
18555 (link-libc-rpath-link): Likewise.
18556 (link-libc-tests-rpath-link): Likewise.
18557 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18558 (link-libc): Prepand $(link-libc-rpath-link).
18559 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18560 (test-program-prefix): New macro.
18561 (test-via-rtld-prefix): Likewise.
18562 (test-program-cmd): Likewise.
18563 (host-test-program-cmd): Likewise.
18564 * Makefile ($(common-objpfx)testrun.sh): Replace
18565 $(run-program-prefix) with $(test-program-prefix).
18566 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18567 $(rtld-LDFLAGS).
18568 ($(common-objpfx)shlib.lds): Likewise.
18569 (build-module-helper): Likewise.
18570 ($(common-objpfx)format.lds): Likewise.
18571 * Rules (binaries-pie-tests): New.
18572 (binaries-pie-notests): Likewise.
18573 (binaries-pie): Rewritten.
18574 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18575 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18576 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18577 (make-test-out): Replace $(host-built-program-cmd) with
18578 $(host-test-program-cmd).
18579 * config.make.in (build-hardcoded-path-in-tests): New variable.
18580 * configure.in (--enable-hardcoded-path-in-tests): New configure
18581 option.
18582 (hardcoded_path_in_tests): New AC_SUBST.
18583 * configure: Regenerated.
18584 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18585 $(built-program-cmd) with $(test-program-cmd).
18586 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18587 (test_program_cmd): This.
18588 * elf/Makefile ($(objpfx)order.out): Run test with
18589 $(test-program-prefix).
18590 ($(objpfx)order2.out): Likewise.
18591 ($(objpfx)tst-initorder.out): Likewise.
18592 ($(objpfx)tst-initorder2.out): Likewise.
18593 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18594 $(test-program-cmd).
18595 ($(objpfx)tst-array1-static.out): Likewise.
18596 ($(objpfx)tst-array2.out): Likewise.
18597 ($(objpfx)tst-array3.out): Likewise.
18598 ($(objpfx)tst-array4.out): Likewise.
18599 ($(objpfx)tst-array5.out): Likewise.
18600 ($(objpfx)tst-array5-static.out): Likewise.
18601 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18602 $(test-program-cmd).
18603 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18604 $(run-program-prefix) with $(test-program-prefix).
18605 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18606 (test_program_prefix): This.
18607 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18608 $(run-program-prefix) with $(test-program-prefix).
18609 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18610 (test_program_prefix): This.
18611 * iconvdata/tst-tables.sh: Likewise.
18612 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18613 $(run-program-prefix) with $(test-program-prefix).
18614 ($(objpfx)tst-translit.out): Likewise.
18615 ($(objpfx)tst-gettext2.out): Likewise.
18616 ($(objpfx)tst-gettext4.out): Likewise.
18617 ($(objpfx)tst-gettext6.out): Likewise.
18618 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18619 (test_program_prefix): This.
18620 * intl/tst-gettext2.sh: Likewise.
18621 * intl/tst-gettext4.sh Likewise.
18622 * intl/tst-gettext6.sh: Likewise.
18623 * intl/tst-translit.sh: Likewise.
18624 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18625 with $(test-program-cmd).
18626 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18627 $(run-program-prefix) with $(test-program-prefix).
18628 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18629 (test_program_prefix): This.
18630 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18631 $(run-program-prefix) with $(test-program-prefix).
18632 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18633 (test_program_prefix): This.
18634 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18635 * posix/Makefile ($(objpfx)globtest.out): Replace
18636 $(run-via-rtld-prefix) and $(test-wrapper) with
18637 $(test-program-prefix) and $(test-via-rtld-prefix).
18638 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18639 $(test-program-prefix).
18640 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18641 $(host-test-program-cmd).
18642 (tst-spawn-ARGS): Likewise.
18643 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18644 $(test-program-prefix).
18645 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18646 (test_via_rtld_prefix): This.
18647 (test_wrapper): Renamed to ...
18648 (test_program_prefix): This.
18649 (run_program_prefix): Replaced by test_program_prefix.
18650 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18651 (test_program_prefix): This.
18652 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18653 with $(host-test-program-cmd).
18654 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18655 $(run-program-prefix) with $(test-program-prefix).
18656 ($(objpfx)tst-printf.out): Likewise.
18657 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18658 $(test-program-cmd).
18659 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18660 (test_program_prefix): This.
18661 * stdio-common/tst-unbputc.sh: Likewise.
18662 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18663 $(run-program-prefix) with $(test-program-prefix).
18664 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18665 (test_program_prefix): This.
18666 * string/Makefile ($(objpfx)tst-svc.out): Replace
18667 $(built-program-cmd) with $(test-program-cmd).
18668
c6fe55cf
AJ
186692013-01-11 Andreas Jaeger <aj@suse.de>
18670
18671 [BZ #15003]
18672 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18673 value. Sync with Linux 3.7.
18674
9e6919c8
DM
186752013-01-10 David S. Miller <davem@davemloft.net>
18676
18677 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18678 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18679 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18680
1c9f1a02
RM
186812013-01-10 Roland McGrath <roland@hack.frob.com>
18682
18683 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18684 never set.
18685 * configure: Regenerated.
18686
b9de2dde
DM
186872013-01-10 David S. Miller <davem@davemloft.net>
18688
18689 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18690 sparc V9 rather than using V8 code.
18691 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18692 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18693
e7f68ef4
RM
186942013-01-10 Roland McGrath <roland@hack.frob.com>
18695
18696 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18697 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18698 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18699 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18700 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18701 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18702 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18703 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18704 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18705 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18706 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18707 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18708 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18709 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18710 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18711 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18712 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18713 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18714 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18715 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18716 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18717 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18718 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18719 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18720 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18721 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18722 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18723
5a47cc9c
DM
187242013-01-10 David S. Miller <davem@davemloft.net>
18725
18726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18727
4cf8f209
L
187282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18729
18730 * posix/Makefile (tests-static): New variable.
18731 (tests): Add $(tests-static).
18732 (tst-exec-static-ARGS): New variable.
18733 (tst-spawn-static-ARGS): Likewise.
18734 * posix/tst-exec-static.c: New file.
18735 * posix/tst-spawn-static.c: Likewise.
18736 * posix/tst-exec.c: Support run directly.
18737 * posix/tst-spawn.c: Likewise.
18738
fed0faa1
JM
187392013-01-10 Joseph Myers <joseph@codesourcery.com>
18740
828beb13
JM
18741 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18742 long.
18743 * math/bits/mathcalls.h (llrint): Likewise.
18744 (llround): Likewise.
18745 * stdlib/stdlib.h (struct drand48_data): Likewise.
18746 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18747 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18748 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18749 Likewise.
18750 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18751 Likewise.
18752 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18753 (elf_greg_t): Likewise.
18754 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18755 (__jmp_buf): Likewise.
18756 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18757 definitions.
18758 (llrint): Likewise, for all definitions.
18759 (llrintl): Likewise.
18760
fed0faa1
JM
18761 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18762 Remove [__GNUC__] condition.
18763 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18764 condition to just [__USE_ISOC99].
18765 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18766
1a20cb20
L
187672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18768
18769 [BZ #14200]
18770 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18771 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18772 defined.
18773 (_POSIX_V6_ILP32_OFF32): Likewise.
18774 (_XBS5_ILP32_OFF32): Likewise.
18775 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18776 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18777
751b85f7
SP
187782013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18779
7490eb81
SP
18780 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18781
751b85f7
SP
18782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18783 doubles __mpexp_twomm1. Adjust usage.
18784 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18785 Remove.
18786
988197f0
AS
187872013-01-10 Andreas Schwab <schwab@suse.de>
18788
18789 [BZ #14964]
18790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18791 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18792
e83d7298
DM
187932013-01-09 David S. Miller <davem@davemloft.net>
18794
034ed64b 18795 [BZ #15003]
e83d7298
DM
18796 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18797 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18798 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18799 TCP_FASTOPEN): Define.
18800 (tcp_repair_opt): New structure.
18801 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18802 enum values.
18803 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18804 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18805 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18806 (tcp_cookie_transactions): New structure.
18807
d5e0b9bd
AB
188082013-01-09 Anton Blanchard <anton@samba.org>
18809
18810 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18811 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18812 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18813 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18814
0c07e3ea
JM
188152013-01-09 Joseph Myers <joseph@codesourcery.com>
18816
18817 * include/features.h (__USE_ANSI): Remove.
18818
232f7002
RM
188192013-01-09 Roland McGrath <roland@hack.frob.com>
18820
ad98e30c
RM
18821 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18822
232f7002
RM
18823 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18824
950c99ca
SP
188252013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18826
b5792741
SP
18827 * sysdeps/s390/fpu/libm-test-ulps: Update.
18828
47cf2278
SP
18829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18830
950c99ca
SP
18831 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18832 (__acr): Likewise.
18833 (__cpy): Likewise.
18834 (norm): Likewise.
18835 (denorm): Likewise.
18836 (__mp_dbl): Likewise.
18837 (__dbl_mp): Likewise.
18838 (add_magnitudes): Likewise.
18839 (sub_magnitudes): Likewise.
18840 (__add): Likewise.
18841 (__sub): Likewise.
18842 (__mul): Likewise.
18843 (__inv): Likewise.
18844 (__dvd): Likewise.
18845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18846 (__acr): Likewise.
18847 (__cpy): Likewise.
18848 (norm): Likewise.
18849 (denorm): Likewise.
18850 (__mp_dbl): Likewise.
18851 (__dbl_mp): Likewise.
18852 (add_magnitudes): Likewise.
18853 (sub_magnitudes): Likewise.
18854 (__add): Likewise.
18855 (__sub): Likewise.
18856 (__mul): Likewise.
18857 (__inv): Likewise.
18858 (__dvd): Likewise.
18859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18860 (__acr): Likewise.
18861 (__cpy): Likewise.
18862 (norm): Likewise.
18863 (denorm): Likewise.
18864 (__mp_dbl): Likewise.
18865 (__dbl_mp): Likewise.
18866 (add_magnitudes): Likewise.
18867 (sub_magnitudes): Likewise.
18868 (__add): Likewise.
18869 (__sub): Likewise.
18870 (__mul): Likewise.
18871 (__inv): Likewise.
18872 (__dvd): Likewise.
18873
eede9df9
JM
188742013-01-08 Joseph Myers <joseph@codesourcery.com>
18875
18876 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18877 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18878 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18879 2 && __USE_EXTERN_INLINES]: Likewise.
18880
c40ea3d9
AJ
188812013-01-08 Andreas Jaeger <aj@suse.de>
18882
18883 [BZ# 14985]
18884 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18885 Remove.
18886 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18887 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18888
2ccdea26
AB
188892013-01-07 Anton Blanchard <anton@samba.org>
18890
18891 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18893 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18894 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18895 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18897 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18911 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18912 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18913 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18916 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18918 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18920 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18921 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18923 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18924 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18929 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18930 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18933 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18934
a9708fed
JM
189352013-01-07 Joseph Myers <joseph@codesourcery.com>
18936
375607b9
JM
18937 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18938 (__MALLOC_PMT): Likewise.
18939 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18940 [__GNUC__], only on [_LIBC].
18941 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18942 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18943 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18944 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18945 forward declaration.
18946 (realloc_hook_ini): Likewise.
18947 (memalign_hook_ini): Likewise.
18948 (__libc_memalign): Do not use __MALLOC_PMT in variable
18949 declaration.
18950 (__libc_valloc): Likewise.
18951 (__libc_pvalloc): Likewise.
18952 (__libc_calloc): Likewise.
18953 (__posix_memalign): Likewise.
18954
a9708fed
JM
18955 [BZ #14996]
18956 * math/s_casinh.c: Include <float.h>.
18957 (__casinh): Do not do computation with squaring and square root
18958 for large arguments.
18959 * math/s_casinhf.c: Include <float.h>.
18960 (__casinhf): Do not do computation with squaring and square root
18961 for large arguments.
18962 * math/s_casinhl.c: Include <float.h>.
18963 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18964 (__casinhl): Do not do computation with squaring and square root
18965 for large arguments.
18966 * math/libm-test.inc (casin_test): Add more tests.
18967 (casinh_test): Likewise.
18968 * sysdeps/i386/fpu/libm-test-ulps: Update.
18969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18970
afec409a
L
189712013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18972
18973 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18974 (__x86_64_raw_data_cache_size): Likewise.
18975 (__x86_64_data_cache_size_half): Likewise.
18976 (__x86_64_raw_data_cache_size_half): Likewise.
18977 (__x86_64_shared_cache_size): Likewise.
18978 (__x86_64_raw_shared_cache_size): Likewise.
18979 (__x86_64_shared_cache_size_half): Likewise.
18980 (__x86_64_raw_shared_cache_size_half): Likewise.
18981 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18982 to ...
18983 (__x86_data_cache_size): This.
18984 (__x86_64_raw_data_cache_size): Renamed to ...
18985 (__x86_raw_data_cache_size): This.
18986 (__x86_64_data_cache_size_half): Renamed to ...
18987 (__x86_data_cache_size_half): This.
18988 (__x86_64_raw_data_cache_size_half): Renamed to ...
18989 (__x86_raw_data_cache_size_half): This.
18990 (__x86_64_shared_cache_size): Renamed to ...
18991 (__x86_shared_cache_size): This.
18992 (__x86_64_raw_shared_cache_size): Renamed to ...
18993 (__x86_raw_shared_cache_size): This.
18994 (__x86_64_shared_cache_size_half): Renamed to ...
18995 (__x86_shared_cache_size_half): This.
18996 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18997 (__x86_raw_shared_cache_size_half): This.
18998 * sysdeps/x86_64/memcpy.S: Updated.
18999 * sysdeps/x86_64/memset.S: Likewise.
19000 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19001 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19003
0b3986d0
DM
190042013-01-04 David S. Miller <davem@davemloft.net>
19005
19006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19007
e47686e9
AS
190082013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19009
d643bac1
AS
19010 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19011 1 to avoid redefinition warning.
19012 (__USE_GNU): Don't define.
19013 (init_signaling_nan): Protoize.
19014
e47686e9
AS
19015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19016
b18decba
SP
190172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19018
fffb407f
SP
19019 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19021 (__cpymn): Likewise.
19022 (norm): Remove commented code.
19023 (denorm): Likewise.
19024 (__mp_dbl): Likewise.
19025 (__inv): Likewise.
19026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19027 (__cpymn): Likewise.
19028 (norm): Remove commented code.
19029 (denorm): Likewise.
19030 (__mp_dbl): Likewise.
19031 (__inv): Likewise.
19032
b18decba
SP
19033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19034 mp_no value for 1.0 and 2.0.
19035 (norm): Use RADIXI instead of radixi.d.
19036 (denorm): Likewise.
19037 (__mul): Use 0.0 instead of zero.d.
19038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19039 mp_no value for 1.0 and 2.0.
19040 (norm): Use RADIXI instead of radixi.d.
19041 (denorm): Likewise.
19042 (__mul): Use 0.0 instead of zero.d.
19043
cdc1c96f
JM
190442013-01-04 Joseph Myers <joseph@codesourcery.com>
19045
19046 [BZ #14994]
19047 * math/s_casinh.c (__casinh): Reduce finite argument to first
19048 quadrant then set signs of results at the end.
19049 * math/s_casinhf.c (__casinhf): Likewise.
19050 * math/s_casinhl.c (__casinhl): Likewise.
19051 * math/libm-test.inc (casin_test): Add more tests.
19052 (casinh_test): Likewise.
19053 * sysdeps/i386/fpu/libm-test-ulps: Update.
19054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19055
302913e1
SP
190562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19057
6420d207
SP
19058 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19059
a9e48ab4
SP
19060 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19061
b7837264
SP
19062 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19063 declarations.
19064 (denorm): Likewise.
19065 (__mp_dbl): Likewise.
19066 (__inv): Likewise.
19067
f8af25d2
SP
19068 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19069 and adjust the header comment.
19070
302913e1
SP
19071 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19072 variable name from declaration.
19073
5d7dd1ca
L
190742013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19075
19076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19077 Initialize COMMON_CPUID_INDEX_7 element.
19078 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19079 (CPUID_RTM): Likewise.
19080 (HAS_RTM): Likewise.
19081 (COMMON_CPUID_INDEX_7): New enum.
19082
2f5f40f4
AS
190832013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19084
19085 [BZ #14981]
19086 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19087 size is zero, record memory as freed.
19088
4056f4a0
AJ
190892013-01-03 Andreas Jaeger <aj@suse.de>
19090
19091 * po/ia.po: Add new Interlingua translation.
19092
ab15736f 190932012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19094
19095 * locale/programs/localedef.c: Fix description of '--posix' flag.
19096
568035b7
JM
190972013-01-02 Joseph Myers <joseph@codesourcery.com>
19098
e6898b8d
JM
19099 * NEWS: Update dates in second copyright notice.
19100 * README: Update copyright dates in example.
19101 * manual/libc.texinfo: Update copyright dates.
19102 * scripts/test-installation.pl: Update copyright date in --version
19103 output.
19104
0e2f9562
JM
19105 * hurd/ctty-input.c: Fix copyright notice formatting.
19106 * hurd/ctty-output.c: Likewise.
19107 * hurd/dtable.c: Likewise.
19108 * hurd/hurd-raise.c: Likewise.
19109 * hurd/hurdprio.c: Likewise.
19110 * hurd/msgportdemux.c: Likewise.
19111 * misc/sys/file.h: Likewise.
19112 * misc/sys/ioctl.h: Likewise.
19113 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19114 * sysdeps/mach/hurd/chdir.c: Likewise.
19115 * sysdeps/mach/hurd/fchdir.c: Likewise.
19116 * sysdeps/mach/hurd/rename.c: Likewise.
19117 * sysdeps/mach/hurd/rmdir.c: Likewise.
19118 * sysdeps/mach/hurd/seekdir.c: Likewise.
19119 * sysdeps/mach/hurd/setsid.c: Likewise.
19120 * sysdeps/posix/wait3.c: Likewise.
19121
568035b7
JM
19122 * All files with FSF copyright notices: Update copyright dates
19123 using scripts/update-copyrights.
19124 * intl/plural.c: Regenerated.
19125 * locale/programs/charmap-kw.h: Likewise.
19126 * locale/programs/locfile-kw.h: Likewise.
19127
da08f647
SP
191282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19129
0f5477af
SP
19130 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19131 four values.
19132
44e0d4c2
SP
19133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19134 calculation loop and add branch prediction.
19135
4d55b4e5
SP
19136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19137 check access beyond bounds of m1np.
19138
da08f647
SP
19139 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19140 MPTWO.
19141 (__inv): Remove local variable MPTWO to use the global
19142 constant.
19143 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19144 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19145 variable MPTWO.
19146 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19147 MP3HALFS static const.
19148
8e051029
DM
191492013-01-01 David S. Miller <davem@davemloft.net>
19150
19151 * po/ca.po: Update from translation team.
19152
f4cf5f2d
JM
191532013-01-01 Joseph Myers <joseph@codesourcery.com>
19154
19155 * scripts/update-copyrights: New file.
19156 * Makeconfig: Reformat copyright notice.
19157 * ctype/ctype.h: Likewise.
19158 * debug/swprintf_chk.c: Likewise.
19159 * elf/dl-cache.c: Likewise.
19160 * elf/dl-debug.c: Likewise.
19161 * elf/dl-object.c: Likewise.
19162 * grp/initgroups.c: Likewise.
19163 * hurd/Makefile: Likewise.
19164 * hurd/hurd/signal.h: Likewise.
19165 * hurd/hurdfault.c: Likewise.
19166 * hurd/hurdioctl.c: Likewise.
19167 * hurd/hurdlookup.c: Likewise.
19168 * hurd/intr-msg.c: Likewise.
19169 * iconv/gconv_open.c: Likewise.
19170 * libio/swprintf.c: Likewise.
19171 * locale/lc-ctype.c: Likewise.
19172 * locale/nl_langinfo.c: Likewise.
19173 * mach/Machrules: Likewise.
19174 * mach/Makefile: Likewise.
19175 * malloc/obstack.h: Likewise.
19176 * manual/Makefile: Likewise.
19177 * manual/tsort.awk: Likewise.
19178 * misc/bits/stab.def: Likewise.
19179 * nis/nis_print_group_entry.c: Likewise.
19180 * nis/nis_table.c: Likewise.
19181 * nis/nss_compat/compat-pwd.c: Likewise.
19182 * nis/nss_compat/compat-spwd.c: Likewise.
19183 * po/Makefile: Likewise.
19184 * posix/fnmatch.c: Likewise.
19185 * posix/regex.h: Likewise.
19186 * resolv/Makefile: Likewise.
19187 * resolv/nss_dns/dns-network.c: Likewise.
19188 * resolv/res_hconf.c: Likewise.
19189 * scripts/gen-sorted.awk: Likewise.
19190 * soft-fp/soft-fp.h: Likewise.
19191 * stdio-common/printf.h: Likewise.
19192 * stdlib/monetary.h: Likewise.
19193 * stdlib/random.c: Likewise.
19194 * stdlib/random_r.c: Likewise.
19195 * sysdeps/generic/Makefile: Likewise.
19196 * sysdeps/gnu/Makefile: Likewise.
19197 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19225 * sysdeps/mach/hurd/errnos.awk: Likewise.
19226 * sysdeps/mach/hurd/fork.c: Likewise.
19227 * sysdeps/mach/hurd/getcwd.c: Likewise.
19228 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19229 * sysdeps/mach/hurd/mmap.c: Likewise.
19230 * sysdeps/mach/hurd/utimes.c: Likewise.
19231 * sysdeps/mach/hurd/xmknod.c: Likewise.
19232 * sysdeps/posix/profil.c: Likewise.
19233 * sysdeps/posix/readdir_r.c: Likewise.
19234 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19235 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19236 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19237 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19239 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19240 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19241 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19243 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19244 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19245 * sysdeps/pthread/lio_listio.c: Likewise.
19246 * sysdeps/sparc/dl-procinfo.h: Likewise.
19247 * sysdeps/unix/i386/sysdep.S: Likewise.
19248 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19249 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19250 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19251 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19253 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19254 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19255 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19256 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19257 * sysdeps/wordsize-32/divdi3.c: Likewise.
19258 * time/sys/time.h: Likewise.
19259 * wcsmbs/Makefile: Likewise.
19260
0549fbba
DM
192612013-01-01 David S. Miller <davem@davemloft.net>
19262
a141f1a7
DM
19263 * po/fr.po: Update from translation team.
19264
0549fbba
DM
19265 * catgets/gencat.c: Update copyright year.
19266 * csu/version.c: Likewise.
19267 * debug/catchsegv.sh: Likewise.
19268 * debug/pcprofiledump.c: Likewise.
19269 * debug/xtrace.sh: Likewise.
19270 * elf/ldconfig.c: Likewise.
19271 * elf/ldd.bash.in: Likewise.
19272 * elf/pldd.c: Likewise.
19273 * elf/sotruss.ksh: Likewise.
19274 * elf/sprof.c: Likewise.
19275 * iconv/iconv_prog.c: Likewise.
19276 * iconv/iconvconfig.c: Likewise.
19277 * locale/programs/locale.c: Likewise.
19278 * locale/programs/localedef.c: Likewise.
19279 * login/programs/pt_chown.c: Likewise.
19280 * malloc/memusage.sh: Likewise.
19281 * malloc/memusagestat.c: Likewise.
19282 * malloc/mtrace.pl: Likewise.
19283 * nscd/nscd.c: Likewise.
19284 * nss/getent.c: Likewise.
19285 * nss/makedb.c: Likewise.
19286 * posix/getconf.c: Likewise.
19287
18ea052c
SP
192882012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19289
19290 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19291 numbers.
19292
9c89fca6
MF
192932012-12-30 Mike Frysinger <vapier@gentoo.org>
19294
19295 * math/bits/mathcalls.h (modf): Use __nonnull.
19296
085ec079
SP
192972012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19298
19299 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19300 (split): Use macro CN instead of the bare value.
19301 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19302 could be used.
19303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19304 instead of the bare value.
19305 (power1): Likewise.
19306
6d9f97e1
SP
193072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19308
d63f73be
SP
19309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19310 __ATAN_TWOM.
19311 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19312
6d9f97e1
SP
19313 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19314 their values.
19315 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19317 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19318 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19319
4c4febf5
AJ
193202012-12-28 Andreas Jaeger <aj@suse.de>
19321
af5843ef
AJ
19322 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19323 values are from Linux 3.7.
19324
4c4febf5
AJ
19325 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19326 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19327
99136f82
SP
193282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19329
2f216c3c 19330 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19331 TRUE case.
19332
99136f82
SP
19333 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19334 (norm): Likewise.
19335 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19336 variables with preprocessor constants.
19337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19338 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19340
7fffbdff
BH
193412012-12-27 Bruno Haible <bruno@clisp.org>
19342
19343 [BZ #14317]
19344 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19345 only if needed.
19346
b76eb5f0
SP
193472012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19348
31a7fe5c
SP
19349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19350 and use variable directly.
19351 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19352
b76eb5f0
SP
19353 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19354 MPONE.
19355 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19357 variable MPONE.
19358 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19360 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19361 include directive. Remove local variable MPONE.
19362 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19363 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19364 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19365
2c8bfe7d
DM
193662012-12-25 David S. Miller <davem@davemloft.net>
19367
19368 * version.h (RELEASE): Set to "development".
19369 (VERSION): Set to "2.17.90".
19370 * NEWS: Add 2.18 section.
19371
147d03b0
DM
193722012-12-21 David S. Miller <davem@davemloft.net>
19373
19374 * po/hr.po: Update from translation team.
19375
a8ebb2b9
AK
193762012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19377
19378 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19379
95b4f1b6
SE
193802012-12-19 Steve Ellcey <sellcey@mips.com>
19381
b2d94007 19382 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19383
cedb2a90
MS
193842012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19385
19386 * manual/contrib.texi (Contributors): Spelling correction.
19387
bbf527d6
DM
193882012-12-15 David S. Miller <davem@davemloft.net>
19389
19390 * po/ru.po: Update from translation team.
19391
bc38c906
DM
193922012-12-13 David S. Miller <davem@davemloft.net>
19393
85429b1a
DM
19394 * NEWS: Mention IFUNC testsuite enhancements.
19395
d283e353
DM
19396 * po/pl.po: Update from translation team.
19397 * po/bg.po: Likewise.
19398
bc38c906
DM
19399 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19400 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19401
a181b0d7
DM
194022012-12-11 David S. Miller <davem@davemloft.net>
19403
4641d57e
DM
19404 * po/sv.po: Update from translation team.
19405
f7bc6495
DM
19406 * po/vi.po: Update from translation team.
19407
6fc9048f
DM
19408 * po/cs.po: Update from translation team.
19409
a181b0d7
DM
19410 * po/de.po: Update from translation team.
19411 * po/eo.po: Likewise.
19412 * po/nl.po: Likewise.
19413
f70bfe80
SP
194142012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19415
3c8b4190
SP
19416 [BZ #14246]
19417 * manual/argp.texi (Argp Helper Functions): Move node to follow
19418 Argp Parsing State.
19419
f70bfe80
SP
19420 [BZ #14872]
19421 * manual/conf.texi (Limits on File System Capacity): Mention if
19422 terminating null is included in the max size.
19423
188f0adf
AJ
194242012-12-10 Andreas Jaeger <aj@suse.de>
19425
19426 * po/cs.po: Update from translation team.
19427
56e7d3ad
SP
194282012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19429
19430 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19431 void pointer and cast to uintptr_t.
19432 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19433 path.
19434 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19435 * sysdeps/s390/s390-64/memset.S: Likewise.
19436
76f2d2ea 194372012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19438
19439 [BZ #14833]
19440 * menual/message.texi (Message Translation): Fix typos.
19441 (Helper programs for gettext): Likewise.
19442
67cbf9a2
AS
194432012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19444
19445 [BZ #14898]
19446 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19447 Change to -1.
19448
682d0e9a
DM
194492012-12-07 David S. Miller <davem@davemloft.net>
19450
19451 * po/libc.pot: Update.
19452
573cd484
RH
194532012-12-07 Richard Henderson <rth@redhat.com>
19454
7e9da188 19455 [BZ #10114]
573cd484
RH
19456 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19457 normal/normal case to before the switch.
19458 (_FP_DIV): Likewise.
19459
e933a943
MF
194602012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19461 Mike Frysinger <vapier@gentoo.org>
19462
19463 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19464 check for __NR_fadvise64_64.
19465
82123268
CM
194662012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19467
19468 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19469 0, not just to plain "0" as a statement.
19470 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19471 with cw.
19472
d9814526
JM
194732012-12-06 Joseph Myers <joseph@codesourcery.com>
19474
19475 * NEWS: Use sourceware.org in Bugzilla URL.
19476
7728c574
SP
194772012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19478
f16946dd
SP
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19480 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19481
5704bbcb
SP
19482 * stdio-common/tst-put-error.c (do_test): Add newline to the
19483 padded test to ensure flush.
19484
17aa0516
JL
194852012-12-05 Jeff Law <law@redhat.com>
19486
19487 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19488
363313b5
JM
194892012-12-05 Joseph Myers <joseph@codesourcery.com>
19490
effbd42a
JM
19491 * README: Don't refer to ports add-on as distributed separately.
19492 Mention AArch64 in list of systems supported in the ports add-on.
19493
87600365
JM
19494 * LICENSES: Add more non-FSF copyright and license notices.
19495
a0d7066a
JM
19496 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19497 ((unused)).
19498
66ca5a5b
JM
19499 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19500
363313b5
JM
19501 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19502 10000 as width of padded output.
19503
b37984ad
JM
195042012-12-04 Joseph Myers <joseph@codesourcery.com>
19505
9003570a
JM
19506 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19507
b37984ad
JM
19508 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19509 variable LX with __attribute__ ((unused)).
19510 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19511 Likewise.
19512 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19514 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19515 with __attribute__ ((unused)).
19516
c8df52ec
DM
195172012-12-04 David S. Miller <davem@abraco.davemloft.net>
19518
19519 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19520
b3b099af
JM
195212012-12-04 Joseph Myers <joseph@codesourcery.com>
19522
c33aa6e3
JM
19523 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19524 (CFLAGS-nldbl-acos.c): New variable.
19525 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19608 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19609 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19610 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19611 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19612 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19613 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19614 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19615 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19620 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19622
20f0018d
JM
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19624 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19625
b3b099af
JM
19626 [BZ #14914]
19627 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19628 whole low double instead of just low 47 bits when splitting values
19629 into two parts.
19630
029264d1
AM
196312012-12-03 Allan McRae <allan@archlinux.org>
19632
19633 * manual/stdio.texi (Predefined Printf Handlers): Remove
19634 @hsep and @vsep usage.
19635
c9d6789e
MF
196362012-12-03 Mike Frysinger <vapier@gentoo.org>
19637
19638 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19639 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19640
4b7634a5
JL
196412012-12-03 Jeff Law <law@redhat.com>
19642
19643 * time/sys/time.h (settimeofday): Do not mark TV argument
19644 as __nonnull.
19645
eb6cbd24
MF
196462012-12-01 Mike Frysinger <vapier@gentoo.org>
19647
19648 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19649 when currently writing and seek to current position when not.
19650 * libio/Makefile (tests): Remove bug-fclose1.
19651 * libio/bug-fclose1.c: Delete.
19652
f638872a
JM
196532012-12-01 Joseph Myers <joseph@codesourcery.com>
19654
19655 * manual/arith.texi (feenableexcept): Fix typo.
19656 (fedisableexcept): Likewise.
19657
48085d14
RM
196582012-11-30 Roland McGrath <roland@hack.frob.com>
19659
19660 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19661 second, differently-typed declaration, rather than a cast.
19662
1a538b9f
SP
196632012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19664
19665 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19666 * include/rpc/svc.h: ... here.
19667
d07f2ff1 196682012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19669
19670 [BZ #13013]
19671 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19672 depending n and resplen2 to catch cases where answer
19673 equals answerp2.
19674
c93ec1f0
CD
196752012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19676
19677 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19678 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19679
37db69de
MF
196802012-11-29 Mike Frysinger <vapier@gentoo.org>
19681
19682 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19683
e10c4e4f
RM
196842012-11-29 Roland McGrath <roland@hack.frob.com>
19685
19686 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19687
2af1b328
JL
196882012-11-28 Jeff Law <law@redhat.com>
19689
19690 [BZ #13761]
19691 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19692 dataset_temporary. Track alloca usage into alloca_used.
19693 If dataset is large allocate and release it via malloc/free.
19694
111db5b1
FW
196952012-06-04 Florian Weimer <fweimer@redhat.com>
19696
f06cc227 19697 [BZ #14197]
111db5b1
FW
19698 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19699
dd694abd
DM
197002012-11-28 David S. Miller <davem@davemloft.net>
19701
19702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19703
9984dd01
JM
197042012-11-28 Joseph Myers <joseph@codesourcery.com>
19705
19706 [BZ #14803]
19707 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19708 of pi/2 rounded to nearest to 64 bits.
19709 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19710 nearest to 64 bits.
19711 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19712 bits.
19713
14bc93a9
JL
197142012-11-28 Jeff Law <law@redhat.com>
19715 Martin Osvald <mosvald@redhat.com>
19716
19717 [BZ #14889]
19718 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19719 * sunrpc/svc.c: Include time.h.
19720 (__svc_accept_failed): New function.
19721 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19722 any reason other than EINTR, call __svc_accept_failed.
19723 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19724 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19725
e3c6aa3a
AS
197262012-11-28 Andreas Schwab <schwab@suse.de>
19727
19728 * scripts/abilist.awk: Also handle indirect functions in .opd
19729 section.
19730
1bead169
JM
197312012-11-28 Joseph Myers <joseph@codesourcery.com>
19732
19733 [BZ #13881]
19734 * sysdeps/x86/fpu/powl_helper.c: New file.
19735 * sysdeps/x86/fpu/Makefile: Likewise.
19736 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19737 (p3): New object.
19738 (__ieee754_powl): Use __powl_helper for finite arguments except
19739 integer exponents below 8.
19740 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19741 (p3): New object.
19742 (__ieee754_powl): Use __powl_helper for finite arguments except
19743 integer exponents below 8.
19744 * math/libm-test.inc (pow_test): Add more tests and enable some
19745 previously disabled tests.
19746 * sysdeps/i386/fpu/libm-test-ulps: Update.
19747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19748
0817d63d
SP
197492012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19750 Carlos O'Donell <carlos_odonell@mentor.com>
19751
19752 * nss/makedb.c (is_prime): Assert that input is odd and greater
19753 than 4. Note that fact in a comment too.
19754 (next_prime): Add 4 to input.
19755
de2fd463
SP
197562012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19757
19758 [BZ #11741]
19759 * libio/Makefile (tests): Add test case tst-fwrite-error.
19760 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19761 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19762 * libio/tst-fwrite-error.c: New test case.
19763
c515fb51
L
197642012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19765
19766 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19767 before casting to void *.
19768 * include/libc-internal.h (__pointer_type): New macro.
19769 (__integer_if_pointer_type_sub): Likewise.
19770 (__integer_if_pointer_type): Likewise.
19771 (cast_to_integer): Likewise.
19772 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19773 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19774 before casting to atomic64_t.
19775 (atomic_exchange_acq): Likewise.
19776 (__arch_exchange_and_add_body): Likewise.
19777 (__arch_add_body): Likewise.
19778 (atomic_add_negative): Likewise.
19779 (atomic_add_zero): Likewise.
19780
4cf77aa9
JM
197812012-11-26 Joseph Myers <joseph@codesourcery.com>
19782
19783 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19784 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19785 (add_fdes): Likewise.
19786 (linear_search_fdes): Likewise.
19787 (binary_search_unencoded_fdes): Likewise.
19788
d260b3b4
AS
197892012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19790
19791 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19792
67060746
AC
197932012-11-24 Adam Conrad <adconrad@0c3.net>
19794
19795 * configure.in: Autodetect C++ header directories.
19796 * configure: Regenerated.
19797
800938a1
MF
197982012-11-23 Mike Frysinger <vapier@gentoo.org>
19799
19800 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19801
4e6e34e6
AS
198022012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19803
19804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19805
7c7feb47
JM
198062012-11-22 Joseph Myers <joseph@codesourcery.com>
19807
7184dcdf
JM
19808 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19809 LDBL_MANT_DIG == 106]: Disable some tests.
19810 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19811 Likewise.
19812 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19813 Likewise.
19814
0a42601f
JM
19815 [BZ #14871]
19816 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19817 input for small inputs. Return +/- pi/2 for large inputs.
19818 * math/libm-test.inc (atan_test): Add more tests.
19819
79c9b9fe
JM
19820 * sysdeps/generic/unwind-dw2-fde-glibc.c
19821 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19822 __attribute__ ((unused)).
19823
c60d3bf2
JM
19824 [BZ #14645]
19825 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19826 x * y if x and y are nonzero and z is zero.
19827
ef1e0867
JM
19828 [BZ #14811]
19829 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19830 nonzero exponents with absolute value below 0x1p-117 to +/-
19831 0x1p-117.
19832
1468ded3
JM
19833 [BZ #14869]
19834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19835 up arguments below 2**-450, not just those below 2**-500.
19836 * math/libm-test.inc (hypot_test): Add another test.
19837
8e27e3cc
JM
19838 [BZ #14868]
19839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19840 Return a+b for ratio over 2**120, not 2**60.
19841 * math/libm-test.inc (hypot_test): Add another test.
19842
c9c0279b
JM
19843 * math/libm-test.inc (clog_test): Use
19844 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19845 (clog10_test): Likewise.
19846
7c7feb47
JM
19847 [BZ #6778]
19848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19849
fff1530e
AS
198502012-11-22 Andreas Schwab <schwab@suse.de>
19851
19852 * sysdeps/i386/fpu/libm-test-ulps: Update.
19853
94558d30
PT
198542012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19855
19856 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19857 printf output with newline.
19858
7e1be741
L
198592012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19860
6bfea974
L
19861 [BZ #14865]
19862 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19863 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19864 -z nodlopen, -z initfirst and -z execstack support.
19865 * configure: Regenerated.
19866
7e1be741
L
19867 * elf/elf.h (DF_1_NODIRECT): New macro.
19868 (DF_1_IGNMULDEF): Likewise.
19869 (DF_1_NOKSYMS): Likewise.
19870 (DF_1_NOHDR): Likewise.
19871 (DF_1_EDITED): Likewise.
19872 (DF_1_NORELOC): Likewise.
19873 (DF_1_SYMINTPOSE): Likewise.
19874 (DF_1_GLOBAUDIT): Likewise.
19875 (DF_1_SINGLETON): Likewise.
19876 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19877 DT_1_SUPPORTED_MASK bits.
19878 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19879
105ce2ce
CD
198802012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19881
19882 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19883
123be9de
TS
198842012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19885
d072f3f7
TS
19886 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19887 macro.
19888
123be9de
TS
19889 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19890 (sendmmsg): Move declarations...
19891 * socket/sys/socket.h: ... here.
19892 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19893 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19894 include it from...
19895 * socket/recvmmsg.c: ... this new file.
19896 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19897 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19898 definition of __sendmmsg hidden.
19899 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19900 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19901 Move ENOSYS stub into and include it from...
19902 * socket/sendmmsg.c: ... this new file.
19903 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19904 (sysdep_routines): Move recvmmsg and sendmmsg...
19905 * socket/Makefile (routines): ... here.
19906 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19907 (GLIBC_PRIVATE): Add __sendmmsg.
19908 * include/sys/socket.h (__sendmmsg): Add declarations.
19909 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19910 sendmmsg.
19911
cf9a5d18
JM
199122012-11-20 Joseph Myers <joseph@codesourcery.com>
19913
19914 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19915 variable I1 with __attribute__ ((unused)).
19916 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19917
ecd4caf9
JM
199182012-11-19 Joseph Myers <joseph@codesourcery.com>
19919
be14d48f
JM
19920 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19921 DUMMY variables with __attribute__ ((unused)).
19922
ecd4caf9
JM
19923 * bits/byteswap.h: Include <bits/types.h>.
19924 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19925
986cab95
PT
199262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19927
19928 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19929 string_t. Do not manually set errno.
19930 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19931 length with __strnlen. Make sure to both set errno and return it on
19932 failure.
19933
6d33cc9d
DM
199342012-11-19 David S. Miller <davem@davemloft.net>
19935
19936 With help from Joseph Myers.
19937 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19938 very large arguments properly.
19939 * math/libm-test.inc (atan_test): New tests.
19940 (atan2_test): New tests.
19941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19943
ee663277
JM
199442012-11-19 Joseph Myers <joseph@codesourcery.com>
19945
877f2d8e
JM
19946 [BZ #14856]
19947 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19948 Define to 3.
19949
116fc08a
JM
19950 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19951 [POSIX] (EADDRNOTAVAIL): Likewise.
19952 [POSIX] (EAFNOSUPPORT): Likewise.
19953 [POSIX] (EALREADY): Likewise.
19954 [POSIX] (ECONNABORTED): Likewise.
19955 [POSIX] (ECONNREFUSED): Likewise.
19956 [POSIX] (ECONNRESET): Likewise.
19957 [POSIX] (EDESTADDRREQ): Likewise.
19958 [POSIX] (EDQUOT): Likewise.
19959 [POSIX] (EHOSTUNREACH): Likewise.
19960 [POSIX] (EIDRM): Likewise.
19961 [POSIX] (EISCONN): Likewise.
19962 [POSIX] (ELOOP): Likewise.
19963 [POSIX] (EMULTIHOP): Likewise.
19964 [POSIX] (ENETDOWN): Likewise.
19965 [POSIX] (ENETUNREACH): Likewise.
19966 [POSIX] (ENOBUFS): Likewise.
19967 [POSIX] (ENODATA): Likewise.
19968 [POSIX] (ENOLINK): Likewise.
19969 [POSIX] (ENOMSG): Likewise.
19970 [POSIX] (ENOPROTOOPT): Likewise.
19971 [POSIX] (ENOSR): Likewise.
19972 [POSIX] (ENOSTR): Likewise.
19973 [POSIX] (ENOTCONN): Likewise.
19974 [POSIX] (ENOTSOCK): Likewise.
19975 [POSIX] (EOPNOTSUPP): Likewise.
19976 [POSIX] (EOVERFLOW): Likewise.
19977 [POSIX] (EPROTO): Likewise.
19978 [POSIX] (EPROTONOSUPPORT): Likewise.
19979 [POSIX] (EPROTOTYPE): Likewise.
19980 [POSIX] (ESTALE): Likewise.
19981 [POSIX] (ETIME): Likewise.
19982 [POSIX] (ETXTBSY): Likewise.
19983 [POSIX] (EWOULDBLOCK): Likewise.
19984 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19985 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19986 [POSIX] (SEEK_CUR): Likewise.
19987 [POSIX] (SEEK_END): Likewise.
19988 [POSIX || UNIX98] (mode_t): Do not require.
19989 [POSIX] (off_t): Likewise.
19990 [POSIX] (pid_t): Likewise.
19991 [POSIX] (sys/stat.h): Do not allow header.
19992 [POSIX] (unistd.h): Likewise.
19993 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19994 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19995 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19996 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19997 require.
19998 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19999 sigevent): Specify elements.
20000 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20001 entry.
20002 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20003 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20004
a483863f
JM
20005 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20006 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20007 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20008 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20009 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20010 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20011 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20012 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20013 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20014 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20015 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20016 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20017 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20018 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20019 Likewise.
20020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20021 Likewise.
20022 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20023 Likewise.
20024 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20025 Likewise.
20026 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20027 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20028 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20029 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20031 Specify lower bound on value.
20032 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20033 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20038 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20039 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20040 value.
20041 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20042 as optional.
20043 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20059 entry.
20060 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20061 optional.
20062 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20068 Likewise.
20069 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20074 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20076 as optional.
20077 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20081 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20082 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20083 specify as optional.
20084 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20087 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20088 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20089 [XPG3] (NL_LANGMAX): Likewise.
20090 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20091 [POSIX || XPG3] (NL_NMAX): Likewise.
20092 [POSIX || XPG3] (NL_SETMAX): Likewise.
20093 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20094 [XPG3] (NZERO): Likewise.
20095 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20096 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20097 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20098 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20099 (REG_ERANGE): Expect.
20100 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20101 optional-constant.
20102 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20103 Use (void) in prototype.
20104 [POSIX] (*_t): Allow.
20105 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20106 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20107 (WRDE_BADVAL): Expect.
20108
5ba924e3
JM
20109 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20110 expect.
20111 [XPG3 || XPG4] (O_RSYNC): Likewise.
20112 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20113 Likewise.
20114 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20115 [XPG3 || XPG4] (sigqueue): Likewise.
20116 [XPG3 || XPG4] (sigtimedwait): Likewise.
20117 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20118 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20119 [XPG3 || XPG4] (vsnprintf): Likewise.
20120 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20121 Likewise.
20122 [XPG3 || XPG4] (blksize_t): Likewise.
20123 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20124 Likewise.
20125 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20126 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20127 [XPG3 || XPG4] (struct itimerspec): Likewise.
20128 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20129 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20130 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20131 [XPG3 || XPG4] (clockid_t): Likewise.
20132 [XPG3 || XPG4] (timer_t): Likewise.
20133 [XPG3 || XPG4] (clock_getres): Likewise.
20134 [XPG3 || XPG4] (clock_gettime): Likewise.
20135 [XPG3 || XPG4] (clock_settime): Likewise.
20136 [XPG3 || XPG4] (nanosleep): Likewise.
20137 [XPG3 || XPG4] (timer_create): Likewise.
20138 [XPG3 || XPG4] (timer_delete): Likewise.
20139 [XPG3 || XPG4] (timer_gettime): Likewise.
20140 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20141 [XPG3 || XPG4] (timer_settime): Likewise.
20142 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20143 [XPG3 || XPG4] (getlogin_r): Likewise.
20144 [XPG3 || XPG4] (pread): Likewise.
20145 [XPG3 || XPG4] (pthread_atfork): Likewise.
20146 [XPG3 || XPG4] (pwrite): Likewise.
20147
ee663277
JM
20148 [BZ #14835]
20149 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20150 <bits/siginfo.h>.
20151
942caa16
PT
201522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20153
e19af380
PT
20154 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20155 finalizing MALLSTREAM.
20156
942caa16
PT
20157 * sysdeps/mach/hurd/syncfs.c: New file.
20158
cfde9b46
SP
201592012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20160
20161 [BZ #14719]
20162 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20163 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20164 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20165 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20166 (_nss_dns_gethostbyname4_r): Likewise.
20167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20168 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20169
f6da27e5
PH
201702012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20171
20172 [BZ #13763]
20173 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20174
6665d4a2
SM
201752012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20176
1f51ee92
SM
20177 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20178 * elf/cache.c (print_entry): Print ",AArch64" for
20179 FLAG_AARCH64_LIB64
20180
6665d4a2
SM
20181 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20182 * elf/cache.c (print_entry): Print ",hard-float" for
20183 FLAG_ARM_LIBHF.
20184
05b227bd
DM
201852012-11-18 David S. Miller <davem@davemloft.net>
20186
20187 With help from Joseph Myers.
20188 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20189 cutoff to 2**-13.
20190 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20191 cutoff to 2**-25.
20192 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20193 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20194 small.
20195 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20196 * math/libm-test.inc (y0_test): New tests.
20197 (y1_test): New tests.
20198 * sysdeps/i386/fpu/libm-test-ulps: Update.
20199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20201
786b0b67
AS
202022012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20203
20204 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20205 64-bit targets.
20206 * configure: Regenerated.
20207
8e18b86d
DM
202082012-11-17 David S. Miller <davem@davemloft.net>
20209
20210 [BZ #14811]
20211 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20212 nonzero exponents with absolute value below 0x1p-128 to +/-
20213 0x1p-128.
20214
531f1ae0
JM
202152012-11-17 Joseph Myers <joseph@codesourcery.com>
20216
12df29e2
JM
20217 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20218
150dc1a0
JM
20219 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20220
531f1ae0
JM
20221 * posix/getconf-speclist.c: New file.
20222 * posix/posix-envs.def: Likewise.
20223 * posix/confstr.c (START_ENV_GROUP): New macro.
20224 (END_ENV_GROUP): Likewise.
20225 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20226 (KNOWN_PRESENT_ENV_STRING): Likewise.
20227 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20228 (UNKNOWN_ENVIRONMENT): Likewise.
20229 (confstr): Include posix-envs.def instead of handling
20230 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20231 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20232 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20233 (END_ENV_GROUP): Likewise.
20234 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20235 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20236 (UNKNOWN_ENVIRONMENT): Likewise.
20237 (__sysconf): Include posix-envs.def instead of handling associated
20238 cases directly here.
20239 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20240 preprocessing getconf-speclist.c rather than running getconf or
20241 generating empty file.
20242
a93f9cbc
PT
202432012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20244
20245 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20246
d64d9f87
AL
202472012-11-16 Andrej Lajovic <natrij@gmail.com>
20248
20249 [BZ #14672]
20250 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20251
447885eb
DM
202522012-11-16 David S. Miller <davem@davemloft.net>
20253
20254 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20255 smaller than LDBL_EPSILON/2.0L, just return xm1.
20256
bcbf9830
L
202572012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20258
20259 * elf/tst-array1.c (init): Set constructor priority to 1000.
20260 (fini): Set destructor priority to 1000.
20261 * elf/tst-array2dep.c: Likewise.
20262
2b766585
SP
202632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20264
20265 [BZ #11741]
20266 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20267 (_IO_new_file_xsputn): Also return EOF if none of the input
20268 data was written when overflow failed.
20269 * libio/iopadn.c (_IO_padn): Likewise.
20270 * libio/iowpadn.c (_IO_wpadn): Likewise.
20271 * stdio-common/tst-put-error.c: Add copyright notice.
20272 (do_test): Add case for printing padded string.
20273 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20274 _IO_padn returned error.
20275 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20276 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20277 return EOF.
20278
b1848fde
SP
202792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20280
20281 * libio/libioP.h: Add comment note that the references to C++
20282 bits are now obsolete.
20283
2fd89785
MS
202842012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20285
20286 * math/libm-test.inc (check_complex): Use asprintf.
20287
e3ea5409
JM
202882012-11-14 Joseph Myers <joseph@codesourcery.com>
20289
20290 * debug/pcprofiledump.c (print_version): Update copyright year.
20291 * malloc/memusagestat.c (print_version): Likewise.
20292
2e64d265
L
202932012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20294
20295 [BZ #14831]
20296 * elf/Makefile (tests): Add tst-audit8.
20297 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20298 ($(objpfx)tst-audit8.out): New target.
20299 (tst-audit8-ENV): New variable.
20300 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20301 audit if l_reloc_result is NULL.
20302 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20303 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20304 * elf/tst-audit8.c: New file.
20305
c485e4d2
MS
203062012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20307
20308 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20309 * misc/Makefile (CFLAGS-select.c): Define.
20310 * posix/Makefile (CFLAGS-pause.c): Define.
20311
3a0d900a
DM
203122012-11-13 David S. Miller <davem@davemloft.net>
20313
20314 * crypt/Makefile: Move test targets after toplevel Rules
20315 inclusion. Grab any necessary sysdep routines when linking.
20316 * crypt/md5.c (md5_process_block): Remove define, we will always
20317 name it __md5_process_block.
20318 (md5_finish_ctx): Update md5_process_block call.
20319 (md5_stream): Likewise.
20320 (md5_process_bytes): Likewise.
20321 (md5_process_block): Rename to __md5_process_block and move to ...
20322 * crypt/md5-block.c: ... here.
20323 * crypt/sha256.c (sha256_process_block): Move to ...
20324 * crypt/sha256-block.c: ... here.
20325 * crypt/sha512.c (sha512_process_block): Move to ...
20326 * crypt/sha512-block.c: ... here.
20327 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20328 path.
20329 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20330 * sysdeps/sparc/sparc64/multiarch/Makefile
20331 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20332 crypt subdir.
20333 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20334 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20335 multiarch changes.
20336 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20337 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20338 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20339 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20340 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20341 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20342 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20343 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20345 file.
20346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20348 file.
20349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20350
8ca89318
JM
203512012-11-13 Joseph Myers <joseph@codesourcery.com>
20352
e27d476a
JM
20353 * timezone/tzselect.ksh: Update from tzcode git revision
20354 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20355 * timezone/zdump.c: Likewise.
20356 * timezone/zic.c: Likewise.
20357 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20358 in TZVERSION setting, not $(PKGVERSION).
20359 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20360 REPORT_BUGS_TO settings.
20361
8ca89318
JM
20362 [BZ #14838]
20363 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20364 macro.
20365
47594329
MS
203662012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20367
20368 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20369 detection to immediately after _FP_ROUND().
20370 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20371 bits are 0.
20372
640ac3f1
DM
203732012-11-11 David S. Miller <davem@davemloft.net>
20374
20375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20376 inttypes.h
20377 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20378 __close rather than their public counterparts.
20379
3d2577bb
JM
203802012-11-10 Joseph Myers <joseph@codesourcery.com>
20381
20382 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20383 file.
20384 [UNIX98] (sem_timedwait): Do not expect.
20385 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20386 [XPG4 || UNIX98] (sockatmark): Do not expect.
20387 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20388 (clock_getcpuclockid): Do not expect.
20389 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20390 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20391 Do not expect.
20392 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20393 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20394 [UNIX98] (vwscanf): Likewise.
20395 [UNIX98] (vswscanf): Likewise.
20396
fb1ae1ee
JM
203972012-11-09 Joseph Myers <joseph@codesourcery.com>
20398
9ec6f8bd
JM
20399 * timezone/version.h: Remove file.
20400 * timezone/README: Do not refer to version.h.
20401 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20402 $(objpfx)version.h.
20403 ($(objpfx)zdump.o): Likewise.
c3f81911 20404 ($(objpfx)version.h): New target.
9ec6f8bd 20405
0aa8f8a1
JM
20406 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20407 2012i.
20408 * timezone/README: Don't mention modification to tzselect.ksh.
20409 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20410 work on unmodified tzselect.ksh. Substitute version numbers in
20411 tzselect.ksh.
20412
4e87147f
JM
20413 * Makefile (format-me): Remove.
20414 (INSTALL): Adjust indentation. Use commands directly instead of
20415 using $(format-me).
20416
8b748aed
JM
20417 * aclocal.m4 (ACX_PKGVERSION): New macro.
20418 (ACX_BUGURL): Likewise.
20419 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20420 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20421 (REPORT_BUGS_TO): Likewise.
20422 * configure: Regenerated.
20423 * config.h.in (PKGVERSION): New macro.
20424 (REPORT_BUGS_TO): Likewise.
20425 * config.make.in (PKGVERSION): New variable.
20426 (PKGVERSION_TEXI): Likewise.
20427 (REPORT_BUGS_TO): Likewise.
20428 (REPORT_BUGS_TEXI): Likewise.
20429 * Makefile (format-me): Use -I$(common-objpfx)manual.
20430 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20431 ($(common-objpfx)manual/%): New target.
20432 (manual/%): Remove target.
20433 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20434 (print_version): Use PKGVERSION.
20435 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20436 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20437 and REPORT_BUGS_TO.
20438 ($(objpfx)xtrace): Likewise.
20439 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20440 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20441 (print_version): Use PKGVERSION.
20442 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20443 (do_version): Use PKGVERSION.
20444 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20445 REPORT_BUGS_TO.
20446 (common-ldd-rewrite): Likewise.
20447 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20448 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20449 (print_version): Use PKGVERSION.
20450 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20451 * elf/pldd.c (argp_program_bug_address): Remove variable.
20452 (more_help): New function.
20453 (argp): Use more_help.
20454 (print_version): Use PKGVERSION.
20455 * elf/sln.c (main): Use PKGVERSION.
20456 (usage): Use REPORT_BUGS_TO.
20457 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20458 (top level): Use PKGVERSION.
20459 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20460 (print_version): Use PKGVERSION.
20461 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20462 (print_version): Use PKGVERSION.
20463 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20464 (print_version): Use PKGVERSION.
20465 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20466 (print_version): Use PKGVERSION.
20467 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20468 (print_version): Use PKGVERSION.
20469 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20470 (print_version): Use PKGVERSION.
20471 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20472 and BUGURL.
20473 ($(objpfx)memusage): Likewise.
20474 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20475 (do_version): Use PKGVERSION.
20476 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20477 (print_version): Use PKGVERSION.
20478 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20479 ($PKGVERSION): New variable.
20480 ($REPORT_BUGS_TO): Likewise.
20481 (usage): Use $REPORT_BUGS_TO.
20482 (top level): Use $PKGVERSION.
20483 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20484 ($(objpfx)pkgvers.texi): New rule.
20485 ($(objpfx)stamp-pkgvers): Likewise.
20486 * manual/install.texi: Include pkgvers.texi.
20487 (--with-pkgversion): Document new configure option.
20488 (--with-bugurl): Likewise.
20489 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20490 than necessarily for this particular distribution. Use
20491 REPORT_BUGS_TO for where to report bugs.
20492 * INSTALL: Regenerated.
20493 * manual/libc.texinfo: Include pkgvers.texi.
20494 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20495 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20496 (print_version): Use PKGVERSION.
20497 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20498 (print_version): Use PKGVERSION.
20499 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20500 (print_version): Use PKGVERSION.
20501 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20502 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20503 macro.
20504 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20505 (print_version): Use PKGVERSION.
20506 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20507 (print_version): Use PKGVERSION.
20508 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20509 and PKGVERSION.
20510
92e4b6a9
JM
20511 * timezone/checktab.awk: Update from tzcode 2012i.
20512 * timezone/ialloc.c: Likewise.
20513 * timezone/private.h: Likewise.
20514 * timezone/scheck.c: Likewise.
20515 * timezone/tzfile.h: Likewise.
20516 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20517 (TZVERSION): Hardcode tzcode version number.
20518 * timezone/zdump.c: Update from tzcode 2012i.
20519 * timezone/zic.c: Likewise.
20520 * timezone/version.h: New file.
20521 * timezone/README: Describe version.h. Update upstream location.
20522
9bde902c
JM
20523 [BZ #14824]
20524 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20525 (mktemp): Enable declaration.
20526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20530 Likewise.
20531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20532 Likewise.
20533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20534 Likewise.
20535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20536 Likewise.
20537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20538 Likewise.
20539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20540 Likewise.
20541
fb1ae1ee
JM
20542 [BZ #14821]
20543 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20544 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20545 for copies of such integer values.
20546 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20547 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20548
2c1adbcb
AJ
205492012-11-09 Andreas Jaeger <aj@suse.de>
20550
20551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20552 definitions and declarations that are provided by
20553 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20554
d0f8457e
AK
205552012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20556
3a235abb 20557 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20558 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20559 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20560 definition.
20561
57241e26
MS
205622012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20563
20564 * elf/elf.h: Update comment before AArch64 relocations.
20565
60e8270d
DM
205662012-11-07 David S. Miller <davem@davemloft.net>
20567
20568 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20570 (__start_context): Declare.
20571 (__makecontext_ret): Delete.
20572 (__makecontext): Hook up __start_context instead of
20573 __makecontext_ret.
20574 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20575 (sysdep_routines): Add __start_context when in stdlib.
20576
0fbb0fbc
JM
205772012-11-07 Joseph Myers <joseph@codesourcery.com>
20578
20579 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20580 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20581 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20582 hardcoded "nm".
20583 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20584 (READELF): New variable. Use it instead of hardcoded "readelf".
20585
eb48db7e
L
205862012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20587
20588 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20589 * sysdeps/x86/Makefile: Here.
20590 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20591 * sysdeps/x86/tst-xmmymm.sh: This.
20592
05bcf62a
JM
205932012-11-07 Joseph Myers <joseph@codesourcery.com>
20594
c4b6cf53
JM
20595 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20596 expectations.
20597 [UNIX98] (pthread_barrier_t): Do not expect.
20598 [UNIX98] (pthread_barrierattr_t): Likewise.
20599 [UNIX98] (pthread_spinlock_t): Likewise.
20600 [UNIX98] (pthread_barrier_destroy): Likewise.
20601 [UNIX98] (pthread_barrier_init): Likewise.
20602 [UNIX98] (pthread_barrier_wait): Likewise.
20603 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20604 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20605 [UNIX98] (pthread_barrierattr_init): Likewise.
20606 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20607 [UNIX98] (pthread_getcpuclockid): Likewise.
20608 [UNIX98] (pthread_mutex_timedlock): Likewise.
20609 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20610 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20611 [UNIX98] (pthread_sigmask): Likewise.
20612 [UNIX98] (pthread_spin_destroy): Likewise.
20613 [UNIX98] (pthread_spin_init): Likewise.
20614 [UNIX98] (pthread_spin_lock): Likewise.
20615 [UNIX98] (pthread_spin_trylock): Likewise.
20616 [UNIX98] (pthread_spin_unlock): Likewise.
20617 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20618 Do not expect.
20619 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20621 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20622 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20623 [XPG3 || XPG4] (pthread_key_t): Likewise.
20624 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20625 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20626 [XPG3 || XPG4] (pthread_once_t): Likewise.
20627 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20628 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20630 [XPG3 || XPG4] (pthread_t): Likewise.
20631
cbe6e120
JM
20632 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20633 not expect.
20634 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20635
1b126443
JM
20636 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20637 Change function return type to int.
20638
b961a573
JM
20639 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20640 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20641 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20642 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20643 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20644 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20645 [!POSIX] (posix_madvise): Likewise.
20646 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20647 && !UNIX98].
20648 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20649 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20650 (mode_t): Likewise.
20651 (posix_mem_offset): Likewise.
20652 (posix_typed_mem_get_info): Likewise.
20653 (posix_typed_mem_open): Likewise.
20654
9e188909
JM
20655 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20656 Change condition to [XOPEN2K8].
20657
05bcf62a
JM
20658 * conform/conformtest.pl: Preprocess allow-header data with -x c
20659 instead of from stdin.
20660 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20661 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20662 [C99-based standards] (cerfc): Likewise.
20663 [C99-based standards] (cexp2): Likewise.
20664 [C99-based standards] (cexpm1): Likewise.
20665 [C99-based standards] (clog10): Likewise.
20666 [C99-based standards] (clog1p): Likewise.
20667 [C99-based standards] (clog2): Likewise.
20668 [C99-based standards] (clgamma): Likewise.
20669 [C99-based standards] (ctgamma): Likewise.
20670 [C99-based standards] (cerff): Likewise.
20671 [C99-based standards] (cerfcf): Likewise.
20672 [C99-based standards] (cexp2f): Likewise.
20673 [C99-based standards] (cexpm1f): Likewise.
20674 [C99-based standards] (clog10f): Likewise.
20675 [C99-based standards] (clog1pf): Likewise.
20676 [C99-based standards] (clog2f): Likewise.
20677 [C99-based standards] (clgammaf): Likewise.
20678 [C99-based standards] (ctgammaf): Likewise.
20679 [C99-based standards] (cerfl): Likewise.
20680 [C99-based standards] (cerfcl): Likewise.
20681 [C99-based standards] (cexp2l): Likewise.
20682 [C99-based standards] (cexpm1l): Likewise.
20683 [C99-based standards] (clog10l): Likewise.
20684 [C99-based standards] (clog1pl): Likewise.
20685 [C99-based standards] (clog2l): Likewise.
20686 [C99-based standards] (clgammal): Likewise.
20687 [C99-based standards] (ctgammal): Likewise.
20688 * conform/data/inttypes.h-data [C99-based standards]: Include
20689 stdint.h-data. Remove all expectations for stdint.h contents.
20690 [C99-based standards] (PRI*): Do not allow.
20691 [C99-based standards] (SCN*): Likewise.
20692 [C99-based standards] (*_t): Likewise.
20693 [C99-based-standards] (PRId8): Expect macro.
20694 [C99-based-standards] (PRIi8): Likewise.
20695 [C99-based-standards] (PRIo8): Likewise.
20696 [C99-based-standards] (PRIu8): Likewise.
20697 [C99-based-standards] (PRIx8): Likewise.
20698 [C99-based-standards] (PRIX8): Likewise.
20699 [C99-based-standards] (SCNd8): Likewise.
20700 [C99-based-standards] (SCNi8): Likewise.
20701 [C99-based-standards] (SCNo8): Likewise.
20702 [C99-based-standards] (SCNu8): Likewise.
20703 [C99-based-standards] (SCNx8): Likewise.
20704 [C99-based-standards] (PRIdLEAST8): Likewise.
20705 [C99-based-standards] (PRIiLEAST8): Likewise.
20706 [C99-based-standards] (PRIoLEAST8): Likewise.
20707 [C99-based-standards] (PRIuLEAST8): Likewise.
20708 [C99-based-standards] (PRIxLEAST8): Likewise.
20709 [C99-based-standards] (PRIXLEAST8): Likewise.
20710 [C99-based-standards] (SCNdLEAST8): Likewise.
20711 [C99-based-standards] (SCNiLEAST8): Likewise.
20712 [C99-based-standards] (SCNoLEAST8): Likewise.
20713 [C99-based-standards] (SCNuLEAST8): Likewise.
20714 [C99-based-standards] (SCNxLEAST8): Likewise.
20715 [C99-based-standards] (PRIdFAST8): Likewise.
20716 [C99-based-standards] (PRIiFAST8): Likewise.
20717 [C99-based-standards] (PRIoFAST8): Likewise.
20718 [C99-based-standards] (PRIuFAST8): Likewise.
20719 [C99-based-standards] (PRIxFAST8): Likewise.
20720 [C99-based-standards] (PRIXFAST8): Likewise.
20721 [C99-based-standards] (SCNdFAST8): Likewise.
20722 [C99-based-standards] (SCNiFAST8): Likewise.
20723 [C99-based-standards] (SCNoFAST8): Likewise.
20724 [C99-based-standards] (SCNuFAST8): Likewise.
20725 [C99-based-standards] (SCNxFAST8): Likewise.
20726 [C99-based-standards] (PRId16): Likewise.
20727 [C99-based-standards] (PRIi16): Likewise.
20728 [C99-based-standards] (PRIo16): Likewise.
20729 [C99-based-standards] (PRIu16): Likewise.
20730 [C99-based-standards] (PRIx16): Likewise.
20731 [C99-based-standards] (PRIX16): Likewise.
20732 [C99-based-standards] (SCNd16): Likewise.
20733 [C99-based-standards] (SCNi16): Likewise.
20734 [C99-based-standards] (SCNo16): Likewise.
20735 [C99-based-standards] (SCNu16): Likewise.
20736 [C99-based-standards] (SCNx16): Likewise.
20737 [C99-based-standards] (PRIdLEAST16): Likewise.
20738 [C99-based-standards] (PRIiLEAST16): Likewise.
20739 [C99-based-standards] (PRIoLEAST16): Likewise.
20740 [C99-based-standards] (PRIuLEAST16): Likewise.
20741 [C99-based-standards] (PRIxLEAST16): Likewise.
20742 [C99-based-standards] (PRIXLEAST16): Likewise.
20743 [C99-based-standards] (SCNdLEAST16): Likewise.
20744 [C99-based-standards] (SCNiLEAST16): Likewise.
20745 [C99-based-standards] (SCNoLEAST16): Likewise.
20746 [C99-based-standards] (SCNuLEAST16): Likewise.
20747 [C99-based-standards] (SCNxLEAST16): Likewise.
20748 [C99-based-standards] (PRIdFAST16): Likewise.
20749 [C99-based-standards] (PRIiFAST16): Likewise.
20750 [C99-based-standards] (PRIoFAST16): Likewise.
20751 [C99-based-standards] (PRIuFAST16): Likewise.
20752 [C99-based-standards] (PRIxFAST16): Likewise.
20753 [C99-based-standards] (PRIXFAST16): Likewise.
20754 [C99-based-standards] (SCNdFAST16): Likewise.
20755 [C99-based-standards] (SCNiFAST16): Likewise.
20756 [C99-based-standards] (SCNoFAST16): Likewise.
20757 [C99-based-standards] (SCNuFAST16): Likewise.
20758 [C99-based-standards] (SCNxFAST16): Likewise.
20759 [C99-based-standards] (PRId32): Likewise.
20760 [C99-based-standards] (PRIi32): Likewise.
20761 [C99-based-standards] (PRIo32): Likewise.
20762 [C99-based-standards] (PRIu32): Likewise.
20763 [C99-based-standards] (PRIx32): Likewise.
20764 [C99-based-standards] (PRIX32): Likewise.
20765 [C99-based-standards] (SCNd32): Likewise.
20766 [C99-based-standards] (SCNi32): Likewise.
20767 [C99-based-standards] (SCNo32): Likewise.
20768 [C99-based-standards] (SCNu32): Likewise.
20769 [C99-based-standards] (SCNx32): Likewise.
20770 [C99-based-standards] (PRIdLEAST32): Likewise.
20771 [C99-based-standards] (PRIiLEAST32): Likewise.
20772 [C99-based-standards] (PRIoLEAST32): Likewise.
20773 [C99-based-standards] (PRIuLEAST32): Likewise.
20774 [C99-based-standards] (PRIxLEAST32): Likewise.
20775 [C99-based-standards] (PRIXLEAST32): Likewise.
20776 [C99-based-standards] (SCNdLEAST32): Likewise.
20777 [C99-based-standards] (SCNiLEAST32): Likewise.
20778 [C99-based-standards] (SCNoLEAST32): Likewise.
20779 [C99-based-standards] (SCNuLEAST32): Likewise.
20780 [C99-based-standards] (SCNxLEAST32): Likewise.
20781 [C99-based-standards] (PRIdFAST32): Likewise.
20782 [C99-based-standards] (PRIiFAST32): Likewise.
20783 [C99-based-standards] (PRIoFAST32): Likewise.
20784 [C99-based-standards] (PRIuFAST32): Likewise.
20785 [C99-based-standards] (PRIxFAST32): Likewise.
20786 [C99-based-standards] (PRIXFAST32): Likewise.
20787 [C99-based-standards] (SCNdFAST32): Likewise.
20788 [C99-based-standards] (SCNiFAST32): Likewise.
20789 [C99-based-standards] (SCNoFAST32): Likewise.
20790 [C99-based-standards] (SCNuFAST32): Likewise.
20791 [C99-based-standards] (SCNxFAST32): Likewise.
20792 [C99-based-standards] (PRId64): Likewise.
20793 [C99-based-standards] (PRIi64): Likewise.
20794 [C99-based-standards] (PRIo64): Likewise.
20795 [C99-based-standards] (PRIu64): Likewise.
20796 [C99-based-standards] (PRIx64): Likewise.
20797 [C99-based-standards] (PRIX64): Likewise.
20798 [C99-based-standards] (SCNd64): Likewise.
20799 [C99-based-standards] (SCNi64): Likewise.
20800 [C99-based-standards] (SCNo64): Likewise.
20801 [C99-based-standards] (SCNu64): Likewise.
20802 [C99-based-standards] (SCNx64): Likewise.
20803 [C99-based-standards] (PRIdLEAST64): Likewise.
20804 [C99-based-standards] (PRIiLEAST64): Likewise.
20805 [C99-based-standards] (PRIoLEAST64): Likewise.
20806 [C99-based-standards] (PRIuLEAST64): Likewise.
20807 [C99-based-standards] (PRIxLEAST64): Likewise.
20808 [C99-based-standards] (PRIXLEAST64): Likewise.
20809 [C99-based-standards] (SCNdLEAST64): Likewise.
20810 [C99-based-standards] (SCNiLEAST64): Likewise.
20811 [C99-based-standards] (SCNoLEAST64): Likewise.
20812 [C99-based-standards] (SCNuLEAST64): Likewise.
20813 [C99-based-standards] (SCNxLEAST64): Likewise.
20814 [C99-based-standards] (PRIdFAST64): Likewise.
20815 [C99-based-standards] (PRIiFAST64): Likewise.
20816 [C99-based-standards] (PRIoFAST64): Likewise.
20817 [C99-based-standards] (PRIuFAST64): Likewise.
20818 [C99-based-standards] (PRIxFAST64): Likewise.
20819 [C99-based-standards] (PRIXFAST64): Likewise.
20820 [C99-based-standards] (SCNdFAST64): Likewise.
20821 [C99-based-standards] (SCNiFAST64): Likewise.
20822 [C99-based-standards] (SCNoFAST64): Likewise.
20823 [C99-based-standards] (SCNuFAST64): Likewise.
20824 [C99-based-standards] (SCNxFAST64): Likewise.
20825 [C99-based-standards] (PRIdMAX): Likewise.
20826 [C99-based-standards] (PRIiMAX): Likewise.
20827 [C99-based-standards] (PRIoMAX): Likewise.
20828 [C99-based-standards] (PRIuMAX): Likewise.
20829 [C99-based-standards] (PRIxMAX): Likewise.
20830 [C99-based-standards] (PRIXMAX): Likewise.
20831 [C99-based-standards] (SCNdMAX): Likewise.
20832 [C99-based-standards] (SCNiMAX): Likewise.
20833 [C99-based-standards] (SCNoMAX): Likewise.
20834 [C99-based-standards] (SCNuMAX): Likewise.
20835 [C99-based-standards] (SCNxMAX): Likewise.
20836 [C99-based-standards] (PRIdPTR): Likewise.
20837 [C99-based-standards] (PRIiPTR): Likewise.
20838 [C99-based-standards] (PRIoPTR): Likewise.
20839 [C99-based-standards] (PRIuPTR): Likewise.
20840 [C99-based-standards] (PRIxPTR): Likewise.
20841 [C99-based-standards] (PRIXPTR): Likewise.
20842 [C99-based-standards] (SCNdPTR): Likewise.
20843 [C99-based-standards] (SCNiPTR): Likewise.
20844 [C99-based-standards] (SCNoPTR): Likewise.
20845 [C99-based-standards] (SCNuPTR): Likewise.
20846 [C99-based-standards] (SCNxPTR): Likewise.
20847 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20848 allow.
20849 * conform/data/stdint.h-data: Update comments to clarify
20850 requirements.
20851 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20852 type.
20853 [C99-based standards] (INT8_MAX): Likewise.
20854 [C99-based standards] (INT16_MIN): Likewise.
20855 [C99-based standards] (INT16_MAX): Likewise.
20856 [C99-based standards] (INT32_MIN): Likewise.
20857 [C99-based standards] (INT32_MAX): Likewise.
20858 [C99-based standards] (INT64_MIN): Likewise.
20859 [C99-based standards] (INT64_MAX): Likewise.
20860 [C99-based standards] (UINT8_MAX): Likewise.
20861 [C99-based standards] (UINT16_MAX): Likewise.
20862 [C99-based standards] (UINT32_MAX): Likewise.
20863 [C99-based standards] (UINT64_MAX): Likewise.
20864 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20865 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20866 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20867 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20868 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20869 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20870 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20871 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20872 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20873 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20874 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20875 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20876 [C99-based standards] (INT_FAST8_MIN): Likewise.
20877 [C99-based standards] (INT_FAST8_MAX): Likewise.
20878 [C99-based standards] (INT_FAST16_MIN): Likewise.
20879 [C99-based standards] (INT_FAST16_MAX): Likewise.
20880 [C99-based standards] (INT_FAST32_MIN): Likewise.
20881 [C99-based standards] (INT_FAST32_MAX): Likewise.
20882 [C99-based standards] (INT_FAST64_MIN): Likewise.
20883 [C99-based standards] (INT_FAST64_MAX): Likewise.
20884 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20885 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20886 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20887 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20888 [C99-based standards] (INTPTR_MIN): Likewise.
20889 [C99-based standards] (INTPTR_MAX): Likewise.
20890 [C99-based standards] (UINTPTR_MAX): Likewise.
20891 [C99-based standards] (INTMAX_MIN): Likewise.
20892 [C99-based standards] (INTMAX_MAX): Likewise.
20893 [C99-based standards] (UINTMAX_MAX): Likewise.
20894 [C99-based standards] (PTRDIFF_MIN): Likewise.
20895 [C99-based standards] (PTRDIFF_MAX): Likewise.
20896 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20897 [C99-based standards] (SIZE_MAX): Likewise.
20898 [C99-based standards] (WCHAR_MAX): Likewise.
20899 [C99-based standards] (WINT_MAX): Likewise.
20900 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20901 constraint on value.
20902 [C99-based standards] (WCHAR_MIN): Likewise.
20903 [C99-based standards] (WINT_MIN): Likewise.
20904 [C99-based standards] (*_t): Allow.
20905 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20906 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20907 Include math.h-data and complex.h-data. Remove all expectations
20908 of math.h and complex.h contents.
20909 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20910 at end of line.
20911 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20912 (struct tm): Expect tag.
20913 [C99-based-standards] (wcstof): Expect function.
20914 [C99-based-standards] (wcstold): Likewise.
20915 [C99-based-standards] (wcstoll): Likewise.
20916 [C99-based-standards] (wcstoull): Likewise.
20917 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20918 macro-int-constant. Specify type.
20919 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20920 constraint on value.
20921 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20922 Specify type.
20923 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20924 Specify value.
20925 [ISO C standards]: Do not allow headers.
20926 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20927 wcs[abcdefghijklmnopqrstuvwxyz]*.
20928 [ISO C standards] (*_t): Do not allow.
20929 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20930 Expect function.
20931 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20932 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20933 Specify type.
20934 [ISO C standards]: Do not allow headers.
20935 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20936 is[abcdefghijklmnopqrstuvwxyz]*.
20937 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20938 to[abcdefghijklmnopqrstuvwxyz]*.
20939 [ISO C standards] (*_t): Do not allow.
20940 * conform/data/stdalign.h-data: New file.
20941 * conform/data/stdbool.h-data: Likewise.
20942 * conform/data/stdnoreturn.h-data: Likewise.
20943
7514feb8
RM
209442012-11-07 Roland McGrath <roland@hack.frob.com>
20945
20946 [BZ #14815]
20947 * manual/filesys.texi (Directory Entries): Typo fix.
20948 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20949
19b2ecfc
MS
209502012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20951
20952 * elf/elf.h (EM_AARCH64): New macro.
20953 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20954 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20955 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20956 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20957 (R_AARCH64_TLSDESC): Likewise.
20958 (NT_ARM_TLS): Likewise.
20959 (NT_ARM_HW_BREAK): Likewise.
20960 (NT_ARM_HW_WATCH): Likewise.
20961
60e235ee
JM
209622012-11-07 Joseph Myers <joseph@codesourcery.com>
20963
20964 [BZ #14811]
20965 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20966 (__ieee754_powl): Saturate nonzero exponents with absolute value
20967 below 0x1p-79 to +/- 0x1p-79.
20968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20969 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20970 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20971 nonzero exponents with absolute value below 0x1p-32 to +/-
20972 0x1p-32.
20973 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20974 (__ieee754_powl): Saturate nonzero exponents with absolute value
20975 below 0x1p-79 to +/- 0x1p-79.
20976 * math/libm-test.inc (pow_test): Add more tests.
20977
0ab234b7
AK
209782012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20979
20980 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20981 _dl_s390_cap_flags with kernel. Increase string length.
20982 (_dl_s390_platforms): Add z196 and zEC12.
20983
45832f74
JM
209842012-11-07 Joseph Myers <joseph@codesourcery.com>
20985
20986 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20987 Change XOPEN21K to XOPEN2K.
20988
19218757
MK
209892012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20990
20991 * string/memmove.c: Use memcpy when possible.
20992
c5f45721
AJ
209932012-11-06 Andreas Jaeger <aj@suse.de>
20994
20995 * po/eo.po: Update from translation team.
20996
82477c28
JM
209972012-11-06 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #14793]
21000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21001 exponent and small x and y exponents, scale x or y up. Increase
21002 by 2 the exponent used in scaling up.
21003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21005 * math/libm-test.inc (fma_test): Add more tests.
21006 (fma_test_towardzero): Likewise.
21007 (fma_test_downward): Likewise.
21008 (fma_test_upward): Likewise.
21009
99252c8c
JM
210102012-11-05 Joseph Myers <joseph@codesourcery.com>
21011
acfa885f
JM
21012 [BZ #14805]
21013 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21014 fenv_t *.
21015
99252c8c
JM
21016 [BZ #14801]
21017 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21018 namespace for names of struct fields.
21019 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21020 fenv_t fields.
21021 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21022 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21023
d6d98dea
ST
210242012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21025
21026 [BZ #3665]
21027 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21028
e10bb107
TS
210292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21030
21031 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21032 PTR_DEMANGLE.
21033
21034 [BZ #5246]
21035 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21036 PTR_DEMANGLE.
21037
a0c2940d
JM
210382012-11-04 Joseph Myers <joseph@codesourcery.com>
21039
21040 [BZ #14797]
21041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21042 definitely overflow as x * y not x * y + z.
21043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21045 * math/libm-test.inc (fma_test): Add more tests.
21046 (fma_test_towardzero): Likewise.
21047 (fma_test_downward): Likewise.
21048 (fma_test_upward): Likewise.
21049
b830319d
TS
210502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21051
21052 [BZ #157]
21053
21054 * include/stub-tag.h: Remove file.
21055 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21056 '#include' of it.
21057 * manual/maint.texi (Porting): Don't reference it.
21058 * Makerules ($(objpfx)stubs): Likewise.
21059 * dirent/closedir.c: Don't include <stub-tag.h>.
21060 * dirent/dirfd.c: Likewise.
21061 * dirent/fdopendir.c: Likewise.
21062 * dirent/getdents.c: Likewise.
21063 * dirent/getdents64.c: Likewise.
21064 * dirent/opendir.c: Likewise.
21065 * dirent/readdir.c: Likewise.
21066 * dirent/readdir64.c: Likewise.
21067 * dirent/readdir64_r.c: Likewise.
21068 * dirent/readdir_r.c: Likewise.
21069 * dirent/rewinddir.c: Likewise.
21070 * dirent/seekdir.c: Likewise.
21071 * dirent/telldir.c: Likewise.
21072 * gmon/profil.c: Likewise.
21073 * grp/setgroups.c: Likewise.
21074 * inet/if_index.c: Likewise.
21075 * io/access.c: Likewise.
21076 * io/chdir.c: Likewise.
21077 * io/chmod.c: Likewise.
21078 * io/chown.c: Likewise.
21079 * io/close.c: Likewise.
21080 * io/dup.c: Likewise.
21081 * io/dup2.c: Likewise.
21082 * io/dup3.c: Likewise.
21083 * io/euidaccess.c: Likewise.
21084 * io/faccessat.c: Likewise.
21085 * io/fchdir.c: Likewise.
21086 * io/fchmod.c: Likewise.
21087 * io/fchmodat.c: Likewise.
21088 * io/fchown.c: Likewise.
21089 * io/fchownat.c: Likewise.
21090 * io/fcntl.c: Likewise.
21091 * io/flock.c: Likewise.
21092 * io/fstatfs.c: Likewise.
21093 * io/fstatfs64.c: Likewise.
21094 * io/fstatvfs.c: Likewise.
21095 * io/fstatvfs64.c: Likewise.
21096 * io/futimens.c: Likewise.
21097 * io/fxstat.c: Likewise.
21098 * io/fxstat64.c: Likewise.
21099 * io/fxstatat.c: Likewise.
21100 * io/fxstatat64.c: Likewise.
21101 * io/getcwd.c: Likewise.
21102 * io/isatty.c: Likewise.
21103 * io/lchmod.c: Likewise.
21104 * io/lchown.c: Likewise.
21105 * io/link.c: Likewise.
21106 * io/linkat.c: Likewise.
21107 * io/lseek.c: Likewise.
21108 * io/lseek64.c: Likewise.
21109 * io/lxstat64.c: Likewise.
21110 * io/mkdir.c: Likewise.
21111 * io/mkdirat.c: Likewise.
21112 * io/mkfifo.c: Likewise.
21113 * io/mkfifoat.c: Likewise.
21114 * io/open.c: Likewise.
21115 * io/open64.c: Likewise.
21116 * io/openat.c: Likewise.
21117 * io/openat64.c: Likewise.
21118 * io/pipe.c: Likewise.
21119 * io/pipe2.c: Likewise.
21120 * io/poll.c: Likewise.
21121 * io/posix_fadvise.c: Likewise.
21122 * io/posix_fadvise64.c: Likewise.
21123 * io/posix_fallocate.c: Likewise.
21124 * io/posix_fallocate64.c: Likewise.
21125 * io/read.c: Likewise.
21126 * io/readlink.c: Likewise.
21127 * io/readlinkat.c: Likewise.
21128 * io/rmdir.c: Likewise.
21129 * io/sendfile.c: Likewise.
21130 * io/sendfile64.c: Likewise.
21131 * io/statfs.c: Likewise.
21132 * io/statfs64.c: Likewise.
21133 * io/statvfs.c: Likewise.
21134 * io/statvfs64.c: Likewise.
21135 * io/symlink.c: Likewise.
21136 * io/symlinkat.c: Likewise.
21137 * io/ttyname.c: Likewise.
21138 * io/ttyname_r.c: Likewise.
21139 * io/umask.c: Likewise.
21140 * io/unlink.c: Likewise.
21141 * io/unlinkat.c: Likewise.
21142 * io/utime.c: Likewise.
21143 * io/utimensat.c: Likewise.
21144 * io/write.c: Likewise.
21145 * io/xmknod.c: Likewise.
21146 * io/xmknodat.c: Likewise.
21147 * io/xstat.c: Likewise.
21148 * io/xstat64.c: Likewise.
21149 * login/getpt.c: Likewise.
21150 * login/grantpt.c: Likewise.
21151 * login/unlockpt.c: Likewise.
21152 * math/e_acoshl.c: Likewise.
21153 * math/e_acosl.c: Likewise.
21154 * math/e_asinl.c: Likewise.
21155 * math/e_atan2l.c: Likewise.
21156 * math/e_atanhl.c: Likewise.
21157 * math/e_coshl.c: Likewise.
21158 * math/e_expl.c: Likewise.
21159 * math/e_fmodl.c: Likewise.
21160 * math/e_gammal_r.c: Likewise.
21161 * math/e_hypotl.c: Likewise.
21162 * math/e_j0l.c: Likewise.
21163 * math/e_j1l.c: Likewise.
21164 * math/e_jnl.c: Likewise.
21165 * math/e_lgammal_r.c: Likewise.
21166 * math/e_log10l.c: Likewise.
21167 * math/e_log2l.c: Likewise.
21168 * math/e_logl.c: Likewise.
21169 * math/e_powl.c: Likewise.
21170 * math/e_rem_pio2l.c: Likewise.
21171 * math/e_sinhl.c: Likewise.
21172 * math/e_sqrtl.c: Likewise.
21173 * math/fclrexcpt.c: Likewise.
21174 * math/fedisblxcpt.c: Likewise.
21175 * math/feenablxcpt.c: Likewise.
21176 * math/fegetenv.c: Likewise.
21177 * math/fegetexcept.c: Likewise.
21178 * math/fegetround.c: Likewise.
21179 * math/feholdexcpt.c: Likewise.
21180 * math/fesetenv.c: Likewise.
21181 * math/fesetround.c: Likewise.
21182 * math/feupdateenv.c: Likewise.
21183 * math/fgetexcptflg.c: Likewise.
21184 * math/fraiseexcpt.c: Likewise.
21185 * math/fsetexcptflg.c: Likewise.
21186 * math/ftestexcept.c: Likewise.
21187 * math/k_cosl.c: Likewise.
21188 * math/k_rem_pio2l.c: Likewise.
21189 * math/k_sinl.c: Likewise.
21190 * math/k_tanl.c: Likewise.
21191 * math/s_asinhl.c: Likewise.
21192 * math/s_atanl.c: Likewise.
21193 * math/s_cbrtl.c: Likewise.
21194 * math/s_erfl.c: Likewise.
21195 * math/s_expm1l.c: Likewise.
21196 * math/s_log1pl.c: Likewise.
21197 * math/s_tanhl.c: Likewise.
21198 * misc/acct.c: Likewise.
21199 * misc/brk.c: Likewise.
21200 * misc/chflags.c: Likewise.
21201 * misc/chroot.c: Likewise.
21202 * misc/fchflags.c: Likewise.
21203 * misc/fgetxattr.c: Likewise.
21204 * misc/flistxattr.c: Likewise.
21205 * misc/fremovexattr.c: Likewise.
21206 * misc/fsetxattr.c: Likewise.
21207 * misc/fsync.c: Likewise.
21208 * misc/ftruncate.c: Likewise.
21209 * misc/futimes.c: Likewise.
21210 * misc/futimesat.c: Likewise.
21211 * misc/getdomain.c: Likewise.
21212 * misc/getdtsz.c: Likewise.
21213 * misc/gethostid.c: Likewise.
21214 * misc/gethostname.c: Likewise.
21215 * misc/getloadavg.c: Likewise.
21216 * misc/getpagesize.c: Likewise.
21217 * misc/getsysstats.c: Likewise.
21218 * misc/getxattr.c: Likewise.
21219 * misc/gtty.c: Likewise.
21220 * misc/ioctl.c: Likewise.
21221 * misc/lgetxattr.c: Likewise.
21222 * misc/listxattr.c: Likewise.
21223 * misc/llistxattr.c: Likewise.
21224 * misc/lremovexattr.c: Likewise.
21225 * misc/lsetxattr.c: Likewise.
21226 * misc/lutimes.c: Likewise.
21227 * misc/madvise.c: Likewise.
21228 * misc/mincore.c: Likewise.
21229 * misc/mlock.c: Likewise.
21230 * misc/mlockall.c: Likewise.
21231 * misc/mmap.c: Likewise.
21232 * misc/mprotect.c: Likewise.
21233 * misc/msync.c: Likewise.
21234 * misc/munlock.c: Likewise.
21235 * misc/munlockall.c: Likewise.
21236 * misc/munmap.c: Likewise.
21237 * misc/preadv.c: Likewise.
21238 * misc/preadv64.c: Likewise.
21239 * misc/ptrace.c: Likewise.
21240 * misc/pwritev.c: Likewise.
21241 * misc/pwritev64.c: Likewise.
21242 * misc/readv.c: Likewise.
21243 * misc/reboot.c: Likewise.
21244 * misc/remap_file_pages.c: Likewise.
21245 * misc/removexattr.c: Likewise.
21246 * misc/revoke.c: Likewise.
21247 * misc/select.c: Likewise.
21248 * misc/setdomain.c: Likewise.
21249 * misc/setegid.c: Likewise.
21250 * misc/seteuid.c: Likewise.
21251 * misc/sethostid.c: Likewise.
21252 * misc/sethostname.c: Likewise.
21253 * misc/setregid.c: Likewise.
21254 * misc/setreuid.c: Likewise.
21255 * misc/setxattr.c: Likewise.
21256 * misc/sstk.c: Likewise.
21257 * misc/stty.c: Likewise.
21258 * misc/swapoff.c: Likewise.
21259 * misc/swapon.c: Likewise.
21260 * misc/sync.c: Likewise.
21261 * misc/syncfs.c: Likewise.
21262 * misc/syscall.c: Likewise.
21263 * misc/truncate.c: Likewise.
21264 * misc/ualarm.c: Likewise.
21265 * misc/usleep.c: Likewise.
21266 * misc/ustat.c: Likewise.
21267 * misc/utimes.c: Likewise.
21268 * misc/vhangup.c: Likewise.
21269 * misc/writev.c: Likewise.
21270 * posix/_exit.c: Likewise.
21271 * posix/alarm.c: Likewise.
21272 * posix/execve.c: Likewise.
21273 * posix/fexecve.c: Likewise.
21274 * posix/fork.c: Likewise.
21275 * posix/fpathconf.c: Likewise.
21276 * posix/getaddrinfo.c: Likewise.
21277 * posix/getegid.c: Likewise.
21278 * posix/geteuid.c: Likewise.
21279 * posix/getgid.c: Likewise.
21280 * posix/getgroups.c: Likewise.
21281 * posix/getlogin.c: Likewise.
21282 * posix/getlogin_r.c: Likewise.
21283 * posix/getpgid.c: Likewise.
21284 * posix/getpid.c: Likewise.
21285 * posix/getppid.c: Likewise.
21286 * posix/getresgid.c: Likewise.
21287 * posix/getresuid.c: Likewise.
21288 * posix/getsid.c: Likewise.
21289 * posix/getuid.c: Likewise.
21290 * posix/glob64.c: Likewise.
21291 * posix/nanosleep.c: Likewise.
21292 * posix/pathconf.c: Likewise.
21293 * posix/pause.c: Likewise.
21294 * posix/posix_madvise.c: Likewise.
21295 * posix/pread.c: Likewise.
21296 * posix/pread64.c: Likewise.
21297 * posix/pwrite.c: Likewise.
21298 * posix/pwrite64.c: Likewise.
21299 * posix/sched_getaffinity.c: Likewise.
21300 * posix/sched_getp.c: Likewise.
21301 * posix/sched_gets.c: Likewise.
21302 * posix/sched_primax.c: Likewise.
21303 * posix/sched_primin.c: Likewise.
21304 * posix/sched_rr_gi.c: Likewise.
21305 * posix/sched_setaffinity.c: Likewise.
21306 * posix/sched_setp.c: Likewise.
21307 * posix/sched_sets.c: Likewise.
21308 * posix/sched_yield.c: Likewise.
21309 * posix/setgid.c: Likewise.
21310 * posix/setlogin.c: Likewise.
21311 * posix/setpgid.c: Likewise.
21312 * posix/setresgid.c: Likewise.
21313 * posix/setresuid.c: Likewise.
21314 * posix/setsid.c: Likewise.
21315 * posix/setuid.c: Likewise.
21316 * posix/sleep.c: Likewise.
21317 * posix/spawni.c: Likewise.
21318 * posix/sysconf.c: Likewise.
21319 * posix/times.c: Likewise.
21320 * posix/wait.c: Likewise.
21321 * posix/wait3.c: Likewise.
21322 * posix/wait4.c: Likewise.
21323 * posix/waitpid.c: Likewise.
21324 * resolv/gai_sigqueue.c: Likewise.
21325 * resource/getpriority.c: Likewise.
21326 * resource/getrlimit.c: Likewise.
21327 * resource/getrusage.c: Likewise.
21328 * resource/nice.c: Likewise.
21329 * resource/setpriority.c: Likewise.
21330 * resource/setrlimit.c: Likewise.
21331 * resource/ulimit.c: Likewise.
21332 * rt/aio_cancel.c: Likewise.
21333 * rt/aio_fsync.c: Likewise.
21334 * rt/aio_read.c: Likewise.
21335 * rt/aio_sigqueue.c: Likewise.
21336 * rt/aio_suspend.c: Likewise.
21337 * rt/aio_write.c: Likewise.
21338 * rt/clock_getres.c: Likewise.
21339 * rt/clock_gettime.c: Likewise.
21340 * rt/clock_nanosleep.c: Likewise.
21341 * rt/clock_settime.c: Likewise.
21342 * rt/lio_listio.c: Likewise.
21343 * rt/mq_close.c: Likewise.
21344 * rt/mq_getattr.c: Likewise.
21345 * rt/mq_notify.c: Likewise.
21346 * rt/mq_open.c: Likewise.
21347 * rt/mq_receive.c: Likewise.
21348 * rt/mq_send.c: Likewise.
21349 * rt/mq_setattr.c: Likewise.
21350 * rt/mq_timedreceive.c: Likewise.
21351 * rt/mq_timedsend.c: Likewise.
21352 * rt/mq_unlink.c: Likewise.
21353 * rt/shm_open.c: Likewise.
21354 * rt/shm_unlink.c: Likewise.
21355 * rt/timer_create.c: Likewise.
21356 * rt/timer_delete.c: Likewise.
21357 * rt/timer_getoverr.c: Likewise.
21358 * rt/timer_gettime.c: Likewise.
21359 * rt/timer_settime.c: Likewise.
21360 * setjmp/__longjmp.c: Likewise.
21361 * setjmp/setjmp.c: Likewise.
21362 * signal/kill.c: Likewise.
21363 * signal/killpg.c: Likewise.
21364 * signal/raise.c: Likewise.
21365 * signal/sigaction.c: Likewise.
21366 * signal/sigaltstack.c: Likewise.
21367 * signal/sigblock.c: Likewise.
21368 * signal/sigignore.c: Likewise.
21369 * signal/sigintr.c: Likewise.
21370 * signal/signal.c: Likewise.
21371 * signal/sigpause.c: Likewise.
21372 * signal/sigpending.c: Likewise.
21373 * signal/sigqueue.c: Likewise.
21374 * signal/sigreturn.c: Likewise.
21375 * signal/sigset.c: Likewise.
21376 * signal/sigsetmask.c: Likewise.
21377 * signal/sigstack.c: Likewise.
21378 * signal/sigsuspend.c: Likewise.
21379 * signal/sigtimedwait.c: Likewise.
21380 * signal/sigvec.c: Likewise.
21381 * signal/sigwait.c: Likewise.
21382 * signal/sigwaitinfo.c: Likewise.
21383 * signal/sysv_signal.c: Likewise.
21384 * socket/accept.c: Likewise.
21385 * socket/accept4.c: Likewise.
21386 * socket/bind.c: Likewise.
21387 * socket/connect.c: Likewise.
21388 * socket/getpeername.c: Likewise.
21389 * socket/getsockname.c: Likewise.
21390 * socket/getsockopt.c: Likewise.
21391 * socket/isfdtype.c: Likewise.
21392 * socket/listen.c: Likewise.
21393 * socket/recv.c: Likewise.
21394 * socket/recvfrom.c: Likewise.
21395 * socket/recvmsg.c: Likewise.
21396 * socket/send.c: Likewise.
21397 * socket/sendmsg.c: Likewise.
21398 * socket/sendto.c: Likewise.
21399 * socket/setsockopt.c: Likewise.
21400 * socket/shutdown.c: Likewise.
21401 * socket/sockatmark.c: Likewise.
21402 * socket/socket.c: Likewise.
21403 * socket/socketpair.c: Likewise.
21404 * stdio-common/ctermid.c: Likewise.
21405 * stdio-common/cuserid.c: Likewise.
21406 * stdio-common/remove.c: Likewise.
21407 * stdio-common/rename.c: Likewise.
21408 * stdio-common/renameat.c: Likewise.
21409 * stdio-common/tempname.c: Likewise.
21410 * stdlib/getcontext.c: Likewise.
21411 * stdlib/makecontext.c: Likewise.
21412 * stdlib/setcontext.c: Likewise.
21413 * stdlib/swapcontext.c: Likewise.
21414 * stdlib/system.c: Likewise.
21415 * streams/fattach.c: Likewise.
21416 * streams/fdetach.c: Likewise.
21417 * streams/getmsg.c: Likewise.
21418 * streams/getpmsg.c: Likewise.
21419 * streams/putmsg.c: Likewise.
21420 * streams/putpmsg.c: Likewise.
21421 * sysdeps/unix/bsd/getpt.c: Likewise.
21422 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21423 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21424 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21426 Likewise.
21427 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21428 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21429 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21430 * sysvipc/msgctl.c: Likewise.
21431 * sysvipc/msgget.c: Likewise.
21432 * sysvipc/msgrcv.c: Likewise.
21433 * sysvipc/msgsnd.c: Likewise.
21434 * sysvipc/semctl.c: Likewise.
21435 * sysvipc/semget.c: Likewise.
21436 * sysvipc/semop.c: Likewise.
21437 * sysvipc/semtimedop.c: Likewise.
21438 * sysvipc/shmat.c: Likewise.
21439 * sysvipc/shmctl.c: Likewise.
21440 * sysvipc/shmdt.c: Likewise.
21441 * sysvipc/shmget.c: Likewise.
21442 * termios/tcdrain.c: Likewise.
21443 * termios/tcflow.c: Likewise.
21444 * termios/tcflush.c: Likewise.
21445 * termios/tcgetattr.c: Likewise.
21446 * termios/tcgetpgrp.c: Likewise.
21447 * termios/tcsendbrk.c: Likewise.
21448 * termios/tcsetattr.c: Likewise.
21449 * termios/tcsetpgrp.c: Likewise.
21450 * time/adjtime.c: Likewise.
21451 * time/clock.c: Likewise.
21452 * time/getitimer.c: Likewise.
21453 * time/gettimeofday.c: Likewise.
21454 * time/setitimer.c: Likewise.
21455 * time/settimeofday.c: Likewise.
21456 * time/stime.c: Likewise.
21457 * time/time.c: Likewise.
21458
214592012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21460
a20492cf
PT
21461 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21462 /usr/old/bin.
21463
72e182e3
PT
21464 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21465 instead of spaces.
21466 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21467
fbeafede
JM
214682012-11-03 Joseph Myers <joseph@codesourcery.com>
21469
5b5b04d6
JM
21470 [BZ #14796]
21471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21472 FE_TONEAREST before applying Dekker multiplication and Knuth
21473 addition. Clear inexact exceptions and check for exact zero
21474 results afterwards.
21475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21478 * math/libm-test.inc (fma_test): Add more tests.
21479 (fma_test_towardzero): Likewise.
21480 (fma_test_downward): Likewise.
21481 (fma_test_upward): Likewise.
21482 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21483 function.
21484 (libc_fesetround): New macro.
21485 (libc_fesetroundf): Likewise.
21486 (libc_fesetroundl): Likewise.
21487 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21488 function.
21489 (libc_fesetround_387): Likewise.
21490 (libc_fesetroundf): New macro.
21491 (libc_fesetround): Likewise.
21492 (libc_fesetroundl): Likewise.
21493 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21494 function.
21495 (libc_fesetroundf): New macro.
21496 (libc_fesetround): Likewise.
21497 (libc_fesetroundl): Likewise.
21498 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21499 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21500 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21501 libm_hidden_ver.
21502 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21503 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21504 libm_hidden_def.
21505 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21506 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21507 libm_hidden_ver.
21508 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21509 libm_hidden_def.
21510
fbeafede
JM
21511 [BZ #3439]
21512 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21513 integer constant usable in #if and use that to give value to enum
21514 constant.
21515 (FE_DIVBYZERO): Likewise.
21516 (FE_UNDERFLOW): Likewise.
21517 (FE_OVERFLOW): Likewise.
21518 (FE_INVALID): Likewise.
21519 (FE_INVALID_SNAN): Likewise.
21520 (FE_INVALID_ISI): Likewise.
21521 (FE_INVALID_IDI): Likewise.
21522 (FE_INVALID_ZDZ): Likewise.
21523 (FE_INVALID_IMZ): Likewise.
21524 (FE_INVALID_COMPARE): Likewise.
21525 (FE_INVALID_SOFTWARE): Likewise.
21526 (FE_INVALID_SQRT): Likewise.
21527 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21528 (FE_TONEAREST): Likewise.
21529 (FE_TOWARDZERO): Likewise.
21530 (FE_UPWARD): Likewise.
21531 (FE_DOWNWARD): Likewise.
21532 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21533 (FE_DIVBYZERO): Likewise.
21534 (FE_OVERFLOW): Likewise.
21535 (FE_UNDERFLOW): Likewise.
21536 (FE_INEXACT): Likewise.
21537 (FE_TONEAREST): Likewise.
21538 (FE_DOWNWARD): Likewise.
21539 (FE_UPWARD): Likewise.
21540 (FE_TOWARDZERO): Likewise.
21541 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21542 (FE_UNDERFLOW): Likewise.
21543 (FE_OVERFLOW): Likewise.
21544 (FE_DIVBYZERO): Likewise.
21545 (FE_INVALID): Likewise.
21546 (FE_TONEAREST): Likewise.
21547 (FE_TOWARDZERO): Likewise.
21548 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21549 (FE_OVERFLOW): Likewise.
21550 (FE_UNDERFLOW): Likewise.
21551 (FE_DIVBYZERO): Likewise.
21552 (FE_INEXACT): Likewise.
21553 (FE_TONEAREST): Likewise.
21554 (FE_TOWARDZERO): Likewise.
21555 (FE_UPWARD): Likewise.
21556 (FE_DOWNWARD): Likewise.
21557 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21558 (FE_DIVBYZERO): Likewise.
21559 (FE_OVERFLOW): Likewise.
21560 (FE_UNDERFLOW): Likewise.
21561 (FE_INEXACT): Likewise.
21562 (FE_TONEAREST): Likewise.
21563 (FE_DOWNWARD): Likewise.
21564 (FE_UPWARD): Likewise.
21565 (FE_TOWARDZERO): Likewise.
21566
105ca950
CM
215672012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21568
21569 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21570
a542b389
AS
215712012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21572
21573 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21574 commands. Quote $PWD.
21575 (blacklist_exports): Don't use remove_newlines. Replace "declare
21576 -x" by "export".
21577 (remove_newlines): Remove.
21578
f62c8abc
L
215792012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21582 * stdlib/stdlib.h (atof): Moved to ...
21583 * include/bits/stdlib-float.h: Here. New file.
21584 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21585 * stdlib/bits/stdlib-float.h: New file.
21586 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21587 -mno-sse -mno-mmx.
21588 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21589 <xmmintrin.h>.
21590
0155d5b2
JM
215912012-11-02 Joseph Myers <joseph@codesourcery.com>
21592
a68d0680
JM
21593 * conform/conformtest.pl (@headers): Add fenv.h.
21594 * conform/data/fenv.h-data: New file.
21595 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21596 include of <math/fenv.h>.
21597
caf7f573
JM
21598 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21599 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21600 && !UNIX98]. Enables tests for XOPEN2K8.
21601 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21602 POSIX2008]: Likewise.
21603
6c073ad6
JM
21604 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21605 (struct rusage): Do not expect type or its members.
21606
0155d5b2
JM
21607 [BZ #3439]
21608 * math/math.h (FP_NAN): Define macro to integer constant usable in
21609 #if and use that to give value to enum constant.
21610 (FP_INFINITE): Likewise.
21611 (FP_ZERO): Likewise.
21612 (FP_SUBNORMAL): Likewise.
21613 (FP_NORMAL): Likewise.
21614
b5dcacb4
AS
216152012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21616
21617 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21618 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21619 arguments.
21620
f7934be8
RM
216212012-11-02 Roland McGrath <roland@hack.frob.com>
21622
21623 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21624 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21625 autoconf-time if not.
21626 * configure.in: Remove AC_PREREQ.
21627
d7d08bde
TMQMF
216282012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21629
21630 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21631 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21632 of the internal implementation.
21633
dcdae19a
JM
216342012-11-02 Joseph Myers <joseph@codesourcery.com>
21635
21636 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21637 except include of <misc/sys/syslog.h>.
21638
d6cffd3e
AS
216392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21640
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21642 function returns with a NULL context exit with zero.
21643
b3563932
TMQMF
216442012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21645
21646 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21647
b288a93d
L
216482012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21649
21650 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21651 (run_program_cmd): This.
21652 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21653 (tst_langinfo): New variable. Use it.
21654
a2421a68
SAS
216552012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21656
21657 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21658 floating point opcodes.
21659
6f796e1b
TS
216602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21661
7402596b
TS
21662 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21663 variable.
21664
d0d4f868
TS
21665 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21666
6f796e1b
TS
21667 * sysdeps/mach/hurd/powerpc: Remove directory.
21668 * sysdeps/mach/powerpc: Likewise.
21669
4da224a2
AS
216702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21671
21672 * scripts/check-local-headers.sh: Ignore c++ headers.
21673
341dd673
TS
216742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21675
21676 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21677 __libc_cleanup_region_start argument.
21678
473611b2
JM
216792012-11-01 Joseph Myers <joseph@codesourcery.com>
21680
21681 [BZ #14784]
21682 [BZ #14785]
21683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21684 x * y using scaling, not as x * y + z.
21685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21686 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21687 * math/libm-test.inc (fma_test): Add more tests.
21688 (fma_test_towardzero): Likewise.
21689 (fma_test_downward): Likewise.
21690 (fma_test_upward): Likewise.
21691
4078da3d
TS
216922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21693
21694 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21695
903252aa
JM
216962012-10-31 Joseph Myers <joseph@codesourcery.com>
21697
21698 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21699 New variable.
21700
cbc818d0
TS
217012012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21702
21703 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21704
5a03cb1e
AS
217052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21706
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21708 Fix sort order.
21709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21710 Likewise.
21711
90aff2ff
TMQMF
217122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21713
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21715 Fix the order of the list for glibc 2.17.
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21717 Likewise.
21718
1818fcb7
AS
217192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21720
21721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21722
ef82f4da
JM
217232012-10-31 Joseph Myers <joseph@codesourcery.com>
21724
16a0e2ec
JM
21725 [BZ #14610]
21726 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21727 for low part of x being zero before using __atanl (y).
21728 * math/libm-test.inc (atan2_test): Add another test.
21729
0eb69512
JM
21730 * manual/install.texi (Configuring and compiling): Document
21731 general use of test-wrapper and test-wrapper-env.
21732 * INSTALL: Regenerated.
21733
ef82f4da
JM
21734 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21735 (__fma): Do not extract and scale down low bits on after-rounding
21736 systems when result rounded to normal precision would have normal
21737 exponent.
21738 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21739 (__fmal): Do not extract and scale down low bits on after-rounding
21740 systems when result rounded to normal precision would have normal
21741 exponent.
21742 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21743 (__fmal): Do not extract and scale down low bits on after-rounding
21744 systems when result rounded to normal precision would have normal
21745 exponent.
21746 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21747 macro.
21748 (fma_test): Add more tests.
21749 (fma_test_towardzero): Likewise.
21750 (fma_test_downward): Likewise.
21751 (fma_test_upward): Likewise.
21752
954ef0d9
L
217532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21754
21755 * sysdeps/i386/tininess.h: Renamed to ...
21756 * sysdeps/x86/tininess.h: This.
21757 * sysdeps/x86_64/tininess.h: Removed.
21758
df61ffb2
JM
217592012-10-30 Joseph Myers <joseph@codesourcery.com>
21760
21761 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21762 input. Use $(build-program-cmd).
21763 ($(objpfx)tst-array1-static.out): Likewise.
21764 ($(objpfx)tst-array2.out): Likewise.
21765 ($(objpfx)tst-array3.out): Likewise.
21766 ($(objpfx)tst-array4.out): Likewise.
21767 ($(objpfx)tst-array5.out): Likewise.
21768 ($(objpfx)tst-array5-static.out): Likewise.
21769
01767843
CM
217702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21771
47cc1490
CM
21772 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21773 if defined.
21774
01767843
CM
21775 * nss/nsswitch.h (nss_interface_function): Provide new
21776 macro for use with NSS functions.
21777 * grp/initgroups.c: Use new macro.
21778 * nss/getXXbyYY.c: Likewise.
21779 * nss/getXXbyYY_r.c: Likewise.
21780 * nss/getXXent.c: Likewise.
21781 * nss/getXXent_r.c: Likewise.
21782 * sysdeps/posix/getaddrinfo.c: Likewise.
21783
8321aa97
AJ
217842012-10-30 Andreas Jaeger <aj@suse.de>
21785
21786 * po/ru.po: Update Russion translation from translation project.
21787
2a27fd6d
JM
217882012-10-30 Joseph Myers <joseph@codesourcery.com>
21789
8627a232
JM
21790 [BZ #14152]
21791 [BZ #14783]
21792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21793 result and shift together with sticky bit instead of replicating
21794 round-to-nearest rounding.
21795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21796 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21797 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21798 missing underflow exceptions.
21799 (fma_test_towardzero): Add more tests.
21800 (fma_test_downward): Likewise.
21801 (fma_test_upward): Likewise.
21802
2a27fd6d
JM
21803 [BZ #14047]
21804 * sysdeps/generic/tininess.h: New file.
21805 * sysdeps/i386/tininess.h: Likewise.
21806 * sysdeps/sh/tininess.h: Likewise.
21807 * sysdeps/x86_64/tininess.h: Likewise.
21808 * stdlib/tst-strtod-underflow.c: Likewise.
21809 * stdlib/tst-tininess.c: Likewise.
21810 * stdlib/strtod_l.c: Include <tininess.h>.
21811 (round_and_return): Do not set errno for exact underflow cases.
21812 Force an underflow exception when setting errno for underflow.
21813 Determine underflow based on rounding to normal precision if
21814 TININESS_AFTER_ROUNDING.
21815 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21816 ERANGE for exact underflow cases.
21817 * stdlib/Makefile (tests): Add tst-tininess and
21818 tst-strtod-underflow.
21819 ($(objpfx)tst-tininess): Use $(link-libm).
21820 ($(objpfx)tst-strtod-underflow): Likewise.
21821
e7170363
AJ
218222012-10-30 Andreas Jaeger <aj@suse.de>
21823
e5088dc6
AJ
21824 [BZ#14767]
21825 * elf/Makefile (tests): Remove conditional for have-initfini-array
21826 since this is now always required and the variable does not exist
21827 anymore.
21828 (tests-static): Likewise.
21829 (modules-names): Likewise.
21830
e7170363 21831 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21832
21833 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21834 merged with constructor/destructor.
21835 (init_array): Likewise.
21836 * elf/tst-array2dep.c (fini_array): Likewise.
21837 (init_array): Likewise.
21838
60457d8a
MF
218392012-10-29 Mike Frysinger <vapier@gentoo.org>
21840
21841 * manual/message.texi: Delete @cartouche tags.
21842
8bece752
PT
218432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21844
94ce799f
PT
21845 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21846 EOPNOTSUPP.
21847 * sysdeps/mach/hurd/fsync.c: Likewise.
21848
8bece752
PT
21849 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21850 [_POSIX_REALTIME_SIGNALS]: Change condition to
21851 [_POSIX_REALTIME_SIGNALS > 0].
21852
86ebe6b1
AJ
218532012-10-27 Andreas Jaeger <aj@suse.de>
21854
21855 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21856 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21858 [__WORDSIZE != 64]: Likewise.
21859
54399c08
L
218602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21861
21862 * iconvdata/tst-table.sh: Remove ${SHELL}.
21863 * iconvdata/tst-tables.sh: Likewise.
21864
e2211bed
DM
218652012-10-25 David S. Miller <davem@davemloft.net>
21866
21867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21868 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21869 of strtoull.
21870
f303f97c
DM
21871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21872 ifunc-impl-list.c
21873 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21874 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21875 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21876 file.
21877
1e9d84cd
RM
218782012-10-25 Roland McGrath <roland@hack.frob.com>
21879
21880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21881 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21882 __getdirentries.
21883
df381762
JM
218842012-10-25 Joseph Myers <joseph@codesourcery.com>
21885 Jim Blandy <jimb@codesourcery.com>
21886
21887 * scripts/cross-test-ssh.sh: New file.
21888 * manual/install.texi (Configuring and compiling): Document use of
21889 cross-test-ssh.sh.
21890 * INSTALL: Regenerated.
21891
bff64913
PT
218922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21893
21894 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21895 EOPNOTSUPP.
21896
25fe8932
JM
218972012-10-25 Joseph Myers <joseph@codesourcery.com>
21898
21899 * Makeconfig (run-program-prefix): Fix comment.
21900
cc1290d0
JM
219012012-10-24 Joseph Myers <joseph@codesourcery.com>
21902 Jim Blandy <jimb@codesourcery.com>
21903
21904 * Makeconfig (test-wrapper): New variable,
21905 (test-wrapper-env): Likewise.
21906 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21907 (run-built-tests): Define to yes.
21908 (run-program-prefix): Use $(test-wrapper).
21909 (built-program-cmd): Likewise.
21910 * Rules (make-test-out): Use $(test-wrapper-env) and
21911 $(host-built-program-cmd).
21912 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21913 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21914 tst-pathopt.sh.
21915 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21916 $(test-wrapper-env) to tst-rtld-load-self.sh.
21917 ($(objpfx)order2.out): Use $(test-wrapper).
21918 ($(objpfx)tst-initorder.out): Likewise.
21919 ($(objpfx)tst-initorder2.out): Likewise.
21920 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21921 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21922 (test_wrapper_env): New variable. Use it to run ld.so.
21923 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21924 Use it to run ld.so.
21925 (test_wrapper_env): Likewise.
21926 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21927 $(test-wrapper) to run-iconv-test.sh.
21928 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21929 (ICONV): Use $test_wrapper.
21930 * posix/Makefile ($(objpfx)globtest.out): Pass
21931 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21932 globtest.sh, not $(run-program-prefix).
21933 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21934 (test_wrapper): Likewise.
21935 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21936 set together with run_via_rtld_prefix.
21937 (run_program_prefix): Define in terms of test_wrapper and
21938 run_via_rtld_prefix.
21939
6e6249d0
RM
219402012-10-24 Roland McGrath <roland@hack.frob.com>
21941
21942 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21943 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21944 Targets removed.
21945
21946 [BZ #14743]
21947 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21948 Declare __clock_getres, __clock_gettime, __clock_settime,
21949 __clock_nanosleep, and __clock_getcpuclockid.
21950 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21951 Remove librt_hidden_def (clock_gettime).
21952 * sysdeps/unix/clock_gettime.c: Likewise.
21953 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21954 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21955 * rt/clock_getres.c: Define __clock_getres as an alias.
21956 * sysdeps/posix/clock_getres.c: Likewise.
21957 * rt/clock_settime.c: Define __clock_settime as an alias.
21958 * sysdeps/unix/clock_settime.c: Likewise.
21959 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21960 * sysdeps/unix/clock_nanosleep.c: Likewise.
21961 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21962 * rt/clock-compat.c: New file.
21963 * rt/Makefile (librt-routines): Add clock-compat and move
21964 $(clock-routines) to ...
21965 (routines): ... here, new variable.
21966 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21967 Don't add get_clockfreq here.
21968 * rt/Versions (libc: GLIBC_2.17): New version set.
21969 Add clock_* symbols here.
21970 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21971 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21972 (GLIBC_2.17): Add clock_* symbols.
21973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21975 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21977 Likewise.
21978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21979 Likewise.
21980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21984 * NEWS: Mention the move.
21985
21986 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21987 Use __open, __read, __close rather than their public counterparts.
21988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21989 (__get_clockfreq_via_cpuinfo): Likewise.
21990 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21991 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21992
21993 * config.h.in (HAVE_IFUNC): New #undef.
21994 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21995 was successful.
21996 * configure: Regenerated.
21997
0cae3f4b
MF
219982012-10-24 Mike Frysinger <vapier@gentoo.org>
21999
22000 * configure.in: Move READELF check to start of file.
22001 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22002 libc_cv_asm_gnu_indirect_function in the process.
22003 * configure: Regenerated.
22004
8175a253
MF
220052012-10-24 Mike Frysinger <vapier@gentoo.org>
22006
22007 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22008 send the output to /dev/null.
22009 (libc_cv_cc_with_libunwind): Likewise.
22010 (libc_cv_as_noexecstack): Likewise.
22011 * configure: Regenerate.
22012
0708a7d1
JM
220132012-10-24 Joseph Myers <joseph@codesourcery.com>
22014
10b40d85
JM
22015 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22016
0708a7d1
JM
22017 * posix/globtest.sh (TMPDIR): Do not set.
22018 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22019 (testout): Likewise.
22020
9fddec1a
AJ
220212012-10-24 Andreas Jaeger <aj@suse.de>
22022
3a8db22f
AJ
22023 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22024 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22025 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22026 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22027 posix_fadvise64, posix_fallocate64.
22028
9fddec1a
AJ
22029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22030 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22031 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22032 Likewise.
22033 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22034 Likewise.
22035 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22036
22037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22038 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22039 <bits/fcntl-linux.h>.
22040 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22041
22042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22043 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22044 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22045 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22046 [__WORDSIZE != 64]: Likewise.
22047
ebfd1bbd
JM
220482012-10-23 Joseph Myers <joseph@codesourcery.com>
22049
03ac099f
JM
22050 * Makeconfig (run-built-tests): New variable.
22051 * Rules [$(cross-compiling) = yes]: Change condition to
22052 [$(run-built-tests) = no].
22053 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22054 to [$(run-built-tests) = yes].
22055 * elf/Makefile [$(cross-compiling) = no]: Likewise
22056 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22057 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22058 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22059 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22060 * io/Makefile [$(cross-compiling) = no]: Likewise.
22061 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22062 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22063 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22064 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22065 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22066 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22067 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22068 * string/Makefile [$(cross-compiling) = no]: Likewise.
22069
ebfd1bbd
JM
22070 * posix/Makefile ($(objpfx)globtest.out): Pass
22071 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22072 $(rtld-installed-name).
22073 * posix/globtest.sh (elf_objpfx): Remove variable.
22074 (rtld_installed_name): Likewise.
22075 (library_path): Likewise.
22076 (run_program_prefix): New variable. Use for running globtest
22077 binary.
22078
166bca24
JB
220792012-10-23 Jim Blandy <jimb@codesourcery.com>
22080 Joseph Myers <joseph@codesourcery.com>
22081
22082 * Makeconfig (host-built-program-cmd): New variable.
22083 * elf/Makefile (tst-stackguard1-ARGS): Use
22084 $(host-built-program-cmd).
22085 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22086 (tst-spawn-ARGS): Likewise.
22087 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22088
88866099
JM
220892012-10-23 Joseph Myers <joseph@codesourcery.com>
22090 Jim Blandy <jimb@codesourcery.com>
22091
22092 * Makeconfig (run-via-rtld-prefix): New variable.
22093 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22094 (built-program-cmd): Likewise.
22095
b4b4c296
AJ
220962012-10-22 Andreas Jaeger <aj@suse.de>
22097
22098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22099 __O_RSYNC if it exists, otherwise to O_SYNC.
22100
6fb54a22
JB
221012012-10-22 Jim Blandy <jimb@codesourcery.com>
22102 Joseph Myers <joseph@codesourcery.com>
22103
22104 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22105 /dev/null.
22106 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22107 from /dev/null
22108 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22109 /dev/null.
22110
481b90b9
AJ
221112012-10-22 Andreas Jaeger <aj@suse.de>
22112
2a0e2669
AJ
22113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22114 Define always.
22115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22116
76e38f9a
AJ
22117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22118 bits/fcntl-linux.h.
22119
7cd37b43
AJ
22120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22121 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22122
481b90b9
AJ
22123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22124 to __O_LARGEFILE.
22125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22126 to __O_LARGEFILE.
22127
aba75984
JB
221282012-10-21 Jim Blandy <jimb@codesourcery.com>
22129 Joseph Myers <joseph@codesourcery.com>
22130
22131 * config.make.in (NM): New variable.
22132
88d4247f
AJ
221332012-10-21 Andreas Jaeger <aj@suse.de>
22134
22135 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22136 definitions and declarations that are provided by
22137 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22138
f2eed205
L
221392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22140
22141 [BZ #14683]
22142 * elf/Makefile (tests-static): Add tst-leaks1-static.
22143 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22144 ($(objpfx)tst-leaks1-static): New rule.
22145 ($(objpfx)tst-leaks1-static-mem): Likewise.
22146 (tst-leaks1-static-ENV): New macro.
22147 * elf/dl-open.c (dl_open_worker): Check the main application
22148 only if SHARED is defined.
22149 * elf/tst-leaks1-static.c: New file.
22150
335e6931
AJ
221512012-10-20 Andreas Jaeger <aj@suse.de>
22152
22153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22154 generic values for Linux.
22155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22156 and declarations that are provided by <bits/fcntl-linux.h> and
22157 include <bits/fcntl-linux.h>.
22158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22160
ac5c94d3
RM
221612012-10-20 Roland McGrath <roland@hack.frob.com>
22162
22163 * io/fcntl.h: Move include of <bits/types.h> to the top and
22164 include it unconditionally.
22165
de54b33a
L
221662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22167
228cfb01
L
22168 * wcsmbs/Makefile (tests-ifunc): New variable.
22169 (tests): Add $(tests-ifunc).
22170 * wcsmbs/test-wcschr-ifunc.c: New file.
22171 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22172 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22173 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22174 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22175 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22176
69f07e5f
L
22177 * string/Makefile (tests-ifunc): New variable.
22178 (tests): Add $(tests-ifunc).
22179 * string/test-memccpy.c (TEST_NAME): New macro.
22180 * string/test-memchr.c (TEST_NAME): Likewise.
22181 * string/test-memcmp.c (TEST_NAME): Likewise.
22182 * string/test-memcpy.c (TEST_NAME): Likewise.
22183 * string/test-memmem.c (TEST_NAME): Likewise.
22184 * string/test-memmove.c (TEST_NAME): Likewise.
22185 * string/test-memset.c (TEST_NAME): Likewise.
22186 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22187 * string/test-stpcpy.c (TEST_NAME): Likewise.
22188 * string/test-stpncpy.c (TEST_NAME): Likewise.
22189 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22190 * string/test-strcasestr.c (TEST_NAME): Likewise.
22191 * string/test-strcat.c (TEST_NAME): Likewise.
22192 * string/test-strchr.c (TEST_NAME): Likewise.
22193 * string/test-strcmp.c(TEST_NAME): Likewise.
22194 * string/test-strcpy.c (TEST_NAME): Likewise.
22195 * string/test-strcspn.c (TEST_NAME): Likewise.
22196 * string/test-strlen.c (TEST_NAME): Likewise.
22197 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22198 * string/test-strncmp.c (TEST_NAME): Likewise.
22199 * string/test-strncpy.c (TEST_NAME): Likewise.
22200 * string/test-strnlen.c (TEST_NAME): Likewise.
22201 * string/test-strpbrk.c (TEST_NAME): Likewise.
22202 * string/test-strrchr.c (TEST_NAME): Likewise.
22203 * string/test-strspn.c (TEST_NAME): Likewise.
22204 * string/test-strstr.c (TEST_NAME): Likewise.
22205 * string/test-bcopy-ifunc.c: New file.
22206 * string/test-bzero-ifunc.c: Likewise.
22207 * string/test-memccpy-ifunc.c: Likewise.
22208 * string/test-memchr-ifunc.c: Likewise.
22209 * string/test-memcmp-ifunc.c: Likewise.
22210 * string/test-memcpy-ifunc.c: Likewise.
22211 * string/test-memmem-ifunc.c: Likewise.
22212 * string/test-memmove-ifunc.c: Likewise.
22213 * string/test-mempcpy-ifunc.c: Likewise.
22214 * string/test-memset-ifunc.c: Likewise.
22215 * string/test-rawmemchr-ifunc.c: Likewise.
22216 * string/test-stpcpy-ifunc.c: Likewise.
22217 * string/test-stpncpy-ifunc.c: Likewise.
22218 * string/test-strcasecmp-ifunc.c: Likewise.
22219 * string/test-strcasestr-ifunc.c: Likewise.
22220 * string/test-strcat-ifunc.c: Likewise.
22221 * string/test-strchr-ifunc.c: Likewise.
22222 * string/test-strchrnul-ifunc.c: Likewise.
22223 * string/test-strcmp-ifunc.c: Likewise.
22224 * string/test-strcpy-ifunc.c: Likewise.
22225 * string/test-strcspn-ifunc.c: Likewise.
22226 * string/test-strlen-ifunc.c: Likewise.
22227 * string/test-strncasecmp-ifunc.c: Likewise.
22228 * string/test-strncat-ifunc.c: Likewise.
22229 * string/test-strncmp-ifunc.c: Likewise.
22230 * string/test-strncpy-ifunc.c: Likewise.
22231 * string/test-strnlen-ifunc.c: Likewise.
22232 * string/test-strpbrk-ifunc.c: Likewise.
22233 * string/test-strrchr-ifunc.c: Likewise.
22234 * string/test-strspn-ifunc.c: Likewise.
22235 * string/test-strstr-ifunc.c: Likewise.
22236
de54b33a
L
22237 * debug/Makefile (tests-ifunc): New variable.
22238 (tests): Add $(tests-ifunc).
22239 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22240 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22241 * debug/test-stpcpy_chk-ifunc.c: New file.
22242 * debug/test-strcpy_chk-ifunc.c: Likewise.
22243
88481c16
SP
222442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22245
22246 [BZ #13601]
22247 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22248 header is not read in.
22249
135948bd
JM
222502012-10-19 Joseph Myers <joseph@codesourcery.com>
22251
89f1c388
JM
22252 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22253 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22254 directly. Pass built executable to script as
22255 $(built-program-cmd).
22256 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22257 $testprogram without using LD_LIBRARY_PATH and $ldso.
22258
e40a0d21
JM
22259 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22260 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22261 $(rtld-installed-name).
22262 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22263 (rtld_installed_name): Likewise.
22264 (library_path): Likewise.
22265 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22266 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22267 $(run-program-prefix) to tst-tables.sh.
22268 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22269 it to run tst-table-from and tst-table-to.
22270 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22271 Pass it to tst-table.sh.
22272 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22273 $(run-program-prefix) to tst-gettext.sh.
22274 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22275 tst-translit.sh.
22276 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22277 tst-gettext2.sh.
22278 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22279 to run tst-gettext.
22280 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22281 to run tst-gettext2.
22282 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22283 to run tst-translit.
22284 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22285 $(run-program-prefix) to tst-mtrace.sh.
22286 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22287 to run tst-mtrace.
22288 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22289 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22290 $(rtld-installed-name).
22291 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22292 (rtld_installed_name): Likewise.
22293 (run_program_prefix): New variable. Use it to run wordexp-test.
22294
728e272a
JM
22295 * Makeconfig (ARCH): Remove all definitions.
22296 (machine): Likewise.
22297 [ARCH]: Remove conditional code.
22298 [!objdir]: Give error.
22299 [!objdir] (objpfx): Remove.
22300 [!objdir] (common-objpfx): Likewise.
22301 [!objdir] (common-objdir): Likewise.
22302 * configure.in (config_makefile): Remove. Hardcode Makefile in
22303 AC_CONFIG_FILES call.
22304 * configure: Regenerated.
22305
d528cdcf
JM
22306 [BZ #13888]
22307 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22308 or TMPDIR.
22309 (testout): Likewise.
22310
135948bd
JM
22311 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22312 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22313 $(rtld-installed-name).
22314 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22315 (rtld_installed_name): Likwise.
22316 (runit): Remove function.
22317 (run_getconf): New variable, Use it for running getconf binary.
22318
38c78296
L
223192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22320
22321 [BZ #14716]
22322 * string/test-memmem.c (check_result): New function.
22323 (do_one_test): Use it.
22324 (check1): New function.
22325 (test_main): Use it.
22326
d077f65f
MT
223272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22328
22329 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22330
ced52c71
JM
223312012-10-18 Joseph Myers <joseph@codesourcery.com>
22332
22333 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22334 (_G_LSEEK64): Likewise.
22335 (_G_MMAP64): Likewise.
22336 (_G_FSTAT64): Likewise.
22337 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22338 (_G_LSEEK64): Likewise.
22339 (_G_MMAP64): Likewise.
22340 (_G_FSTAT64): Likewise.
22341 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22342 unconditional. Call __mmap64 directly.
22343 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22344 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22345 __lseek64 directly.
22346 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22347 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22348 __mmap64 directly.
22349 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22350 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22351 __lseek64 directly.
22352 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22353 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22354 __lseek64 directly.
22355 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22356 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22357 __lseek64 directly.
22358 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22359 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22360 __fxstat64 directly.
22361 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22362 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22363 unconditional.
22364 (freopen64) [!_G_OPEN64]: Remove conditional code.
22365 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22366 unconditional.
22367 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22368 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22369 unconditional.
22370 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22371 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22372 unconditional.
22373 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22374 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22375 unconditional.
22376 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22377 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22378 unconditional.
22379 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22380 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22381 unconditional.
22382 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22383 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22384 unconditional.
22385 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22386
b741de23
SP
223872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22388
22389 [BZ #12140]
22390 * manual/memory.texi (Malloc Tunable Parameters): Add note
22391 about free list pointers overwriting some perturb bytes.
22392 Wording suggested by Roland McGrath.
22393
f9b9d9c9
JM
223942012-10-17 Joseph Myers <joseph@codesourcery.com>
22395
22396 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22397 (lgamma_test): Likewise.
22398 (tgamma_test): Likewise.
22399
172a631a
FW
224002012-10-16 Florian Weimer <fweimer@redhat.com>
22401
22402 [BZ #14700]
22403 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22404 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22405
e9f37252
MK
224062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22407
22408 * NEWS: Mention BZ #14716.
22409 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22410 when removing AVAILABLE1_USES_J macro.
22411
d394eb74
L
224122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22413
22414 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22415 (__bswap_64): __uint64_t for unsigned 64-bit int.
22416
ca38dc17
AS
224172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22418
22419 * include/string.h (memmem): Declare libc hidden alias.
22420 * string/memmem.c (memmem): Define libc hidden alias.
22421 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22422 __read, __close instead of open, read, close.
22423
9a387d1f
L
224242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22425
ac49ecaf
L
22426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22427 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22428 global and hidden.
22429 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22430 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22431 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22432 Likewise.
22433 (__rawmemchr_sse2): Likewise.
22434 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22435 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22436 (__strchr_sse2): Likewise.
22437 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22438 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22439 (__strcasecmp_sse2): Likewise.
22440 (__strncasecmp_sse2): Likewise.
22441 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22442 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22443 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22444 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22445 (__strrchr_sse2): Likewise.
22446 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22447 ifunc-impl-list.c.
22448 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22449 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22450 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22451 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22452 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22453 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22454 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22455 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22456 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22457 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22458 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22459 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22460 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22461 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22462 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22463 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22464 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22465 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22466 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22467 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22468 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22469 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22470 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22471 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22472 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22473 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22474 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22475 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22476 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22477 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22478
b090e8ea
L
22479 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22480 global and hidden.
22481 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22482 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22483 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22484 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22485 Likewise.
22486 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22487 Likewise.
22488 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22489 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22490 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22491 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22492 ifunc-impl-list.c.
22493 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22494 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22495 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22496 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22497 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22498 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22499 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22500 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22501 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22502 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22503 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22504 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22505 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22506 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22507 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22508 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22509 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22510 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22511 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22512 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22513 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22514 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22515 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22516 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22517 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22518 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22519 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22520 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22521 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22522 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22523 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22524 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22525 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22526 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22527 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22528 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22530 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22533 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22534
11dd4af6
L
22535 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22536 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22537 * include/ifunc-impl-list.h: New file.
22538 * misc/ifunc-impl-list.c: Likewise.
22539 * misc/Makefile (routines): Add ifunc-impl-list.
22540 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22541 * string/test-string.h: Include <ifunc-impl-list.h>.
22542 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22543 impl_array): New variables.
22544 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22545 are defined.
22546 (test_init): Call __libc_ifunc_impl_list to initialize
22547 func_list if TEST_IFUNC and TEST_NAME are defined.
22548
9a387d1f
L
22549 * string/Makefile (strop-tests): Add bcopy and bzero.
22550 * string/test-bcopy.c: New file.
22551 * string/test-bzero.c: Likewise.
22552 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22553 defined.
22554 * string/test-memset.c: Support bzero test if TEST_BZERO is
22555 defined.
22556 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22557 __libc_memmove.
22558 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22559 __libc_memset.
22560 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22561 of memset.
22562
472371b9
JM
225632012-10-10 Joseph Myers <joseph@codesourcery.com>
22564
1e4a9536
JM
22565 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22566 * configure: Regenerated.
22567
d173d12e
JM
22568 * Makeconfig (+link-static-before-libc): Don't include
22569 $(link-static-libc).
22570
472371b9
JM
22571 * libio/libio.h (_IO_pos_t): Remove.
22572
89a3ad0b
AO
225732012-10-10 Alexandre Oliva <aoliva@redhat.com>
22574
22575 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22576 McGrath.
22577
e7451425
AO
225782012-10-10 Alexandre Oliva <aoliva@redhat.com>
22579
22580 * crypt/crypt-entry.c: Include fips-private.h.
22581 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22582 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22583 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22584 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22585
4ba74a35
AO
225862012-10-10 Alexandre Oliva <aoliva@redhat.com>
22587
22588 * crypt/crypt-private.h: Include stdbool.h.
22589 (_ufc_setup_salt_r): Return bool.
22590 * crypt/crypt-entry.c: Include errno.h.
22591 (__crypt_r): Return NULL with EINVAL for bad salt.
22592 * crypt/crypt_util.c (bad_for_salt): New.
22593 (_ufc_setup_salt_r): Check that salt is long enough and within
22594 the specified alphabet.
22595 * crypt/badsalttest.c: New file.
22596 * crypt/Makefile (tests): Add it.
22597 ($(objpfx)badsalttest): New.
22598
f96f1242
MK
225992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22600
22601 * NEWS: Add entry for BZ #14602.
22602
0e8e0c1c
JM
226032012-10-09 Joseph Myers <joseph@codesourcery.com>
22604
22605 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22606 type-generic.
22607 * math/libm-test.inc: Update comment listing what functions and
22608 macros are tested.
22609 (isgreater_test): New function.
22610 (isgreaterequal_test): Likewise.
22611 (isless_test): Likewise.
22612 (islessequal_test): Likewise.
22613 (islessgreater_test): Likewise.
22614 (isunordered_test): Likewise.
22615 (main): Call the new functions.
22616
273edc5e
RM
226172012-10-09 Roland McGrath <roland@hack.frob.com>
22618
b8493de0
RM
22619 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22620 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22621 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22622 * sysdeps/i386/configure: Regenerated.
22623 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22624 * sysdeps/mach/configure: Regenerated.
22625 * sysdeps/mach/hurd/configure: Regenerated.
22626 * sysdeps/powerpc/configure: Regenerated.
22627 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22628 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22629 * sysdeps/s390/s390-32/configure: Regenerated.
22630 * sysdeps/s390/s390-64/configure: Regenerated.
22631 * sysdeps/sh/configure: Regenerated.
22632 * sysdeps/sparc/configure: Regenerated.
22633 * sysdeps/unix/sysv/linux/configure: Regenerated.
22634 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22635 * sysdeps/x86_64/configure: Regenerated.
22636
273edc5e
RM
22637 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22638 defined. Don't check if MAP is NULL.
22639
c8450f70
JM
226402012-10-09 Joseph Myers <joseph@codesourcery.com>
22641
22642 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22643 (_G_stat64): Likewise.
22644 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22645 (_G_stat64): Likewise.
22646 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22647 instead of struct _G_stat64.
22648 * libio/fileops.c (mmap_remap_check): Likewise.
22649 (decide_maybe_mmap): Likewise.
22650 (_IO_new_file_seekoff): Likewise.
22651 (_IO_file_stat): Likewise.
22652 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22653 _G_off64_t.
22654 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22655 instead of struct _G_stat64.
22656 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22657
57e605ba
MK
226582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22659
22660 [BZ #14602]
22661 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22662 Replace with ...
22663 (CHECK_EOL): New macro.
22664 (two_way_short_needle): Check beginning of haystack for EOL. Use
22665 CHECK_EOL.
22666 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22667 Replace with CHECK_EOL.
22668 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22669 Replace with CHECK_EOL.
22670
ef1bb361
JM
226712012-10-08 Joseph Myers <joseph@codesourcery.com>
22672
22673 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22674 type-generic.
22675 * math/libm-test.inc: Update comment listing what functions and
22676 macros are tested.
22677 (finite_test): New function.
22678 (isinf_test): Likewise.
22679 (isnan_test): Likewise.
22680 (fpclassify_test): Test subnormal input.
22681 (isfinite_test): Likewise.
22682 (isnormal_test): Likewise.
22683 (main): Call the new functions.
22684
55f11534
JN
226852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22686
22687 [BZ #14660]
22688 * Makerules (%.dynsym): Force C locale when running
22689 $(OBJDUMP) --dynamic-syms.
22690
1ab29350
AS
226912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22692
22693 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22694 <stdint.h>.
22695
f1ecb7ef
DM
226962012-10-06 David S. Miller <davem@davemloft.net>
22697
22698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22699 upper 32-bits of the length value in %o2 since we use branch-on-register
22700 tests which consider the entire 64-bit register.
22701
5d41d91a
L
227022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22703
22704 * string/test-strstr.c (check2): Add a test for page boundary.
22705
3baddb72
DM
227062012-10-05 David S. Miller <davem@davemloft.net>
22707
22708 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22709 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22710 file.
22711 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22712 sysdep_routines.
22713 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22714 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22715 and bzero when HWCAP_SPARC_CRYPTO is present.
22716
9cee5585
L
227172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22718
d7e0dab9
L
22719 [BZ #14602]
22720 * string/test-strstr.c (check2): New function.
22721 (test_main): Call check2.
22722
03759f47
L
22723 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22724 and bug-strchr1.
22725 * string/bug-strcasestr1.c (do_test): Moved to ...
22726 * string/test-strcasestr.c (check1): Here. New function.
22727 (do_one_test): Break out result checking code into ...
22728 (check_result): This. New function.
22729 (do_one_test): Call check_result.
22730 (test_main): Call check1.
22731 * string/bug-strchr1.c (do_test): Moved to ...
22732 * string/test-strchr.c (check1): Here. New function.
22733 (do_one_test): Break out result checking code into ...
22734 (check_result): This. New function.
22735 (do_one_test): Call check_result.
22736 (test_main): Call check1.
22737 * string/bug-strstr1.c (main): Moved to ...
046f153e 22738 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22739 (do_one_test): Break out result checking code into ...
22740 (check_result): This. New function.
22741 (do_one_test): Call check_result.
22742 (test_main): Call check1.
22743 * string/bug-strcasestr1.c: Removed.
22744 * string/bug-strchr1.c: Likewise.
22745 * string/bug-strstr1.c: Likewise.
22746
53cea63e
L
22747 * elf/Makefile (dl-routines): Add hwcaps.
22748 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22749 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22750 (_dl_important_hwcaps): Moved to ...
22751 * elf/dl-hwcaps.c: Here. New file.
22752 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22753
9cee5585 22754 [BZ #14557]
bb859b06
L
22755 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22756 if IS_IN_rtld isn't defined.
22757
9cee5585
L
22758 * elf/dl-support.c (_dl_sysinfo_map): New.
22759 Include "get-dynamic-info.h" and "setup-vdso.h".
22760 (_dl_non_dynamic_init): Call setup_vdso.
22761 * elf/dynamic-link.h: Don't include <assert.h>.
22762 (elf_get_dynamic_info): Moved to ...
22763 * elf/get-dynamic-info.h: Here. New file.
22764 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22765 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22766 * elf/setup-vdso.h: Here. New file.
22767 * elf/rtld.c: Include "setup-vdso.h".
22768 (dl_main): Call setup_vdso.
22769
23c31b76
JM
227702012-10-05 Joseph Myers <joseph@codesourcery.com>
22771
28234b07
JM
22772 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22773 creal in comment listing functions tested. List finite, isinf,
22774 isnan, isless, islessequal, isgreater, isgreaterequal,
22775 islessgreater, isunordered, lgamma_r and pow10 as functions and
22776 macros not tested. Mention which functions not tested are aliases
22777 for other functions. Fix typo. Note that signs of NaNs are not
22778 tested.
22779
23c31b76
JM
22780 * scripts/config.guess: Update from config.git.
22781 * scripts/config.sub: Likewise.
22782
9043e228
RM
227832012-10-04 Roland McGrath <roland@hack.frob.com>
22784
22785 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22786 * misc/madvise.c (madvise): Renamed to __madvise.
22787 Make madvise a weak alias.
22788 * include/sys/mman.h: Declare __madvise.
22789 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22790 * sysdeps/unix/syscalls.list
22791 (madvise): Make __madvise the strong name, and madvise a weak alias.
22792 * sysdeps/unix/sysv/linux/syscalls.list
22793 (madvise, mmap): Remove redundant entries.
22794 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22795 * malloc/malloc.c (mtrim): Likewise.
22796 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22797
f57f8055
RM
227982012-10-03 Roland McGrath <roland@hack.frob.com>
22799
22800 * sysdeps/mach/hurd/dl-cache.c: File removed.
22801 * config.h.in (USE_LDCONFIG): New #undef.
22802 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22803 * configure: Regenerated.
22804 * elf/Makefile (dl-routines): Add dl-cache only under
22805 [$(use-ldconfig) = yes].
22806 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22807 cache on [USE_LDCONFIG].
22808 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22809 [USE_LDCONFIG].
22810 * elf/rtld.c (dl_main): Likewise.
22811
5bb0c10a
PT
228122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22813
22814 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22815 _SC_LEVEL4_CACHE_LINESIZE.
22816
010188c6
RM
228172012-10-03 Roland McGrath <roland@hack.frob.com>
22818
22819 * sysdeps/unix/bsd/confstr.h: File removed.
22820
b6c5ec07
AO
228212012-10-02 Alexandre Oliva <aoliva@redhat.com>
22822
22823 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22824 sys/sdt-config.h.
22825
408223d4
RM
228262012-10-02 Roland McGrath <roland@hack.frob.com>
22827
22828 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22829 Make 'mapoff' field ElfW(Off) rather than off_t.
22830
bb9510dc
DL
228312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22832
fc997c6e
DL
22833 * nscd/Makefile: Remove nscd-cflags and all its users.
22834 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22835 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22836
bb9510dc
DL
22837 [BZ #10631]
22838 * malloc.c (malloc_printerr): Clarify error message.
22839
05699367
L
228402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22841
22842 [BZ #14648]
22843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22844 Set bit_FMA_Usable if FMA is supported.
22845 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22846 macro.
22847 (bit_FMA4_Usable): Updated.
22848 (index_FMA_Usable): New macro.
22849 (CPUID_FMA): Likewise
22850 (HAS_FMA): Defined with bit_FMA_Usable.
22851
51367701
RM
228522012-10-01 Roland McGrath <roland@hack.frob.com>
22853
22854 * bits/types.h (__swblk_t): Type removed.
22855 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22856 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22858 (__SWBLK_T_TYPE): Likewise.
22859 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22860 (__SWBLK_T_TYPE): Likewise.
22861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22862 (__SWBLK_T_TYPE): Likewise.
22863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22864 (__SWBLK_T_TYPE): Likewise.
22865
4d57bf63 228662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22867 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22868
22869 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22870 (xdr_mapname): Use YPMAXMAP as maxsize.
22871 (xdr_peername): Use YPMAXPEER as maxsize.
22872 (xdr_keydat): Use YPAXRECORD as maxsize.
22873 (xdr_valdat): Use YPMAXRECORD as maxsize.
22874
93c65d43
RM
228752012-10-01 Roland McGrath <roland@hack.frob.com>
22876
497a03d6
RM
22877 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22878
93c65d43
RM
22879 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22880 * csu/init-first.c: ... here.
22881 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22882 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22883 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22884 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22885 * sysdeps/i386/init-first.c: File removed.
22886 * sysdeps/sh/init-first.c: File removed.
22887
bec749fd
JM
228882012-10-01 Joseph Myers <joseph@codesourcery.com>
22889
22890 [BZ #14645]
22891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22892 if x * y might underflow to zero and z is zero.
22893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22895 * math/libm-test.inc (min_subnorm_value): New variable.
22896 (fma_test): Add more tests.
22897 (fma_test_towardzero): Likewise.
22898 (fma_test_downward): Likewise
22899 (fma_test_upward): Likewise.
22900 (initialize): Set min_subnorm_value.
22901
8ec5b013
JM
229022012-09-29 Joseph Myers <joseph@codesourcery.com>
22903
22904 [BZ #14638]
22905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22906 0 + 0.
22907 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22908 mode for addition resulting in exact zero.
22909 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22911 exact 0 + 0.
22912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22914 * math/libm-test.inc (fma_test): Add more tests.
22915 (fma_test_towardzero): New function.
22916 (fma_test_downward): Likewise.
22917 (fma_test_upward): Likewise.
22918 (main): Call the new functions.
22919
b1fa802e
DM
229202012-09-28 David S. Miller <davem@davemloft.net>
22921
22922 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22923
d3b9fd9e
RM
229242012-09-28 Roland McGrath <roland@hack.frob.com>
22925
ea4d37b3
RM
22926 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22927 instead of SIGALRM.
22928
ac51c949
RM
22929 * sysdeps/gnu/_G_config.h: Moved to ...
22930 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22931 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22932 * sysdeps/generic/_G_config.h: ... here.
22933
28c195f7
RM
22934 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22935
848917f9
RM
22936 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22937
6bacf05b
RM
22938 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22939 Conditionalize target on [libnss_test1.so-version].
22940
91363dbb
RM
22941 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22942
cc87f7d8
RM
22943 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22944 (elfobjdir): Move out of conditionals.
22945
b1c608fe
RM
22946 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22947 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22948 (__nss_lookup_function): Conditionalize label remove_from_tree on
22949 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22950
1d9a6d96
DM
229512012-09-28 David S. Miller <davem@davemloft.net>
22952
22953 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22954 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22955 file.
22956 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22957 sysdep_routines.
22958 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22959 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22960 when HWCAP_SPARC_CRYPTO is present.
22961
72581615
PT
229622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22963
22964 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22965
715a900c
JL
229662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22967
22968 [BZ #6530]
22969 * stdio-common/vfprintf.c (process_string_arg): Revert
22970 2000-07-22 change.
22971
229722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22973
22974 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22975 for testcase.
22976 * stdio-common/tst-sprintf.c: Include <locale.h>
22977 (main): Test sprintf's handling of incomplete multibyte
22978 characters.
22979
9bac1d86
L
229802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22981
22982 * elf/dl-runtime.c (VERSYMIDX): Removed.
22983 * elf/dl-version.c (VERSYMIDX): Likewise.
22984 * elf/do-rel.h (VERSYMIDX): Likewise.
22985 (VALIDX): Likewise.
22986 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22987 * elf/rtld.c (VALIDX): Likewise.
22988 (ADDRIDX): Likewise.
9bac1d86
L
22989 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22990 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22991 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22992 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22993 (VALIDX): Likewise.
22994 (ADDRIDX): Likewise.
9bac1d86 22995
b31606c0
PT
229962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22997
22998 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22999
11541177
JL
230002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23001
23002 [BZ #11438]
23003 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23004 to global scope.
23005 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23006 addresses are in the same scope as 192.0.2/24.
23007 * posix/gai.conf: Document new scope table defaults.
23008
adb26fae
SP
230092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23010
23011 [BZ #5298]
23012 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23013 for ftell. Compute offsets from write pointers instead.
23014 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23015
4573c6b0
SP
230162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23017
23018 [BZ #14543]
23019 * libio/Makefile (tests): New test case tst-fseek.
23020 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23021 combination works in wide mode.
23022 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23023 state when the external buffer state changes.
23024
aa9bbfe6
DM
230252012-09-27 David S. Miller <davem@davemloft.net>
23026
23027 [BZ #14376]
23028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23029 pass reloc->r_addend in as the 'high' argument to
23030 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23031
784421e7
DM
23032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23033
c39bc8b8
PT
230342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23035
23036 * rt/tst-aio2.c: Include <pthread.h>.
23037 * rt/tst-aio3.c: Likewise.
23038
1ccc2399
SE
230392012-09-27 Steve Ellcey <sellcey@mips.com>
23040
23041 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23042
31ed4153
L
230432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23044
25f5f885
L
23045 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23046 contents on [SHARED].
31ed4153 23047
b7bfe116
MP
230482012-09-26 Marek Polacek <polacek@redhat.com>
23049
23050 [BZ #14530]
23051 [BZ #13741]
23052 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23053 for C++ and GCC <4.3 as well as for non GCC compilers.
23054
43c4edba
MT
230552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23056
23057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23058
6a1bf82f
RM
230592012-09-25 Roland McGrath <roland@hack.frob.com>
23060
23061 * Makefile.in (all, install): Declare with .PHONY.
23062 Reported by Michael Hope <michael.hope@linaro.org>.
23063
8ad11b9a
TMQMF
230642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23065
23066 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23067 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23068 system header.
23069 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23070 Likewise.
23071 (sydep_routines): Add the new and the internal functions.
23072 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23073 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23075 (GLIBC_2.17): Add the new function.
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23077 (GLIBC_2.17): Likewise.
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23079 (GLIBC_2.17): Likewise.
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23081 (GLIBC_2.17): Likewise.
23082 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23083
7e2fca8d
AM
230842012-09-25 Alan Modra <amodra@gmail.com>
23085
23086 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23087 Add release barrier before setting once_control to say
23088 initialisation is done. Add hints on lwarx. Use macro in
23089 place of isync.
23090 (clear_once_control): Add release barrier.
23091
b87c4b24
JM
230922012-09-25 Joseph Myers <joseph@codesourcery.com>
23093
d032e0d2
JM
23094 [BZ #13629]
23095 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23096 specially.
23097 * math/s_clog10.c (__clog10): Likewise.
23098 * math/s_clog10f.c (__clog10f): Likewise.
23099 * math/s_clog10l.c (__clog10l): Likewise.
23100 * math/s_clogf.c (__clogf): Likewise.
23101 * math/s_clogl.c (__clogl): Likewise.
23102 * math/Makefile (libm-calls): Add x2y2m1.
23103 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23104 (__x2y2m1): Likewise.
23105 (__x2y2m1l): Likewise.
23106 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23107 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23108 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23109 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23110 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23111 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23112 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23113 * sysdeps/i386/fpu/libm-test-ulps: Update.
23114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23115
b87c4b24
JM
23116 [BZ #14621]
23117 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23118 int as type of variable DEPTH.
23119 (glob): Use size_t instead of int as type of variables NEWCOUNT
23120 and OLD_PATHC.
23121
6d3bf199
LD
231222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23123
22bf5c17
LD
23124 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23125 Add s_sincosf-sse2.
23126 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23127 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23128 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23129 macros for using routine as __sincosf_ia32.
23130 Use macro for function declaration and weak_alias.
23131 * sysdeps/i386/fpu/libm-test-ulps: Update.
23132
23133 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23135
23136 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23137 subnormal argument.
23138 * math/s_cexpf.c (__cexpf): Likewise.
23139 * math/s_csinf.c (__csinf): Likewise.
23140 * math/s_csinhf.c (__csinhf): Likewise.
23141 * math/s_ctanf.c (__ctanf): Likewise.
23142 * math/s_ctanhf.c (__ctanhf): Likewise.
23143 * math/s_ccosh.c (__ccoshf): Likewise.
23144 * math/s_cexp.c (__cexpl): Likewise.
23145 * math/s_csin.c (__csin): Likewise.
23146 * math/s_csinh.c (__csinh): Likewise.
23147 * math/s_ctan.c (__ctan): Likewise.
23148 * math/s_ctanh.c (ctanh): Likewise.
23149 * math/s_ccoshl.c (__ccoshl): Likewise.
23150 * math/s_cexpl.c (__cexpl): Likewise.
23151 * math/s_csinl.c (__csinl): Likewise.
23152 * math/s_csinhl.c (__csinhl): Likewise.
23153 * math/s_ctanl.c (__ctanl): Likewise.
23154 * math/s_ctanhl.c (__ctanhl): Likewise.
23155
203e5603
JM
231562012-09-25 Joseph Myers <joseph@codesourcery.com>
23157
23158 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23159 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23160 (_IO_off_t): Define to __off_t, not _G_off_t.
23161 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23162 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23163 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23164 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23165 type of __dummy and __dummy2 fields.
23166 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23167 (_G_ssize_t): Likewise.
23168 (_G_off_t): Likewise.
23169 (_G_pid_t): Likewise.
23170 (_G_uid_t): Likewise.
23171 (_G_wchar_t): Likewise.
23172 (_G_wint_t): Likewise.
23173 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23174 (_G_ssize_t): Likewise.
23175 (_G_off_t): Likewise.
23176 (_G_pid_t): Likewise.
23177 (_G_uid_t): Likewise.
23178 (_G_wchar_t): Likewise.
23179 (_G_wint_t): Likewise.
23180 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23181 (_G_ssize_t): Likewise.
23182 (_G_off_t): Likewise.
23183 (_G_pid_t): Likewise.
23184 (_G_uid_t): Likewise.
23185 (_G_wchar_t): Likewise.
23186 (_G_wint_t): Likewise.
23187
9fab36eb
SP
231882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23189
23190 * malloc/arena.c: Include malloc-sysdep.h.
23191 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23192 is sufficient to shrink the heap or an unmap is needed.
23193 * sysdeps/generic/malloc-sysdep.h: New file. Define
23194 new function check_may_shrink_heap.
23195 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23196 new function check_may_shrink_heap.
23197
2b4f00d1
SP
231982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23199
23200 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23201 comments.
23202
9a9028b1
DL
232032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23204
57c69bef
DL
23205 * catgets/test-gencat.sh: Add "set -e".
23206 * elf/tst-pathopt.sh: Likewise.
23207 * grp/tst_fgetgrent.sh: Likewise.
23208 * iconvdata/run-iconv-test.sh: Likewise.
23209 * intl/tst-gettext.sh: Likewise.
23210 * intl/tst-gettext2.sh: Likewise.
23211 * intl/tst-gettext4.sh: Likewise.
23212 * intl/tst-gettext6.sh: Likewise.
23213 * intl/tst-translit.sh: Likewise.
23214 * io/ftwtest-sh: Likewise.
23215 * libio/test-freopen.sh: Likewise.
23216 * malloc/tst-mtrace.sh: Likewise.
23217 * posix/globtest.sh: Likewise.
23218 * posix/tst-getconf.sh: Likewise.
23219 * posix/wordexp-tst.sh: Likewise.
23220 * stdio-common/tst-printf.sh: Likewise.
23221 * stdio-common/tst-unbputc.sh: Likewise.
23222 * stdlib/tst-fmtmsg.sh: Likewise.
23223 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23224 * catgets/Makefile: Do not specify -e option when running
23225 testsuite shell scripts.
23226 * elf/Makefile: Likewise.
23227 * grp/Makefile: Likewise.
23228 * iconvdata/Makefile: Likewise.
23229 * intl/Makefile: Likewise.
23230 * io/Makefile: Likewise.
23231 * libio/Makefile: Likewise.
23232 * malloc/Makefile: Likewise.
23233 * posix/Makefile: Likewise.
23234 * stdio-common/Makefile: Likewise.
23235 * stdlib/Makefile: Likewise.
23236 * sysdeps/x86_64/Makefile: Likewise.
23237
9a9028b1
DL
23238 * io/ftwtest-sh: Add copyright header.
23239 * posix/globtest.sh: Likewise.
23240 * posix/tst-getconf.sh: Likewise.
23241 * posix/wordexp-tst.sh: Likewise.
23242 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23243
ced6f16e
L
232442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23245
94b32c39
L
23246 [BZ #13679]
23247 * Makeconfig (+link): Defined as $(+link-static) if
23248 $(build-shared) isn't yes.
23249 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23250 isn't yes.
23251 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23252
189e935b
L
23253 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23254
ced6f16e
L
23255 [BZ #14562]
23256 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23257 new chunk size with MALLOC_ALIGN_MASK.
23258
a9f8e53a
JM
232592012-09-24 Joseph Myers <joseph@codesourcery.com>
23260
23261 [BZ #5044]
23262 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23263 <rounding-mode.h>.
23264 (__printf_fphex): Determine rounding using get_rounding_mode and
23265 round_away.
23266 * stdio-common/tst-printf-round.c (struct hex_test): New
23267 structure.
23268 (hex_tests): New variable.
23269 (test_hex_in_one_mode): New function.
23270 (do_test): Also run tests for hex float output.
23271
43153109
JM
232722012-09-21 Joseph Myers <joseph@codesourcery.com>
23273
23274 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23275 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23276 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23277 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23278 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23279 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23280 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23281 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23282
8a26625d
JM
232832012-09-20 Joseph Myers <joseph@codesourcery.com>
23284
23285 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23286 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23287 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23288 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23289
f3fd569c
DL
232902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23291
23292 [BZ #14579]
23293 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23294 mode only.
23295 * elf/tst-rtld-load-self.sh: New test.
23296 * elf/Makefile: Run it.
23297
63bbedd4
JM
232982012-09-18 Joseph Myers <joseph@codesourcery.com>
23299
23300 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23301 (tst-writev-ENV): Remove.
23302 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23303
626f8b6a
CM
233042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23305
23306 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23307
b7aaa4d6
JM
233082012-09-17 Joseph Myers <joseph@codesourcery.com>
23309
23310 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23311 unconditional.
23312 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23313 Likewise.
23314 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23315 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23316 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23317 Likewise.
23318
65513990
L
233192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23320
23321 [BZ #14587]
23322 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23323 * config.make.in (have-cpp-asm-debuginfo): Removed.
23324 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23325 * configure: Regenerated.
23326
784761be
JM
233272012-09-14 Joseph Myers <joseph@codesourcery.com>
23328
23329 [BZ #5044]
23330 * stdio-common/printf_fp.c: Include <stdbool.h> and
23331 <rounding-mode.h>.
23332 (___printf_fp): Determine rounding using get_rounding_mode and
23333 round_away.
23334 * stdio-common/tst-printf-round.c: New file.
23335 * stdio-common/Makefile (tests): Add tst-printf-round.
23336 (link-libm): New variable.
23337 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23338
9503345f
L
233392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23340
23341 [BZ #14576]
23342 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23343 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23344 Likewise.
23345 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23346 Likewise.
23347
ad35fc00
JM
233482012-09-13 Joseph Myers <joseph@codesourcery.com>
23349
23350 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23351 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23352 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23353 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23354
6c9b0f68
JM
233552012-09-12 Joseph Myers <joseph@codesourcery.com>
23356
23357 [BZ #14518]
23358 * include/rounding-mode.h: New file.
23359 * sysdeps/generic/get-rounding-mode.h: Likewise.
23360 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23361 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23362 (MAX_VALUE): New macro.
23363 (MIN_VALUE): Likewise.
23364 (overflow_value): New function.
23365 (underflow_value): Likewise.
23366 (round_and_return): Use overflow_value and underflow_value to
23367 determine return values in overflow and underflow cases. Use
23368 round_away to determine rounding depending on rounding mode.
23369 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23370 determine return values in overflow and underflow cases.
23371 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23372 (struct test_results): New structure.
23373 (struct test): Use struct test_results to store expected results
23374 for all rounding modes.
23375 (TEST): Include expected results for all rounding modes.
23376 (test_in_one_mode): New function.
23377 (do_test): Use test_in_one_mode to compute and check results.
23378 Check results for all rounding modes.
23379 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23380 $(link-libm).
23381
19fcedd5
AM
233822012-12-09 Allan McRae <allan@archlinux.org>
23383
1e9d84cd 23384 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23385
8bbfd2f1
JM
233862012-09-11 Joseph Myers <joseph@codesourcery.com>
23387
23388 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23389 (_G_int32_t): Likewise.
23390 (_G_uint16_t): Likewise.
23391 (_G_uint32_t): Likewise.
23392 (_G_HAVE_BOOL): Likewise.
23393 (_G_HAVE_ATEXIT): Likewise.
23394 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23395 (_G_HAVE_IO_FILE_OPEN): Likewise.
23396 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23397 (_G_int32_t): Likewise.
23398 (_G_uint16_t): Likewise.
23399 (_G_uint32_t): Likewise.
23400 (_G_HAVE_BOOL): Likewise.
23401 (_G_HAVE_ATEXIT): Likewise.
23402 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23403 (_G_HAVE_IO_FILE_OPEN): Likewise.
23404 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23405 (_G_int32_t): Likewise.
23406 (_G_uint16_t): Likewise.
23407 (_G_uint32_t): Likewise.
23408 (_G_HAVE_BOOL): Likewise.
23409 (_G_HAVE_ATEXIT): Likewise.
23410 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23411 (_G_HAVE_IO_FILE_OPEN): Likewise.
23412
b1dc5912
L
234132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23414
23415 * csu/libc-tls.c: Update copyright years.
23416
0e886ef9
JM
234172012-09-10 Joseph Myers <joseph@codesourcery.com>
23418
28361c5e
JM
23419 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23420 [!_G_USING_THUNKS]: Remove conditional code.
23421 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23422 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23423
0e886ef9
JM
23424 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23425 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23426 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23427 (_G_VTABLE_LABEL_PREFIX): Likewise.
23428 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23429 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23431 (_G_VTABLE_LABEL_PREFIX): Likewise.
23432 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23433 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23434 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23435 (_G_VTABLE_LABEL_PREFIX): Likewise.
23436 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23437
bcba7aa2
L
234382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * libio/Makefile: Include ../Makeconfig before tests.
23441 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23442 only if $(build-shared) is yes.
23443
06585ee8
L
23444 * iconv/gconv_db.c: Update copyright years.
23445
80ccd52c
LD
234462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23447
23448 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23449 unwind info if defined PIC. Fix special cases description.
23450 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23451
23452 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23453 DP_HI_MASK entry.
23454 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23455
691bc9c1
L
234562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23457
3d9b46b3
L
23458 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23459
de2139a9
L
23460 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23461 is NULL.
23462
5ca78dd0
L
23463 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23464 (LDLIBS-tst-chk4): This.
23465 (LDFLAGS-tst-chk5): Renamed to ...
23466 (LDLIBS-tst-chk5): This.
23467 (LDFLAGS-tst-chk6): Renamed to ...
23468 (LDLIBS-tst-chk6): This.
23469 (LDFLAGS-tst-lfschk4): Renamed to ...
23470 (LDLIBS-tst-lfschk4): This.
23471 (LDFLAGS-tst-lfschk5): Renamed to ...
23472 (LDLIBS-tst-lfschk5): This.
23473 (LDFLAGS-tst-lfschk6): Renamed to ...
23474 (LDLIBS-tst-lfschk6): This.
23475
691bc9c1
L
23476 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23477 on $(common-objpfx)soversions.mk.
23478
65cafb1c
JM
234792012-09-07 Joseph Myers <joseph@codesourcery.com>
23480
23481 [BZ #10014]
23482 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23483 example host name.
23484
c78ab094
SP
234852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23486
23487 * malloc/arena.c (arena_get_retry): New function that gets
23488 another arena for the caller to try its request on.
23489 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23490 current arena cannot fulfill the request.
23491 (__libc_memalign): Likewise.
23492 (__libc_memalign): Likewise.
23493 (__libc_pvalloc): Likewise.
23494 (__libc_calloc): Likewise.
23495
01f49f59
JT
234962012-09-05 John Tobey <john.tobey@gmail.com>
23497
23498 [BZ #13542]
23499 * manual/arith.texi (Operations on Complex): Fix description
23500 of carg branch cut.
23501
4c23fed5
JM
235022012-09-06 Joseph Myers <joseph@codesourcery.com>
23503
1d3c8572
JM
23504 [BZ #10014]
23505 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23506 host name.
23507
4c23fed5
JM
23508 [BZ #10038]
23509 * manual/memory.texi (Memory): Make order of menu items match
23510 order of sections.
23511
04570aaa
L
235122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23513
23514 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23515 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23516 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23517
b80af2f4
L
235182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23519
23520 * csu/libc-tls.c (static_dtv): Renamed to ...
23521 (_dl_static_dtv): This. Make it global.
23522 (_dl_initial_dtv): Removed.
23523 (__libc_setup_tls): Updated.
23524 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23525 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23526 DL_INITIAL_DTV.
23527
2abe9f15
PM
235282012-09-06 Petr Machata <pmachata@redhat.com>
23529
23530 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23531 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23532 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23533 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23534
0948c3af
L
235352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23536
23537 [BZ #14545]
23538 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23539 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23540 freeing dtv[-1].
23541
a5055ad1
L
235422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23543
23544 [BZ #14544]
23545 * Makeconfig (link-static-before-libc): Replace $(+prector)
23546 with $(+prectorT).
23547 (link-static-after-libc): Replace $(+postctor) with
23548 $(+postctorT).
23549 (link-bounded): Replace $(+prector)/$(+postctor) with
23550 $(+prectorT)/$(+postctorT).
23551 (+prectorT): New macro.
23552 (+postctorT): Likewise.
23553
ed8c2ecd
JM
235542012-09-06 Joseph Myers <joseph@codesourcery.com>
23555
23556 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23557 (round_str): Handle values above the maximum for IBM long double
23558 as inexact.
23559 * stdlib/tst-strtod-round.c (tests): Regenerated.
23560
14c996c8
AK
235612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23562
23563 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23564 assembler flag.
23565 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23566 zarch_nohighgprs around the zarch optimized routines.
23567 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23568 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23569 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23570 for zarch.
23571
430d6ce6
DM
235722012-09-05 David S. Miller <davem@davemloft.net>
23573
23574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23575
ff04dda4
DM
23576 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23577 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23578 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23579 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23580 entries.
23581
24d4e01b
AO
235822012-09-05 Alexandre Oliva <aoliva@redhat.com>
23583
23584 * malloc/arena.c: Fold copyright years.
23585 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23586
61d58174
AO
235872012-09-05 Alexandre Oliva <aoliva@redhat.com>
23588
23589 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23590
20196a5e
AO
235912012-09-05 Alexandre Oliva <aoliva@redhat.com>
23592
23593 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23594
5c447383
AO
235952012-09-05 Alexandre Oliva <aoliva@redhat.com>
23596
23597 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23598 change internal state upon failure.
23599
fad64255
AO
236002012-09-05 Alexandre Oliva <aoliva@redhat.com>
23601
23602 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23603 * malloc/memusage.c (mmap): Likewise.
23604 (mmap64, mremap): Likewise. Adjust name in comment.
23605
1ffb8c90
SP
236062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23607
23608 * libio/fileops.c: Fix typos in comments.
23609 * libio/oldfileops.c: Likewise.
23610 * libio/wfileops.c: Likewise.
23611
6ef9cc37
SP
236122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23613
23614 [BZ #1349]
23615 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23616 (tst-malloc-usable-ENV): Set environment for test case.
23617 * malloc/hooks.c (malloc_check_get_size): New function to get
23618 requested size.
23619 * malloc/malloc.c (musable): Use malloc_check_get_size.
23620 * malloc/tst-malloc-usable.c: New test case.
23621
4d038ae3
AS
236222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23623
23624 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23625
c4e85184
AM
236262012-09-05 Allan McRae <allan@archlinux.org>
23627
b9dafc56 23628 [BZ #13966]
c4e85184
AM
23629 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23630 determine header location.
23631 * configure: Regenerated.
23632
e1343020
AS
236332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23634
23635 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23636 float format.
23637 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23638 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23639 format.
e1343020
AS
23640 (test): Regenerate.
23641
0a9f1987
DM
236422012-09-04 David S. Miller <davem@davemloft.net>
23643
23644 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23645 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23646 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23647
29237804
FW
236482012-09-04 Florian Weimer <fweimer@redhat.com>
23649
23650 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23651 failures.
23652
edb3cb88
FW
23653 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23654
60160d83
JM
236552012-09-04 Joseph Myers <joseph@codesourcery.com>
23656
23657 [BZ #9914]
23658 * libio/iogetdelim.c: Include <limits.h>.
23659 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23660 + len + 1 would overflow.
23661
bcd6c8dc
AJ
236622012-09-03 Andreas Jaeger <aj@suse.de>
23663
23664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23665 * sysdeps/i386/fpu/libm-test-ulps: Update.
23666
4ffffbd2
LD
236672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23668
23669 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23670 Add s_sinf-sse2, s_conf-sse2.
23671
23672 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23673 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23674 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23675 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23676
23677 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23678 for using routine as __sinf_ia32.
23679 Use macro for function declaration and weak_alias.
23680 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23681 for using routine as __cosf_ia32.
23682 Use macro for function declaration and weak_alias.
23683
23684 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23685 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23686
23687 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23688 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23690
23691 * math/libm-test.inc (cos_test): Add more test cases.
23692 (sin_test): Likewise.
23693 (sincos_test): Likewise.
23694
511fa286
AK
236952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23696
23697 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23698 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23699 hidden.
23700 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23701
5f30cfec
L
237022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23703
23704 [BZ #14538]
23705 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23706 first element of the GOT.
23707 (elf_machine_load_address): Return the difference between
23708 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23709
0786794f
AM
237102012-09-01 Allan McRae <allan@archlinux.org>
23711
5f30cfec
L
23712 [BZ #13412]
23713 * configure.in (AWK): Require gawk version 3.0 or later.
23714 * configure: Regenerated.
0786794f 23715
26889eac
JM
237162012-09-01 Joseph Myers <joseph@codesourcery.com>
23717
23718 * sysdeps/unix/sysv/linux/kernel-features.h
23719 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23721 [__NR_clock_getres]: Make code unconditional.
23722 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23723 (clock_getcpuclockid): Remove code left unreachable by removal of
23724 conditionals.
23725 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23726 code unconditional.
23727 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23729 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23730 Make code unconditional.
23731 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23733 * sysdeps/unix/sysv/linux/clock_settime.c
23734 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23735 conditional code.
23736 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23738
d22e28b0
L
237392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 [BZ #14476]
23742 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23743 scripts/test-installation.pl.
23744
23745 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23746 and $ld_so_version if it is set.
23747
050af9c4
SP
237482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23749
23750 [BZ #14516]
23751 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23752 failure if reading from procfs failed.
23753 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23754
ad845c0b
JM
237552012-08-27 Joseph Myers <joseph@codesourcery.com>
23756
23757 * sysdeps/unix/sysv/linux/kernel-features.h
23758 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23759 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23760 Remove conditional code.
23761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23762 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23763 Remove conditional code.
23764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23765 * sysdeps/unix/sysv/linux/i386/fxstat.c
23766 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23768 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23771 * sysdeps/unix/sysv/linux/i386/lxstat.c
23772 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23774 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23775 Remove conditional code.
23776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23777 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23778 Remove conditional code.
23779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23780 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23781 <kernel-features.h>.
23782 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23783 Remove.
23784 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23785 Remove conditional code.
23786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23787 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23788 Remove conditional.
23789
5dbf56af
MF
237902012-08-27 Mike Frysinger <vapier@gentoo.org>
23791
23792 [BZ #5400]
23793 * NEWS: Add fixed bug number.
23794
d6e70f43
JM
237952012-08-27 Joseph Myers <joseph@codesourcery.com>
23796
7efb4737
JM
23797 [BZ #14519]
23798 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23799 underflowing exponent in case of negative sign.
23800 * stdlib/tst-strtod-round-data: Add more tests.
23801 * stdlib/tst-strtod-round.c (tests): Regenerated.
23802
af92131a
JM
23803 [BZ #3479]
23804 * stdlib/strtod_l.c (NDIG): Remove.
23805 (HEXNDIG): Likewise.
23806 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23807 smallest representable value.
23808 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23809 lie within an exact representation of 1/2 ulp of the result.
23810 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23811 unconditionally.
23812 (TENS_P9_IDX): Define unconditionally.
23813 (TENS_P9_SIZE): Likewise.
23814 (TENS_P10_IDX): Likewise.
23815 (TENS_P10_SIZE): Likewise.
23816 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23817 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23818 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23819 entries for 10^2^13 and 10^2^14.
23820 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23821 (TENS_P13_IDX): Define.
23822 (TENS_P13_SIZE): Likewise.
23823 (TENS_P14_IDX): Likewise.
23824 (TENS_P14_SIZE): Likewise.
23825 (_fpioconst_pow10): Change array size to
23826 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23827 unconditional.
23828 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23829 1024]: Add entries for 10^2^13 and 10^2^14.
23830 [LAST_POW10 > _LAST_POW10]: Remove #error.
23831 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23832 (_fpioconst_pow10): Change array size to
23833 FPIOCONST_POW10_ARRAY_SIZE.
23834 * stdlib/gen-fpioconst.c: New file.
23835 * stdlib/gen-tst-strtod-round.c: Likewise.
23836 * stdlib/tst-strtod-round-data: Likewise.
23837 * stdlib/tst-strtod-round.c: Likewise.
23838 * stdlib/Makefile (tests): Add tst-strtod-round.
23839
d6e70f43
JM
23840 [BZ #14459]
23841 * stdlib/strtod_l.c: Include <stdint.h>.
23842 (NDEBUG): Do not define.
23843 (round_and_return): Change EXPONENT parameter to type intmax_t.
23844 Rearrange calculations to avoid internal overflow possibilities.
23845 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23846 Rearrange calculations to avoid internal overflow possibilities.
23847 Assert that number fits inside MPNSIZE limbs.
23848 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23849 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23850 calculations and add assertions to avoid internal overflow
23851 possibilities. Add casts to avoid signed/unsigned operations.
23852 * stdlib/tst-strtod-overflow.c: New file.
23853 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23854
1f529f7d
MP
238552012-08-25 Marek Polacek <polacek@redhat.com>
23856
23857 * time/time.h: Fix some typos in comments.
23858
59a629f1
RM
238592012-08-23 Roland McGrath <roland@hack.frob.com>
23860
23861 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23862 * posix/tst-rfc3484-2.c: Likewise.
23863 * posix/tst-rfc3484-3.c: Likewise.
23864
d3bafbc9
SM
238652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23866
23867 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23868 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23869
4efcc022
JM
238702012-08-23 Joseph Myers <joseph@codesourcery.com>
23871
23872 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23873 #include of fxstatat64.c.
23874
3cc3ef96
RM
238752012-08-22 Roland McGrath <roland@hack.frob.com>
23876
f04e2132
RM
23877 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23878 * shadow/getspent_r.c: Likewise.
23879 * shadow/getspnam.c: Likewise.
23880 * shadow/getspnam_r.c: Likewise.
23881 * gshadow/getsgent.c: Likewise.
23882 * gshadow/getsgent_r.c: Likewise.
23883 * gshadow/getsgnam.c: Likewise.
23884 * gshadow/getsgnam_r.c: Likewise.
23885 * inet/getnetbyad.c: Likewise.
23886 * inet/getnetbyad_r.c: Likewise.
23887 * inet/getnetbynm.c: Likewise.
23888 * inet/getnetbynm_r.c: Likewise.
23889 * inet/getnetent.c: Likewise.
23890 * inet/getnetent_r.c: Likewise.
23891 * inet/getproto.c: Likewise.
23892 * inet/getproto_r.c: Likewise.
23893 * inet/getprtent.c: Likewise.
23894 * inet/getprtent_r.c: Likewise.
23895 * inet/getprtname.c: Likewise.
23896 * inet/getprtname_r.c: Likewise.
23897 * inet/getrpcbyname.c: Likewise.
23898 * inet/getrpcbyname_r.c: Likewise.
23899 * inet/getrpcbynumber.c: Likewise.
23900 * inet/getrpcbynumber_r.c: Likewise.
23901 * inet/getrpcent.c: Likewise.
23902 * inet/getrpcent_r.c: Likewise.
23903 * inet/getaliasent.c: Likewise.
23904 * inet/getaliasent_r.c: Likewise.
23905 * inet/getaliasname.c: Likewise.
23906 * inet/getaliasname_r.c: Likewise.
23907 * nscd/getgrgid_r.c: Likewise.
23908 * nscd/getgrnam_r.c: Likewise.
23909 * nscd/gethstbyad_r.c: Likewise.
23910 * nscd/gethstbynm3_r.c: Likewise.
23911 * nscd/getpwnam_r.c: Likewise.
23912 * nscd/getpwuid_r.c: Likewise.
23913 * nscd/getsrvbynm_r.c: Likewise.
23914 * nscd/getsrvbypt_r.c: Likewise.
23915 * nscd/gai.c: Likewise.
23916
c53d909c
RM
23917 * configure.in (build_nscd): New substituted variable, set
23918 by --disable-build-nscd and defaults to $use_nscd.
23919 * configure: Regenerated.
23920 * config.make.in (build-nscd): New substituted variable.
23921 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23922 Change conditional to require [$(build-nscd) = yes] as well.
23923 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23924
3cc3ef96
RM
23925 [BZ# 13696]
23926 * configure.in (use_nscd): New substituted variable, set by
23927 --disable-nscd. If enabled, define USE_NSCD.
23928 * configure: Regenerated.
23929 * config.h.in: Add USE_NSCD.
23930 * config.make.in (use-nscd): New substituted variable.
23931 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23932 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23933 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23934 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23935 (CFLAGS-getgrnam_r.c): Likewise.
23936 (CFLAGS-initgroups.c): Likewise.
23937 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23938 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23939 Variables removed.
23940 * inet/getnetgrent_r.c
23941 (nscd_setnetgrent): New function, broken out of ...
23942 (setnetgrent): ... here. Call it.
23943 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23944 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23945 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23946 * nscd/Makefile (routines, aux): Move definitions after include of
23947 Makeconfig. Conditionalize on [$(use-nscd) != no].
23948 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23949 Conditionalize on [USE_NSCD].
23950 (is_nscd, nscd_init_cb): Likewise.
23951 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23952 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23953 * nss/nss_db/db-init.c: Likewise.
23954 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23955 [USE_NSCD].
23956 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23957 (make_request): Use it.
23958 (cache_valid_p): New function.
23959 (__check_pf): Use it.
23960 * NEWS: Add item for --disable-nscd.
23961
07e51550
DL
239622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23963
23964 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23965 to support sed >= 4.2.1-20-ga9bf076.
23966 * configure: Regenerated.
23967
35a5b08b
RM
239682012-08-22 Roland McGrath <roland@hack.frob.com>
23969
23970 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23971 Conditionalize whole body on [IREL].
23972
8479f23a
JL
239732012-08-22 Jeff Law <law@redhat.com>
23974
23975 [BZ #14505]
23976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23977 if the family is PF_UNSPEC.
23978
48da0b21
MF
239792012-08-22 Mike Frysinger <vapier@gentoo.org>
23980
23981 * Makerules (lib-version): Rename from V.
23982 (install-lib-nosubdir): Change V to lib-version.
23983
15d0da8c
WS
239842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23985
23986 [BZ #14252]
23987 * powerpc32/power6/wcschr.c: New file.
23988 * powerpc32/power6/wcscpy.c: New file.
23989 * powerpc32/power6/wcsrchr.c: New file.
23990 * powerpc64/power6/wcschr.c: New file.
23991 * powerpc64/power6/wcscpy.c: New file.
23992 * powerpc64/power6/wcsrchr.c: New file.
23993
bcca0895
MK
239942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23995
23996 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23997 (two_way_short_needle): Use it.
5a4aaa33
RM
23998 * string/strstr.c (AVAILABLE1_USES_J): Define.
23999 * string/strcasestr.c: Likewise.
99677e57
MK
24000
24001 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24002 array references.
24003 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24004
400726de
MK
24005 [BZ #11607]
24006 * NEWS: Add an entry.
24007 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24008 define their defaults.
24009 (two_way_short_needle): Detect end-of-string on-the-fly.
24010 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24011 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24012 * string/bug-strcasestr1.c: New test.
24013 * string/Makefile: Run it.
24014
20a71f2c
MK
240152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24016
24017 [BZ #11607]
24018 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24019 the first character.
24020
21ad0558
RM
240212012-08-21 Roland McGrath <roland@hack.frob.com>
24022
24023 * csu/elf-init.c (__libc_csu_irel): Function removed.
24024 * csu/libc-start.c (apply_irel): New function.
24025 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24026
0e1d9911
JM
240272012-08-21 Joseph Myers <joseph@codesourcery.com>
24028
24029 * sysdeps/unix/sysv/linux/kernel-features.h
24030 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24031 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24032 <kernel-features.h>.
24033 [__NR_fadvise64_64]: Make code unconditional.
24034 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24035 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24036 !__NR_fadvise64_64)]: Likewise.
24037 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24038 !__NR_fadvise64_64))]: Likewise.
24039 [__NR_fadvise64]: Make code unconditional.
24040 [!__NR_fadvise64]: Remove conditional code.
24041 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24042 <kernel-features.h>.
24043 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24044 unconditional.
24045 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24046 conditional code.
24047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24048 not include <kernel-features.h>.
24049 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24050 unconditional.
24051 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24052 conditional code.
24053 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24054 include <kernel-features.h>.
24055 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24056 unconditional.
24057 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24058 conditional code.
24059
14a50c9d
WS
240602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24061
24062 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24063 slight instruction rearrangements per scrollpipe analysis.
24064 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24065
c0f4faf0
RM
240662012-08-20 Roland McGrath <roland@hack.frob.com>
24067
696da859
RM
24068 * manual/syslog.texi (syslog; vsyslog, closelog):
24069 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24070 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24071
c0f4faf0
RM
24072 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24073 DSOCAPS to match condition on defining it.
24074
348363b2
JM
240752012-08-20 Joseph Myers <joseph@codesourcery.com>
24076
a35cbf28
JM
24077 * sysdeps/unix/sysv/linux/kernel-features.h
24078 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24080 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24081 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24086 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24087 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24088
445f7ecd
JM
24089 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24090 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24091
348363b2
JM
24092 * sysdeps/unix/sysv/linux/kernel-features.h
24093 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24094 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24095 unconditional.
24096 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24097 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24098 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24099 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24100 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24101 Make code unconditional.
24102 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24103 (__mmap64) [!__NR_mmap2]: Likewise.
24104 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24105 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24106 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24108 [__NR_mmap2]: Make code unconditional.
24109 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24110 (__mmap64) [!__NR_mmap2]: Likewise.
24111
bc5bc0e5
AK
241122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24113
24114 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24115
88d506de
AJ
241162012-08-18 Andreas Jaeger <aj@suse.de>
24117
24118 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24119
493387d2
MF
241202012-08-18 Mike Frysinger <vapier@gentoo.org>
24121
24122 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24123 * include/unistd.h (__have_sock_cloexec): Likewise.
24124 (__have_pipe2): Likewise.
24125 (__have_dup3): Likewise.
24126
a277af22
MF
241272012-08-18 Mike Frysinger <vapier@gentoo.org>
24128
24129 [BZ #9685]
24130 * include/unistd.h (__have_pipe2): Change define into an extern int.
24131 (__have_dup3): Likewise.
24132 * socket/have_sock_cloexec.c: Include fcntl.h.
24133 (__have_pipe2): New variable.
24134 (__have_dup3): Likewise.
24135
fdab8fd3
MF
241362012-08-17 Mike Frysinger <vapier@gentoo.org>
24137
24138 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24139
31035e80
MP
241402012-08-17 Marek Polacek <polacek@redhat.com>
24141
24142 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24143 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24144
3bd9e993
RM
241452012-08-17 Roland McGrath <roland@hack.frob.com>
24146
c91c505f
RM
24147 * configure.in: Add AC_SUBST for sysheaders.
24148 * configure: Regenerated.
24149 * config.make.in (sysheaders): New substituted variable.
24150
7c6f9d53
RM
24151 * sysdeps/unix/mkfifo.c: Moved ...
24152 * sysdeps/posix/mkfifo.c: ... here.
24153 * sysdeps/unix/mkfifoat.c: Moved ...
24154 * sysdeps/posix/mkfifoat.c: ... here.
24155
24156 * sysdeps/unix/utime.c: Moved ...
24157 * sysdeps/posix/utime.c: ... here.
24158
24159 * sysdeps/unix/time.c: Moved ...
24160 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24161 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24162 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24163
24164 * sysdeps/unix/nice.c: Moved ...
24165 * sysdeps/posix/nice.c: ... here.
24166
24167 * sysdeps/unix/alarm.c: Moved ...
24168 * sysdeps/posix/alarm.c: ... here.
24169
3bd9e993
RM
24170 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24171
d1f09384
JL
241722012-08-17 Jeff Law <law@redhat.com>
24173
24174 * intl/Makefile (codeset_mo): New variable.
24175 ($(codeset_mo)): New target.
24176 (tst-codeset.out): Depend on that. Remove explicit rule.
24177 (tst-gettext3.out, tst-gettext5.out): Likewise.
24178 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24179 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24180 * intl/tst-codeset.sh: Remove.
24181 * intl/tst-gettext3.sh: Likewise.
24182 * intl/tst-gettext5.sh: Likewise.
24183
2ae1ae5c
RM
241842012-08-17 Roland McGrath <roland@hack.frob.com>
24185
c31fdb83
RM
24186 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24187 * sysdeps/unix/syscalls.list: ... here.
24188
a0844057
RM
24189 * sysdeps/posix/getaddrinfo.c
24190 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24191 (gaiconf_init, gaiconf_reload): Use them.
24192 [!_STATBUF_ST_NSEC]
24193 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24194 Define using time_t rather than struct timespec.
24195
750c1f2a
RM
24196 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24197 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24198 Macros removed.
24199 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24200 [!NO_THREADS].
24201 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24202 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24203 Likewise.
24204
2ae1ae5c
RM
24205 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24206 __libc_cleanup_push argument.
24207
e66a42f5
RM
24208 * bits/param.h: New file.
24209 * misc/sys/param.h: New file.
24210 * include/sys/param.h: New file.
24211 * misc/Makefile (headers): Add bits/param.h.
24212 * sysdeps/generic/sys/param.h: File removed.
24213 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24214 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24215 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24216 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24217
b7c08a66
RM
24218 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24219 last change.
24220
b2e1c562
RM
24221 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24222 [_IO_MTSAFE_IO].
24223 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24224 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24225 New macros.
24226
c75ccd4c
RM
24227 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24228 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24229 rather than -D_IO_MTSAFE_IO conditionally.
24230 * stdio-common/Makefile (CPPFLAGS): Likewise.
24231 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24232 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24233 Use $(libio-mtsafe).
24234 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24235 of -D_IO_MTSAFE_IO.
24236 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24237 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24238 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24239 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24240 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24241 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24242 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24243 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24244 (CFLAGS-fread_u_chk.c): Likewise.
24245 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24246 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24247 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24248 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24249 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24250 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24251 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24252 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24253 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24254
24255 * libio/Makefile: Test [$(libc-reentrant) = yes]
24256 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24257
24258 * Makeconfig
24259 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24260 * sysdeps/pthread/configure: File removed.
24261 * sysdeps/pthread/Makeconfig: New file.
24262 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24263 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24264
d9195db8
GB
242652012-08-16 Gary Benson <gbenson@redhat.com>
24266
24267 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24268 unmapping the first object in a namespace.
24269
86466cd9
RM
242702012-08-16 Roland McGrath <roland@hack.frob.com>
24271
24272 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24273 (__internal_setnetgrent): ... this. Add internal_function to
24274 definition. Add libc_hidden_def.
24275 (setnetgrent): Update caller.
24276 (internal_endnetgrent): Renamed to ...
24277 (__internal_endnetgrent): ... this. Add internal_function to
24278 definition. Add libc_hidden_def.
24279 (endnetgrent): Update caller.
24280 (internal_getnetgrent_r): Renamed to ...
24281 (__internal_getnetgrent_r): ... this. Add internal_function to
24282 definition. Add libc_hidden_def.
24283 (__getnetgrent_r): Update caller.
24284 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24285
c3c8283c
JM
242862012-08-16 Joseph Myers <joseph@codesourcery.com>
24287
24288 * stdlib/longlong.h: Update from GCC.
24289
db1ee0a8
RM
242902012-08-16 Roland McGrath <roland@hack.frob.com>
24291
24292 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24293 on _QL, which is set by umul_ppmm but never used.
24294 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24295 variables, which are set by GMP macros but never used.
24296 * stdio-common/_itowa.c (_itowa): Likewise.
24297 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24298 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24299
30f69637
CD
243002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24301
24302 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24303 struct La_sh_regs is not constant.
24304 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24305 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24306 and struct La_sparc64_regs are not constant.
24307
93a78ac4
JM
243082012-08-16 Joseph Myers <joseph@codesourcery.com>
24309
24310 * sysdeps/unix/sysv/linux/kernel-features.h
24311 (__ASSUME_POSIX_TIMERS): Remove.
24312 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24313 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24314 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24315 Make code unconditional.
24316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24317 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24318 Make code unconditional.
24319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24320 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24321 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24323 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24324 Make code unconditional.
24325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24326 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24327 (__libc_missing_posix_timers): Remove.
24328
dd924cd7
RM
243292012-08-15 Roland McGrath <roland@hack.frob.com>
24330
4b4f2771
RM
24331 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24332 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24333
601c888b
RM
24334 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24335
176790a7
RM
24336 * elf/dl-sym.c: Include <stdlib.h>.
24337
329bc018
RM
24338 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24339 constants, which avoids warnings in 32-bit builds.
24340
e04e272d
RM
24341 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24342 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24343
952bf94a
RM
24344 * misc/lseek.c: File moved to ...
24345 * io/lseek.c: ... here.
24346
7c99b50a
RM
24347 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24348
dd924cd7
RM
24349 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24350 shifting LEN more than 31 bits at once.
24351
b3f479a8
LD
243522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24353
24354 [BZ #14195]
8c4ae0d4
RM
24355 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24356 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24357 * string/test-strncasecmp.c (check1): Renamed to...
24358 (bz12205): ...this.
24359 (bz14195): Add new testcase for two empty input strings and N > 0.
24360 (test_main): Call new testcase, adapt for renamed function.
24361
9c55864e
AJ
243622012-08-15 Andreas Jaeger <aj@suse.de>
24363
24364 [BZ #14090]
24365 * crypt/md5test2.c: New test, based on test supplied by Serge
24366 Belyshev <belyshev@depni.sinp.msu.ru>.
24367 * crypt/Makefile (xtests): Add md5test-giant..
24368 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24369
02dcb6c5
PE
243702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24371
24372 [BZ #14090]
24373 * crypt/md5.c (md5_process_block): Don't assume the buffer
24374 length is less than 2**32.
24375 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24376 length is less than 2**64.
24377
a3f95dcc
RM
243782012-08-15 Roland McGrath <roland@hack.frob.com>
24379
be75d758
RM
24380 * string/str-two-way.h: Include <sys/param.h>.
24381 (MAX): Macro removed.
24382
7312ca90
RM
24383 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24384 Move #define and #undef of memmove to just before and after
24385 including <string.h>.
24386
9a0a5486
RM
24387 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24388 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24389 and after including <string.h>. Move declarations of
24390 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24391 to before #include "string/memmove.c".
24392
67cc348d
RM
24393 * include/dirent.h: Declare __getdirentries.
24394
a3f95dcc
RM
24395 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24396 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24397
ca98e171
MF
243982012-08-14 Mike Frysinger <vapier@gentoo.org>
24399
24400 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24401 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24402 * sysdeps/i386/configure: Regenerated.
24403 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24404 STABS_CURRENT_FILE, and STABS_FUN.
24405 (END): Remove call to STABS_FUN_END.
24406 (STABS_CURRENT_FILE1): Delete.
24407 (STABS_CURRENT_FILE): Likewise.
24408 (STABS_FUN): Likewise.
24409 (STABS_FUN_END): Likewise.
24410 (STABS_FUN2): Likewise.
24411 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24412 * sysdeps/x86_64/configure: Regenerated.
24413
5908bf46
RM
244142012-08-14 Roland McGrath <roland@hack.frob.com>
24415
24416 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24417 * elf/dl-lookup.c: Likewise.
5908bf46 24418
f2c05b9e
JM
244192012-08-14 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/unix/sysv/linux/kernel-features.h
24422 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24423 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24424 unconditionally.
24425 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24426 unconditionally.
24427 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24428 condition on __ASSUME_CLONE_THREAD_FLAGS.
24429
e11f5155
AJ
244302012-08-14 Andreas Jaeger <aj@suse.de>
24431
24432 * sysdeps/i386/fpu/libm-test-ulps: Update.
24433
51a9ba86
MK
244342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24435
2fdd4f78
AJ
24436 * include/atomic.h (atomic_exchange_and_add): Split into ...
24437 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24438 New atomic macros.
51a9ba86 24439
ba6cba9e
MT
244402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24441
24442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24443
42443a47
JL
244442012-08-13 Jeff Law <law@redhat.com>
24445
24446 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24447 null byte in the output string.
24448
121dce05
JM
244492012-08-10 Joseph Myers <joseph@codesourcery.com>
24450
24451 * sysdeps/unix/sysv/linux/kernel-features.h
24452 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24453 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24454 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24455 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24456 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24457 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24458 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24459
bf51f568
JL
244602012-08-09 Jeff Law <law@redhat.com>
24461
24462 [BZ #13939]
24463 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24464 When avoid_arena is set, don't retry in the that arena. Pick the
24465 next one, whatever it might be.
24466 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24467 (arena_lock): Pass in new parameter to arena_get2.
24468 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24469 arena_get2.
24470 (__libc_malloc): Unify retrying after main arena failure with
24471 __libc_memalign version.
24472 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24473
f85fa270
L
244742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24475
24476 [BZ #14166]
24477 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24478 to __redirect_strstr.
24479 (__strstr_sse42): Use typeof __redirect_strstr.
24480 (__strstr_ia32): Likewise.
24481 (__libc_strstr): New prototype.
24482 (strstr): Renamed to ...
24483 (__libc_strstr): This.
24484 (strstr): New strong alias of __libc_strstr.
24485 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24486 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24487 __redirect_time.
24488 Include <time.h>.
24489 (__libc_time): New prototype.
24490 (time_ifunc): Replace time with __libc_time.
24491 (time): New strong alias and hidden definition of __libc_time.
24492 (__GI_time): Remove strong alias.
24493 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24494 Include <stddef.h>.
24495 (memmove): Redefined to __redirect_memmove.
24496 (__memmove_sse2): Use typeof __redirect_memmove.
24497 (__memmove_ssse3): Likewise.
24498 (__memmove_ssse3_back): Likewise.
24499 (__libc_memmove): New prototype.
24500 (memmove): Renamed to ...
24501 (__libc_memmove): This.
24502 (memmove): New strong alias of __libc_memmove.
24503
33b4a91e
MS
245042012-08-08 Mark Salter <msalter@redhat.com>
24505
24506 * elf/elf.h
24507 (R_MN10300_TLS_GD): Define.
24508 (R_MN10300_TLS_LD): Likewise.
24509 (R_MN10300_TLS_LDO): Likewise.
24510 (R_MN10300_TLS_GOTIE): Likewise.
24511 (R_MN10300_TLS_IE): Likewise.
24512 (R_MN10300_TLS_LE): Likewise.
24513 (R_MN10300_TLS_DTPMOD): Likewise.
24514 (R_MN10300_TLS_DTPOFF): Likewise.
24515 (R_MN10300_TLS_TPOFF): Likewise.
24516 (R_MN10300_SYM_DIFF): Likewise.
24517 (R_MN10300_ALIGN): Likewise.
24518 (R_MN10300_NUM): Update.
24519
b36137f1
JM
245202012-08-08 Joseph Myers <joseph@codesourcery.com>
24521
24522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24523 Remove.
24524
cdd915fd
RM
245252012-08-08 Roland McGrath <roland@hack.frob.com>
24526
a2433aac
RM
24527 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24528
cdd915fd
RM
24529 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24530 sysdeps/unix -> sysdeps/posix move.
24531 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24532
bf9b740a
AM
245332012-08-07 Allan McRae <allan@archlinux.org>
24534
24535 [BZ #14303]
24536 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24537 (SUNOS_CPP): Likewise.
24538 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24539 not found.
24540 (open_input): Call CPP using execvp.
24541
93df14ee
JM
245422012-08-07 Joseph Myers <joseph@codesourcery.com>
24543
24544 * sysdeps/unix/sysv/linux/kernel-features.h
24545 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24546 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24547 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24548 (__ASSUME_WAITID_SYSCALL): Likewise.
24549 * sysdeps/unix/sysv/linux/dl-execstack.c
24550 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24551 code unconditional.
24552 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24553 conditional code.
24554 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24555 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24556 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24557 code.
24558 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24559 unconditional.
24560 [__ASSUME_WAITID_SYSCALL]: Likewise.
24561 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24562
d34689de
RM
245632012-08-07 Roland McGrath <roland@hack.frob.com>
24564
a281decc
RM
24565 * sysdeps/unix/closedir.c: Renamed to ...
24566 * sysdeps/posix/closedir.c: ... here.
24567 * sysdeps/unix/dirfd.c: Renamed to ...
24568 * sysdeps/posix/dirfd.c: ... here.
24569 * sysdeps/unix/dirstream.h: Renamed to ...
24570 * sysdeps/posix/dirstream.h: ... here.
24571 * sysdeps/unix/fdopendir.c: Renamed to ...
24572 * sysdeps/posix/fdopendir.c: ... here.
24573 * sysdeps/unix/opendir.c: Renamed to ...
24574 * sysdeps/posix/opendir.c: ... here.
24575 * sysdeps/unix/readdir.c: Renamed to ...
24576 * sysdeps/posix/readdir.c: ... here.
24577 * sysdeps/unix/readdir_r.c: Renamed to ...
24578 * sysdeps/posix/readdir_r.c: ... here.
24579 * sysdeps/unix/rewinddir.c: Renamed to ...
24580 * sysdeps/posix/rewinddir.c: ... here.
24581 * sysdeps/unix/seekdir.c: Renamed to ...
24582 * sysdeps/posix/seekdir.c: ... here.
24583 * sysdeps/unix/telldir.c: Renamed to ...
24584 * sysdeps/posix/telldir.c: ... here.
24585 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24586 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24587 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24588 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24589
22895b47
RM
24590 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24591 * bits/fcntl.h: ... here.
24592
707a53b6
RM
24593 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24594 not 0.
24595 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24596 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24597 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24598 (struct flock): Move l_start, l_len to the beginning.
24599 Use __pid_t for l_pid.
24600 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24601 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24602 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24603 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24604 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24605 [__USE_LARGEFILE64] (struct flock64): New type.
24606 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24607
f0bd3e25
RM
24608 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24609 * bits/dirent.h: ... here.
24610
d34689de
RM
24611 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24612 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24613
6dad2c06
JM
246142012-08-07 Joseph Myers <joseph@codesourcery.com>
24615
24616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24617 Change from 2.6.0 to 2.6.16.
24618 * sysdeps/unix/sysv/linux/configure: Regenerated.
24619 * sysdeps/unix/sysv/linux/kernel-features.h
24620 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24621 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24622 version.
24623 (__ASSUME_UTIMES): Likewise.
24624 (__ASSUME_CLONE_STOPPED): Remove.
24625 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24626 architectures, not kernel version.
24627 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24628 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24629 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24630 (__ASSUME_WAITID_SYSCALL): Likewise.
24631 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24632 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24633 * README: State 2.6.16 as minimum Linux kernel version. Do not
24634 refer to older versions.
24635
03af9520
RM
246362012-08-06 Roland McGrath <roland@hack.frob.com>
24637
8e49df1d
RM
24638 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24639 Define alphasort64 as an alias.
24640 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24641 Define versionsort64 as an alias.
24642 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24643 Define scandir64 as an alias.
24644 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24645 Define scandirat64 as an alias.
24646 * dirent/alphasort64.c (alphasort64):
24647 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24648 * dirent/versionsort64.c: Likewise.
24649 * dirent/scandir64.c: Likewise.
24650 * dirent/scandirat64.c: Likewise.
24651 * sysdeps/wordsize-64/alphasort.c: File removed.
24652 * sysdeps/wordsize-64/alphasort64.c: File removed.
24653 * sysdeps/wordsize-64/scandir.c: File removed.
24654 * sysdeps/wordsize-64/scandir64.c: File removed.
24655 * sysdeps/wordsize-64/scandirat.c: File removed.
24656 * sysdeps/wordsize-64/scandirat64.c: File removed.
24657 * sysdeps/wordsize-64/versionsort.c: File removed.
24658 * sysdeps/wordsize-64/versionsort64.c: File removed.
24659 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24660 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24662 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24664 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24665 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24667
24668 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24670 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24672 [defined __arch64__ || defined __sparcv9]
24673 (__INO_T_MATCHES_INO64_T): New macro.
24674 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24675 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24676 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24677 * sysdeps/unix/sysv/linux/bits/dirent.h
24678 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24679 (_DIRENT_MATCHES_DIRENT64): New macro.
24680
03af9520
RM
24681 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24682 Define lockf64 as an alias.
24683 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24684 Define fseeko64 as an alias.
24685 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24686 Define ftello64 as an alias.
24687 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24688 Define _IO_fgetpos64 and fgetpos64 as aliases.
24689 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24690 Define _IO_fsetpos64 and fsetpos64 as aliases.
24691 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24692 Conditionalize body on this.
24693 * libio/fseeko64.c: Likewise.
24694 * libio/ftello64.c: Likewise.
24695 * libio/iofgetpos64.c: Likewise.
24696 * libio/iofsetpos64.c: Likewise.
24697 * sysdeps/wordsize-64/lockf.c: File removed.
24698 * sysdeps/wordsize-64/lockf64.c: File removed.
24699 * sysdeps/wordsize-64/fseeko.c: File removed.
24700 * sysdeps/wordsize-64/fseeko64.c: File removed.
24701 * sysdeps/wordsize-64/ftello.c: File removed.
24702 * sysdeps/wordsize-64/ftello64.c: File removed.
24703 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24704 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24705 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24706 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24710 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24712 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24713 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24714 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24715 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24716 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24717
24718 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24719 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24720 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24721 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24722 [defined __arch64__ || defined __sparcv9]
24723 (__OFF_T_MATCHES_OFF64_T): New macro.
24724 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24725 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24727 (__OFF_T_MATCHES_OFF64_T): New macro.
24728
c5757acd
L
247292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24730
24731 * stdlib/secure-getenv.c (__secure_getenv): Replace
24732 GLIBC_2_16 with GLIBC_2_17.
24733
3a31811e
L
247342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24735
24736 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24737 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24738
faa2bccb
DM
247392012-08-03 David S. Miller <davem@davemloft.net>
24740
24741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24742
85fe1997
JM
247432012-08-03 Joseph Myers <joseph@codesourcery.com>
24744
24745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24746 Remove.
24747 (__ASSUME_CORRECT_SI_PID): Likewise.
24748 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24749 (__ASSUME_TMPFS_NAME): Likewise.
24750 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24751 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24752 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24753 (HAVE_AUX_SECURE): Make definition unconditional.
24754 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24755 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24756
4f75b7a0
RM
247572012-08-03 Roland McGrath <roland@hack.frob.com>
24758
24759 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24760 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24761 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24762 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24763 __eloop_threshold instead of SYMLOOP_MAX.
24764
24765 * sysdeps/generic/eloop-threshold.h: New file.
24766 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24767 of MAXSYMLINKS.
24768 * elf/chroot_canon.c (chroot_canon): Likewise.
24769
7aab07e4
JM
247702012-08-03 Joseph Myers <joseph@codesourcery.com>
24771
24772 [BZ #13717]
24773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24774 Change to 2.6.0 everywhere.
24775 * sysdeps/unix/sysv/linux/configure: Regenerated.
24776 * sysdeps/unix/sysv/linux/kernel-features.h
24777 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24778 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24779 kernel versions.
24780 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24781 (__ASSUME_FUTEX_REQUEUE): Remove.
24782 (__ASSUME_STATFS64): Define unconditionally.
24783 (__ASSUME_AT_SECURE): Likewise.
24784 (__ASSUME_CORRECT_SI_PID): Likewise.
24785 (__ASSUME_TGKILL): Define without depending on kernel version for
24786 i386.
24787 (__ASSUME_UTIMES): Likewise.
24788 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24789 kernel version.
24790 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24791 (__ASSUME_TMPFS_NAME): Likewise.
24792 * README: Update reference to Linux kernel versions.
24793
b67e9372
MP
247942012-08-02 Marek Polacek <polacek@redhat.com>
24795
1f529f7d 24796 [BZ# 14150]
b67e9372
MP
24797 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24798 libc_cv_asm_type_prefix with %.
24799 * configure: Regenerated.
d2441631
RM
24800 * include/libc-symbols.h: Remove comment about
24801 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24802 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24803 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24804 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24805 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24806 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24807 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24808 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24809 * elf/tst-unique2mod1.c: Likewise.
24810 * elf/tst-unique1mod2.c: Likewise.
24811 * elf/tst-unique1mod1.c: Likewise.
24812 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24813 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24814 Replace ASM_TYPE_DIRECTIVE with .type.
24815 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24816 * sysdeps/i386/sysdep.h: Likewise.
24817 * sysdeps/x86_64/sysdep.h: Likewise.
24818 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24820 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24821 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24822 * sysdeps/powerpc/powerpc32/sysdep.h:
24823 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24824 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24825 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24826 * sysdeps/i386/fpu/e_powf.S: Likewise.
24827 * sysdeps/i386/fpu/e_expl.S: Likewise.
24828 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24829 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24830 * sysdeps/i386/fpu/e_pow.S: Likewise.
24831 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24833 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24834 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24835 * sysdeps/i386/fpu/e_log2.S: Likewise.
24836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24837 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24838 * sysdeps/i386/fpu/e_powl.S: Likewise.
24839 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24840 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24841 * sysdeps/i386/fpu/e_logl.S: Likewise.
24842 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24843 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24844 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24845 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24846 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24847 * sysdeps/i386/fpu/e_log.S: Likewise.
24848 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24849 * sysdeps/i386/fpu/e_logf.S: Likewise.
24850 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24851 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24852 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24853 * sysdeps/i386/fpu/e_log10.S: Likewise.
24854 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24855 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24856 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24857 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24858 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24859 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24860 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24861 * sysdeps/i386/i686/strtok.S: Likewise.
24862 * sysdeps/i386/i386-mcount.S: Likewise.
24863 * sysdeps/i386/strtok.S: Likewise.
24864 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24865 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24866 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24867 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24868 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24869 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24870 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24871 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24872 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24873 * sysdeps/x86_64/_mcount.S: Likewise.
24874 * sysdeps/x86_64/strtok.S: Likewise.
24875 * sysdeps/sh/_mcount.S: Likewise.
24876
2747bf9a
RM
248772012-08-01 Roland McGrath <roland@hack.frob.com>
24878
24879 * libio/iofopen.c: Include <fcntl.h>.
24880 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24881 (_IO_fopen64, fopen64): Define as aliases.
24882 * libio/iofopen64.c: Include <fcntl.h>.
24883 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24884 Conditionalize body on this.
24885 * sysdeps/wordsize-64/iofopen.c: File removed.
24886 * sysdeps/wordsize-64/iofopen64.c: File removed.
24887
3fb791b8
MP
248882012-08-01 Marek Polacek <polacek@redhat.com>
24889
24890 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24891 Use dlfcn directly instead of a variable.
24892 (binfmt-subdir): Do not define.
24893 (dlfcn): Likewise.
24894
a9f1039f
JM
248952012-08-01 Joseph Myers <joseph@codesourcery.com>
24896
23bddc06
JM
24897 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24898 Remove all definitions.
24899 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24900 <kernel-features.h>.
24901 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24902 (miss_F_GETOWN_EX): Remove all definitions.
24903 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24904 macro definition.
24905 [!__ASSUME_FCNTL64]: Remove conditional code.
24906 [__ASSUME_FCNTL64]: Make code unconditional.
24907 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24908 <kernel-features.h>.
24909 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24910 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24911 (lockf64) [__NR_fcntl64]: Make code unconditional.
24912 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24913
a9f1039f
JM
24914 * sysdeps/unix/sysv/linux/kernel-features.h
24915 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24916 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24917 Make code unconditional.
24918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24921 [__NR_vfork]: Make code unconditional.
24922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24925 [__NR_vfork]: Make code unconditional.
24926 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24927 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24928
09c0ee5f
RM
249292012-08-01 Roland McGrath <roland@hack.frob.com>
24930
48aec5b9
RM
24931 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24932 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24933
cd97c966
RM
24934 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24935 Define mkstemp64 as an alias.
3f55550c
RM
24936 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24937 Define mkstemps64 as an alias.
cd97c966
RM
24938 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24939 Define mkostemp64 as an alias.
b8625cfc
RM
24940 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24941 Define mkostemps64 as an alias.
cd97c966
RM
24942 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24943 Conditionalize body on this.
24944 * misc/mkostemp64.c: Likewise.
b8625cfc 24945 * misc/mkostemps64.c: Likewise.
3f55550c 24946 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24947 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24948 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24949 * sysdeps/wordsize-64/mkostemp.c: File removed.
24950 * sysdeps/wordsize-64/mkstemp.c: File removed.
24951 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24953 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24955
09c0ee5f
RM
24956 [BZ #14138]
24957 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24958 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24959 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24960 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24961
24962 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24963 compat_symbol macros from <shlib-compat.h> rather than the underlying
24964 default_symbol_version and symbol_version macros, so that DEFAULT
24965 lines in shlib-versions are respected.
24966 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24967
7e66ee51
FW
249682012-08-01 Florian Weimer <fweimer@redhat.com>
24969
24970 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24971 Declare with warn_unused_result.
24972 (setgid, setregid, setegid, setresgid): Likewise.
24973 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24974 Likewise.
24975 * WUR-REPORT: Remove set*id functions.
24976
d2a54255
PT
249772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24978
24979 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24980
7ecdb005
RM
249812012-07-31 Roland McGrath <roland@hack.frob.com>
24982
b4180a5e 24983 [BZ #10191]
789bd351
RM
24984 * include/sys/socket.h (__libc_accept, __libc_accept4):
24985 Add attribute_hidden.
24986 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24987
40ce302d
RM
24988 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24989 use of PTR_MANGLE.
24990 * inet/getnetgrent_r.c (setup): Likewise.
24991
7ecdb005
RM
24992 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24993
e2eabb2c
DM
249942012-07-31 David S. Miller <davem@davemloft.net>
24995
24996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24997
d0419dbf
JM
249982012-07-31 Joseph Myers <joseph@codesourcery.com>
24999
25000 [BZ #13629]
25001 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25002 value between 1.0 and 2.0 and smaller part has absolute value less
25003 than 1.0.
25004 * math/s_clog10.c (__clog10): Likewise.
25005 * math/s_clog10f.c (__clog10f): Likewise.
25006 * math/s_clog10l.c (__clog10l): Likewise.
25007 * math/s_clogf.c (__clogf): Likewise.
25008 * math/s_clogl.c (__clogl): Likewise.
25009 * math/libm-test.inc (clog_test): Add more tests.
25010 (clog10_test): Likewise.
25011 * sysdeps/i386/fpu/libm-test-ulps: Update.
25012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25013
2bc13872
FW
250142012-07-31 Florian Weimer <fweimer@redhat.com>
25015
25016 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25017 Exit with zero in case no suitable GID is found, and write a
25018 message to standard error.
25019
bea9b193
RM
250202012-07-30 Roland McGrath <roland@hack.frob.com>
25021
25022 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25023 rather than to 1.
25024 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25025 (MAXPATHLEN): Removed.
25026 (NOGROUP, NODEV): New macros.
25027 (setbit, clrbit, isset, isclr): New macros.
25028 (howmany, roundup, powerof2): New macros.
25029 (DEV_BSIZE): New macro.
25030
25031 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25032 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25033
25034 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25035 definition on [!__NO_LONG_DOUBLE_MATH].
25036
25037 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25038 PTR_MANGLE and PTR_DEMANGLE.
25039
25040 * socket/accept4.c (accept4): Rename to __libc_accept4.
25041 Define accept4 as a weak alias.
25042
25043 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25044 on [_DIRENT_HAVE_D_TYPE].
25045 * io/ftw.c (ftw_dir): Likewise.
25046
25047 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25048
25049 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25050
25051 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25052 Use the BSD numbers rather than the arbitrary ones we had.
25053 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25054 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25055 (SIGXCPU, SIGXFSZ): New macros.
25056 (_NSIG): Now 32.
25057
25058 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25059 initializer on [_LIBC_REENTRANT].
25060
25061 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25062 definitions inside [_POSIX_MAPPED_FILES].
25063
25064 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25065
25066 * dirent/opendir.c: Include <fcntl.h>.
25067
25068 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25069 (__libc_getspecific): Likewise.
25070 (__libc_key_create): Likewise.
25071
25072 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25073 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25074 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25075 (tmpfile64): Define as alias.
25076 * sysdeps/wordsize-64/tmpfile.c: File removed.
25077 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25078 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25079 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25080
25081 * stdio-common/vfscanf.c: Include <stdbool.h>.
25082 * nss/makedb.c: Likewise.
25083 * stdio-common/_i18n_number.h: Likewise.
25084 * argp/argp-help.c: Likewise.
25085 * posix/wordexp.c: Likewise.
25086 * sysdeps/posix/spawni.c: Likewise.
25087 * nss/nss_files/files-initgroups.c: Likewise.
25088 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25089 * nss/nss_files/files-initgroups.c: Likewise.
25090 * nss/nss_db/db-netgrp.c: Likewise.
25091 * nss/nss_db/db-initgroups.c: Likewise.
25092 * io/fchmodat.c: Include <sys/stat.h>.
25093
25094 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25095 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25096
25097 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25098 [HAVE_MMAP].
25099
25100 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25101 Add multiple inclusion protection.
25102
e5abc686
DM
251032012-07-27 David S. Miller <davem@davemloft.net>
25104
25105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25106
815e6fa3
GB
251072012-07-27 Gary Benson <gbenson@redhat.com>
25108
25109 [BZ #14298]
25110 * elf/rtld.c: Include <stap-probe.h>.
25111 (dl_main): Added static probes "init_start" and "init_complete".
25112 * elf/dl-load.c: Include <stap-probe.h>.
25113 (lose): Take new parameter "nsid".
25114 Added static probe "map_failed".
25115 (_dl_map_object_from_fd): Pass namespace id to lose.
25116 Added static probe "map_start".
25117 (open_verify): Pass namespace id to lose.
25118 * elf/dl-open.c: Include <stap-probe.h>.
25119 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25120 and "reloc_complete".
25121 * elf/dl-close.c: Include <stap-probe.h>.
25122 (_dl_close_worker): Added static probes "unmap_start" and
25123 "unmap_complete".
25124 * elf/rtld-debugger-interface.txt: New file documenting the above.
25125
9f98c16c
RM
251262012-07-26 Roland McGrath <roland@hack.frob.com>
25127
25128 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25129 rather than a string variable.
25130 * sunrpc/rpc_main.c (h_output): Likewise.
25131 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25132
f3c22df3
PT
251332012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25134
25135 * inet/check_native.c: New file.
25136
3129cfc6
JM
251372012-07-26 Joseph Myers <joseph@codesourcery.com>
25138
da865e95
JM
25139 [BZ #13629]
25140 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25141 if larger part has absolute value 1.0.
25142 * math/s_clog10.c (__clog10): Likewise.
25143 * math/s_clog10f.c (__clog10f): Likewise.
25144 * math/s_clog10l.c (__clog10l): Likewise.
25145 * math/s_clogf.c (__clogf): Likewise.
25146 * math/s_clogl.c (__clogl): Likewise.
25147 * math/libm-test.inc (clog_test): Add more tests.
25148 (clog10_test): Likewise.
25149 * sysdeps/i386/fpu/libm-test-ulps: Update.
25150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151
3129cfc6
JM
25152 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25153 (pltexit): Likewise.
25154 (La_regs): Likewise.
25155 (La_retval): Likewise.
25156 (int_retval): Likewise.
25157 Update #error for removed macros to refer only to definitions in
25158 tst-audit.h.
25159 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25160 macro.
25161 (pltexit): Likewise.
25162 (La_regs): Likewise.
25163 (La_retval): Likewise.
25164 (int_retval): Likewise.
25165 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25166 macro.
25167 (pltexit): Likewise.
25168 (La_regs): Likewise.
25169 (La_retval): Likewise.
25170 (int_retval): Likewise.
25171 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25172 macro.
25173 (pltexit): Likewise.
25174 (La_regs): Likewise.
25175 (La_retval): Likewise.
25176 (int_retval): Likewise.
25177 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25178 macro.
25179 (pltexit): Likewise.
25180 (La_regs): Likewise.
25181 (La_retval): Likewise.
25182 (int_retval): Likewise.
25183 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25184 macro.
25185 (pltexit): Likewise.
25186 (La_regs): Likewise.
25187 (La_retval): Likewise.
25188 (int_retval): Likewise.
25189 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25190 macro.
25191 (pltexit): Likewise.
25192 (La_regs): Likewise.
25193 (La_retval): Likewise.
25194 (int_retval): Likewise.
25195 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25196 macro definitions in tst-audit.h.
25197 * sysdeps/i386/tst-audit.h: New file.
25198 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25199 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25200 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25201 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25202 * sysdeps/sh/tst-audit.h: Likewise.
25203 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25204 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25205 * sysdeps/x86_64/tst-audit.h: Likewise.
25206
bfc07087
AJ
252072012-07-26 Andreas Jaeger <aj@suse.de>
25208
b1b2aaf8
AJ
25209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25210 ptrace.
25211
25212 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25213 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25214 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25215 PTRACE_O_MASK.
25216 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25217 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25218 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25219
bfc07087
AJ
25220 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25221 value.
25222
25223 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25224 _sigsys.
25225 (si_call_addr, si_syscall, si_arch): Define new macro.
25226 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25227 _sigsys.
25228 (si_call_addr, si_syscall, si_arch): Define new marcro.
25229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25230 _sigsys.
25231 (si_call_addr, si_syscall, si_arch): Define new macro.
25232 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25233 _sigsys.
25234 (si_call_addr, si_syscall, si_arch): Define new macro.
25235
89b4b02f
JM
252362012-07-25 Joseph Myers <joseph@codesourcery.com>
25237
25238 [BZ #13717]
25239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25240 Change to 2.4.21 where previously 2.4.1.
25241 * sysdeps/unix/sysv/linux/configure: Regenerated.
25242 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25243 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25244 Linux kernel version.
25245 (__ASSUME_STD_AUXV): Remove.
25246 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25247 kernel version.
25248 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25249 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25250 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25251 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25252 (__ASSUME_NETLINK_SUPPORT): Likewise.
25253 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25254 (__no_netlink_support): Remove conditional definition.
25255 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25256 Remove.
25257 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25258 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25259 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25260 (if_nameindex_ioctl): Remove.
25261 (if_nameindex_netlink): Do not handle __no_netlink_support.
25262 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25263 code.
25264 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25265 Remove conditional code.
25266 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25267 code.
25268 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25269 unconditional.
25270 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25271 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25272 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25273 Remove.
25274 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25275 [!__ASSUME_STD_AUXV]: Remove conditional code.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25277 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25278 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25280 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25281 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25282 code.
25283 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25285 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25286 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25287 conditional code.
25288 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25290 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25291 code.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25293 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25294 conditional code.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25296 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25297 code unconditional.
25298 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25299 conditional code.
25300 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25301 unconditional.
25302 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25303 conditional code.
25304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25305 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25306 unconditional.
25307 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25308 conditional code.
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25310 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25311 code unconditional.
25312 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25313 conditional code.
25314 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25315 unconditional.
25316 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25317 conditional code.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25319 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25320 code unconditional.
25321 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25322 conditional code.
25323 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25324 unconditional.
25325 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25326 conditional code.
25327
842a39cd
AS
253282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25329
25330 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25331 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25332 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25333 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25334 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25335 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25336 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25337 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25338 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25339 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25340 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25341 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25342 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25343 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25344 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25345 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25346 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25350 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25351 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25352 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25353
84b3fd84
FW
253542012-07-25 Florian Weimer <fweimer@redhat.com>
25355
25356 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25357 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25358 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25359 Introduce __libc_secure_getenv.
0c7936d5
FW
25360 * stdlib/Versions (2.17): Add secure_getenv
25361 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25362 * stdlib/secure-getenv.c: Rename __secure_getenv to
25363 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25364 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25365 * stdlib/tst-secure-getenv.c: New.
25366 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25367 * manual/startup.texi (Environment Access): Document
25368 secure_getenv.
84b3fd84
FW
25369 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25370 __libc_secure_getenv.
25371 * inet/ruserpass.c (ruserpass): Likewise.
25372 * malloc/mtrace.c (mtrace): Likewise.
25373 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25374 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25375 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25376 * sysdeps/posix/tempname.c: Likewise. Evaluate
25377 HAVE_SECURE_GETENV.
25378 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25379 __secure_getenv to __libc_secure_getenv.
84b3fd84 25380 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25382 Likewise.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25384 Likewise.
25385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25392
56e49b71
JM
253932012-07-25 Joseph Myers <joseph@codesourcery.com>
25394
25395 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25396 (struct La_i86_retval): Likewise.
25397 (struct La_x86_64_regs): Likewise.
25398 (struct La_x86_64_retval): Likewise.
25399 (struct La_x32_regs): Likewise.
25400 (struct La_x32_retval): Likewise.
25401 (struct La_ppc32_regs): Likewise.
25402 (struct La_ppc32_retval): Likewise.
25403 (struct La_ppc64_regs): Likewise.
25404 (struct La_ppc64_retval): Likewise.
25405 (struct La_sh_regs): Likewise.
25406 (struct La_sh_retval): Likewise.
25407 (struct La_s390_32_regs): Likewise.
25408 (struct La_s390_32_retval): Likewise.
25409 (struct La_s390_64_regs): Likewise.
25410 (struct La_s390_64_retval): Likewise.
25411 (struct La_sparc32_regs): Likewise.
25412 (struct La_sparc32_retval): Likewise.
25413 (struct La_sparc64_regs): Likewise.
25414 (struct La_sparc64_retval): Likewise.
25415 (struct audit_ifaces): Remove architecture-specific pltenter and
25416 pltexit members.
25417 * sysdeps/i386/ldsodefs.h: New file.
25418 * sysdeps/powerpc/ldsodefs.h: Likewise.
25419 * sysdeps/s390/ldsodefs.h: Likewise.
25420 * sysdeps/sh/ldsodefs.h: Likewise.
25421 * sysdeps/sparc/ldsodefs.h: Likewise.
25422 * sysdeps/x86_64/ldsodefs.h: Likewise.
25423
354691b7
MP
254242012-07-25 Marek Polacek <polacek@redhat.com>
25425
25426 [BZ #6808]
25427 * math/libm-test.inc (yn_test): Add another test.
25428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25429 to ERANGE when the result is +-Inf.
25430 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25431 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25432 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25433 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25434
bf9e2071
JM
254352012-07-24 Joseph Myers <joseph@codesourcery.com>
25436
25437 * conform/data/time.h-data (NULL): Use macro-constant. Require
25438 equal to 0.
25439 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25440 clock_t.
25441 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25442
57633811
TS
254432012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25444
25445 * configure.in <sysdeps resolving>: Correct printing
25446 Implies_before.
25447 * configure: Regenerate.
25448
c23c33b0
TS
254492012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25450
25451 * math/w_ilogb.c: Include <limits.h>.
25452 * math/w_ilogbl.c: Likewise.
25453
b5982523
JM
254542012-07-20 Joseph Myers <joseph@codesourcery.com>
25455
25456 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25457 va_copy. Document allowing for unavailable va_copy only as
25458 pre-C99 compatibility.
25459 * manual/string.texi (Copying and Concatenation): Use va_copy
25460 instead of __va_copy in concat example.
25461
ac4ea442
PT
254622012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25463
25464 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25465 (__sendto): Use create_address_port. Initialize APORT and deallocate
25466 it if not null.
25467
f98eafbd
PT
25468 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25469 with O_NOLINK passed to __file_name_lookup.
25470
898c7aab
PT
25471 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25472 with O_NOLINK passed to __file_name_lookup.
25473
0ced335a
PT
25474 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25475 negative N or less than NGIDS.
25476
b3404dbd
PT
25477 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25478 type to string_t. Set ERANGE as errno and return it if NAME is not big
25479 enough. Use memcpy instead of strncpy.
25480
0f48659e
JM
254812012-07-20 Joseph Myers <joseph@codesourcery.com>
25482
25483 * elf/Makefile (check-data): Remove.
25484 (localplt.data): New vpath directive.
25485 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25486 instead of $(check-data).
25487 * scripts/data/localplt-generic.data: Move to ...
25488 * sysdeps/generic/localplt.data: ... here.
25489 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25490 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25491 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25493 ... here.
25494 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25496 ... here.
25497 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25499 ... here.
25500 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25502 ... here.
25503 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25505 ... here.
25506 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25508 ... here.
25509
d37cbdaa
AZ
255102012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25511
25512 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25513 PPC32 and PPC64 files.
25514 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25515 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25516
46f85fc2
AK
255172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25518
25519 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25520 __makecontext_ret to ...
25521 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25522 ... here and call exit if uc_link is NULL. New file.
25523 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25524 __makecontext_ret.S.
25525 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25526 __makecontext_ret to ...
25527 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25528 ... here and call exit if uc_link is NULL. New file.
25529 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25530 __makecontext_ret.S.
25531
08f43f9b
AK
255322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25533
25534 * elf/elf.h (R_390_IRELATIVE): New definition.
25535 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25536 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25537 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25539 (elf_machine_lazy_rel): Likewise.
25540 * sysdeps/s390/dl-irel.h: New file.
25541 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25542 * sysdeps/s390/s390-64/memset.S: New asm code.
25543 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25544 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25545 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25546 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25547 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25548 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25550 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25551 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25552 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25553 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25554 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25555 * sysdeps/s390/s390-32/memset.S: New asm code.
25556 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25557
3b05db33
MP
255582012-07-17 Marek Polacek <polacek@redhat.com>
25559
25560 [BZ #14349]
25561 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25562 * sysdeps/s390/s390-64/configure.in: Likewise.
25563 * sysdeps/sparc/configure.in: Likewise.
25564 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25565 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25566 * sysdeps/i386/configure.in: Likewise.
25567 * sysdeps/x86_64/configure.in: Likewise.
25568 * sysdeps/sh/configure.in: Likewise.
25569 * sysdeps/s390/s390-32/configure: Regenerated.
25570 * sysdeps/s390/s390-64/configure: Likewise.
25571 * sysdeps/x86_64/configure: Likewise.
25572 * sysdeps/sh/configure: Likewise.
25573 * sysdeps/powerpc/powerpc64/configure: Likewise.
25574 * sysdeps/powerpc/powerpc32/configure: Likewise.
25575 * sysdeps/sparc/configure: Likwise.
25576 * sysdeps/i386/configure: Likewise.
25577
a66877c6
MP
25578 * elf/dl-open.c: Comment fixes.
25579
cfc82fd8
JM
255802012-07-17 Joseph Myers <joseph@codesourcery.com>
25581
bd29910a
JM
25582 * Makefile [CXX] (check-data): Remove.
25583 [CXX] (c++-types.data): New vpath directive.
25584 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25585 vpath. Do not allow for C++ type data being missing.
25586 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25587 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25588 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25589 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25590 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25591 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25592 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25594 ... here.
25595 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25597 ... here.
25598 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25600 ... here.
25601 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25603 ... here.
25604 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25606 ... here.
25607 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25609 ... here.
25610 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25612 ... here.
25613 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25615
cfc82fd8
JM
25616 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25617 definitions to architecture-specific files.
25618 (TLS_IE): Likewise.
25619 (TLS_LD): Likewise.
25620 (TLS_GD): Likewise.
25621 * sysdeps/i386/tls-macros.h: New file.
25622 * sysdeps/powerpc/tls-macros.h: Likewise.
25623 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25624 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25625 * sysdeps/sh/tls-macros.h: Likewise.
25626 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25627 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25628 * sysdeps/x86_64/tls-macros.h: Likewise.
25629
f7db3170
TS
256302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25631
07cbfc23
TS
25632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25633 zero value for regular exit case.
25634
f7db3170
TS
25635 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25636 (__start_context): Preserve zero value for regular exit case.
25637
dc97c227
TS
256382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25639 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25640
25641 * manual/setjmp.texi (setcontext): Clarify normal process
25642 termination when uc_link is the null pointer.
25643 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25644 exit call.
25645
d0cd7d02
AS
256462012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25647
25648 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25649 preprocessor. Test for each exception mask separately.
25650
dd318934
AJ
256512012-07-16 Andreas Jaeger <aj@suse.de>
25652
25653 * po/ru.po: Update from translation team.
25654
8048311a
JM
256552012-07-15 Joseph Myers <joseph@codesourcery.com>
25656
25657 * conform/data/string.h-data (NULL): Use macro-constant. Require
25658 equal to 0.
25659 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25660 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25661 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25662 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25664
b637d46e
AJ
256652012-07-13 Andreas Jaeger <aj@suse.de>
25666
25667 * po/fr.po: Update from translation team.
25668
541428fe
MP
256692012-07-12 Marek Polacek <polacek@redhat.com>
25670
25671 [BZ #14173]
25672 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25673 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25674 loop condition.
25675
ec332e94
JM
256762012-07-12 Joseph Myers <joseph@codesourcery.com>
25677
25678 [BZ #13717]
25679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25680 Change to 2.4.1 where previously 2.4.0.
25681 * sysdeps/unix/sysv/linux/configure: Regenerated.
25682 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25683 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25684 version.
25685 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25686 (__ASSUME_AT_CLKTCK): Remove.
25687 (__ASSUME_AT_PAGESIZE): Likewise.
25688 (__ASSUME_AT_XID): Likewise.
25689 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25690 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25691 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25692 unconditionally.
25693 (HAVE_AUX_PAGESIZE): Likewise.
25694 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25695 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25696 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25697
7b6e99be
JB
256982012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25699
25700 [BZ #14307]
25701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25702 the temporary buffer used to invoke __gethostbyname2_r,
25703 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25704 host_data / struct gaih_addrtuple.
25705 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25706 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25707 header file nss/nsswitch.h.
25708 * nss/nsswitch.h (global scope): Add definition of implementation
25709 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25710 resolv/nss_dns/dns-host.c).
25711
608404eb
AJ
257122012-07-11 Andreas Jaeger <aj@suse.de>
25713
25714 * po/fr.po: Update from translation team.
25715
71220aca
AJ
25716 * po/sv.po: Update from translation team
25717 * po/fr.po: Another update from translation team.
25718
28cfe843
AZ
257192012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25720
25721 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25722 for subnormals or multiply small sinh result by itself.
25723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25725
6b90f981
DM
257262012-07-11 David S. Miller <davem@davemloft.net>
25727
25728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25729
c6825772
AS
257302012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25731
25732 [BZ #14347]
25733 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25734 (INTERNAL_MARK): Shift it here.
25735
7b8e0d49
MP
257362012-07-10 Marek Polacek <polacek@redhat.com>
25737
25738 [BZ #14151]
25739 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25740 libc_cv_asm_global_directive with .globl.
25741 * configure: Regenerated.
25742 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25743 with .globl.
25744 * sysdeps/i386/configure: Regenerated.
25745 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25746 with .globl.
25747 * sysdeps/x86_64/configure: Regenerated.
25748 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25749 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25750 * elf/tst-unique2mod2.c: Likewise.
25751 * elf/tst-unique2mod1.c: Likewise.
25752 * elf/tst-unique1mod2.c: Likewise.
25753 * elf/tst-unique1mod1.c: Likewise.
25754 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25755 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25757 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25758 * sysdeps/mach/sysdep.h: Likewise.
25759 * sysdeps/i386/sysdep.h: Likewise.
25760 * sysdeps/i386/i386-mcount.S: Likewise.
25761 * sysdeps/x86_64/_mcount.S: Likewise.
25762 * sysdeps/x86_64/sysdep.h: Likewise.
25763 * sysdeps/sh/_mcount.S: Likewise.
25764 * sysdeps/sh/sysdep.h: Likewise.
25765 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25766 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25767 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25768 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25769 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25770 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25771 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25772 * locale/localeinfo.h: Likewise.
25773 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25774 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25775
6c55cda3
RM
257762012-07-09 Roland McGrath <roland@hack.frob.com>
25777
25778 [BZ #14336]
25779 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25780 system".
25781 * manual/message.texi (The Uniforum approach): Likewise.
25782 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25783 (glibc iconv Implementation): Likewise.
25784
638a572e
JM
257852012-07-09 Joseph Myers <joseph@codesourcery.com>
25786
25787 [BZ #14337]
25788 * math/s_clog.c (__clog): Avoid scaling a value down where that
25789 could result in underflow.
25790 * math/s_clog10.c (__clog10): Likewise.
25791 * math/s_clog10f.c (__clog10f): Likewise.
25792 * math/s_clog10l.c (__clog10l): Likewise.
25793 * math/s_clogf.c (__clogf): Likewise.
25794 * math/s_clogl.c (__clogl): Likewise.
25795 * math/libm-test.inc (clog_test): Add more tests.
25796 (clog10_test): Likewise.
25797 * sysdeps/i386/fpu/libm-test-ulps: Update.
25798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25799
261f4859
AS
258002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25801
0abaf3e4
AS
25802 [BZ #14283]
25803 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25804 by 7 not 8 to examine high bit of fractional part.
25805
261f4859
AS
25806 [BZ #14042]
25807 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25808 for call to __mcount_internal.
25809 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25810 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25811 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25812
f17ac40d
JM
258132012-07-06 Joseph Myers <joseph@codesourcery.com>
25814
9ad63c23
JM
25815 [BZ #14154]
25816 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25817 approximation for values within 0x1p-13f of an odd multiple of
25818 pi/4.
25819 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25820 exception. Add more tests.
25821 * sysdeps/i386/fpu/libm-test-ulps: Update.
25822
f17ac40d
JM
25823 [BZ #6778]
25824 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25825 inputs and return -1 for them. Do not check for +Inf in case not
25826 reachable for +Inf.
25827 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25828 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25830 and return -1 for them. Do not check for +Inf in case not
25831 reachable for +Inf.
25832 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25833 define.
25834 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25835 and return -1 for them. Do not check for +Inf in case not
25836 reachable for +Inf.
25837 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25838 spurious underflow.
25839 * sysdeps/i386/fpu/libm-test-ulps: Update.
25840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25841
fb21f89b
MF
258422012-07-06 Mike Frysinger <vapier@gentoo.org>
25843
25844 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25845
cdfe2c5e
JM
258462012-07-05 Joseph Myers <joseph@codesourcery.com>
25847
25848 [BZ #14157]
25849 [BZ #14331]
25850 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25851 could result in spurious underflow. Scale down values above
25852 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25853 * math/s_csqrtf.c (__csqrtf): Likewise.
25854 * math/s_csqrtl.c (__csqrtl): Likewise.
25855 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25856 spurious underflow.
25857 * sysdeps/i386/fpu/libm-test-ulps: Update.
25858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25859
70d35b67
AS
258602012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25861
704bc459
AS
25862 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25863 xopen-msg.sed.
25864 * catgets/xopen-msg.awk: New file.
25865 * catgets/xopen-msg.sed: Removed.
25866
70d35b67
AS
25867 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25868 po2text.sed.
25869 * intl/po2test.awk: New file.
25870 * intl/po2test.sed: Removed.
25871
ca61cf32
JM
258722012-07-04 Joseph Myers <joseph@codesourcery.com>
25873
25874 [BZ #14328]
25875 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25876 or multiply small sinh result by itself.
25877 * math/s_ctanf.c (__ctanf): Likewise.
25878 * math/s_ctanh.c (__ctanh): Likewise.
25879 * math/s_ctanhf.c (__ctanhf): Likewise.
25880 * math/s_ctanhl.c (__ctanhl): Likewise.
25881 * math/s_ctanl.c (__ctanl): Likewise.
25882 * math/libm-test.inc (ctan_test_tonearest): New function.
25883 (ctan_test_towardzero): Likewise.
25884 (ctan_test_downward): Likewise.
25885 (ctan_test_upward): Likewise.
25886 (ctanh_test_tonearest): Likewise.
25887 (ctanh_test_towardzero): Likewise.
25888 (ctanh_test_downward): Likewise.
25889 (ctanh_test_upward): Likewise.
25890 (main): Call these new functions.
25891 * sysdeps/i386/fpu/libm-test-ulps: Update.
25892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25893
ca48a46a
MF
258942012-07-03 Mike Frysinger <vapier@gentoo.org>
25895
25896 * .gitignore: Delete /ports entry.
25897
9d63d37d
AJ
258982012-07-03 Andreas Jaeger <aj@suse.de>
25899
25900 * po/bg.po: Update from translation team.
25901 * po/cs.po: Likewise.
25902 * po/de.po: Likewise.
25903 * po/hr.po: Likewise.
25904 * po/nl.pl: Likewise.
25905 * po/pl.po: Likewise.
25906 * po/vi.po: Likewise.
25907
370ca3d2
JM
259082012-07-03 Joseph Myers <joseph@codesourcery.com>
25909
95f5a9a8
JM
25910 * Makeconfig [!+link] (+link-before-libc): New variable.
25911 [!+link] (+link-after-libc): Likewise.
25912 [!+link] (+link-tests): Likewise.
25913 [!+link] (+link): Define in terms of $(+link-before-libc) and
25914 $(+link-after-libc).
25915 [!+link-static] (+link-static-before-libc): New variable.
25916 [!+link-static] (+link-static-after-libc): Likewise.
25917 [!+link-static] (+link-static-tests): Likewise.
25918 [!+link-static] (+link-static): Define in terms of
25919 $(+link-static-before-libc) and $(+link-static-after-libc).
25920 [build-shared] (link-libc-before-gnulib): New variable.
25921 [build-shared] (link-libc-tests): Likewise.
25922 [build-shared] (link-libc): Define in terms of
25923 $(link-libc-before-gnulib).
25924 [!build-shared] (link-libc-tests): New variable.
25925 (link-libc-static-tests): New variable.
25926 [!gnulib] (gnulib-arch): New variable.
25927 [!gnulib] (gnulib-tests): Likewise.
25928 [!gnulib] (static-gnulib-arch): Likewise.
25929 [!gnulib] (static-gnulib-tests): Likewise.
25930 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25931 Define with "=" instead of ":=".
25932 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25933 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25934 * Rules (binaries-all-notests): New variable.
25935 (binaries-all-tests): Likewise.
25936 (binaries-static-notests): Likewise.
25937 (binaries-static-tests): Likewise.
25938 (binaries-all): Define using $(binaries-all-notests) and
25939 $(binaries-all-tests).
25940 (binaries-static): Define using $(binaries-static-notests) and
25941 $(binaries-static-tests).
25942 (binaries-shared-tests): New variable.
25943 (binaries-shared-notests): Likewise.
25944 (binaries-shared): Remove variable.
25945 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25946 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25947 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25948 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25949 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25950 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25951 * elf/Makefile (sln-modules): New variable.
25952 (extra-objs): Add $(sln-modules:=.o).
25953 (ldconfig-modules): Add static-stubs.
25954 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25955 * elf/static-stubs.c: New file.
25956
7a845b2c
JM
25957 [BZ #14283]
25958 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25959 by 7 not 8 to examine high bit of fractional part. Use volatile
25960 variables when splitting into final array of floats if
25961 __FLT_EVAL_METHOD__ != 0.
25962 * math/libm-test.inc (cos_test): Add another test.
25963 (sin_test): Likewise.
25964 * sysdeps/i386/fpu/libm-test-ulps: Update.
25965
e2283f38
JM
25966 [BZ #14273]
25967 * math/libm-test.inc (cosh_test): Add more tests.
25968
370ca3d2
JM
25969 * version.h (RELEASE): Set to "development".
25970 (VERSION): Set to "2.16.90".
25971
ee9247c3
CD
259722012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25973
25974 * NEWS: Update copyright. Remove last-updated date.
25975 Mention math library bug fixes and timezone data changes.
25976 * README: Mention GNU/Hurd, x32, and HPPA support status.
25977
4648c381
TS
259782012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25979
25980 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25981
aac78a43
AJ
259822012-06-27 Andreas Jaeger <aj@suse.de>
25983
25984 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25985
ed3dbfad
AJ
259862012-06-25 Andreas Jaeger <aj@suse.de>
25987
25988 * sysdeps/s390/fpu/libm-test-ulps: Update.
25989
4d0ee855
AS
259902012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25991 Thomas Schwinge <thomas@codesourcery.com>
25992
25993 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25994 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25996 fanotify_mark.
25997
af1bce34
TS
259982012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25999
a9fa33ba
TS
26000 * sysdeps/mach/start.c: Remove file.
26001 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26002 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26003 * sysdeps/sh/init-first.c: Likewise.
26004
58f902b8
TS
26005 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26006 registers for frame unwinding purposes, add CFI directives.
26007 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26008 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26009 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26010 Likewise.
26011
1518f58b
TS
26012 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26013 __fortify_fail returning.
26014 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26015
db9b5059
TS
26016 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26017 sysdeps/sh/____longjmp_chk.S.
26018 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26019 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26020 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26021 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26022
967705fe
TS
26023 * sysdeps/sh/abort-instr.h: New file.
26024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26025 process in case exit returns.
26026
a9def8c4
TS
26027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26028 initialize the GOT register before use.
26029
2a649725
TS
26030 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26031 calculation of ARGC > 4.
26032
af1bce34
TS
26033 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26034 meaningful names to some local labels.
26035
d230f50a
KK
260362012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26037 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26038
26039 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26040 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26041 (__arch_compare_and_exchange_val_16_acq): Likewise.
26042 (__arch_compare_and_exchange_val_32_acq): Likewise.
26043 (atomic_exchange_and_add): Fix gUSA sequence.
26044 (atomic_add): Likewise.
26045 (atomic_add_negative): Likewise.
26046 (atomic_add_zero): Likewise.
26047 (atomic_bit_test_set): Likewise.
26048
0479b305
AS
260492012-06-22 Andreas Schwab <schwab@redhat.com>
26050
26051 [BZ #13579]
26052 * include/link.h (struct link_map): Add l_free_initfini.
26053 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26054 l_initfini.
26055 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26056 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26057 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26058 set.
26059
0e3933b9
CD
260602012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26061
26062 * configure.in: Use AC_LANG_SOURCE.
26063 * configure: Regenerate.
26064
4248b1b1
RM
260652012-06-22 Roland McGrath <roland@hack.frob.com>
26066
26067 * configure.in (libc_cv_localstatedir): New substituted variable.
26068 * configure: Regenerated.
26069 * config.make.in (localstatedir): New variable, substituted from
26070 libc_cv_localstatedir.
26071 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26072 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26073 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26074 * sysdeps/gnu/configure: Regenerated.
26075
006dd861
JL
260762012-06-21 Jeff Law <law@redhat.com>
26077
26078 [BZ #14277]
26079 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26080 free. Simplify list management for _LIBC case.
26081
79662d42
JM
260822012-06-21 Joseph Myers <joseph@codesourcery.com>
26083
b7abb4bf
JM
26084 [BZ #14273]
26085 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26086 Clear sign bit of 64-bit integer value before comparing against
26087 overflow value.
26088
79662d42
JM
26089 * sysdeps/mach/configure: Regenerated.
26090
1f150908
L
260912012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 [BZ #14278]
26094 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26095
28363bbf
JL
260962012-06-21 Jeff Law <law@redhat.com>
26097
26098 [BZ #13882]
26099 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26100 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26101 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26102 * elf/dl-open.c (dl_open_worker): Likewise.
26103
09615db4
CD
261042012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26105
26106 * scripts/list-sources.sh: Scan PORTS for translations.
26107 * po/libc.pot: Regenerated.
26108
2174c6dd
AJ
261092012-06-21 Andreas Jaeger <aj@suse.de>
26110
26111 [BZ #12194]
26112 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26113 warning.
26114 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26115 * bits/byteswap-16.h (__bswap_16): Likewise.
26116 * bits/byteswap.h (__bswap_constant_16): Likewise.
26117
3ee947b1
L
261182012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 [BZ #14117]
a2f34833
L
26121 * sysdeps/i386/fpu_control.h: Removed.
26122 * sysdeps/x86_64/fpu_control.h: Moved to ...
26123 * sysdeps/x86/fpu_control.h: Here.
26124
3ee947b1
L
26125 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26126 (_FPU_SETCW): Likewise.
26127
ed1825f8
L
261282012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26129
25f1282a
L
26130 [BZ #14117]
26131 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26132 * sysdeps/x86/fpu/bits/mathinline.h: This.
26133 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26134
ed1825f8
L
26135 [BZ #14050]
26136 [BZ #14117]
26137 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26138 functions if __x86_64__ is defined.
26139
36d54b74
CLT
261402012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26141
26142 * string/endian.h: Add !__ASSEMBLER__ condition for including
26143 conversion interfaces.
26144
10285c21
JM
261452012-06-15 Joseph Myers <joseph@codesourcery.com>
26146
26147 [BZ #14241]
26148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26149 of ABS(x) in calculating zero to negative powers other than odd
26150 integers.
26151 * math/libm-test.inc (pow_test): Add more tests.
26152
06c5abbd
AJ
261532012-06-15 Andreas Jaeger <aj@suse.de>
26154
26155 * manual/contrib.texi (Contributors): Update entry of Liubov
26156 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26157 Machado Filho.
26158
a3aeac40
CH
261592012-06-15 Cyril Hrubis <metan@ucw.cz>
26160
26161 * string/string.h: Add __wur to GNU version of strerror_r.
26162
49bdf4c1
L
261632012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26164
26165 [BZ #14229]
26166 * string/Makefile (tests): Add tst-strtok_r.
26167 * string/tst-strtok_r.c: New file.
26168 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26169 RAX_LP/RDX_LP on SAVE_PTR.
26170
834f9b8d
RM
261712012-06-14 Roland McGrath <roland@hack.frob.com>
26172
26173 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26174
75fa1921
JM
261752012-06-14 Joseph Myers <joseph@codesourcery.com>
26176
26177 * libm_test.inc (csqrt_test): Allow more spurious underflow
26178 exceptions.
26179 (j0_test): Likewise.
26180 (j1_test): Likewise.
26181 (y0_test): Likewise.
26182 (y1_test): Likewise.
26183
771766df
CD
261842012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26185
26186 * po/Makefile (libc.pot): Use UTF-8 charset.
26187
ceb9e56b
PP
261882012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26189
26190 [BZ #14210]
26191 Suppress sign-conversion warning from FD_SET.
26192 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26193 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26194 not unsigned long int.
26195 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26196
ddb28975
L
261972012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26198
26199 [BZ #14050]
26200 [BZ #14117]
26201 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26202 __extern_always_inline instead of __extern_inline.
26203 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26204 (__signbit): Likewise.
26205 (__signbitl): Support C++ namespace.
26206 (lrintf): New inline function.
26207 (lrint): Likewise.
26208 (llrintf): Likewise.
26209 (llrint): Likewise.
26210 (fmaxf): Likewise.
26211 (fmax): Likewise.
26212 (fminf): Likewise.
26213 (fmin): Likewise.
26214 (rint): Likewise.
26215 (rintf): Likewise.
26216 (ceil): Likewise.
26217 (ceilf): Likewise.
26218 (floor): Likewise.
26219 (floorf): Likewise.
26220 (nearbyint): Likewise.
26221 (nearbyintf): Likewise.
26222
d7b4fb26
TS
262232012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26224
26225 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26226 non-default versions.
26227
eb55f5c2
RM
262282012-06-11 Roland McGrath <roland@hack.frob.com>
26229
26230 [BZ #14218]
26231 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26232
366af02c
TS
262332012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26234
99ff6e5c
TS
26235 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26236 (FE_UPWARD, FE_DOWNWARD): Don't define.
26237 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26238 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26239
366af02c
TS
26240 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26241 reading it.
26242 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26243 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26244
793ea851
KK
262452012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26246
26247 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26248 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26249 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26250 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26251
a728a38f
L
262522012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26253
26254 [BZ #14117]
c08010c7
L
26255 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26256 * sysdeps/i386/fpu/Implies: New file.
26257 * sysdeps/x86_64/fpu/Implies: Likewise.
26258 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26259 * sysdeps/x86/fpu/bits/fenv.h: This.
26260
a728a38f
L
26261 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26262 __SSE_MATH__.
26263
6e230d11
SP
262642012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26265
26266 [BZ #14134]
26267 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26268 character 0xffff that matches the last element of the
26269 conversion table.
26270
1b671feb
AZ
262712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26272
26273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26274 fmodl commit.
26275
6043738b
AZ
262762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26277
26278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26279 values higher than 25.6283.
26280
34ae0b32
AZ
262812012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26282
26283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26284 subnormal exponent extraction and add some __builtin_expect.
26285 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26286 Fix for subnormal mantissa calculation.
26287
1214ec8f
MF
262882012-06-04 Mike Frysinger <vapier@gentoo.org>
26289
26290 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26291 cpu2 is -1 and errno is not ENOSYS.
26292
f3d1f93c
L
262932012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26294
26295 [BZ #14117]
0e4a3cd7
L
26296 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26297 * sysdeps/x86/bits/string.h: This.
26298 * sysdeps/x86_64/bits/string.h: Removed.
26299
6704c645
L
26300 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26301 if not compiling for x86-64, but compiling for >= i486.
26302
48495318
L
26303 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26304 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26305
14adcbfc
L
26306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26307 New macro from Linux kernel 3.4.0.
26308 (FP_XSTATE_MAGIC2): Likewise.
26309 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26310 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26311 (struct _fpx_sw_bytes): New struct.
26312 (struct _xsave_hdr): Likewise.
26313 (struct _ymmh_state): Likewise.
26314 (struct _xstate): Likewise.
26315
68e408ab
L
26316 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26317 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26318 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26319 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26320 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26321 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26322
f3d1f93c
L
26323 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26324 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26325 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26326 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26327 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26328 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26329
d9dc34cd
TMQMF
263302012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26331
26332 [BZ #13743]
26333 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26334 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26335 (sysdep_headers): Include sys/platform/ppc.h.
26336 * sysdeps/powerpc/test-gettimebase.c: Test for
26337 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26338 * manual/Makefile (appendices): Include platform.texi.
26339 * manual/contrib.texi (Contributors): Update @node pointers.
26340 * manual/maint.texi (Maintenance): Likewise.
26341 (Platform): New node.
26342 * manual/platform.texi: New file. Document the new features.
26343
4af3879c
SP
263442012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26345 Jakub Jelinek <jakub@redhat.com>
26346
26347 [BZ #14188]
26348 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26349 where __builtin_expect is unavailable.
26350
2fd6ff13
DM
263512012-06-03 David S. Miller <davem@davemloft.net>
26352
26353 * stdlib/longlong.h: Updated from GCC.
26354
173f7220
AS
263552012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26356
26357 [BZ #14042]
26358 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26359 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26360 __mcount_internal.
26361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26362 (GLIBC_2.16): Likewise.
26363
f34a1c6f
L
263642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26365
26366 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26367
88a4576f
JM
263682012-06-01 Joseph Myers <joseph@codesourcery.com>
26369
ea32bcdd
JM
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26371 (default-abi): New variable.
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26373 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26374 variable.
26375 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26376 Likewise.
26377 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26378 Likewise.
26379 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26380 Likewise.
26381
88a4576f
JM
26382 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26383 definition. Document in comment.
26384
402fe938
DM
263852012-06-01 David S. Miller <davem@davemloft.net>
26386
26387 * stdlib/longlong.h: Updated from GCC.
26388
3553723f
L
263892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26390
26391 [BZ #14117]
3bd872c4
L
26392 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26393 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26394 sys/debugreg.h sys/io.h here.
26395 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26396 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26397 sys/io.h.
26398 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26399 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26400 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26401 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26402 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26403 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26404
3553723f
L
26405 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26406 Define only if __x86_64__ is defined.
26407
4842e4fe
JM
264082012-06-01 Joseph Myers <joseph@codesourcery.com>
26409
c5bfe3d5
JM
26410 [BZ #14048]
26411 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26412 Use int64_t for variable i.
26413 * math/libm-test.inc (fmod_test): Add more tests.
26414
4842e4fe
JM
26415 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26416 z computation is not scheduled after fetestexcept.
26417 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26418 Use math_force_eval instead of asm to ensure calculation scheduled
26419 before exception test.
26420 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26421 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26422
efb73488
AJ
264232012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26424
26425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26426 computation is not scheduled after fetestexcept.
26427
29bcce7c
L
264282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26429
26430 [BZ #14117]
26431 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26432 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26433
73a68f94
AZ
264342012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26435
26436 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26437 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26438
67b6df78
L
264392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26440
edf2933a 26441 [BZ #14117]
ebc64a18
L
26442 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26443 <bits/wordsize.h>.
26444 (__WCHAR_MIN): Support __WORDSIZE == 64.
26445 (__WCHAR_MAX): Likewise.
26446
edf2933a
L
26447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26448 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26449
57c6cf40
L
26450 [BZ #14183]
26451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26452 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26453
67b6df78 26454 [BZ #14117]
8eb6281e
L
26455 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26456 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26457
aac639f4
L
26458 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26459 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26460
67b6df78
L
26461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26462 Defined to 1 if __x86_64__ isn't defined.
26463 (_STAT_VER_LINUX_OLD): New.
26464 (st_atime): Remove duplicate.
26465 (st_mtime): Likewise.
26466 (st_ctime): Likewise.
26467
1c2cfe81
DM
264682012-05-31 David S. Miller <davem@davemloft.net>
26469
26470 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26471 entries.
26472
5be8418c
AS
264732012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26474
e7725326
AS
26475 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26476 gen-libm-test.pl.
26477
5be8418c
AS
26478 [BZ #14132]
26479 * elf/dl-reloc.c: Include <_itoa.h>.
26480 (_dl_reloc_bad_type): Remove use of INTUSE.
26481 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26482 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26483 * stdio-common/psiginfo.c (psiginfo): Likewise.
26484 * stdio-common/psignal.c (psignal): Likewise.
26485 * string/strsignal.c (strsignal): Likewise.
26486 * include/signal.h (_sys_siglist): Declare hidden proto.
26487 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26488 INTVARDEF with libc_hidden_data_def.
26489 * stdio-common/itoa-udigits.c: Likewise.
26490 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26491 (_itoa_lower_digits_internal): Remove declaration.
26492 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26493 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26494 (_sys_sigabbrev_internal): Remove aliases.
26495 (_sys_siglist): Define hidden alias.
26496
507352f1
MT
264972012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26498
26499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26500 bits/sysctl.h.
26501
42bbb1c3
L
265022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26503
26504 [BZ #14117]
6bd784b6
L
26505 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26506 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26507
8bca20f0
L
26508 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26509 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26510 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26511 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26513 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26514
f9e890a9
L
26515 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26517 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26518
471101a1
L
26519 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26520 with __addr.
26521 (insw): Likewise.
26522 (insl): Likewise.
26523 (outsb): Likewise.
26524 (outsw): Likewise.
26525 (outsl): Likewise.
26526
6451c862
L
26527 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26528 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26529 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26530
a254b8c9
L
26531 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26532 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26534 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26535 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26536 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26537
b8dfdd92
L
26538 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26539 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26540
578cd270
L
26541 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26542 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26543
de662f5f
L
26544 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26546 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26547
25653439
L
26548 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26549 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26550 to ...
26551 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26552
6bad24a0
L
26553 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26554 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26555 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26556
42bbb1c3
L
26557 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26558 for x86-64.
26559 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26560
2d10d547
JM
265612012-05-31 Joseph Myers <joseph@codesourcery.com>
26562
26563 * math/math.h (M_El): Use two more decimal places.
26564 (M_LOG2El): Likewise.
26565 (M_LOG10El): Likewise.
26566 (M_LN2l): Likewise.
26567 (M_LN10l): Likewise.
26568 (M_PIl): Likewise.
26569 (M_PI_2l): Likewise.
26570 (M_PI_4l): Likewise.
26571 (M_1_PIl): Likewise.
26572 (M_2_PIl): Likewise.
26573 (M_2_SQRTPIl): Likewise.
26574 (M_SQRT2l): Likewise.
26575 (M_SQRT1_2l): Likewise.
26576
f230c29b
DM
265772012-05-31 David S. Miller <davem@davemloft.net>
26578
26579 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26580 values between float registers.
26581 * sysdeps/sparc/sparc64/memset.S: Likewise.
26582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26583
fed806c3
MF
265842012-05-31 Mike Frysinger <vapier@gentoo.org>
26585
26586 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26587 -D_FORTIFY_SOURCE=1.
26588 (CPPFLAGS-tst-longjmp_chk.c): Define.
26589 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26590 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26591 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26592 CFLAGS-tst-wchar-h.c.
26593
30917259
MP
265942012-05-31 Marek Polacek <polacek@redhat.com>
26595
26596 [BZ #14132]
26597 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26598 __endmntent_internal): Remove declaration.
26599 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26600 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26601 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26602
1c58d5dc
DM
266032012-05-30 David S. Miller <davem@davemloft.net>
26604
26605 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26606 (___Q_simulate_exceptions): Use real FP ops rather than writing
26607 into the %fsr.
26608 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26609 Likewise.
26610
7dc00e0d
L
266112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26612
26613 [BZ #14117]
0bd53985
L
26614 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26615 * sysdeps/x86/bits/xtitypes.h: This.
26616
3a257e66
L
26617 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26618 * sysdeps/x86/bits/wordsize.h: This.
26619
62f62904
L
26620 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26621 * sysdeps/x86/bits/huge_vall.h: This.
26622
404fe9d9
L
26623 * sysdeps/i386/bits/select.h: Removed.
26624 * sysdeps/x86_64/bits/select.h: Renamed to ...
26625 * sysdeps/x86/bits/select.h: This.
26626
d48d0446
L
26627 * sysdeps/i386/bits/setjmp.h: Removed.
26628 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26629 * sysdeps/x86/bits/setjmp.h: This.
26630
7dc00e0d
L
26631 * sysdeps/i386/bits/mathdef.h: Removed.
26632 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26633 * sysdeps/x86/bits/mathdef.h: This.
26634
03277f8f
AS
266352012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26636
26637 [BZ #14132]
26638 * include/sys/socket.h (__connect_internal)
26639 (__libc_sa_len_internal): Remove declaration.
26640 (__connect, __libc_sa_len): Declare hidden_proto.
26641 (SA_LEN): Remove use of INTUSE.
26642 * socket/connect.c: Add libc_hidden_def.
26643 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26644 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26645 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26646 alias.
26647 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26648 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26649 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26650 of adding _internal alias.
26651
13764867
L
266522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 [BZ #14117]
6bd97696
L
26655 * sysdeps/i386/bits/link.h: Removed.
26656 * sysdeps/i386/bits/linkmap.h: Likewise.
26657 * sysdeps/x86_64/bits/link.h: Renamed to ...
26658 * sysdeps/x86/bits/link.h: This.
26659 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26660 * sysdeps/x86/bits/linkmap.h: This.
26661
f726f0bb
L
26662 * sysdeps/i386/bits/endian.h: Removed.
26663 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26664 * sysdeps/x86/bits/endian.h: This.
26665
13764867
L
26666 * sysdeps/i386/bits/byteswap.h: Removed.
26667 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26668 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26669 * sysdeps/x86/bits/byteswap.h: This.
26670 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26671 * sysdeps/x86/bits/byteswap-16.h: This.
26672 * sysdeps/i386/Implies: Add x86.
26673 * sysdeps/x86_64/Implies: Likewise.
26674
ae251b0b
DM
266752012-05-30 David S. Miller <davem@davemloft.net>
26676
26677 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26678 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26679 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26680 (FP_TRAPPING_EXCEPTIONS): Define.
26681 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26682 (FP_TRAPPING_EXCEPTIONS): Define.
26683 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26684 subnormals only when inexact has been signalled or underflow
26685 exceptions are enabled.
26686 (_FP_PACK_CANONICAL): Likewise.
26687
d5c90867
L
266882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 [BZ #14183]
26691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26692 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26693
63f1549e
RH
266942012-05-30 Richard Henderson <rth@twiddle.net>
26695
8d8f2279
RH
26696 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26697 with #ifndef NOT_IN_libc.
26698
63f1549e
RH
26699 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26700 marked to avoid plt entry.
26701
0ab0291b
L
267022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 [BZ #14112]
26705 * Makeconfig (default-abi): New macro.
26706 (abi-includes): Likewise.
26707 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26708 $(abi-$(default-abi)-lib-soname) for soname if defined.
26709 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26710 abi-variants.
26711 * Makefile (installed-stubs): Likewise.
26712 * include/stubs-biarch.h: Removed.
26713 * scripts/lib-names.awk: Only handle one library at a time.
26714 * scripts/soversions.awk: Remove WORDSIZE support.
26715 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26716 entries.
26717 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26718 Removed.
26719 (syscall-list-default-condition): Likewise.
26720 (syscall-list-default-condition): Likewise.
26721 (syscall-list-includes): Likewise.
26722 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26723 syscall-list-* with abi-*. Handle undefined abi-variants.
26724 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26725 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26726 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26727 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26728 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26729 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26730 Removed.
26731 (syscall-list-32-options): Likewise.
26732 (syscall-list-32-condition): Likewise.
26733 (syscall-list-64-options): Likewise.
26734 (syscall-list-64-condition): Likewise.
26735 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26736 macro.
26737 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26738 Renamed to ...
26739 (abi-*): This.
26740 (abi-64-ld-soname): New macro.
26741 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26742 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26743 Renamed to ...
26744 (abi-*): This.
26745 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26746 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26747
4da0431d
JM
267482012-05-30 Joseph Myers <joseph@codesourcery.com>
26749
3a85279c
JM
26750 * sysdeps/unix/sysv/linux/kernel-features.h
26751 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26752 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26753 include <kernel-features.h>.
26754 [!__NR_ftruncate64]: Remove conditional code.
26755 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26756 [__NR_ftruncate64]: Make code unconditional.
26757 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26758 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26759 include <kernel-features.h>.
26760 [!__NR_ftruncate64]: Remove conditional code.
26761 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26762 [__NR_ftruncate64]: Make code unconditional.
26763 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26765 include <kernel-features.h>.
26766 [!__NR_ftruncate64]: Remove conditional code.
26767 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26768 [__NR_ftruncate64]: Make code unconditional.
26769 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26771 include <kernel-features.h>.
26772 [!__NR_ftruncate64]: Remove conditional code.
26773 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26774 [__NR_ftruncate64]: Make code unconditional.
26775 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26776
4da0431d
JM
26777 * configure.in (libc_cv_fpie): Weaken to a compile test using
26778 LIBC_TRY_CC_OPTION.
26779 * configure: Regenerated.
26780
11ef492c
AK
267812012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26782
26783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26787 Refreshed.
26788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26794 Refreshed.
26795
d66ef399
DM
267962012-05-27 David S. Miller <davem@davemloft.net>
26797
26798 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26799 (___Q_zero): New.
26800 (__Q_simulate_exceptions): Return void. Change to simulate
26801 exceptions by writing into the %fsr.
26802 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26803 (__Qp_handle_exceptions): Likewise.
26804 (numbers): Delete.
26805 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26806 __Qp_handle_exceptions.
26807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26808 __Qp_handle_exceptions.
26809 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26810 as unused and give dummy FP_RND_NEAREST initializer.
26811 (FP_INHIBIT_RESULTS): Define.
26812 (___Q_simulate_exceptions): Update declaration.
26813 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26814 formatting.
26815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26816 as unused and give dummy FP_RND_NEAREST initializer.
26817 (__Qp_handle_exceptions): Update declaration.
26818 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26819 formatting.
26820
04fb54b5
TS
268212012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26822
26823 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26824 the temporary FPU control word.
26825 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26826 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26827 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26828 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26829 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26830 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26831 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26832 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26833 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26834 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26836
3f99608f
KK
268372012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26838
26839 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26840 fields.
26841
65a4de4e
CLT
268422012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26843
26844 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26845 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26846 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26847 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26848 Likewise.
26849 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26850 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26851 Likewise.
26852
15749d40
UD
268532012-05-27 Ulrich Drepper <drepper@gmail.com>
26854
26855 * po/h.po: Update from translation team.
26856
25dbcb27
AS
268572012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26858
3d3f8e55
AS
26859 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26860
25dbcb27
AS
26861 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26862 handling of denormals.
26863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26864 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26865 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26866 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26868 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26870 Likewise.
26871
7ad47a80 268722012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26873
26874 [BZ #14152]
26875 * math/libm-test.inc (fma_test): Don't always expect underflow
26876 exception.
26877
9c6ea9fa
SP
268782012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26879
26880 [BZ #12416]
26881 * elf/tst-execstack.c: Include stackinfo.h.
26882 (do_test): Adjust test case to ensure that pthread_getattr_np
26883 behaviour remains the same after marking stack executable.
26884
a8239222
JM
268852012-05-25 Joseph Myers <joseph@codesourcery.com>
26886
26887 * sysdeps/unix/sysv/linux/kernel-features.h
26888 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26889 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26890 kernel-features.h.
26891 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26892 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26893 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26894 kernel-features.h.
26895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26897
918b5606
L
268982012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26899
26900 * configure.in: Define the default includes to being none.
26901 * configure: Regenerated.
26902
3a097cc7
RM
269032012-05-25 Roland McGrath <roland@hack.frob.com>
26904
8422c9a5
RM
26905 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26906 * sysdeps/x86_64/setjmp.S: Likewise.
26907 * sysdeps/i386/bsd-setjmp.S: Likewise.
26908 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26909 * sysdeps/i386/setjmp.S: Likewise.
26910 * sysdeps/i386/__longjmp.S: Likewise.
26911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26912 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26913
3a097cc7
RM
26914 * include/stap-probe.h: New file.
26915 * configure.in: Handle --enable-systemtap.
26916 * configure: Regenerated.
26917 * config.h.in (USE_STAP_PROBE): New #undef.
26918 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26919 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26920 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26921
21708942
JM
269222012-05-25 Joseph Myers <joseph@codesourcery.com>
26923
26924 [BZ #13717]
26925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26926 to 2.4.0 where earlier.
26927 * sysdeps/unix/sysv/linux/configure: Regenerated.
26928 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
26937 [__ASSUME_32BITUIDS]: Make code unconditional.
26938 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26939 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26940 <kernel-features.h>.
26941 [__ASSUME_32BITUIDS]: Make code unconditional.
26942 [!__ASSUME_32BITUIDS]: Remove conditional code.
26943 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26944 <kernel-features.h>.
26945 [__ASSUME_32BITUIDS]: Make code unconditional.
26946 [!__ASSUME_32BITUIDS]: Remove conditional code.
26947 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26948 <kernel-features.h>.
26949 [__ASSUME_32BITUIDS]: Make code unconditional.
26950 [!__ASSUME_32BITUIDS]: Remove conditional code.
26951 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26952 <kernel-features.h>.
26953 [__ASSUME_32BITUIDS]: Make code unconditional.
26954 [!__ASSUME_32BITUIDS]: Remove conditional code.
26955 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26956 <kernel-features.h>.
26957 [__ASSUME_32BITUIDS]: Make code unconditional.
26958 [!__ASSUME_32BITUIDS]: Remove conditional code.
26959 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26960 <kernel-features.h>.
26961 [__ASSUME_32BITUIDS]: Make code unconditional.
26962 [!__ASSUME_32BITUIDS]: Remove conditional code.
26963 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26964 <kernel-features.h>.
26965 [__ASSUME_32BITUIDS]: Make code unconditional.
26966 [!__ASSUME_32BITUIDS]: Remove conditional code.
26967 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26968 <kernel-features.h>.
26969 [__ASSUME_32BITUIDS]: Make code unconditional.
26970 [!__ASSUME_32BITUIDS]: Remove conditional code.
26971 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26972 <kernel-features.h>.
26973 [__ASSUME_32BITUIDS]: Make code unconditional.
26974 [!__ASSUME_32BITUIDS]: Remove conditional code.
26975 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26976 <kernel-features.h>.
26977 [__ASSUME_32BITUIDS]: Make code unconditional.
26978 [!__ASSUME_32BITUIDS]: Remove conditional code.
26979 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26980 <kernel-features.h>.
26981 [__NR_setresgid] (__setresgid): Do not declare.
26982 [__ASSUME_32BITUIDS]: Make code unconditional.
26983 [!__ASSUME_32BITUIDS]: Remove conditional code.
26984 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26985 <kernel-features.h>.
26986 [__NR_setresuid] (__setresuid): Do not declare.
26987 [__ASSUME_32BITUIDS]: Make code unconditional.
26988 [!__ASSUME_32BITUIDS]: Remove conditional code.
26989 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26990 <kernel-features.h>.
26991 [__ASSUME_32BITUIDS]: Make code unconditional.
26992 [!__ASSUME_32BITUIDS]: Remove conditional code.
26993 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26994 <kernel-features.h>.
26995 [__ASSUME_32BITUIDS]: Make code unconditional.
26996 [!__ASSUME_32BITUIDS]: Remove conditional code.
26997 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26998 <kernel-features.h>.
26999 [__ASSUME_32BITUIDS]: Make code unconditional.
27000 [!__ASSUME_32BITUIDS]: Remove conditional code.
27001 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27002 <kernel-features.h>.
27003 [__ASSUME_32BITUIDS]: Make code unconditional.
27004 [!__ASSUME_32BITUIDS]: Remove conditional code.
27005 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27006 <kernel-features.h>.
27007 [__ASSUME_32BITUIDS]: Make code unconditional.
27008 [!__ASSUME_32BITUIDS]: Remove conditional code.
27009 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27010 <kernel-features.h>.
27011 [__ASSUME_32BITUIDS]: Make code unconditional.
27012 [!__ASSUME_32BITUIDS]: Remove conditional code.
27013 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27014 <kernel-features.h>.
27015 [__ASSUME_32BITUIDS]: Make code unconditional.
27016 [!__ASSUME_32BITUIDS]: Remove conditional code.
27017 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27018 <kernel-features.h>.
27019 [__ASSUME_32BITUIDS]: Make code unconditional.
27020 [!__ASSUME_32BITUIDS]: Remove conditional code.
27021 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27022 <kernel-features.h>.
27023 [__ASSUME_32BITUIDS]: Make code unconditional.
27024 [!__ASSUME_32BITUIDS]: Remove conditional code.
27025 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27026 <kernel-features.h>.
27027 [__ASSUME_32BITUIDS]: Make code unconditional.
27028 [!__ASSUME_32BITUIDS]: Remove conditional code.
27029 * sysdeps/unix/sysv/linux/kernel-features.h
27030 (__ASSUME_SETRESUID_SYSCALL): Remove.
27031 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27032 (__ASSUME_32BITUIDS): Likewise.
27033 (__ASSUME_LDT_WORKS): Likewise.
27034 (__ASSUME_O_DIRECTORY): Likewise.
27035 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27036 architecture but not kernel version.
27037 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27038 (__ASSUME_MMAP2_SYSCALL): Likewise.
27039 (__ASSUME_STAT64_SYSCALL): Likewise.
27040 (__ASSUME_IPC64): Likewise.
27041 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27042 <kernel-features.h>.
27043 [__ASSUME_32BITUIDS]: Make code unconditional.
27044 [!__ASSUME_32BITUIDS]: Remove conditional code.
27045 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27046 <kernel-features.h>.
27047 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27048 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27049 132096]: Remove conditional code.
27050 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27051 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27052 <kernel-features.h>.
27053 [__ASSUME_32BITUIDS]: Make code unconditional.
27054 [!__ASSUME_32BITUIDS]: Remove conditional code.
27055 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27056 <kernel-features.h>.
27057 [__ASSUME_32BITUIDS]: Make code unconditional.
27058 [!__ASSUME_32BITUIDS]: Remove conditional code.
27059 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27060 <kernel-features.h>.
27061 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27062 unconditional.
27063 (__setresgid): Do not declare.
27064 [__ASSUME_32BITUIDS]: Make code unconditional.
27065 [!__ASSUME_32BITUIDS]: Remove conditional code.
27066 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27067 <kernel-features.h>.
27068 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27069 unconditional.
27070 (__setresuid): Do not declare.
27071 [__ASSUME_32BITUIDS]: Make code unconditional.
27072 [!__ASSUME_32BITUIDS]: Remove conditional code.
27073 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27074 <kernel-features.h>.
27075 [__ASSUME_32BITUIDS]: Make code unconditional.
27076 [!__ASSUME_32BITUIDS]: Remove conditional code.
27077 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27078 <kernel-features.h>.
27079 [__ASSUME_32BITUIDS]: Make code unconditional.
27080 [!__ASSUME_32BITUIDS]: Remove conditional code.
27081
a386f1cc
RH
270822012-05-25 Richard Henderson <rth@twiddle.net>
27083
27084 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27085 dl_hwcap to ifunc resolver.
27086 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27087 elf_ifunc_invoke.
27088 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27089 dl_hwcap to ifunc resolver.
27090 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27091
b6550497
JM
270922012-05-24 Joseph Myers <joseph@codesourcery.com>
27093
27094 [BZ #14153]
27095 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27096 for |x| <= 2**-26, not 2**-57.
27097 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27098 exception.
27099
b0bc23a1
JL
271002012-05-24 Jeff Law <law@redhat.com>
27101
27102 * stdio-common/Makefile (tests): Add bug25.
27103 * stdio-common/bug25.c: New test.
27104
347c92e9
L
271052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27106
27107 [BZ #13576]
27108 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27109 multiple of MALLOC_ALIGNMENT in size.
27110 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27111
6bcc8b3f
JM
271122012-05-24 Joseph Myers <joseph@codesourcery.com>
27113
27114 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27115 Require >= 256.
27116 (FILENAME_MAX): Use macro-int-constant.
27117 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27118 (_IOFBF): Use macro-int-constant.
27119 (_IOLBF): Likewise.
27120 (_IONBF): Likewise.
27121 (SEEK_CUR): Likewise.
27122 (SEEK_END): Likewise.
27123 (SEEK_SET): Likewise.
27124 (TMP_MAX): Likewise.
27125 (EOF): Use macro-int-constant. Require < 0.
27126 (NULL): Use macro-constant. Require == 0.
27127 (stdin): Require type to be FILE *.
27128 (stdout): Likewise.
27129 (stderr): Likewise.
27130 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27131 macro-int-constant.
27132 (EXIT_SUCCESS): Likewise.
27133 (NULL): Use macro-constant. Require == 0.
27134 (RAND_MAX): Use macro-int-constant.
27135 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27136 [C99-based standards] (strtof): Require function.
27137 [C99-based standards] (strtold): Likewise.
27138 [C99-based standards] (strtoll): Likewise.
27139 [C99-based standards] (strtoull): Likewise.
27140 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27141 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27142 [ISO || ISO99 || ISO11] (math.h): Likewise.
27143 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27144 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27146
d18ea0c5
AS
271472012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27148
27149 [BZ #14132]
56d25bb8
AS
27150 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27151 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27152 * intl/dgettext.c (DCGETTEXT): Likewise.
27153 * intl/gettext.c (DCGETTEXT): Likewise.
27154 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27155 * posix/regex_internal.h (gettext): Likewise.
27156 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27157 Remove declaration.
27158 * include/argz.h (__argz_count_internal)
27159 (__argz_stringify_internal): Remove declaration.
27160 (__argz_count, __argz_stringify): Declare hidden proto.
27161 * intl/dcgettext.c: Remove use of INTDEF.
27162 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27163 * string/argz-stringify.c: Likewise.
27164 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27165 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27166 Declare hidden proto.
d18ea0c5
AS
27167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27169 Declare hidden proto.
27170 * include/stdio.h (__asprintf_internal): Don't declare.
27171 (__asprintf): Don't define as macro. Declare hidden proto.
27172 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27173 (__fsetlocking): Declare hidden proto.
27174 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27175 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27176 hidden proto.
27177 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27178 (_IO_setlinebuf): Remove use of INTUSE.
27179 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27180 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27181 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27182 Remove declaration.
27183 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27184 (_IO_do_flush): Remove use of INTUSE.
27185 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27186 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27187 (_IO_adjust_column, _IO_least_wmarker)
27188 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27189 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27190 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27191 (_IO_default_doallocate, _IO_wdefault_doallocate)
27192 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27193 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27194 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27195 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27196 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27197 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27198 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27199 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27200 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27201 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27202 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27203 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27204 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27205 proto.
27206 (_IO_flush_all_internal, _IO_adjust_column_internal)
27207 (_IO_default_uflow_internal, _IO_default_finish_internal)
27208 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27209 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27210 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27211 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27212 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27213 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27214 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27215 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27216 (_IO_file_close_internal, _IO_file_close_it_internal)
27217 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27218 (_IO_file_init_internal, _IO_file_attach_internal)
27219 (_IO_file_fopen_internal, _IO_file_read_internal)
27220 (_IO_file_sync_internal, _IO_file_seek_internal)
27221 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27222 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27223 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27224 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27225 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27226 (_IO_list_all_internal, _IO_link_in_internal)
27227 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27228 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27229 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27230 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27231 (_IO_do_write_internal, _IO_padn_internal)
27232 (_IO_getline_info_internal, _IO_getline_internal)
27233 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27234 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27235 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27236 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27237 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27238 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27239 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27240 with libc_hidden_ver, remove use of INTUSE.
27241 * libio/genops.c: Likewise.
27242 * libio/freopen.c: Likewise.
27243 * libio/freopen64.c: Likewise.
27244 * libio/iofclose.c: Likewise.
27245 * libio/iofdopen.c: Likewise.
27246 * libio/iofflush.c: Likewise.
27247 * libio/iofflush_u.c: Likewise.
27248 * libio/iofgets.c: Likewise.
27249 * libio/iofgets_u.c: Likewise.
27250 * libio/iofopen.c: Likewise.
27251 * libio/iofopncook.c: Likewise.
27252 * libio/iofread.c: Likewise.
27253 * libio/iofread_u.c: Likewise.
27254 * libio/ioftell.c: Likewise.
27255 * libio/iofwrite.c: Likewise.
27256 * libio/iogetline.c: Likewise.
27257 * libio/iogets.c: Likewise.
27258 * libio/iogetwline.c: Likewise.
27259 * libio/iopadn.c: Likewise.
27260 * libio/iopopen.c: Likewise.
27261 * libio/ioseekoff.c: Likewise.
27262 * libio/ioseekpos.c: Likewise.
27263 * libio/iosetbuffer.c: Likewise.
27264 * libio/iosetvbuf.c: Likewise.
27265 * libio/ioungetc.c: Likewise.
27266 * libio/ioungetwc.c: Likewise.
27267 * libio/iovdprintf.c: Likewise.
27268 * libio/iovsprintf.c: Likewise.
27269 * libio/iovsscanf.c: Likewise.
27270 * libio/memstream.c: Likewise.
27271 * libio/obprintf.c: Likewise.
27272 * libio/oldfileops.c: Likewise.
27273 * libio/oldiofclose.c: Likewise.
27274 * libio/oldiofdopen.c: Likewise.
27275 * libio/oldiofopen.c: Likewise.
27276 * libio/oldiopopen.c: Likewise.
27277 * libio/oldstdfiles.c: Likewise.
27278 * libio/putc.c: Likewise.
27279 * libio/setbuf.c: Likewise.
27280 * libio/setlinebuf.c: Likewise.
27281 * libio/stdfiles.c: Likewise.
27282 * libio/strops.c: Likewise.
27283 * libio/vasprintf.c: Likewise.
27284 * libio/vscanf.c: Likewise.
27285 * libio/vsnprintf.c: Likewise.
27286 * libio/vswprintf.c: Likewise.
27287 * libio/wfiledoalloc.c: Likewise.
27288 * libio/wfileops.c: Likewise.
27289 * libio/wgenops.c: Likewise.
27290 * libio/wmemstream.c: Likewise.
27291 * libio/wstrops.c: Likewise.
27292 * libio/__fpurge.c: Likewise.
27293 * libio/__fsetlocking.c: Likewise.
27294 * assert/assert.c: Likewise.
27295 * debug/fgets_chk.c: Likewise.
27296 * debug/fgets_u_chk.c: Likewise.
27297 * debug/fread_chk.c: Likewise.
27298 * debug/fread_u_chk.c: Likewise.
27299 * debug/gets_chk.c: Likewise.
27300 * debug/obprintf_chk.c: Likewise.
27301 * debug/vasprintf_chk.c: Likewise.
27302 * debug/vdprintf_chk.c: Likewise.
27303 * debug/vsnprintf_chk.c: Likewise.
27304 * debug/vsprintf_chk.c: Likewise.
27305 * malloc/mtrace.c: Likewise.
27306 * misc/error.c: Likewise.
27307 * misc/syslog.c: Likewise.
27308 * stdio-common/asprintf.c: Likewise.
27309 * stdio-common/fxprintf.c: Likewise.
27310 * stdio-common/getw.c: Likewise.
27311 * stdio-common/isoc99_fscanf.c: Likewise.
27312 * stdio-common/isoc99_scanf.c: Likewise.
27313 * stdio-common/isoc99_vfscanf.c: Likewise.
27314 * stdio-common/isoc99_vscanf.c: Likewise.
27315 * stdio-common/isoc99_vsscanf.c: Likewise.
27316 * stdio-common/printf-prs.c: Likewise.
27317 * stdio-common/printf_fp.c: Likewise.
27318 * stdio-common/printf_fphex.c: Likewise.
27319 * stdio-common/printf_size.c: Likewise.
27320 * stdio-common/putw.c: Likewise.
27321 * stdio-common/scanf.c: Likewise.
27322 * stdio-common/sprintf.c: Likewise.
27323 * stdio-common/tmpfile.c: Likewise.
27324 * stdio-common/vfprintf.c: Likewise.
27325 * stdio-common/vfscanf.c: Likewise.
27326 * stdlib/strfmon_l.c: Likewise.
27327 * sunrpc/openchild.c: Likewise.
27328 * sunrpc/xdr_stdio.c: Likewise.
27329 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27330 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27331
d6c33fda
RM
273322012-05-24 Roland McGrath <roland@hack.frob.com>
27333
c1487492
RM
27334 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27335
27336 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27337 in the third column, to generate for the shared library an IFUNC
27338 that uses _dl_vdso_vsym.
27339 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27340 * Makeconfig (object-suffixes-noshared): New variable.
27341
27342 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27343 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27344 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27345 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27346
d6c33fda
RM
27347 [BZ #14132]
27348 * include/sys/time.h (__gettimeofday): Remove macro.
27349 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27350 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27351 Remove INTDEF.
27352 (__gettimeofday): Add libc_hidden_def.
27353 (gettimeofday): Add libc_hidden_weak.
27354 * sysdeps/mach/gettimeofday.c: Likewise.
27355 * sysdeps/posix/gettimeofday.c: Likewise.
27356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27357 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27359 (__gettimeofday_internal): Remove strong_alias.
27360 (__gettimeofday): Add libc_hidden_def.
27361 (gettimeofday): Add libc_hidden_weak.
27362 * sysdeps/unix/syscalls.list (gettimeofday):
27363 Remove __gettimeofday_internal alias.
27364
b5a2bbe6
L
273652012-05-24 Daniel Jacobowitz <drow@false.org>
27366 H.J. Lu <hongjiu.lu@intel.com>
27367
27368 [BZ #12495]
27369 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27370 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27371 (largebin_index_32_big): New.
27372 (largebin_index): Use it for 16-byte alignment.
27373 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27374 correction with front_misalign.
27375
cfba4fda
L
273762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27377
7f907421
L
27378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27380 Likewise.
27381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27382 Likewise.
27383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27384 Likewise.
27385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27386 Likewise.
27387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27388 Likewise.
27389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27390 Likewise.
27391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27392 Likewise.
27393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27394 Likewise.
27395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27396 Likewise.
27397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27398 Likewise.
27399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27400 Likewise.
27401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27402 Likewise.
27403
cfba4fda
L
27404 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27405 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27406
80bad0cc
JM
274072012-05-24 Joseph Myers <joseph@codesourcery.com>
27408
7a25eb06
JM
27409 [BZ #10846]
27410 [BZ #14036]
27411 * math/libm-test.inc (exp_test): Add test from bug 14036.
27412 (pow_test): Add test from bug 10846.
27413
795405f9
JM
27414 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27415 and other flags.
27416 (special_function): Do not include flags in test name.
27417 (parse_args): Likewise.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27420 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27421 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27423
80bad0cc
JM
27424 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27425 exceptions.
27426 * math/libm-test.inc ("Philosophy"): Update comment about
27427 exception testing.
27428 (UNDERFLOW_EXCEPTION): New macro.
27429 (UNDERFLOW_EXCEPTION_OK): Likewise.
27430 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27431 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27432 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27433 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27434 (INVALID_EXCEPTION_OK): Update value.
27435 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27436 (OVERFLOW_EXCEPTION_OK): Likewise.
27437 (IGNORE_ZERO_INF_SIGN): Likewise.
27438 (test_exceptions): Handle underflow exceptions.
27439 (acos_test): Update for underflow exception expectations.
27440 (cexp_test): Likewise.
27441 (clog_test): Likewise.
27442 (clog10_test): Likewise.
27443 (csqrt_test): Likewise.
27444 (ctan_test): Likewise.
27445 (ctanh_test): Likewise.
27446 (exp_test): Likewise.
27447 (exp10_test): Likewise.
27448 (exp2_test): Likewise.
27449 (expm1_test): Likewise.
27450 (fma_test): Likewise.
27451 (j0_test): Likewise.
27452 (jn_test): Likewise.
27453 (nexttoward_test): Likewise.
27454 (pow_test): Likewise.
27455 (scalbn_test): Likewise.
27456 (scalbln_test): Likewise.
27457 (tan_test): Likewise.
27458 (y1_test): Likewise.
27459 * sysdeps/i386/fpu/libm-test-ulps: Update.
27460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27461
9e0e3d0b
DM
274622012-05-23 David S. Miller <davem@davemloft.net>
27463
27464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27465 (__libc_sigaction): Remove unused local variables.
27466
ccd0a08f
L
274672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27468
27469 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27470
62bdf9a6
PE
274712012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27472
f8591f80
PE
27473 mktime: avoid signed integer overflow
27474 * time/mktime.c (__mktime_internal): Do not mishandle the case
27475 where diff == INT_MIN.
27476
94c7d826
PE
27477 mktime: simplify computation of average
27478 * time/mktime.c (ranged_convert): Use new time_t_avg function
27479 instead of rolling our own (probably-slower) code.
27480
ce73d683
PE
27481 mktime: do not assume signed right shift propagates sign bit
27482 * time/mktime.c (isdst_differ): New static function.
27483 (__mktime_internal): No need to normalize tm_isdst now.
27484 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27485 tm_isdst values.
27486
72a22e59
PE
27487 mktime: merge another wrapv change from gnulib
27488 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27489 from some compilers.
27490
68605433
PE
27491 mktime: remove incorrect attempt at unusual arithmetics
27492 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27493 The code didn't really work on such machines anyway.
27494 (TYPE_MINIMUM): Assume two's complement.
27495 (twos_complement_arithmetic): Verify that long_int and time_t
27496 are two's complement (or unsigned, in the latter case).
27497
03cf7fe3
PE
27498 mktime: check signed shifts on long_int and time_t, too
27499 * time/mktime.c (SHR): Check that shifts work as desired
27500 on the types long_int and time_t too, as SHR is used on
27501 such types.
27502
f04dfbc2
PE
27503 mktime: do not assume 'long' is wide enough
27504 * time/mktime.c (verify): Move decl up.
27505 (long_int): New type.
27506 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27507 to remove assumption in the code that 'long' is wide enough to
27508 store year values. This assumption is not true on x32 and on
27509 some non-glibc platforms.
27510
62bdf9a6
PE
27511 mktime: merge wrapv change from gnulib
27512 * time/mktime.c (WRAPV): New macro.
27513 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27514 (guess_time_tm, __mktime_internal): Do not assume that signed
27515 integer overflow wraps around; modern compilers generate code
27516 where this assumption is no longer valid.
27517
5e292e4f
L
275182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27521 Replace "jmp L(pseudo_end)" with "ret".
27522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27523 Likewise.
27524
8caf8c87
AJ
275252012-05-23 Andreas Jaeger <aj@suse.de>
27526
27527 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27528 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27529
1a09dc56
AJ
275302012-05-23 Andreas Jaeger <aj@suse.de>
27531 Maximilian Attems <max@stro.at>
27532
27533 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27534 New macros.
27535
1c87aba0
L
275362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27537
27538 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27539 code so that pseudo_end is just ret and the stack pointer is
27540 correct also for static library in error case.
27541
40e45bd5
JM
275422012-05-23 Joseph Myers <joseph@codesourcery.com>
27543
c2670533
JM
27544 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27545 move to syscalls.list.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27550
40e45bd5
JM
27551 * manual/install.texi (Running make install): Do not mention Linux
27552 kernel version for which pt_chown is not needed.
27553 (Linux): Do not mention problems with nscd with 2.0 kernels.
27554 * INSTALL: Regenerated.
27555
be08eda5
AJ
275562012-05-23 Andreas Jaeger <aj@suse.de>
27557
27558 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27559 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27560 macro.
27561 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27562 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27563 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27564 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27565 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27567 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27571 * sysdeps/unix/sysv/linux/bits/in.h
27572 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27573
a6a056bb
RM
275742012-05-22 Roland McGrath <roland@hack.frob.com>
27575
27576 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27577 (PREPARE_VERSION): Just use assert instead, it will be elided
27578 under [NDEBUG] anyway.
27579
c9009328
L
275802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27581
27582 * sysdeps/unix/sysv/linux/Makefile: Include
27583 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27584 (sysdep_routines): Remove sysctl.
c9009328
L
27585 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27586 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27587 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27588 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27589 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27590
73338355
AJ
275912012-05-22 Andreas Jaeger <aj@suse.de>
27592
27593 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27594 that pseudo_end is just ret and the stack pointer is correct also
27595 for static library in error case.
27596
d44638b0
PP
275972012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27598
27599 [BZ #14122]
27600 * nss/nsswitch.c (defconfig_entries): New variable.
27601 (__nss_database_lookup): Don't leak defconfig entries.
27602 (nss_parse_service_list): Don't leak on error paths.
27603 (free_database_entries): New function.
27604 (free_defconfig): New function.
27605 (free_mem): Move common code to free_database_entries.
27606
31a39bd8
L
276072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27608
da0331a8
L
27609 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27610 Add arch_prctl.
27611 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27612
31a39bd8
L
27613 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27614 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27616 New macro.
27617 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27618 (INTERNAL_SYSCALL_TYPES): Likewise.
27619 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27620 (LOAD_REGS_TYPES_[1-6]): Likewise.
27621 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27622 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27623
45470df3
AZ
276242012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27625
27626 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27627 copysignl for GLIBC_2_0.
27628 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27629 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27631 logbl for GLIBC_2_0.
27632 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27633 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27634
98a61bcb
L
276352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27636
a4f6e481
L
27637 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27638 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27639
f63d5db6
L
27640 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27641 Use "neg %eax".
27642
98a61bcb
L
27643 * time/mktime.c: Update copyright years.
27644
95770f14
PE
276452012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27646
6226efbd
PE
27647 mktime: merge comment-quoting-style change from gnulib
27648 * time/mktime.c: Quote 'like this' in comments.
27649 The GNU coding standards suggest that we no longer quote `like this',
27650 as "`" and "'" are typically rendered asymmetrically nowadays.
27651 The typical gnulib style is to quote 'like this' when quoting
27652 code, and "like this" when quoting English.
27653
b99e4f78
PE
27654 * time/mktime.c (compile-command): Add "-I.".
27655
643e01e6
PE
27656 mktime: merge mktime-internal.h change from gnulib
27657 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27658
2554247d
PE
27659 mktime: merge time_r change from gnulib
27660 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27661
826dd0ab
PE
27662 mktime: merge DEBUG change from gnulib
27663 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27664 case system <time.h> has a #define.
27665
bd83aabe
PE
27666 mktime: merge <sys/types.h> change from gnulib
27667 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27668 since <time.t> is now guaranteed to define time_t.
27669
95770f14
PE
27670 mktime: merge HAVE_CONFIG_H change from gnulib
27671 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27672
5e1a27a9
L
276732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27674
0e44a77e
L
27675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27676 Use "neg %eax".
27677
5e1a27a9
L
27678 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27679 __rlim_t cast.
27680 (struct rusage): Use anonymous union to pad each field to
27681 __syscall_slong_t.
27682
46259bec
DM
276832012-05-21 David S. Miller <davem@davemloft.net>
27684
27685 * Makefules (o-iterator): Remove .s cases.
27686 (compile-command.s): Delete.
27687 (COMPILE.s): Delete.
27688 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27689
59f0c22e
JM
276902012-05-21 Joseph Myers <joseph@codesourcery.com>
27691
27692 * configure.in (libc_cv_predef_stack_protector): Only consider
27693 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27694 * configure: Regenerated.
27695
20c07380
L
276962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27697
bbb3154b
L
27698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27699 New macro. Use R*LP on int and pointer.
27700 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27701 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27702 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27703 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27704
20c07380
L
27705 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27706 [__WORDSIZE_TIME64_COMPAT32] instead of
27707 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27708 (struct utmp): Likewise.
27709 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27710 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27711 Renamed to ...
27712 (__WORDSIZE_TIME64_COMPAT32): This.
27713 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27714 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27715 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27716 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27717 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27718 (__WORDSIZE_TIME64_COMPAT32): New macro.
27719
d8d1017e
AJ
277202012-05-21 Andreas Jaeger <aj@suse.de>
27721
27722 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27723 only if [SHARED]. Add prototype for __wcschr_ia32.
27724
6c7fb145
RM
277252012-05-21 Roland McGrath <roland@hack.frob.com>
27726
27727 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27728 of %rbp unmolested in the jmp_buf while mangling the low bits.
27729 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27730 unmolested high bits of %rbp while demangling the low bits.
27731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27732
66274218
AJ
277332012-05-21 Andreas Jaeger <aj@suse.de>
27734
07c58f8f
AJ
27735 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27736 * sunrpc/svc_simple.c: Use it for registerrpc.
27737 * sunrpc/xcrypt.c: Use it for passwd2des.
27738
66274218
AJ
27739 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27740
61f65140
L
277412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27742
27743 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27744 Don't define if [__SYSCALL_WORDSIZE != 32].
27745 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27746 New macro.
27747
5fefb436
AJ
277482012-05-21 Bruno Haible <bruno@clisp.org>
27749 Andreas Jaeger <aj@suse.de>
27750
27751 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27752 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27753 inptr and inend for must_buffer_ch.
27754 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27755 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27756 * stdio-common/Makefile (tests): Remove bug15.
27757 (bug15-ENV): Remove macro.
27758 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27759 anymore.
27760
d8e272ab
AJ
277612012-05-19 Andreas Jaeger <aj@suse.de>
27762 Roland McGrath <roland@hack.frob.com>
27763
27764 * manual/contrib.texi: Completely rewritten. It contains now an
27765 alphabetical list of contributors and their contributions.
27766
4a56a162
RH
277672012-05-21 Richard Henderson <rth@twiddle.net>
27768
27769 * misc/getauxval.c (__getauxval): Use unsigned long int.
27770 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27771 (getauxval): Use unsigned long int.
27772
d024d23c
L
277732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27774
27775 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27776
cbc00a03
RM
277772012-05-21 Roland McGrath <roland@hack.frob.com>
27778
27779 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27780 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27781 __alignof__ (long double).
27782
478143fa
AZ
277832012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27784
27785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27786
c7683a6d
RH
277872012-05-20 Richard Henderson <rth@twiddle.net>
27788
27789 * misc/getauxval.c: New file.
27790 * misc/sys/auxv.h: New file.
27791 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27792 (routines): Add getauxval.
27793 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27794 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27795 * elf/dl-sysdep.c (_dl_auxv): Remove.
27796 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27797 * elf/dl-support.c (_dl_auxv): New variable.
27798 (_dl_aux_init): Initialize it.
27799 * manual/startup.texi (Auxiliary Vector): New node.
27800 * sysdeps/generic/bits/hwcap.h: New file.
27801 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27802 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27803 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27804 * sysdeps/sparc/sysdep.h: ... here. Include it.
27805 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27808 Update.
c7683a6d
RH
27809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27817
a6f1845d
AZ
278182012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27819
27820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27821
cbcbe830
DM
278222012-05-19 David S. Miller <davem@davemloft.net>
27823
27824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27825
e0b16cc2
JM
278262012-05-19 Joseph Myers <joseph@codesourcery.com>
27827
27828 [BZ #14123]
27829 * math/s_ccosh.c: Include <float.h>
27830 (__ccosh): Avoid internal overflow calculating sinh and cosh
27831 values before multiplying by sin and cos values.
27832 * math/s_ccoshf.c: Likewise.
27833 * math/s_ccoshl.c: Likewise.
27834 * math/s_csin.c: Likewise.
27835 * math/s_csinf.c: Likewise.
27836 * math/s_csinl.c: Likewise.
27837 * math/s_csinh.c: Likewise.
27838 * math/s_csinhf.c: Likewise.
27839 * math/s_csinhl.c: Likewise.
27840 * math/libm-test.inc (ccos_test): Add more tests.
27841 (ccosh_test): Likewise.
27842 (csin_test): Likewise.
27843 (csinh_test): Likewise.
27844 * sysdeps/i386/fpu/libm-test-ulps: Update.
27845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27846
6ad13e08
L
278472012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27848
f66f0ce8
L
27849 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27850 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27851
6ad13e08
L
27852 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27853
b1d072a7
JM
278542012-05-19 Joseph Myers <joseph@codesourcery.com>
27855
27856 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27857 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27858 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27859 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27860 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27861 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27862 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27863 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27864 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27865 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27866 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27867 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27868 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27869 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27870 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27871 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27872 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27873 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27874 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27875 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27876 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27877 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27878 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27879 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27880 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27881 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27882 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27883 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27884 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27885 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27886 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27887
9eae47cb
AJ
278882012-05-18 Andreas Jaeger <aj@suse.de>
27889
27890 * csu/.gitignore: Delete.
27891
bb07f69f
L
278922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27893
27894 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27895 (timex): Use __syscall_slong_t.
27896
e6bdb741
AJ
278972012-05-18 Andreas Jaeger <aj@suse.de>
27898 Carlos O'Donell <carlos_odonell@mentor.com>
27899
27900 * manual/install.texi (Configuring and compiling): Update
27901 description about files modified in the source directory.
d6c33fda 27902 * INSTALL: Regenerated.
e6bdb741 27903
1b74487e
L
279042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27905
27906 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27907 value. Use "or" to set return value to -1.
27908 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27909 negate return value.
27910
a88b64b9
TMQMF
279112012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27912
27913 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27914 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27915 failure if the compiler has Graphite support disabled.
27916 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27917 Likewise.
27918 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27919 CFLAGS-memmove.c): Likewise.
27920 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27921 Likewise.
27922
3707636e
L
279232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27924
610b8622
L
27925 * sysdeps/x86_64/x32/_itoa.h: New file.
27926
7cd195df
L
27927 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27928 getdents system call only if kernel and user dirents have the
27929 same d_ino and d_off.
27930
94b07d20
L
27931 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27932 LLONG_MAX != LONG_MAX.
27933 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27934 (_fitoa_word): Likewise.
27935
18298070
L
27936 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27937 years.
27938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27939 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27941
553c7ea4
L
27942 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27943 include <bits/wordsize.h>. Check __x86_64__ instead of
27944 __WORDSIZE.
27945 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27946 if __x86_64__ is defined. Use anonymous union on fpstate.
27947
3707636e
L
27948 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27949 anonymous union.
27950
b53ef01a
AS
279512012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27952
37fb1dc0
AS
27953 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27954 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27955 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27956 Refer to _rtld_local_ro instead of _rtld_global_ro.
27957 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27958 Likewise.
27959 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27960 Likewise.
27961 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27962 Likewise.
27963 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27964 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27965 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27966
b53ef01a
AS
27967 * sysdeps/powerpc/powerpc32/dl-machine.c
27968 (__elf_machine_runtime_setup) [PROF]: Don't reference
27969 _dl_prof_resolve.
27970
7a185db2
AJ
279712012-05-18 Andreas Jaeger <aj@suse.de>
27972
27973 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27974 function only available for GCCs before 3.4 since GCC 3.4
27975 introduced a builtin.
27976 (lrint): Likewise.
27977 (llrintf): Likewise.
27978 (llrint): Likewise.
27979 (fmaxf): Likewise.
27980 (fmax): Likewise.
27981 (fminf): Likewise.
27982 (fmin): Likewise.
27983 (rint): Likewise.
27984 (rintf): Likewise.
27985 (nearbyint): Likewise.
27986 (nearbyintf): Likewise.
27987 (ceil): Likewise.
27988 (ceilf): Likewise.
27989 (floor): Likewise.
27990 (floorf): Likewise.
27991
3e5aef87
L
279922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27993
428bd707
L
27994 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27995 on both fields and cast pointer to __syscall_ulong_t.
27996
3e5aef87
L
27997 * bits/types.h (__fsword_t): New type.
27998 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27999 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28001 (__FSWORD_T_TYPE): Likewise.
28002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28003 (__FSWORD_T_TYPE): Likewise.
28004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28005 (__FSWORD_T_TYPE): Likewise.
28006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28007 (__FSWORD_T_TYPE): Likewise.
28008 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28009 __SWORD_TYPE with __fsword_t.
28010 (statfs64): Likewise.
28011
1ba7c3dc
DM
280122012-05-17 David S. Miller <davem@davemloft.net>
28013
28014 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28015
59910343
AJ
280162012-05-17 Andreas Jaeger <aj@suse.de>
28017
28018 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28019 warning.
28020
2e4c1e9e
L
280212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28022
28023 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28024
de7f5ce7
AJ
280252012-05-17 Andreas Jaeger <aj@suse.de>
28026
28027 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28028 when it is used.
28029
286abc3d
CM
280302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28031
28032 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28033
477cc68e
L
280342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28037 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28038
1a0994f5
CD
280392012-05-17 Andreas Jaeger <aj@suse.de>
28040 Carlos O'Donell <carlos_odonell@mentor.com>
28041
28042 [BZ #14059]
28043 * sysdeps/x86_64/multiarch/init-arch.h
28044 (bit_YMM_Usable): Rename to...
28045 (bit_AVX_Usable): ... this.
28046 (bit_FMA4_Usable): New macro.
28047 (bit_XMM_state): New macro.
28048 (bit_YMM_state): New macro.
28049 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28050 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28051 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28052 (CPUID_OSXSAVE): New macro.
28053 (CPUID_AVX): New macro.
28054 (CPUID_FMA4): New macro.
28055 (index_YMM_Usable): Rename to...
28056 (index_AVX_Usable): ... this.
28057 (HAS_AVX): Use HAS_ARCH_FEATURE.
28058 (HAS_FMA4): Likewise.
28059 (HAS_YMM_USABLE): Remove.
28060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28061 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28062 are present.
28063 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28064 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28065 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28066 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28067 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28068
0af797de
CM
280692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28070
28071 * math/libm-test.c: Support platforms without multiple rounding modes.
28072 * math/bug-nextafter.c: Support platforms without FP exceptions.
28073 * math/bug-nexttoward.c: Likewise.
28074 * math/test-fenv.c: Likewise.
28075 * math/test-misc.c: Likewise.
28076 * stdlib/bug-getcontext.c: Likewise.
28077
e39745ff
AJ
280782012-05-17 Andreas Jaeger <aj@suse.de>
28079
28080 * manual/examples/search.c (critter_cmp): Change signature to
28081 avoid warnings.
28082 * manual/string.texi (Collation Functions): Likewise.
28083
48970aba
L
280842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 * bits/types.h: Fold copyright years.
28087 * bits/typesizes.h: Likewise.
28088 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28092 * time/time.h: Likewise.
28093
bedee953
PP
280942012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28095
28096 [BZ #208]
28097 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28098 in instead of returning them. Return void.
28099 (__libc_mallinfo): Accumulate over all arenas.
28100 (__malloc_stats): Adjust for change in int_mallinfo interface.
28101
61653dfb
RM
281022012-05-16 Roland McGrath <roland@hack.frob.com>
28103
30b99d79
RM
28104 [BZ #10375]
28105 * configure.in (NM): Add AC_CHECK_TOOL for it.
28106 (libc_extra_cflags): New substituted variable.
28107 Check for -fstack-protector being used implicitly.
28108 * configure: Regenerated.
28109 * config.make.in (config-extra-cflags): New variable,
28110 gets @libc_extra_cflags@.
28111 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28112
61653dfb
RM
28113 [BZ #10375]
28114 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28115 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28116 * configure: Regenerated.
28117 * config.make.in (CPPUNDEFS): New substituted variable.
28118 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28119 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28120 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28121
661768bb
L
281222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28125 (mq_attr): Use __syscall_slong_t.
28126
d4261567
L
281272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28128
28129 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28130 Check __x86_64__ instead of __WORDSIZE.
28131 (_STAT_VER_LINUX): Likewise.
28132 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28133 __syscall_ulong_t and __syscall_slong_t.
28134 (stat64): Likewise.
28135
cf3ff365
L
281362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28137
28138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28139
76cf3e4d
L
281402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28141
28142 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28143
a637753a
L
281442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28145
28146 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28147 __syscall_ulong_t.
28148
d5e05119
L
28149 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28150 include <bits/wordsize.h>. Check __x86_64__ instead of
28151 __WORDSIZE.
28152 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28153 defined.
28154 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28155
f62ee380
L
28156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28157 include <bits/wordsize.h>. Check __x86_64__ instead of
28158 __WORDSIZE.
28159 (user_regs_struct): Use "__extension__ unsigned long long"
28160 instead of "unsigned long" if __x86_64__ is defined.
28161 (user): Likewise. Pad after pointer field if __ILP32__ is
28162 defined.
28163
4e124ced
JM
281642012-05-16 Joseph Myers <joseph@codesourcery.com>
28165
6a3951a0
JM
28166 * configure.in (makeinfo): Require version 4.5 or later. Allow
28167 versions 5 to 9.
28168 * configure: Regenerated.
28169 * manual/install.texi (texinfo): Increase version requirement to
28170 4.5 or later.
28171 * INSTALL: Regenerated.
28172
4e124ced
JM
28173 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28174
953ca31a
L
281752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28178
617aca05
L
28179 * sysdeps/x86_64/x32/ffs.c: New file.
28180
5762f7ae
L
28181 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28182 __syscall_ulong_t.
28183 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28184 defined. Use __syscall_ulong_t.
28185 (shminfo): Use __syscall_ulong_t.
28186 (shm_info): Likewise.
28187
a26b6856
L
28188 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28189 __syscall_ulong_t.
28190
cb2b9ef7
L
28191 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28192 <bits/wordsize.h>.
28193 (msgqnum_t): Use __syscall_ulong_t.
28194 (msglen_t): Likewise.
28195 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28196 __syscall_ulong_t.
28197
34683bb0
L
28198 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28200
84a68786
L
28201 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28202
48baa5f1
L
28203 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28204 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28205
180be88b
L
28206 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28207 __syscall_slong_t.
28208
5e90c8ad
L
28209 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28210 include <bits/wordsize.h>. Check __x86_64__ instead of
28211 __WORDSIZE.
28212
23dfb58b
L
28213 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28214 "unsigned long long int" if __x86_64__ is defined.
28215 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28216
ce5d54b0
L
28217 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28219 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28220
13dc9eac
L
28221 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28222 <stdint.h>.
28223 (GET_PC): Cast to uintptr_t first.
28224 (GET_FRAME): Likewise.
28225 (GET_STACK): Likewise.
28226
a7895d15
L
28227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28238 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28243 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28244 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28246 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28248 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28252 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28253 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28255 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28256
656416c9
AS
282572012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28258
5bd66283
AS
28259 * Makerules (+depfiles): Also collect depfiles from .oS in
28260 $(extra-objs).
28261 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28262 .oS, $(libnldbl-routines)).
28263
656416c9
AS
28264 * Makerules (native-compile-mkdep-flags): Define.
28265 * sunrpc/Makefile (extra-objs): Add $(addprefix
28266 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28267 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28268 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28269 calling $(make-target-directory).
28270
a46f2169
L
282712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28272
28273 * bits/types.h (__snseconds_t): Removed.
28274 * time/time.h (struct timespec): Replace __snseconds_t with
28275 __syscall_slong_t.
28276 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28277 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28278 Likewise.
28279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28280 (__SNSECONDS_T_TYPE): Likewise.
28281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28282 (__SNSECONDS_T_TYPE): Likewise.
28283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28284 (__SNSECONDS_T_TYPE): Likewise.
28285
6af6528b
L
282862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28287
28288 * sysdeps/mach/hurd/bits/typesizes.h
28289 (__SYSCALL_SLONG_TYPE): New macro.
28290 (__SYSCALL_ULONG_TYPE): Likewise.
28291
de986b56
L
282922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28293
28294 * bits/types.h (__syscall_slong_t): New type.
28295 (__syscall_ulong_t): Likewise.
28296
28297 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28298 (__SYSCALL_ULONG_TYPE): Likewise.
28299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28300 (__SYSCALL_SLONG_TYPE): Likewise.
28301 (__SYSCALL_ULONG_TYPE): Likewise.
28302 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28303 (__SYSCALL_SLONG_TYPE): Likewise.
28304 (__SYSCALL_ULONG_TYPE): Likewise.
28305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28306 (__SYSCALL_SLONG_TYPE): Likewise.
28307 (__SYSCALL_ULONG_TYPE): Likewise.
28308
85736dc7
L
283092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28310
28311 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28312 Add sigaltstack-offsets.sym.
28313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28314 <sigaltstack-offsets.h>.
28315 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28316 longjmp_msg pointer.
28317 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28318 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28319 signal stack.
28320 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28321
cc03b296
JM
283222012-05-15 Joseph Myers <joseph@codesourcery.com>
28323
a9538892
JM
28324 * elf/stackguard-macros.h: Remove file.
28325 * sysdeps/generic/stackguard-macros.h: New file.
28326 * sysdeps/i386/stackguard-macros.h: Likewise.
28327 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28328 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28329 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28330 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28331 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28332 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28333 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28334 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28335 <elf/stackguard-macros.h>.
28336
cc03b296
JM
28337 [BZ #14109]
28338 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28339 __aligned__ in attribute.
28340 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28341 (gregset_t): Likewise.
28342
93171016
L
283432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28344
28345 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28346 * sysdeps/x86_64/64/Implies-after: Here. New file.
28347 * sysdeps/x86_64/x32/Implies-after: New file.
28348
d86813a0
L
283492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28350
28351 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28352 and access return value for _dl_profile_fixup. Use R10_LP to
28353 load frame size.
28354
2953ec75
L
283552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28356
28357 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28358
3b550e9e
L
283592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28362 * sysdeps/x86_64/x32/sysdep.h: New file.
28363
eda41706
L
283642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28365
28366 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28367 * sysdeps/x86_64/setjmp.S: Likewise.
28368
9ea01d93
AZ
283692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28370
28371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28373 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28374 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28375 remove unused global constant.
28376
02a91938
CM
283772012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28378
28379 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28380 include of <not-cancel.h>.
28381
6540185f
RM
283822012-05-15 Roland McGrath <roland@hack.frob.com>
28383
28384 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28385
509072a0
AJ
283862012-05-15 Jeff Law <law@redhat.com>
28387 Andreas Jaeger <aj@suse.de>
28388
28389 [BZ #13594]
28390 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28391 out from...
28392 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28393 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28394 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28395 code changing __hst_map_handle.map.
28396
ba75122d
RM
283972012-05-15 Roland McGrath <roland@hack.frob.com>
28398
28399 * configure.in (sysnames): Look for Implies-before and Implies-after
28400 files.
28401 * configure: Regenerated.
28402
890d8bd8
L
284032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28406 8-byte data alignment with LP_SIZE alignment.
28407
f6ee6623
L
284082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28411 into R10_LP.
28412
ea2626f6
L
284132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28416
085f715e
L
284172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28418
28419 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28420 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28421 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28422 Likewise.
28423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28424
be8498fc
L
284252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28428 (stackinfo_sub_sp): Likewise.
28429
70bc83b9
L
284302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28431
28432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28433 RAX_LP.
28434
9bc0b730
L
284352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28436
28437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28438 into R*_LP.
28439
6d2850e7
L
284402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28441
28442 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28443 sizes into R*_LP.
28444
3cb84561
L
284452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28446
28447 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28448
54e2ed81
L
284492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28450
28451 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28452 into R11_LP and load __x86_64_shared_cache_size_half into
28453 R8_LP.
28454
8a17f349
L
284552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28456
28457 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28458 R8_LP.
28459
777b1eea
AZ
284602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28461
28462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28463 logb for POWER7.
28464 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28465 logbf for POWER7.
28466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28467 logbl for POWER7.
28468 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28469 powerpc32/power7/fpu/s_logb.c via #include.
28470 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28471 powerpc32/power7/fpu/s_logbf.c via #include.
28472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28473 powerpc32/power7/fpu/s_logbl.c via #include.
28474
d20d4ac2
JM
284752012-05-15 Joseph Myers <joseph@codesourcery.com>
28476
28477 * README.libm: Remove file.
28478
6cdef1ab
L
284792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28480
28481 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28482 count for x32. Use R*_LP and omit operand-size suffix.
28483
0b254d8f
L
284842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28485
28486 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28487 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28488 * sysdeps/x86_64/x32/shlib-versions: New file.
28489
ceb809dc
RM
284902012-05-14 Roland McGrath <roland@hack.frob.com>
28491
28492 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28493 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28494 Use _dl_fatal_printf instead.
28495
37f1abd4
JM
284962012-05-14 Joseph Myers <joseph@codesourcery.com>
28497
28498 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28499 set if not set by the user. Do not allow for being unset.
28500 * sysdeps/unix/sysv/linux/configure: Regenerated.
28501
11de3a33
L
285022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28503
28504 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28505 the `q' suffix from lea and replace .quad with ASM_ADDR.
28506
e02f153a
L
285072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28508
28509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28510 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28511 instead of $17.
28512 (PTR_DEMANGLE): Likewise.
28513
520ae0fd
L
285142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28515
28516 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28517 (LP_OP): Likewise.
28518 (ASM_ADDR): Likewise.
28519 (RAX_LP): Likewise.
28520 (RBP_LP): Likewise.
28521 (RBX_LP): Likewise.
28522 (RCX_LP): Likewise.
28523 (RDI_LP): Likewise.
28524 (RSI_LP): Likewise.
28525 (RSP_LP): Likewise.
28526 (R8_LP): Likewise.
28527 (R9_LP): Likewise.
28528 (R10_LP): Likewise.
28529 (R10_LP): Likewise.
28530 (R11_LP): Likewise.
28531 (R12_LP): Likewise.
28532 (R13_LP): Likewise.
28533 (R14_LP): Likewise.
28534 (R15_LP): Likewise.
28535
b985be81
L
285362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28537
28538 * sysdeps/x86_64/x32/dl-machine.h: New file.
28539
6a4888ff
AJ
285402012-05-14 Andreas Jaeger <aj@suse.de>
28541
28542 * manual/Makefile (subdir): Remove export of subdir.
28543 (all): Remove target.
28544 (.PHONY): Remove all from list.
28545 (mkinstalldirs): Remove.
28546 (.PHONY): Remove installdirs from list.
28547 ($(inst_infodir)/libc.info): Use make-target-directory.
28548 (installdirs): Remove.
28549 (subdir_%): Remove.
28550 (glibc-targets): Remove.
28551 (lib): Remove.
28552 (stubs): Remove.
28553 ($(objpfx)stubs ../po/manual.pot): Remove.
28554 ($(objpfx)stamp%): Remove.
28555 (make-target-directory): Remove.
28556 (subdir_install): Remove.
28557 (routines): Remove.
28558 (aux): Remove.
28559 (sources): Remove.
28560 (objects): Remove.
28561 (headers): Remove.
28562
28563 [BZ #13750]
28564 * manual/.gitignore: Remove, it's not needed anymore.
28565 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28566 all files in it.
28567 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28568 directory.
28569 (texis): Renamed to $(objpfx)texis.
28570 (texis-path): New, contains path to generated files.
28571 (chapters.%): Use texis-path for complete path, add extra argument
28572 libc-texinfo.sh.
28573 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28574 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28575 (summary,texi, stamp-summary): Use complete path of
28576 files. Generate files in build dir.
28577 (dir-add.texi): Build in build dir.
28578 (libm-err.texi,stamp-libm-err): Likewise.
28579 (version.texi, stamp-version): Likewise.
28580 (.%c.texi): Likewise.
28581 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28582 (mostlyclean): Remove target.
28583 (realclean): Remove target.
28584 (generated): Add new variable with contents from mostlyclean and
28585 realclean, remove entries duplicated in common-mostlyclean, add
28586 stamp-libm-err and stamp-version.
28587 (generated-dirs): Add libc directory.
28588 ($(inst_infodir)/libc.info): Install files from build dir.
28589
28590 * manual/install.texi (Configuring and compiling): Adjust since
28591 the info files are not part of the tar ball anymore.
28592
7ac77294
AJ
285932012-05-14 Andreas Jaeger <aj@suse.de>
28594
28595 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28596 variable.
28597
ffb7875d
JM
285982012-05-14 Joseph Myers <joseph@codesourcery.com>
28599
28600 [BZ #13717]
28601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28602 to 2.2.0 where earlier.
28603 * sysdeps/unix/sysv/linux/configure: Regenerated.
28604 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28605 Remove conditional code.
28606 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28607 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28608 Remove conditional code.
28609 [!__NR_lchown]: Likewise.
28610 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28611 [__NR_lchown]: Likewise.
28612 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28613 comment referencing __ASSUME_LCHOWN_SYSCALL.
28614 * sysdeps/unix/sysv/linux/i386/sigaction.c
28615 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28616 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28617 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28618 Remove conditional code.
28619 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28620 (__protocol_available): Remove #if 0 code.
28621 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28622 conditional code.
28623 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28624 * sysdeps/unix/sysv/linux/kernel-features.h
28625 (__ASSUME_GETCWD_SYSCALL): Don't define.
28626 (__ASSUME_REALTIME_SIGNALS): Likewise.
28627 (__ASSUME_PREAD_SYSCALL): Likewise.
28628 (__ASSUME_PWRITE_SYSCALL): Likewise.
28629 (__ASSUME_POLL_SYSCALL): Likewise.
28630 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28631 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28632 non-SPARC.
28633 (__ASSUME_SIOCGIFNAME): Don't define.
28634 (__ASSUME_MSG_NOSIGNAL): Likewise.
28635 (__ASSUME_SENDFILE): Define unconditionally.
28636 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28637 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28638 conditional code.
28639 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28640 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28641 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28642 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28643 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28645 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28659 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28670 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28671 Remove conditional code.
28672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28673 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28674 Remove conditional code.
28675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28676 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28677 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28678 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28679 Remove conditional code.
28680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28681 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28682 Remove conditional code.
28683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28684 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28685 Remove conditional code.
28686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28687 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28688 Remove conditional code.
28689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28690 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28691 Remove conditional code.
28692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28693 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28696 * sysdeps/unix/sysv/linux/sigaction.c
28697 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28698 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28699 * sysdeps/unix/sysv/linux/sigpending.c
28700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28702 * sysdeps/unix/sysv/linux/sigprocmask.c
28703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28705 * sysdeps/unix/sysv/linux/sigsuspend.c
28706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28709 (__libc_missing_rt_sigs): Remove.
28710 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28711 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28712 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28713 Remove conditional code.
28714 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28715 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28716 return 1.
28717 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28718 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28719 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28720 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28721
1bfb7291
AJ
287222012-05-14 Andreas Jaeger <aj@suse.de>
28723
caae5a81
AJ
28724 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28725 it's not used in glibc.
28726 (__coshm1): Likewise.
28727 (__acosh1p): Likewise.
28728 (__sgn): Likewise.
28729
1bfb7291
AJ
28730 * manual/string.texi (Copying and Concatenation): Add missing
28731 variable in concat example.
28732 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28733
c044d724
L
287342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28735
144c5467 28736 [BZ #14103]
c044d724
L
28737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28738 __builtin_clzl with __builtin_clzll.
28739
2523c62b
L
287402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 [BZ #14104]
28743 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28744 libc_freeres_ptr.
28745
d7bb4c42
LD
287462012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28747
28748 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28749 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28750 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28751 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28752
9dc4e1fb
MF
287532012-05-14 Mike Frysinger <vapier@gentoo.org>
28754
28755 * NEWS: Update ia64 info.
28756
c7df0112
AS
287572012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28758
28759 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28760 used as bcopy.
28761
dc70356c
TS
287622012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28763
28764 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28765 * sysdeps/unix/syscalls.list (dup3): Likewise.
28766 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28767 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28768
9fb1a21f
L
287692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28770
28771 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28772 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28773
4822a2a5
L
287742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28777 thread pointer.
28778 (TLS_IE): Use mov/add instead of movq/addq to load thread
28779 pointer.
28780 (TLS_GD_PREFIX): New.
28781 (TLS_GD): Use it.
28782
842b81d6
DM
287832012-05-11 David S. Miller <davem@davemloft.net>
28784
28785 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28786 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28787 (_FPU_SETCW): Likewise.
28788
1cf463cd
L
287892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28790
28791 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28792 is 32-byte aligned.
28793
60cc4a18
AS
287942012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28795
28796 [BZ #11837]
28797 * iconvdata/gb18030.c: Update tables.
28798 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28799 characters specially.
28800 (BODY for TO_LOOP): Add encoding of missing ranges.
28801
febb44a4
TS
288022012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28803
28804 [BZ #13673]
28805 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28806 * sysdeps/mach/hurd/dup3.c: Likewise.
28807 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28808 * sysdeps/powerpc/memmove.c:: Likewise.
28809
0a10fb9e
L
288102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28811
28812 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28813 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28814
df8a552f
L
288152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28816
28817 * elf/elf.h (R_X86_64_RELATIVE64): New.
28818 (R_X86_64_NUM): Updated.
28819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28820 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28821 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28822 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28823 tst-quad1pie tst-quad2pie
28824 (modules-names): Add tst-quadmod1 tst-quadmod2.
28825 ($(objpfx)tst-quad1): New dependency.
28826 ($(objpfx)tst-quad2): Likewise.
28827 ($(objpfx)tst-quad1pie): Likewise.
28828 ($(objpfx)tst-quad2pie): Likewise.
28829 * sysdeps/x86_64/tst-quad1.c: New file.
28830 * sysdeps/x86_64/tst-quad1pie.c: New file.
28831 * sysdeps/x86_64/tst-quad2.c: Likewise.
28832 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28833 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28834 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28835 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28836 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28837
f34d6f84
ST
288382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28839
f42d41d1
ST
28840 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28841 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28842 * streams/stropts.h (t_scalar_t): Define type.
28843
3c3571fc
ST
28844 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28845 (_PATH_PRESERVE): Set to "/var/lib".
28846 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28847
61f06bd3
ST
28848 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28849 instead of int.
28850
918d4d71
ST
28851 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28852 if __dir_mkfile succeeded.
28853
f34d6f84
ST
28854 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28855 checking for _hurd_dtablesize. Unlock it right after having
28856 finished _hurd_dtable allocation.
28857
10589b4a
TS
288582012-05-10 Thomas Schwinge <thomas@schwinge.name>
28859
674cdbc7
TS
28860 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28861 * sysdeps/mach/hurd/configure: Regenerated.
28862 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28863 special-casing to...
28864 * sysdeps/gnu/configure.in: ... this new file.
28865 * sysdeps/unix/sysv/linux/configure: Regenerated.
28866 * sysdeps/gnu/configure: New generated file.
28867
8e41b99f
TS
28868 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28869 for Linux: use nsec instead of usec, as well as:
28870 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28871 members of type struct timespec.
28872 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28873 New macros.
28874 (struct stat64): Likewise.
28875 (_STATBUF_ST_NSEC): New macro.
28876 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28877
10589b4a
TS
28878 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28879 __strtoul_internal rather than strtoul.
28880
63643c85
PT
288812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28882
28883 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28884 and reject them.
28885
3faebe6a
ST
288862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28887
28888 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28889 which preserves existing values.
28890 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28891
c6474b07
PT
288922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28893
28894 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28895 TIMEOUT values. Return EINVAL for NFDS values either negative or
28896 greater than FD_SETSIZE.
28897
1043890b
ST
288982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28899
28900 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28901 allocated, call __vm_protect to finish enabling the existing space, and
28902 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28903 allocate the remainder.
28904
37ed8b9b
PT
289052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28906
28907 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28908 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28909
db653660
ST
289102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28911
37ed8b9b
PT
28912 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28913 sysdeps/mach/hurd/readlink.c.
b29d4053 28914
db653660
ST
28915 * posix/tst-sysconf.c (posix_options): Only use
28916 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28917 _POSIX_SYNCHRONIZED_IO when they are defined
28918 * sysdeps/mach/hurd/bits/posix_opt.h:
28919 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28920 (_XOPEN_REALTIME): Undefine macro.
28921 (_XOPEN_REALTIME_THREADS): Undefine macro.
28922 (_XOPEN_SHM): Undefine macro.
28923 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28924 macro to -1.
28925 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28926 macro to -1.
28927 (_POSIX_ASYNC_IO): Undefine macro.
28928 (_POSIX_PRIORITIZED_IO): Undefine macro.
28929 (_POSIX_SPIN_LOCKS): Define macro to -1.
28930
ee16e894
ST
28931 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28932 SA_NODEFER, SA_RESETHAND.
28933 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28934 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28935 F_DUPFD_CLOEXEC.
28936
6103ae3b
TS
289372012-05-10 Thomas Schwinge <thomas@schwinge.name>
28938
28939 * elf/Makefile (pldd-modules): Define unconditionally.
28940
80b4e5f3
TS
289412012-05-10 Thomas Schwinge <thomas@schwinge.name>
28942
28943 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28944
edadcbd6
ST
289452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28946
28947 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28948 Return ENOENT when name is empty.
28949 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28950
80694780
TS
289512012-05-10 Thomas Schwinge <thomas@schwinge.name>
28952
1792c087
TS
28953 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28954
80694780
TS
28955 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28956
6b645f0d
ST
289572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28958
80694780
TS
28959 Fix mlock in all cases except non-readable pages.
28960 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28961 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28962
6b645f0d
ST
28963 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28964 (__mkdir): When path is `/', just fail with EEXIST.
28965 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28966
e468f8a3
TS
289672012-05-10 Thomas Schwinge <thomas@schwinge.name>
28968
28969 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28970 <sys/uio.h> (for writev).
28971 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28972 and <sys/param.h> (for MIN).
28973
a4186cff
PT
289742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28975
28976 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28977 REQUESTED_TIME. Properly set the remaining time and return EINTR
28978 if interrupted.
28979
510bbf14
TS
289802012-05-10 Thomas Schwinge <thomas@schwinge.name>
28981
28982 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28983 Depend on against $(link-rpcuserlibs).
28984
5d5722e8
ST
289852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28986
a4186cff
PT
28987 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28988 (__libc_stack_end): Do not use attribute_relro.
28989 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28990 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28991 to libthread-provided value.
a4186cff
PT
28992 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28993 attribute_relro.
5d5722e8 28994
37233df9
TS
289952012-05-10 Thomas Schwinge <thomas@schwinge.name>
28996
be971a2b
TS
28997 [BZ #3748]
28998 * bits/libc-lock.h (__libc_once_get): New macro.
28999 * sysdeps/mach/bits/libc-lock.h: Likewise.
29000 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29002 instead of using implementation details.
29003
37233df9
TS
29004 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29005 * libio/freopen.c: Likewise.
29006 * libio/freopen64.c: Likewise.
29007 * misc/syslog.c: Likewise.
29008 * nscd/connections.c: Likewise.
29009 * nscd/netgroupcache.c: Likewise.
29010 * sysdeps/posix/getcwd.c: Likewise.
29011
38de94a5
RM
290122012-05-10 Roland McGrath <roland@hack.frob.com>
29013
29014 * math/w_ilogbf.c: Add #include <limits.h>.
29015
67530489
ST
290162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29017
a4186cff 29018 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29019 path instead of returning without unlocking.
29020
67530489
ST
29021 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29022 immediate-write ioctls.
29023 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29024
5aa3a74a
TS
290252012-05-10 Thomas Schwinge <thomas@schwinge.name>
29026
18bad2ae
TS
29027 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29028 __builtin_frame_address instead of making assumptions about the
29029 location of the return address relative to DATA. Force early load of
29030 the return address.
29031 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29032 __builtin_frame_address.
29033
5aa3a74a
TS
29034 dup3 for GNU Hurd.
29035 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29036 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29037 implement dup3 and do some further code clean-ups.
29038 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29039 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29040
ecd0de9a
ST
290412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29042
cd9fa985
ST
29043 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29044
a4186cff
PT
29045 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29046 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29047 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29048 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29049 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29050 d->port.lock.
802ca5a5 29051
a4186cff
PT
29052 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29053 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29054 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29055
bcf55240
TS
290562012-05-10 Thomas Schwinge <thomas@schwinge.name>
29057
6960eb42
TS
29058 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29059 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29060 definitions.
29061
eb43375f
TS
29062 accept4 for GNU Hurd.
29063 * include/sys/socket.h (__libc_accept4): New prototype.
29064 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29065 to implement __libc_accept4.
29066 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29067 __libc_accept4.
29068 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29069
bcf55240
TS
29070 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29071 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29072 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29073 signal-defines.sym.
29074
6178c55b
ST
290752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29076
a4186cff 29077 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29078
6f080c2f
TS
290792012-05-10 Thomas Schwinge <thomas@schwinge.name>
29080
29081 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29082 assertion on O_CLOEXEC flag.
29083 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29084 * hurd/intern-fd.c: Likewise.
29085 * hurd/port2fd.c: Likewise.
29086
bcfe3a54
ST
290872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29088
29089 [BZ #3906]
29090 * bits/in.h (IPV6_PKTINFO): Define new macro.
29091 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29092
89c9aa49
AZ
290932012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29094
29095 [BZ #13954]
29096 [BZ #13955]
29097 [BZ #13956]
29098 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29100 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29101 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29104 * math/libm-test.inc (logb_test) : Additional logb tests.
29105
021db4be
AJ
291062012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29107 Andreas Jaeger <aj@suse.de>
29108
29109 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29110 * configure: Regenerated.
29111 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29112 * config.make.in (link-obsolete-rpc): New substituted variable.
29113 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29114 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29115 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29116 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29117 so that libc.a contains the symbols.
29118 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29119 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29120 * sunrpc/auth_none.c: Likewise.
29121 * sunrpc/auth_unix.c: Likewise.
29122 * sunrpc/authdes_prot.c: Likewise.
29123 * sunrpc/authuxprot.c: Likewise.
29124 * sunrpc/clnt_gen.c: Likewise.
29125 * sunrpc/clnt_perr.c: Likewise.
29126 * sunrpc/clnt_raw.c: Likewise.
29127 * sunrpc/clnt_simp.c: Likewise.
29128 * sunrpc/clnt_tcp.c: Likewise.
29129 * sunrpc/clnt_udp.c: Likewise.
29130 * sunrpc/clnt_unix.c: Likewise.
29131 * sunrpc/des_crypt.c: Likewise.
29132 * sunrpc/des_soft.c: Likewise.
29133 * sunrpc/get_myaddr.c: Likewise.
29134 * sunrpc/key_call.c: Likewise.
29135 * sunrpc/key_prot.c: Likewise.
29136 * sunrpc/netname.c: Likewise.
29137 * sunrpc/pm_getmaps.c: Likewise.
29138 * sunrpc/pm_getport.c: Likewise.
29139 * sunrpc/pmap_clnt.c: Likewise.
29140 * sunrpc/pmap_prot.c: Likewise.
29141 * sunrpc/pmap_prot2.c: Likewise.
29142 * sunrpc/pmap_rmt.c: Likewise.
29143 * sunrpc/publickey.c: Likewise.
29144 * sunrpc/rpc_cmsg.c: Likewise.
29145 * sunrpc/rpc_common.c: Likewise.
29146 * sunrpc/rpc_dtable.c: Likewise.
29147 * sunrpc/rpc_prot.c: Likewise.
29148 * sunrpc/rpc_thread.c: Likewise.
29149 * sunrpc/rtime.c: Likewise.
29150 * sunrpc/svc.c: Likewise.
29151 * sunrpc/svc_auth.c: Likewise.
29152 * sunrpc/svc_raw.c: Likewise.
29153 * sunrpc/svc_run.c: Likewise.
29154 * sunrpc/svc_tcp.c: Likewise.
29155 * sunrpc/svc_udp.c: Likewise.
29156 * sunrpc/svc_unix.c: Likewise.
29157 * sunrpc/svcauth_des.c: Likewise.
29158 * sunrpc/xcrypt.c: Likewise.
29159 * sunrpc/xdr.c: Likewise.
29160 * sunrpc/xdr_array.c: Likewise.
29161 * sunrpc/xdr_float.c: Likewise.
29162 * sunrpc/xdr_intXX_t.c: Likewise.
29163 * sunrpc/xdr_mem.c: Likewise.
29164 * sunrpc/xdr_rec.c: Likewise.
29165 * sunrpc/xdr_ref.c: Likewise.
29166 * sunrpc/xdr_sizeof.c: Likewise.
29167 * sunrpc/xdr_stdio.c: Likewise.
29168
b5c086a2
RM
291692012-05-10 Roland McGrath <roland@hack.frob.com>
29170
29171 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29172 change. Update copyright years.
29173
6d74dd09
JM
291742012-05-10 Joseph Myers <joseph@codesourcery.com>
29175
29176 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29177
28e72501
MK
291782012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29179 Joseph Myers <joseph@codesourcery.com>
29180 Paul Pluzhnikov <ppluzhnikov@google.com>
29181
29182 [BZ #14012]
29183 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29184 requiring rpcgen.
29185 [cross-compiling] (extra-libs): Likewise.
29186 [cross-compiling] (extra-libs-others): Likewise.
29187 [cross-compiling] (librpcsvc-routines): Likewise.
29188 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29189 [cross-compiling] (omit-deps): Likewise.
29190 (sunrpc-CPPFLAGS): New variable.
29191 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29192 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29193 (cross-rpcgen-objs): New variable.
29194 (extra-objs): Append $(cross-rpcgen-objs).
29195 ($(cross-rpcgen-objs)): New rule.
29196 ($(objpfx)cross-rpcgen): Likewise.
29197 (rpcgen-cmd): Define to use $(built-program-file). Expand
29198 comment.
29199 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29200 ($(objpfx)x%.stmp): Likewise.
29201 * sunrpc/proto.h [IS_IN_build] (_): Define.
29202 [IS_IN_build] (_libc_intl_domainname): Likewise.
29203
c8c59454
L
292042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29205
29206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29207 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29208 and R_X86_64_TPOFF64.
29209
6f27cd16
JM
292102012-05-10 Joseph Myers <joseph@codesourcery.com>
29211
29212 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29213 sysdeps/unix/sysv/syscalls.list.
29214 (stime): Likewise.
29215 (utime): Likewise.
29216 * sysdeps/unix/sysv/syscalls.list: Remove file.
29217
02467e1c
PE
292182012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29219
29220 [BZ #3440]
29221 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29222 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29223 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29224 (__LC_IDENTIFICATION): Make these macros useful in #if
29225 expressions, as required by C99.
29226
da392631
AS
292272012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29228
29229 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29230 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29231 after this.
29232
8115f29b
L
292332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29234
29235 * stdlib/longlong.h: Updated from GCC.
29236
bdd74070
AJ
292372012-05-09 Andreas Jaeger <aj@suse.de>
29238
edfe0dbe
AJ
29239 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29240 default is first entry.
29241 (run_mode): Set type.
29242 (main): Remove informal message about syslog.
29243 (options): Fix typo.
29244
bcfe3a54
ST
29245 [BZ #14053]
29246 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29247 to asm.
bcfe3a54
ST
29248 (lrint): Likewise.
29249 (llrintf): Likewise.
29250 (llrint): Likewise.
29251 (rint): Likewise.
29252 (rintf): Likewise.
29253 (nearbyint): Likewise.
29254 (nearbyintf): Likewise.
bdd74070 29255
91d8d69e
AJ
292562012-05-09 Andreas Jaeger <aj@suse.de>
29257 Pedro Alves <palves@redhat.com>
29258
29259 * nscd/nscd.c (run_mode): Use enum.
29260 (main): Cleanup coding style issue.
29261
bb90b80b
AJ
292622012-05-09 Alexandre Oliva <aoliva@redhat.com>
29263 Andreas Jaeger <aj@suse.de>
29264
bcfe3a54
ST
29265 * nscd/nscd.c (go_background): Replaced with...
29266 (run_mode): ... this.
bb90b80b 29267 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29268 (options): Add -F --foreground.
29269 (main): Implement it.
29270 (parse_opt): Parse it.
bb90b80b 29271
1a4b75a1
AJ
292722012-05-09 Andreas Jaeger <aj@suse.de>
29273
29274 [BZ #14083]
29275 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29276 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29277 -Wconversion warning.
29278 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29279 Likewise.
29280
b1cc2472
JM
292812012-05-09 Joseph Myers <joseph@codesourcery.com>
29282
29283 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29284 == 0.
29285 (LC_ALL): Use macro-int-constant.
29286 (LC_COLLATE): Likewise.
29287 (LC_CTYPE): Likewise.
29288 (LC_MESSAGES): Likewise.
29289 (LC_MONETARY): Likewise.
29290 (LC_NUMERIC): Likewise.
29291 (LC_TIME): Likewise.
29292 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29293 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29294 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29295 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29296 Specify type.
29297 [C99-based standards] (float_t): Expect type.
29298 [C99-based standards] (double_t): Expect type.
29299 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29300 type.
29301 [C99-based standards] (HUGE_VALL): Likewise.
29302 [C99-based standards] (INFINITY): Likewise.
29303 [C99-based standards] (NAN): Likewise.
29304 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29305 [C99-based standards] (FP_NAN): Likewise.
29306 [C99-based standards] (FP_NORMAL): Likewise.
29307 [C99-based standards] (FP_SUBNORMAL): Likewise.
29308 [C99-based standards] (FP_ZERO): Likewise.
29309 [C99-based standards] (FP_FAST_FMA): Use
29310 optional-macro-int-constant. Specify type. Require == 1.
29311 [C99-based standards] (FP_FAST_FMAF): Likewise.
29312 [C99-based standards] (FP_FAST_FMAL): Likewise.
29313 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29314 [C99-based standards] (FP_ILOGBNAN): Likewise.
29315 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29316 Specify type.
29317 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29318 [C99-based standards] (math_errhandling): Specify type.
29319 [ISO99 || ISO11] (signgam): Do not allow.
29320 [non-C99-based standards] (copysignf): Do not allow.
29321 [non-C99-based standards] (exp2f): Likewise.
29322 [non-C99-based standards] (log2f): Likewise.
29323 [non-C99-based standards] (modff): Allow.
29324 [non-C99-based standards] (erff): Do not allow.
29325 [non-C99-based standards] (erfcf): Likewise.
29326 [non-C99-based standards] (gammaf): Likewise.
29327 [non-C99-based standards] (hypotf): Likewise.
29328 [non-C99-based standards] (j0f): Likewise.
29329 [non-C99-based standards] (j1f): Likewise.
29330 [non-C99-based standards] (jnf): Likewise.
29331 [non-C99-based standards] (lgammaf): Likewise.
29332 [non-C99-based standards] (tgammaf): Likewise.
29333 [non-C99-based standards] (y0f): Likewise.
29334 [non-C99-based standards] (y1f): Likewise.
29335 [non-C99-based standards] (ynf): Likewise.
29336 [non-C99-based standards] (isnanf): Likewise.
29337 [non-C99-based standards] (acoshf): Likewise.
29338 [non-C99-based standards] (asinhf): Likewise.
29339 [non-C99-based standards] (atanhf): Likewise.
29340 [non-C99-based standards] (cbrtf): Likewise.
29341 [non-C99-based standards] (expm1f): Likewise.
29342 [non-C99-based standards] (ilogbf): Likewise.
29343 [non-C99-based standards] (log1pf): Likewise.
29344 [non-C99-based standards] (logbf): Likewise.
29345 [non-C99-based standards] (nextafterf): Likewise.
29346 [non-C99-based standards] (remainderf): Likewise.
29347 [non-C99-based standards] (rintf): Likewise.
29348 [non-C99-based standards] (scalbf): Likewise.
29349 [non-C99-based standards] (copysignl): Likewise.
29350 [non-C99-based standards] (exp2l): Likewise.
29351 [non-C99-based standards] (log2l): Likewise.
29352 [non-C99-based standards] (modfl): Allow.
29353 [non-C99-based standards] (erfl): Do not allow.
29354 [non-C99-based standards] (erfcl): Likewise.
29355 [non-C99-based standards] (gammal): Likewise.
29356 [non-C99-based standards] (hypotl): Likewise.
29357 [non-C99-based standards] (j0l): Likewise.
29358 [non-C99-based standards] (j1l): Likewise.
29359 [non-C99-based standards] (jnl): Likewise.
29360 [non-C99-based standards] (lgammal): Likewise.
29361 [non-C99-based standards] (tgammal): Likewise.
29362 [non-C99-based standards] (y0l): Likewise.
29363 [non-C99-based standards] (y1l): Likewise.
29364 [non-C99-based standards] (ynl): Likewise.
29365 [non-C99-based standards] (isnanl): Likewise.
29366 [non-C99-based standards] (acoshl): Likewise.
29367 [non-C99-based standards] (asinhl): Likewise.
29368 [non-C99-based standards] (atanhl): Likewise.
29369 [non-C99-based standards] (cbrtl): Likewise.
29370 [non-C99-based standards] (expm1l): Likewise.
29371 [non-C99-based standards] (ilogbl): Likewise.
29372 [non-C99-based standards] (log1pl): Likewise.
29373 [non-C99-based standards] (logbl): Likewise.
29374 [non-C99-based standards] (nextafterl): Likewise.
29375 [non-C99-based standards] (remainderl): Likewise.
29376 [non-C99-based standards] (rintl): Likewise.
29377 [non-C99-based standards] (scalbl): Likewise.
29378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29379 [non-C99-based standards] (FP_*): Do not allow.
29380 [C99-based standards] (FP_*): Change to
29381 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29382 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29383 allow.
29384 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29385 (SIG_ERR): Likewise.
29386 [X/Open-based standards] (SIG_HOLD): Likewise.
29387 (SIG_IGN): Likewise.
29388 (SIGABRT): Use macro-int-constant. Specify type. Require
29389 positive value.
29390 (SIGFPE): Likewise.
29391 (SIGILL): Likewise.
29392 (SIGINT): Likewise.
29393 (SIGSEGV): Likewise.
29394 (SIGTER): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29408 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29413 [X/Open-based standards] (SIGTRAP): Likewise.
29414 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29415 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29416 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29417 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29418 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29419 allow.
29420
b9f1922d
IW
294212012-05-08 Ian Wienand <ianw@vmware.com>
29422
29423 [BZ #14080]
29424 * time/tzset.c (__tzset_parse_tz): Update default rules for
29425 daylight time changes in the Energy Policy Act of 2005.
29426
1db86e88
AJ
294272012-05-09 Andreas Jaeger <aj@suse.de>
29428
29429 [BZ #13983]
29430 * elf/ldconfig.c (parse_conf): Change string to make clear that
29431 ldconfig only issued a warning if ld.so.conf does not exist.
29432
dee4a4e3
DM
294332012-05-08 David S. Miller <davem@davemloft.net>
29434
ee0db190
DM
29435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29436 movxtod instead of popping the value on the stack.
29437
dee4a4e3
DM
29438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29439
6a43ec98
CD
294402012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29441
29442 * config.h.in: Add HAVE_ARM_PCS_VFP.
29443
05c2c961
RMG
294442012-05-08 Roland Mc Grath <roland@hack.frob.com>
29445
bcfe3a54
ST
29446 [BZ #13979]
29447 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29448 checking but the checks are disabled for any reason.
05c2c961 29449
4b30f61a
L
294502012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29451
29452 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29453 and ELF64_R_TYPE with ELFW(R_TYPE).
29454
eee2bc67
JM
294552012-05-08 Joseph Myers <joseph@codesourcery.com>
29456
7ea5391a
JM
29457 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29458 (ulimit): Likewise.
29459
eee2bc67
JM
29460 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29461 (settimeofday): Likewise.
29462
abb66a67
MF
294632012-05-08 Mike Frysinger <vapier@gentoo.org>
29464
29465 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29466 a struct th_u2 inside the union, and move tu_block/tu_code into
29467 a new th_u3 union of tu_block/tu_code inside of that. Move
29468 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29469 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29470 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29471 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29472 (th_stuff): Change to th_u1.tu_stuff.
29473 (th_data): Define.
29474 (th_msg): Change to th_u1.th_u2.tu_data.
29475
7f18b530
DM
294762012-05-07 David S. Miller <davem@davemloft.net>
29477
05760585
DM
29478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29479
7f18b530
DM
29480 [BZ #14074]
29481 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29482 (SETUP_PIC_REG): Use it.
29483 (SETUP_PIC_REG_LEAF): Use it.
29484
495fd99f
JM
294852012-05-07 Joseph Myers <joseph@codesourcery.com>
29486
29487 [BZ #13885]
29488 [BZ #13923]
29489 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29490 USE_AS_EXPM1L.
29491 (EXPL_FINITE): Likewise.
29492 (FLDLOG): Likewise.
29493 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29494 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29495 e_expl.S.
29496 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29497 USE_AS_EXPM1L.
29498 (EXPL_FINITE): Likewise.
29499 (FLDLOG): Likewise.
29500 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29501 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29502 e_expl.S.
29503 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29504 test of -max_value argument for long double.
29505 * sysdeps/i386/fpu/libm-test-ulps: Update.
29506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29507
6693d694
DM
295082012-05-06 David S. Miller <davem@davemloft.net>
29509
29510 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29511 quad soft-float symbols whose references which are compiler
29512 generated.
29513 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29514
6c23e11c
JM
295152012-05-06 Joseph Myers <joseph@codesourcery.com>
29516
d8b82cad
JM
29517 [BZ #13884]
29518 [BZ #13914]
29519 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29520 USE_AS_EXP10L.
29521 (EXPL_FINITE): Likewise.
29522 (FLDLOG): Likewise.
29523 (c0): Likewise.
29524 (c1): Likewise.
29525 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29526 Adjust comments for base varying.
29527 (__expl_finite): Change alias to EXPL_FINITE.
29528 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29529 e_expl.S.
29530 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29531 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29532 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29533 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29534 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29535 USE_AS_EXP10L.
29536 (EXPL_FINITE): Likewise.
29537 (FLDLOG): Likewise.
29538 (c0): Likewise.
29539 (c1): Likewise.
29540 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29541 Adjust comments for base varying.
29542 (__expl_finite): Change alias to EXPL_FINITE.
29543 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29544 tests for bugs.
29545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29546
6c23e11c
JM
29547 [BZ #14064]
29548 * math/libm-test.inc (check_float_internal): Correct ulp
29549 calculation for subnormal expected results.
29550
29ba805c
AJ
295512012-05-06 Andreas Jaeger <aj@suse.de>
29552
29553 * Makeconfig (+math-flags): New, set to -frounding-math.
29554 (+cflags): Add +math-flags so that all of glibc gets compiled with
29555 it.
29556
29557 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29558
7b17aeda
JM
295592012-05-05 Joseph Myers <joseph@codesourcery.com>
29560
5779f134
JM
29561 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29562 Disable one test.
29563
41498f4d
JM
29564 [BZ #13787]
29565 [BZ #13922]
29566 [BZ #14036]
29567 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29568 (__ieee754_expl): Allow for and saturate large arguments.
29569 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29570 (u_threshold): Likewise.
29571 (__exp): Call __ieee754_exp before checking for overflow and
29572 underflow.
29573 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29574 (u_threshold): Likewise.
29575 (__expf): Call __ieee754_expf before checking for overflow and
29576 underflow.
29577 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29578 (u_threshold): Likewise.
29579 (__expl): Call __ieee754_expl before checking for overflow and
29580 underflow.
29581 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29582 (__ieee754_expl): Allow for and saturate large arguments.
29583 * math/libm-test.inc (exp_test): Add another test. Do not allow
29584 missing overflow exception on overflow.
29585 (expm1_test): Do not allow missing overflow exception on overflow.
29586
6698b8bf
JM
29587 * sysdeps/i386/fpu/e_expl.c: Move to ...
29588 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29589 rather than using inline asm.
29590 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29591 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29592 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29593
7b17aeda
JM
29594 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29595 (nice): Likewise.
29596 (poll): Likewise.
29597 (signal): Likewise.
29598 (time): Likewise.
29599 (times): Likewise.
29600
f7c85819
JM
296012012-05-04 Joseph Myers <joseph@codesourcery.com>
29602
29603 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29604 sysdeps/unix/common/syscalls.list.
29605 (fchmod): Likewise.
29606 (fchown): Likewise.
29607 (ftruncate): Likewise.
29608 (getrusage): Likewise.
29609 (gettimeofday): Likewise.
29610 (setpgid): Likewise.
29611 (setregid): Likewise.
29612 (setreuid): Likewise.
29613 (sigaction): Likewise.
29614 (truncate): Likewise.
29615 (vhangup): Likewise.
29616 * sysdeps/unix/common/syscalls.list: Remove file.
29617 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29618 * sysdeps/unix/sysv/linux/Implies: Likewise.
29619
336270d0
L
296202012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29621
29622 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29624 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29625 Moved to ...
29626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29627 Here.
29628 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29629 to ...
29630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29631 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29632 to ...
29633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29634 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29635 to ...
29636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29637 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29638 to ...
29639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29640 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29641 to ...
29642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29643 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29644 to ...
29645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29646 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29647 to ...
29648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29649 Here.
29650 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29651 to ...
29652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29653 Here.
29654 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29655 to ...
29656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29657 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29658 Moved to ...
29659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29660 Here.
29661 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29662 to ...
29663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29664
d128e450
JM
296652012-05-04 Joseph Myers <joseph@codesourcery.com>
29666
fa8ee516
JM
29667 * sysdeps/unix/common/bits/dirent.h: Remove file.
29668 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29669
d128e450
JM
29670 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29671 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29672 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29673 * sysdeps/unix/bsd/isatty.c: Likewise.
29674 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29675 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29676 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29677
ff8faaf0 296782012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29679
62881be4 29680 [BZ #13563]
31dc8730
AZ
29681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29682 long double comparison inaccuracies.
29683 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29685
6fef930c
AS
296862012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29687
29688 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29689 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29690
8f203e6c
JM
296912012-05-04 Joseph Myers <joseph@codesourcery.com>
29692
29693 [BZ #14049]
29694 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29695 nonzero digits before rounding a hex value.
29696 * stdlib/tst-strtod.c (tests): Add another test.
29697
5197d9c2
AK
296982012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29699
29700 * sysdeps/s390/fpu/libm-test-ulps: Update.
29701
f0c1dedf
AJ
297022012-05-03 Andreas Jaeger <aj@suse.de>
29703
29704 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29705 does not get optimized out.
29706 (malloc_opt_barrier): New.
29707
a65ef2ae 297082012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29709 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29710
2b942cb7 29711 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29712 intermediate file deletion.
2b942cb7 29713 (generated): Add .symlist files.
a65ef2ae 29714
54b71e02
JM
297152012-05-03 Joseph Myers <joseph@codesourcery.com>
29716
29717 [BZ #13775]
29718 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29719 Redirect under this condition.
29720 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29721 [__USE_GNU] (__dprintf_chk): Not under this condition.
29722 [__USE_GNU] (__vdprintf_chk): Likewise.
29723 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29724 under this condition.
29725 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29726 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29727 [__USE_XOPEN2K8] (vdprintf): Likewise.
29728 [__USE_GNU] (__dprintf_chk): Not under this condition.
29729 [__USE_GNU] (__vdprintf_chk): Likewise.
29730 [__USE_GNU] (dprintf): Likewise.
29731 [__USE_GNU] (vdprintf): Likewise.
29732
d3dfcc41
RM
297332012-05-03 Roland McGrath <roland@hack.frob.com>
29734
29735 * elf/Makefile (common-generated): Set this instead of generated for
29736 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29737 $(all-built-dso)-derived lists.
29738
7ac30cc5
AJ
297392012-05-03 Andreas Jaeger <aj@suse.de>
29740
0c51e550
AJ
29741 * sysdeps/i386/fpu/libm-test-ulps: Update.
29742
7ac30cc5
AJ
29743 * FAQ: Removed.
29744 * FAQ.in: Likewise.
29745 * scripts/gen-FAQ.pl: Likewise.
29746 * manual/install.texi (Installation): Point to online location of
29747 FAQ.
29748 * Makefile (files-for-dist): Remove FAQ.
29749 (FAQ): Remove.
29750
d4c2917f
AM
297512012-05-02 Allan McRae <allan@archlinux.org>
29752
29753 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29754 (LDFLAGS-reldepmod5.so): Likewise.
29755 (LDFLAGS-reldep6mod1.so): Likewise.
29756 (LDFLAGS-reldep6mod4.so): Likewise.
29757 (LDFLAGS-reldep8mod3.so): Likewise.
29758 (LDFLAGS-unload4mod1.so): Likewise.
29759 (LDFLAGS-unload4mod2.so): Likewise.
29760 (LDFLAGS-tst-initorder): Likewise.
29761 (LDFLAGS-tst-initordera2.so): Likewise.
29762 (LDFLAGS-tst-initordera3.so): Likewise.
29763 (LDFLAGS-tst-initordera4.so): Likewise.
29764 (LDFLAGS-tst-initorderb2.so): Likewise.
29765 (LDFLAGS-noload): Likewise.
29766 (LDFLAGS-next): Likewise.
29767 (LDFLAGS-order2mod1.so): Likewise.
29768 (LDFLAGS-order2mod2.so): Likewise.
29769 (LDFLAGS-tst-initorder2): Likewise.
29770 (LDFLAGS-tst-initorder2a.so): Likewise.
29771 (LDFLAGS-tst-initorder2b.so): Likewise.
29772 (LDFLAGS-tst-initorder2c.so): Likewise.
29773 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29774
d77f993f
DM
297752012-05-02 David S. Miller <davem@davemloft.net>
29776
29777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29778
171a70b4
PP
297792012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29780
29781 [BZ #14055]
29782 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29783
0be196ad
AJ
297842012-05-02 Andreas Jaeger <aj@suse.de>
29785
29786 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29787 since we manipulate rounding mode.
29788 (CPPFLAGS-test-idouble.c): Likewise.
29789 (CPPFLAGS-test-ifloat.c): Likewise.
29790 (CFLAGS-test-ldouble.c): Likewise.
29791 (CFLAGS-test-double.c): Likewise.
29792 (CFLAGS-test-float.c): Likewise.
29793 (CFLAGS-test-misc.c): Likewise.
29794 (CFLAGS-test-test-fenv.c): Likewise.
29795
4f9d04aa
AZ
297962012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29797
2b942cb7
RM
29798 [BZ #2550]
29799 [BZ #2570]
29800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29801 comparisons to determine direction to adjust input.
4f9d04aa 29802
82a79e7d
RM
298032012-05-01 Roland McGrath <roland@hack.frob.com>
29804
f5a01ca9
RM
29805 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29806 output to the target.
29807
90fe4186
RM
29808 * scripts/localplt.awk: New file.
29809 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29810 (check-localplt-CFLAGS): Variable removed.
29811 ($(all-built-dso:=.jmprel)): New static pattern rule.
29812 (generated): Add those targets.
29813 (localplt-built-dso): New variable.
29814 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29815
29816 * elf/check-localplt.c: File removed.
29817
82397ed6
RM
29818 * scripts/check-execstack.awk: New file.
29819 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29820 (check-execstack-CFLAGS): Variable removed.
29821 ($(objpfx)check-execstack.h): Target removed.
29822 ($(objpfx)execstack-default): New target.
29823 (generated): Add that instead of check-execstack.h.
29824 ($(all-built-dso:=.phdr)): New static pattern rule.
29825 (generated): Add those targets.
29826 * elf/check-execstack.c: File removed.
29827
82a79e7d
RM
29828 * scripts/check-textrel.awk: New file.
29829 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29830 (check-textrel-CFLAGS): Variable removed.
29831 (all-built-dso): Use := to define.o
29832 ($(all-built-dso:=.dyn)): New static pattern rule.
29833 (generated): Add those targets.
29834 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29835 * config.make.in (READELF): New substituted variable.
29836 * elf/check-textrel.c: File removed.
29837
62fde54f 298382012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29839
615605c9
JM
29840 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29841 allow.
29842 * conform/data/ctype.h-data [C99-based standards] (isblank):
29843 Expect function.
29844 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29845 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29846 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29847 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29848 Specify type. Require positive value.
29849 (EILSEQ): Likewise.
29850 (ERANGE): Likewise.
29851 [ISO || POSIX] (EILSEQ): Do not expect.
29852 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29853 Specify type. Require positive value.
29854 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29928 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29929 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29930 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29931 Require >= 2.
29932 (FLT_ROUNDS): Expect as macro, not constant.
29933 (FLT_MANT_DIG): Use macro-int-constant.
29934 (DBL_MANT_DIG): Likewise.
29935 (LDBL_MANT_DIG): Likewise.
29936 (FLT_DIG): Likewise.
29937 (DBL_DIG): Likewise.
29938 (LDBL_DIG): Likewise.
29939 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29940 (DBL_MIN_EXP): Likewise.
29941 (LDBL_MIN_EXP): Likewise.
29942 (FLT_MAX_EXP): Use macro-int-constant.
29943 (DBL_MAX_EXP): Likewise.
29944 (LDBL_MAX_EXP): Likewise.
29945 (FLT_MAX_10_EXP): Likewise.
29946 (DBL_MAX_10_EXP): Likewise.
29947 (LDBL_MAX_10_EXP): Likewise.
29948 (FLT_MAX): Use macro-constant.
29949 (DBL_MAX): Likewise.
29950 (LDBL_MAX): Likewise.
29951 (FLT_EPSILON): Use macro-constant. Give upper bound.
29952 (DBL_EPSILON): Likewise.
29953 (LDBL_EPSILON): Likewise.
29954 (FLT_MIN): Likewise.
29955 (DBL_MIN): Likewise.
29956 (LDBL_MIN): Likewise.
29957 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29958 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29959 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29960 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29961 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29962 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29963 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29964 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29965 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29966 [ISO11] (FLT_TRUE_MIN): Likewise.
29967 [ISO11] (LDBL_TRUE_MIN): Likewise.
29968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29969 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29970 (SCHAR_MIN): Use macro-int-constant. Specify type.
29971 (SCHAR_MAX): Likewise.
29972 (UCHAR_MAX): Likewise.
29973 (CHAR_MIN): Likewise.
29974 (CHAR_MAX): Likewise.
29975 (MB_LEN_MAX): Use macro-int-constant.
29976 (SHRT_MIN): Use macro-int-constant. Specify type.
29977 (SHRT_MAX): Likewise.
29978 (USHRT_MAX): Likewise.
29979 (INT_MAX): Likewise.
29980 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29981 bound negative.
29982 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29983 bound with "U".
29984 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29985 bound with "L".
29986 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29987 bound negative. Suffix upper bound with "L".
29988 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29989 bound with "UL".
29990 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29991 Specify type.
29992 [C99-based standards] (LLONG_MAX): Likewise.
29993 [C99-based standards] (ULLONG_MAX): Likewise.
29994 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29995 == 0.
29996 [ISO11] (max_align_t): Require type.
29997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29998
c9140a62
JM
29999 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30000 from $CFLAGS, without defining away __attribute__ calls.
30001 (checknamespace): Use $CFLAGS_namespace.
30002
9af0bf29
JM
30003 * conform/conformtest.pl (@keywords): Only include C99 keywords
30004 for standards based on C99 or C11.
30005
343222a2
JM
30006 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30007 Disable tests.
30008 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30009 UNIX98]: Likewise.
30010
661f8cf0
JM
30011 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30012 usability of symbols in #if.
30013
ee74b9cb
JM
30014 * conform/conformtest.pl: If macro or constant types start
30015 "promoted:", expect the symbol to be of the following type
30016 promoted by the integer promotions.
62fde54f 30017
aafc49b3
JM
30018 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30019 in one place. Also handle "macro-constant".
30020
fefdf574
JM
30021 * conform/conformtest.pl: Only accept expected macro values with
30022 "==". Parse all "macro" lines in one place.
30023 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30024
f2d922fe
JM
30025 * conform/conformtest.pl: Handle braced types on "constant" lines
30026 instead of handling "typed-constant".
30027 * conform/data/signal.h-data: Use "constant" instead of
30028 "typed-constant".
30029
d22956c9
JM
30030 * conform/conformtest.pl: Handle "optional-" at start of lines in
30031 one place rather than duplicating several cases. Handle each
30032 format of "macro" line with initial "optional-".
30033
028e2e38
JM
30034 * conform/conformtest.pl: Only accept expected constant or
30035 optional-constant values with "==". Parse all "constant" lines in
30036 one place. Parse all "optional-constant" lines in one place.
30037 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30038 * conform/data/fmtmsg.h-data: Likewise.
30039 * conform/data/netinet/in.h-data: Likewise.
30040 * conform/data/tar.h-data: Likewise.
30041 * conform/data/limits.h-data: Use "==" form on "constant" and
30042 "optional-constant" lines.
30043
1b8f2850
JM
30044 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30045 Use -std=c99 for XOPEN2K.
30046 (@knownproblems): Remove.
30047 (newtoken): Don't check %isknown.
30048
a05a144b
JM
30049 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30050 Do not expect macro.
30051 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30063 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30064 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30081 [XPG3] (acosh): Likewise.
30082 [XPG3] (asinh): Likewise.
30083 [XPG3] (atanh): Likewise.
30084 [XPG3] (cbrt): Likewise.
30085 [XPG3] (expm1): Likewise.
30086 [XPG3] (ilogb): Likewise.
30087 [XPG3] (log1p): Likewise.
30088 [XPG3] (logb): Likewise.
30089 [XPG3] (nextafter): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30092 [XPG3] (remainder): Likewise.
30093 [XPG3] (rint): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30101 [UNIX98 || XOPEN2K] (scalb): Expect.
30102 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30103 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30239
73c5ebe3
JM
30240 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30241 _XOPEN_SOURCE_EXTENDED for XPG4.
30242
39c33b6c
JM
30243 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30244
62fde54f
JM
30245 * Makeconfig (localtime): Remove variable.
30246 (inst_localtime-file): Likewise.
30247
0741d64c
AS
302482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30249
30250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30251 Update.
30252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30253 Update.
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30255 Update.
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30257 Update.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30259 Update.
30260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30261 Update.
30262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30263 Update.
30264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30265 Update.
30266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30267 Update.
30268
7cb029ee
JM
302692012-05-01 Joseph Myers <joseph@codesourcery.com>
30270
30271 [BZ #2550]
30272 [BZ #2570]
30273 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30274 comparisons to determine direction to adjust input.
30275 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30276 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30277 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30278 Likewise.
30279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30280 Likewise.
30281 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30282 Likewise.
30283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30285 Likewise.
30286 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30287 Likewise.
30288 * math/libm-test.inc (nexttoward_test): Add more tests.
30289
412bd966
AS
302902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30291
30292 [BZ #14040]
30293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30294 in version GLIBC_2.1, not GLIBC_2.0.
30295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30296 Likewise.
30297
9568c0c2
JM
302982012-04-30 Joseph Myers <joseph@codesourcery.com>
30299
adfbc8ac
JM
30300 [BZ #13942]
30301 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30302 (1 - x) * (1 + x).
30303 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30304 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30305 * math/libm-test.inc (acos_test): Add more tests.
30306 (asin_test): Likewise.
30307 * sysdeps/i386/fpu/libm-test-ulps: Update.
30308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30309
5ba3cc69
JM
30310 [BZ #14034]
30311 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30312 of square root.
30313 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30314 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30315 * math/libm-test.inc (acos_test_tonearest): New function.
30316 (acos_test_towardzero): Likewise.
30317 (acos_test_downward): Likewise.
30318 (acos_test_upward): Likewise.
30319 (asin_test_tonearest): Likewise.
30320 (asin_test_towardzero): Likewise.
30321 (asin_test_downward): Likewise.
30322 (asin_test_upward): Likewise.
30323 (main): Call the new functions.
30324 * sysdeps/i386/fpu/libm-test-ulps: Update.
30325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30326
9568c0c2
JM
30327 [BZ #13884]
30328 [BZ #13924]
30329 * math/e_exp10.c: Include <float.h>.
30330 (__ieee754_exp10): Handle underflow here rather than multiplying
30331 large negative argument by M_LN10.
30332 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30333 of __ieee754_expf.
30334 * math/e_exp10l.c: Include <float.h>.
30335 (__ieee754_exp10l): Handle underflow here rather than multiplying
30336 large negative argument by M_LN10l.
30337 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30338 spurious overflow exception on underflow.
30339
5ac3ea17
MP
303402012-04-29 Marek Polacek <polacek@redhat.com>
30341
30342 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30343 (__fortify_function): New macro.
30344 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30345 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30346 __extern_always_inline.
30347 * libio/bits/stdio2.h: Likewise.
30348 * libio/bits/stdio.h: Likewise.
30349 * string/string.h: Likewise.
30350 * string/bits/string3.h: Likewise.
30351 * include/stdio.h: Likewise.
30352 * stdlib/bits/stdlib.h: Likewise.
30353 * stdlib/stdlib.h: Likewise.
30354 * rt/bits/mqueue2.h: Likewise.
30355 * rt/mqueue.h: Likewise.
30356 * posix/bits/unistd.h: Likewise.
30357 * posix/unistd.h: Likewise.
30358 * io/bits/poll2.h: Likewise.
30359 * io/bits/fcntl2.h: Likewise.
30360 * io/fcntl.h: Likewise.
30361 * io/sys/poll.h: Likewise.
30362 * misc/bits/syslog.h: Likewise.
30363 * misc/bits/syslog-ldbl.h: Likewise.
30364 * misc/sys/syslog.h: Likewise.
30365 * socket/bits/socket2.h: Likewise.
30366 * socket/sys/socket.h: Likewise.
30367 * debug/tst-chk1.c: Likewise.
30368 * wcsmbs/bits/wchar2.h: Likewise.
30369 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30370 * wcsmbs/wchar.h: Likewise.
30371
ecf0ebfb
AJ
303722012-04-29 Andreas Jaeger <aj@suse.de>
30373
30374 * Makerules (tests): Remove enable-check-abi protection.
30375 (check-abi-warn): Remove.
30376 (check-abi-%): Remove check-abi-warn usage.
30377
30378 * configure.in: Remove check-abi configure option.
30379 * configure: Regenerated.
30380 * config.make.in (enable-check-abi): Remove.
30381
6d5c57fa
AS
303822012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30383
24c5d07e 30384 [BZ #14033]
ded5180a
AS
30385 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30386 double functions to double *_finite functions.
30387
7e0d315d
AS
30388 [BZ #13941]
30389 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30390 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30391 LDBL_MIN_EXP.
30392 * stdio-common/Makefile (tests): Add tst-sprintf3.
30393 * stdio-common/tst-sprintf3.c: New file.
30394
6d5c57fa
AS
30395 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30396 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30397
0749ff8b
JM
303982012-04-28 Joseph Myers <joseph@codesourcery.com>
30399
30400 * conform/conformtest.pl: Remove duplicate typed-constant
30401 handling.
30402
8dbd5d7b
DM
304032012-04-28 David S. Miller <davem@davemloft.net>
30404
30405 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30406 (check-abi-%): Remove AWK script prerequisite and explicit
30407 abilist directory.
30408 (check-abi): Rewrite to just diff the symlist with the abilist.
30409 (config-tls, config-abi-config): Delete, no longer used.
30410 (update-abi-%): Remove AWK script and explicit abilist directory.
30411 (update-abi): Rewrite to simply compare and conditionally copy the
30412 symlist and the sysdep abilist file. Remove update-abi-config
30413 checks.
30414 * abilist/ld.abilist: Remove.
30415 * abilist/libBrokenLocale.abilist: Remove.
30416 * abilist/libanl.abilist: Remove.
30417 * abilist/libcrypt.abilist: Remove.
30418 * abilist/libdl.abilist: Remove.
30419 * abilist/librt.abilist: Remove.
30420 * abilist/libthread_db.abilist: Remove.
30421 * abilist/libutil.abilist: Remove.
30422 * scripts/extract-abilist.awk: Remove.
30423 * scripts/merge-abilist.awk: Remove.
30424 * sysdeps/generic/libcidn.abilist: New file.
30425 * sysdeps/generic/libnss_compat.abilist: New file.
30426 * sysdeps/generic/libnss_db.abilist: New file.
30427 * sysdeps/generic/libnss_dns.abilist: New file.
30428 * sysdeps/generic/libnss_files.abilist: New file.
30429 * sysdeps/generic/libnss_hesiod.abilist: New file.
30430 * sysdeps/generic/libnss_nis.abilist: New file.
30431 * sysdeps/generic/libnss_nisplus.abilist: New file.
30432 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30433 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30434 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30435 file.
30436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30437 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30438 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30439 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30440 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30441 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30442 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30443 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30444 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30445 file.
30446 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30447 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30448 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30449 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30450 file.
30451 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30452 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30453 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30454 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30455 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30456 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30457 file.
30458 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30459 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30460 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30461 file.
30462 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30464 New file.
30465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30466 New file.
30467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30468 New file.
30469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30470 New file.
30471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30472 New file.
30473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30474 New file.
30475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30476 New file.
30477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30478 New file.
30479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30480 New file.
30481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30482 New file.
30483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30484 New file.
30485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30486 New file.
30487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30488 New file.
30489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30490 file.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30492 New file.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30494 New file.
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30496 file.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30498 New file.
30499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30500 New file.
30501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30502 file.
30503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30504 New file.
30505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30506 New file.
30507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30508 New file.
30509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30510 New file.
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30512 New file.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30514 New file.
30515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30517 file.
30518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30519 New file.
30520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30521 file.
30522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30523 file.
30524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30525 file.
30526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30527 file.
30528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30529 file.
30530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30531 New file.
30532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30533 file.
30534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30535 file.
30536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30537 New file.
30538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30539 file.
30540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30542 file.
30543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30544 New file.
30545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30546 file.
30547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30548 file.
30549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30550 file.
30551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30552 file.
30553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30554 file.
30555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30556 New file.
30557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30558 file.
30559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30560 file.
30561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30562 New file.
30563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30564 file.
30565 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30566 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30567 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30568 file.
30569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30570 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30571 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30572 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30573 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30574 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30575 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30576 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30577 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30578 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30581 file.
30582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30583 New file.
30584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30585 file.
30586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30587 file.
30588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30589 file.
30590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30591 file.
30592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30593 file.
30594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30595 New file.
30596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30597 New file.
30598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30599 file.
30600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30601 New file.
30602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30603 file.
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30606 file.
30607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30608 New file.
30609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30610 file.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30612 file.
30613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30614 file.
30615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30616 file.
30617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30618 file.
30619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30620 New file.
30621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30622 New file.
30623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30624 file.
30625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30626 New file.
30627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30628 file.
30629
41d73a1b
JM
306302012-04-28 Joseph Myers <joseph@codesourcery.com>
30631
30632 * conform/conformtest.pl: Fix typo in handling typed-constant from
30633 allow-header.
30634
28aeeda4
JM
306352012-04-27 Joseph Myers <joseph@codesourcery.com>
30636
adae8f5e
JM
30637 * README: Cut down references to pre-2.6 Linux kernels and
30638 Linuxthreads. Update lists of configurations in libc and ports
30639 and sort alphabetically. Say "or newer" with Linux kernel version
30640 requirements.
30641
28aeeda4
JM
30642 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30643
a462cb63
RA
306442012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30645
30646 [BZ #887]
30647 * math/libm-test.inc (logb_test_downward): New test to expose
30648 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30649 rounding mode.
30650
6ad3493e
JM
306512012-04-27 Joseph Myers <joseph@codesourcery.com>
30652
30653 [BZ #14027]
30654 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30655 to be done.
30656 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30657 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30658
2ce4f015
JM
306592012-04-26 Joseph Myers <joseph@codesourcery.com>
30660
5aeb141a
JM
30661 * sysdeps/unix/i386/brk.S: Remove file.
30662 * sysdeps/unix/i386/dl-brk.S: Likewise.
30663 * sysdeps/unix/i386/pipe.S: Likewise.
30664 * sysdeps/unix/i386/sigreturn.S: Likewise.
30665 * sysdeps/unix/i386/syscall.S: Likewise.
30666 * sysdeps/unix/i386/vfork.S: Likewise.
30667 * sysdeps/unix/i386/wait.S: Likewise.
30668
7143acae
JM
30669 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30670 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30671
2ce4f015
JM
30672 * configure.in (arm*-none*): Do not allow without
30673 --enable-hacker-mode.
30674 (netbsd*): Remove case setting base_os.
30675 (386bsd*): Likewise.
30676 (freebsd*): Likewise.
30677 (bsdi*): Likewise.
30678 (osf*): Likewise.
30679 (sunos*): Likewise.
30680 (ultrix*): Likewise.
30681 (newsos*): Likewise.
30682 (dynix*): Likewise.
30683 (*bsd*): Likewise.
30684 (sysv*): Likewise.
30685 (isc*): Likewise.
30686 (esix*): Likewise.
30687 (sco*): Likewise.
30688 (minix*): Likewise.
30689 (irix4*): Likewise.
30690 (irix6*): Likewise.
30691 (solaris[2-9]*): Likewise.
30692 (none): Likewise.
30693 * configure: Regenerated.
30694
0ac229c8
AZ
306952012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30696
30697 [BZ #11521]
30698 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30699 overflow or cancellation in calculating denominator.
30700 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30702 down expression to avoid unexpected rounding in newer GCCs.
30703 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30704
33f244f4
DM
307052012-04-26 David S. Miller <davem@davemloft.net>
30706
30707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30708 long-double compat symbols.
30709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30722
cfa1f3e8
DM
307232012-04-25 David S. Miller <davem@davemloft.net>
30724
30725 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30726 HWCAP_* values only after the memory barriers have been defined.
30727 (atomic_full_barrier): Define.
30728 (atomic_read_barrier): Define.
30729 (atomic_write_barrier): Define.
30730
6e236b92
SP
307312012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30732
30733 * shlib-versions: Add libgcc_s version information.
30734 * sysdeps/generic/libgcc_s.h: Remove.
30735 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30736 libgcc_s.h.
30737 * sysdeps/gnu/unwind-resume.c: Likewise.
30738 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30739
aab39a09
DM
307402012-04-25 David S. Miller <davem@davemloft.net>
30741
30742 * sysdeps/unix/sparc/brk.S: Delete.
30743 * sysdeps/unix/sparc/dl-brk.S: Delete.
30744 * sysdeps/unix/sparc/pipe.S: Delete.
30745 * sysdeps/unix/sparc/sysdep.S: Delete.
30746 * sysdeps/unix/sparc/sysdep.h: Delete.
30747 * sysdeps/unix/sparc/vfork.S: Delete.
30748 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30749 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30751 ret_ERRVAL, r0, r1, MOVE): Define.
30752 (JUMPTARGET): Remove.
30753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30754 sysdeps/unix/sparc/sysdep.h
30755 (ENTRY, END): Remove.
30756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30757
a3cc4f48
JM
307582012-04-25 Joseph Myers <joseph@codesourcery.com>
30759
2ed8cda2
JM
30760 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30761 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30762 -DIS_IN_build.
30763
35d76d59
JM
30764 * timezone/README: Update upstream location and email address for
30765 tzcode and tzdata.
30766 * timezone/zdump.c: Update from tzcode 2012b.
30767 * timezone/zic.c: Likewise.
30768
a3cc4f48
JM
30769 * configure.in (libc_cv_as_needed): Remove test.
30770 * configure: Regenerated.
30771 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30772 conditional definition.
30773 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30774 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30775 * config.make.in (have-as-needed): Remove variable.
30776
ceab42c3
SP
307772012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30778 Paul Pluzhnikov <ppluzhnikov@google.com>
30779
30780 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30781 strings correctly.
30782
3ce2865f
CLT
307832012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30784
30785 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30786 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30787 * sysdeps/sh/strlen.S: Likewise.
30788
f37e0d68
JM
307892012-04-24 Joseph Myers <joseph@codesourcery.com>
30790
ae186e9a
JM
30791 * sysdeps/unix/fork.S: Remove file.
30792 * sysdeps/unix/i386/fork.S: Likewise.
30793 * sysdeps/unix/sparc/fork.S: Likewise.
30794
b96914af
JM
30795 * sysdeps/unix/system.c: Remove file.
30796 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30797
f37e0d68
JM
30798 * sysdeps/unix/getegid.S: Remove file.
30799 * sysdeps/unix/geteuid.S: Likewise.
30800
87ef29ca
RM
308012012-04-24 Roland McGrath <roland@hack.frob.com>
30802
83bcd236
RM
30803 * scripts/check-localplt.awk: New file.
30804 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30805 of diff.
30806 * scripts/data/localplt-generic.data: Add a comment.
30807
87ef29ca
RM
30808 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30809 NODE when __dir_mkfile failed.
30810 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30811 Reported by Ludovic Courtès <ludo@gnu.org>.
30812
e5a6e567
AJ
308132012-04-24 Andreas Jaeger <aj@suse.de>
30814
30815 * Makerules (common-clean): Also remove gen-as-const-headers
30816 files.
30817
c1820385
JM
308182012-04-24 Joseph Myers <joseph@codesourcery.com>
30819
30820 * Makerules (native-compile): Do not change working directory for
30821 build. Use $(OUTPUT_OPTION) in command.
30822 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30823
94e02fc4
AZ
308242012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30825
30826 [BZ #13886]
30827 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30828 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30829 * math/libm-test.inc (floor_test): Add more tests.
30830 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30831
3a533ca3
JM
308322012-04-24 Joseph Myers <joseph@codesourcery.com>
30833
940ab4b3
JM
30834 * sysdeps/unix/getdents.c: Remove file.
30835 * sysdeps/unix/sysv/getdents.c: Likewise.
30836 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30837
90e037bd
JM
30838 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30839 sysdeps/unix/mman/syscalls.list.
30840 (mmap): Likewise.
30841 (mprotect): Likewise.
30842 (msync): Likewise.
30843 (munmap): Likewise.
30844 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30845 * sysdeps/unix/mman/syscalls.list: Remove.
30846 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30847
3a533ca3
JM
30848 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30849 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30850 * configure: Regenerated.
30851 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30852 $(libgcc_s_suffix).
30853 * config.make.in (libgcc_s_suffix): Remove variable.
30854
1ad743de
JM
308552012-04-23 Joseph Myers <joseph@codesourcery.com>
30856
4ad451e2
JM
30857 * sysdeps/unix/sysv/gethostname.c: Move to ...
30858 * sysdeps/posix/gethostname.c: ... here.
30859
5e37ce39
JM
30860 * sysdeps/unix/execve.S: Remove file.
30861
1ad743de
JM
30862 * sysdeps/unix/_exit.S: Remove file.
30863
4e681b5b
AJ
308642012-04-23 Andreas Jaeger <aj@suse.de>
30865
30866 [BZ #13739]
30867 * manual/Makefile: Remove make dist support, there's no
30868 need for a stand-alone documentation tar ball.
30869 (TEXI2DVI): Define always, it's not in Makeconfig.
30870 (dist): Removed.
30871 (tar-it): Removed.
30872 (edition): Removed.
30873 (glibc-doc-$(edition).tar): Removed
30874 (%.Z): Removed.
30875 (%.gz): Removed.
30876 (%.uu): Removed.
30877 (ETAGS): Remove, it's in Makeconfig.
30878 (move-if-change): Remove, it's in Makeconfig.
30879
38686a03 308802012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30881
30882 [BZ #13970]
30883 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30884 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30885 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30886 (strtod_l, strtof_l, strtold_l): Remove __wur.
30887 It is not necessarily an error to ignore strtol's return value.
30888 One can reliably look at the stored endptr to decide whether
30889 the number had valid syntax.
30890
7c0616fa
AJ
308912012-04-21 Andreas Jaeger <aj@suse.de>
30892
803cb6b7 30893 [BZ #13739]
7c0616fa
AJ
30894 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30895
b0fe253f
JM
308962012-04-21 Joseph Myers <joseph@codesourcery.com>
30897
30898 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30899 * sysdeps/unix/sysv/Versions: Remove file.
30900
8280f22d
MT
309012012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30902
30903 [BZ #13927]
30904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30905
75ce411f 309062012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30907
30908 [BZ #7064]
30909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30910 version from __vm86.
30911
097d59fa
JM
309122012-04-20 Joseph Myers <joseph@codesourcery.com>
30913
a90f3bcb
JM
30914 * sysdeps/unix/common/lxstat.c: Remove file.
30915 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30916
edc7ea78
JM
30917 * sysdeps/unix/sysv/Makefile: Remove file.
30918
cb78c221
JM
30919 * sysdeps/unix/sysv/direct.h: Remove file.
30920
efa6a45f
JM
30921 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30922 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30923 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30924 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30925 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30926 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30927 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30928
9c9f2d0c
JM
30929 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30930
4541c83b
JM
30931 * sysdeps/unix/xmknod.c: Remove file.
30932 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30933
f5d153a0
JM
30934 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30935
aa746595
JM
30936 * sysdeps/unix/sysv/i386/time.S: Remove file.
30937
cce5905e
JM
30938 * sysdeps/unix/fxstat.c: Remove file.
30939 * sysdeps/unix/xstat.c: Likewise.
30940 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30941
37fa3841
JM
30942 * sysdeps/unix/sysv/sigaction.c: Remove file.
30943
ff1962a3
JM
30944 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30945 (sysdep_headers): Remove variable.
30946 [termio.h not in sysdep_headers] (generated): Likewise.
30947 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30948 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30949 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30950 * sysdeps/unix/sysv/tcflow.c: Likewise.
30951 * sysdeps/unix/sysv/tcflush.c: Likewise.
30952 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30953 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30954 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30955 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30956 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30957
e7740d31
JM
30958 * sysdeps/unix/siglist.c: Remove file.
30959
ee06f18b
JM
30960 * sysdeps/unix/getppid.S: Remove file.
30961
097d59fa
JM
30962 * sysdeps/unix/mkdir.c: Remove file.
30963 * sysdeps/unix/rmdir.c: Likewise.
30964
ff3d51ec
AS
309652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30966
30967 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30968 ERR_MAX value.
30969 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30970 errlist-compat value.
30971
50f81fd7
DM
309722012-04-18 David S. Miller <davem@davemloft.net>
30973
30974 * sysdeps/generic/memcopy.h (reg_char): Delete.
30975 * debug/strcat_chk.c: Use char, not reg_char.
30976 * debug/strcpy_chk.c: Likewise.
30977 * debug/strncat_chk.c: Likewise.
30978 * debug/strncpy_chk.c: Likewise.
30979 * string/memchr.c: Likewise.
30980 * string/memrchr.c: Likewise.
30981 * string/rawmemchr.c: Likewise.
30982 * string/strcat.c: Likewise.
30983 * string/strchr.c: Likewise.
30984 * string/strchrnul.c: Likewise.
30985 * string/strcmp.c: Likewise.
30986 * string/strcpy.c: Likewise.
30987 * string/strncat.c: Likewise.
30988 * string/strncmp.c: Likewise.
30989 * string/strncpy.c: Likewise.
30990
8ff41c46
WS
309912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30992
30993 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30994 __builtin_memcopy is called when src and dest ranges are known to not
30995 overlap.
30996
6b652f46
WS
309972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30998
30999 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31000 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31001 fwd_align_merge macro call.
31002 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31003 bwd_align_merge macro call.
31004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31005
b282631e
WS
310062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31007
31008 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31009 bwd_align_merge macros.
31010 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31011 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31012 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31013
95aa737c
DM
310142012-04-18 David S. Miller <davem@davemloft.net>
31015
31016 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31017
7a99a614
AJ
310182012-04-18 Andreas Jaeger <aj@suse.de>
31019
31020 [BZ# 6794]
31021 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31022 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31023 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31024
31025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31026 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31028
31029 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31030 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31031 Adjust for changed ldbl-128 files.
31032
31033 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31034 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31035 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31036
e5270c23
DM
310372012-04-17 David S. Miller <davem@davemloft.net>
31038
31039 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31040
fb5e92c9
AS
310412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31042
31043 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31044 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31045 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31046 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31047 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31048 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31049
76da7265
AZ
310502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31051
31052 [BZ #6794]
31053 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31054 * math/libm-test.inc: Add ilogb errno and exception tests.
31055 * math/w_ilogb.c: New file: ilogb wrapper.
31056 * math/w_ilogbf.c: New file: ilogbf wrapper.
31057 * math/w_ilogbl.c: New file: ilogbl wrapper.
31058 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31059 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31060 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31061 exception being thrown with 0.0 as argument.
31062 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31063 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31064 exception being thrown with 0.0 as argument.
31065 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31066 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31067 exception being thrown with 0.0 as argument.
31068 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31069 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31070 exception being thrown with 0.0 as argument.
31071 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31072 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31073 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31074 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31075 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31076 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31077 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31078 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31079 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31080
0396e69d
PB
310812012-04-17 Petr Baudis <pasky@ucw.cz>
31082
31083 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31084 with altivec.
31085
750b5926
MP
310862012-04-16 Marek Polacek <polacek@redhat.com>
31087
31088 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31089
751728a1
MP
310902012-04-16 Marek Polacek <polacek@redhat.com>
31091
31092 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31093 operands of fdivp instruction.
31094
34a27407
L
310952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31096
31097 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31098 * elf/tst-auditmod3b.c: Likewise.
31099 * elf/tst-auditmod4b.c: Likewise.
31100 * elf/tst-auditmod5b.c: Likewise.
31101 * elf/tst-auditmod6b.c: Likewise.
31102 * elf/tst-auditmod6c.c: Likewise.
31103 * elf/tst-auditmod7b.c: Likewise.
31104 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31105 * sysdeps/x86_64/preconfigure.in: Likewise.
31106 * sysdeps/x86_64/preconfigure: Regenerated.
31107
7e73e17d
L
311082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31109
31110 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31111 __ILP32__.
31112
c7a6ab72
AB
311132012-04-13 Antoine Balestrat <merkil33@gmail.com>
31114
31115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31116 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31117
a9e8e0e0
CL
311182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31119
31120 [BZ #13973]
31121 * locale/iso-639.def: Fix gl language name. Spotted by
31122 Yaron Shahrabani.
31123
ec98af7d
RM
311242012-04-12 Roland McGrath <roland@hack.frob.com>
31125
31126 [BZ #2074]
31127 * libio/libio.h (__io_write_fn): Update comment.
31128
247c3ede
PB
311292012-04-12 Petr Baudis <pasky@ucw.cz>
31130
31131 [BZ #2074]
31132 * stdio.texi (Hook Functions): The user provided writer function
31133 is not allowed to return -1.
31134
55939d6d
DM
311352012-04-11 David S. Miller <davem@davemloft.net>
31136
31137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31138
90020f5a
MF
311392012-04-11 Mike Frysinger <vapier@gentoo.org>
31140
31141 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31142 Add a leading slash to rtkaio.
31143
288f9098
JM
311442012-04-11 Jim Meyering <meyering@redhat.com>
31145
90020f5a
MF
31146 [BZ #11959]
31147 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31148 It is not necessarily an error to ignore fwrite's return
31149 value. One can reliably use ferror to test for errors after
31150 the fact.
288f9098 31151
4be2b570
L
311522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31153
31154 * bits/types.h (__snseconds_t): New type.
31155 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31156
31157 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31159 (__SNSECONDS_T_TYPE): Likewise.
31160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31161 (__SNSECONDS_T_TYPE): Likewise.
31162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31163 (__SNSECONDS_T_TYPE): Likewise.
31164
288f9098 311652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31166
31167 [BZ #2636]
31168 * manual/time.texi (Processor Time): Return type of times is
31169 elapsed real time since an arbitrary point in the past.
31170 (CPU Time): Move CLK_TCK from here...
31171 (Processor Time): ...to here. Correct description.
31172 * manual/conf.texi (Constants for Sysconf): Correct description of
31173 _SC_CLK_TCK.
31174
d7dd4413
DM
311752012-04-10 David S. Miller <davem@davemloft.net>
31176
31177 [BZ #13967]
31178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31179 where the is a gap between DT_REL(A) and DT_JMPREL.
31180
b46068fc
L
311812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31182
31183 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31184 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31185 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31186
73d65cc3
SP
311872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31188
31189 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31190 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31191 (dl_main): Handle --inhibit-cache.
31192 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31193 _dl_inhibit_cache.
31194 * elf/dl-load.c (_dl_map_object): Use it.
31195 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31196
bcc8d661
JM
311972012-04-09 Joseph Myers <joseph@codesourcery.com>
31198
8f9a2fae
JM
31199 [BZ #13872]
31200 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31201 (__ieee754_powl): Saturate large exponents rather than testing for
31202 overflow of y*log2(x).
31203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31204 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31205 exceptions.
31206
bcc8d661
JM
31207 [BZ #11521]
31208 * math/s_ctan.c: Include <float.h>.
31209 (__ctan): Avoid internal overflow or cancellation in calculating
31210 denominator.
31211 * math/s_ctanf.c: Likewise.
31212 * math/s_ctanl.c: Likewise.
31213 * math/s_ctanh.c: Likewise.
31214 * math/s_ctanhf.c: Likewise.
31215 * math/s_ctanhl.c: Likewise.
31216 * math/libm-test.inc (ctan_test): Add more tests.
31217 (ctanh_test): Likewise.
31218 * sysdeps/i386/fpu/libm-test-ulps: Update.
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31220
823fbbb4
AJ
312212012-04-09 Andreas Jaeger <aj@suse.de>
31222
03879793
AJ
31223 [BZ #6894]
31224 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31225 is an optional BSD extension.
31226
823fbbb4
AJ
31227 [BZ #10254]
31228 * manual/stdio.texi (Opening Streams): Document additional fopen
31229 parameters.
31230
8de131cb
RM
312312012-04-09 Roland McGrath <roland@hack.frob.com>
31232
31233 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31234 %eax without telling the compiler.
31235
c0ed9d7d
CD
312362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31237
31238 [BZ # 13963]
31239 * manual/install.texi: Use sourceware.org.
31240
c483f6b4
JM
312412012-04-09 Joseph Myers <joseph@codesourcery.com>
31242
d7dd9453
JM
31243 [BZ #13873]
31244 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31245 (__ieee754_pow): Generate overflow and underflow using huge*huge
31246 and tiny*tiny rather than just returning constant infinity or zero
31247 for large exponents.
31248 * math/libm-test.inc (pow_test): Require overflow exceptions for
31249 applicable cases of large exponents.
31250
c483f6b4
JM
31251 [BZ #706]
31252 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31253 (__ieee754_pow): Use iterative multiplication algorithm only for
31254 integer exponents with absolute value below 1024. Check for odd
31255 integer exponents when using algorithm for real exponents.
31256 * math/libm-test.inc (pow_test): Add more tests.
31257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31258
d2de7579
JM
312592012-04-08 Joseph Myers <joseph@codesourcery.com>
31260
31261 [BZ #13705]
31262 * math/libm-test.inc (exp_test): Do not allow overflow exception
31263 on underflow test.
31264
f77f1232
AJ
312652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31266
31267 [BZ #13705]
31268 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31269 instead of __kernel_standard_f.
31270
3884932b
MF
312712012-04-08 Mike Frysinger <vapier@gentoo.org>
31272
31273 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31274 * sysdeps/x86_64/memset_chk.S: Likewise.
31275
54472e9c
AJ
312762012-04-08 Andreas Jaeger <aj@suse.de>
31277
6ab0fbfc
AJ
31278 [BZ #10153]
31279 * manual/startup.texi (Environment Access): Describe return value
31280 for putenv and setenv.
31281
61efba8c
AJ
31282 [BZ #6895]
31283 * manual/filesys.texi (Directory Entries): Add description for
31284 DT_LNK.
31285
95c3f29a
AJ
31286 [BZ #6890]
31287 * manual/filesys.texi (Directory Entries): Clarify that it's file
31288 system not operating system in the description of DT_UNKNOWN.
31289
54472e9c
AJ
31290 [BZ #6578]
31291 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31292
624254b1
SC
312932012-04-08 Stephen Compall <s11@member.fsf.org>
31294
31295 [BZ #6649]
31296 * manual/llio.texi (Opening and Closing Files): Add cross
31297 reference to explain mode argument.
31298
1e4920e0
MF
312992012-04-07 Mike Frysinger <vapier@gentoo.org>
31300
31301 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31302 * sysdeps/x86_64/memset_chk.S: Likewise.
31303
5ed848f3
DM
313042012-04-07 David S. Miller <davem@davemloft.net>
31305
31306 * elf/elf.h (R_SPARC_WDISP10): Define.
31307 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31308 R_SPARC_SIZE32.
31309 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31310 R_SPARC_SIZE64 and R_SPARC_H34.
31311
96154cd8
CD
313122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31313
31314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31315 conditions and remove no longer applicable assertion.
31316
9904dc47
L
313172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31318
31319 * bits/byteswap.h: Include <features.h>.
31320 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31321 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31322
f8887d0a
L
313232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31324
31325 * bits/byteswap.h (__bswap_16): Removed.
31326 Include <bits/byteswap-16.h> to get __bswap_16.
31327 * sysdeps/i386/bits/byteswap.h: Likewise.
31328 * sysdeps/s390/bits/byteswap.h: Likewise.
31329 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31330 * bits/byteswap-16.h: New file.
31331 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31332 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31333 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31334 * string/Makefile (headers): Add bits/byteswap-16.h.
31335
62470f60
PP
313362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31337
31338 [BZ #13895]
31339 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31340 extra indirection.
31341 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31342 * nss/tst-nss-static.c: New.
31343
4dad7bab
RM
313442012-04-06 Robert Millan <rmh@gnu.org>
31345
31346 [BZ #6486]
31347 * manual/llio.texi (File Position Primitive): lseek
31348 refers to WHENCE when it really means OFFSET.
31349
e9142a17
AJ
313502012-04-06 Andreas Jaeger <aj@suse.de>
31351
2c040eff
AJ
31352 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31353 strncmp declarations.
31354
e9142a17
AJ
31355 * abilist/libc.abilist: Add __poll and __ppoll.
31356
ff9f1c5f
DM
313572012-04-05 David S. Miller <davem@davemloft.net>
31358
dcd2ae90
DM
31359 * scripts/check-local-headers.sh: Accept a host triplet in the
31360 path matched by the exclude regexp.
31361
993eb054
DM
31362 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31363 definition.
31364 * sysdeps/powerpc/powerpc32/dl-machine.h
31365 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31366 * sysdeps/s390/s390-32/dl-machine.h
31367 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31368 * sysdeps/sparc/sparc32/dl-machine.h
31369 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31370 * sysdeps/sparc/sparc64/dl-machine.h
31371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31372
ff9f1c5f
DM
31373 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31374 lazy binding.
48e2e132 31375 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31376 undefined symbol errors.
31377
48e2e132 31378 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31379 DT_NEEDED entries.
31380
e80d6f94
MM
313812012-04-05 Michael Matz <matz@suse.de>
31382
31383 [BZ #13592]
31384 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31385
349fa79f
AJ
313862012-04-05 Andreas Jaeger <aj@suse.de>
31387
31388 [BZ #13908]
31389 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31390 comment.
31391
f402708f
KK
313922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31393
31394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31395 which ROUND is no valid rounding mode.
31396
2ecccfc9
KK
313972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31398
31399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31400 read again.
31401 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31402
8a53f50f
KK
314032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31404
31405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31406 an exception using FPU order intentionally.
31407
314082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31409
31410 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31411 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31412 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31413 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31414
d653abb7
SJ
314152012-04-05 Simon Josefsson <simon@josefsson.org>
31416
31417 [BZ #12340]
31418 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31419 EINVAL when BUFLEN is too smal.
31420
c3b1bf7d
TS
314212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31422
31423 [BZ #13553]
31424 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31425 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31426
b1aa60f3
AJ
314272012-04-03 Andreas Jaeger <aj@suse.de>
31428
c3b1bf7d 31429 [BZ #13938]
67f60a26
AJ
31430 * manual/setjmp.texi (System V contexts): Fix sentence.
31431
b1aa60f3
AJ
31432 [BZ #13926]
31433 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31434 New macro for this case.
31435 [!__GNUC__] (__bswap_64): New inline function for this case.
31436 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31437 * bits/byteswap.h: Likewise.
31438 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31439 ull, guard with __GLIBC_HAVE_LONG_LONG.
31440
31441 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31442 __GLIBC_HAVE_LONG_LONG.
31443
31444 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31445 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31446
39c59c35
TMQMF
314472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31448
31449 [BZ #13691]
31450 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31451 inptr and inend, rather than using last_ch.
31452
135ffda8
DM
314532012-04-02 David S. Miller <davem@davemloft.net>
31454
31455 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31456 * stdio-common/printf-parse.h (read_int): Change return type to
31457 'int', return -1 on INT_MAX overflow.
31458 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31459 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31460 overflows INT_MAX. Check for overflow of in-format-string precision
31461 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31462 SIZE_MAX not INT_MAX for integer overflow test.
31463 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31464 skip the construct in the format string but do not record anything.
31465 * stdio-common/bug22.c: Adjust to test both width/prevision
31466 INT_MAX overflow as well as total length INT_MAX overflow. Check
31467 explicitly for proper errno values.
31468
228c019e
TS
314692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31470
302cadd3
TS
31471 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31472 CHAR_MAX.
31473 * string/test-strcmp.c [! WIDE]: Likewise.
31474 * time/tst-mktime2.c: Likewise for INT_MAX.
31475 * string/test-string.h: #include <sys/param.h> for MIN.
31476
228c019e
TS
31477 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31478 * sysdeps/i386/init-first.c (init): Likewise.
31479 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31480 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31481 * sysdeps/sh/init-first.c (init): Likewise.
31482
cfa633f5
UD
314832012-04-01 Ulrich Drepper <drepper@gmail.com>
31484
31485 * po/ru.po: Update from translation team.
d1635ef8 31486 * po/vi.po: Likewise.
cfa633f5 31487
6cd0a5ea
SP
314882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31489
31490 * resolv/nss_dns/dns-host.c: Merge copyright years.
31491
4b43400f
LD
314922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31493
31494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31495 Optimize memcpy with prefetch if
31496 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31497 src, dst pointers have unequal 16 byte alignments.
31498
48c41d04
SP
314992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31500
31501 [BZ #13928]
31502 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31503 from a CNAME entry and return the minimum ttl for the query.
31504 (gaih_getanswer_slice): Likewise.
31505
b8dc394d
JL
315062012-03-30 Jeff Law <law@redhat.com>
31507
31508 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31509 due to long keys.
31510 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31511 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31512
2f5a5ed0
JL
31513 * resolv/nss_dns/dns-host.c: Update copyright year.
31514
1d39e359
UD
315152012-03-30 Ulrich Drepper <drepper@gmail.com>
31516
c030f70c 31517 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31518 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31519
1d39e359
UD
31520 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31521 comments for sendmmsg.
31522
315232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31524
31525 [BZ #13691]
31526 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31527 with only 1 character between 0x0041 and 0x01b0.
31528 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31529 * wcsmbs/tst-mbsnrtowcs.c: New file.
31530
20fde227
DM
315312012-03-29 David S. Miller <davem@davemloft.net>
31532
31533 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31534 small copies by hand.
31535
984a4237
JL
315362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31537
31538 [BZ #13761]
31539 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31540 _nss_compat_initgroups_dyn): Fall back to malloc/free
31541 for large group memberships.
31542
18c9d62b
DM
315432012-03-28 David S. Miller <davem@davemloft.net>
31544
88d85d4f
DM
31545 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31546 that branches into memcpy.
31547 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31550 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31552 bits.
31553 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31554 implementation too.
31555 * sysdeps/sparc/mempcpy.S: New file.
31556
e5aa83e1
DM
31557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31558 the IFUNC routine in the libc case.
31559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31560
88570753
DM
31561 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31562 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31563 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31564 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31565 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31566 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31567 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31568 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31569
249d7567
DM
31570 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31571 loop to 256 bytes instead of 64 bytes and fix test signedness.
31572
18c9d62b
DM
31573 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31574 * sysdeps/sparc/sparc32/Makefile: rather than here...
31575 * sysdeps/sparc/sparc64/Makefile: and here.
31576
05f3d1f6
UD
315772012-03-28 Ulrich Drepper <drepper@gmail.com>
31578
31579 * malloc/mallocbug.c: Avoid warnings about unused variables.
31580
86ae07a8
JL
315812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31582
31583 [BZ #13760]
31584 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31585 in the right place. Discard and retry query if response is
31586 larger than input buffer size.
31587
41bf21a1
JM
315882012-03-28 Joseph Myers <joseph@codesourcery.com>
31589
d6270972
JM
31590 [BZ #369]
31591 [BZ #2678]
31592 [BZ #3866]
31593 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31594 x for large integer exponent.
31595 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31596 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31597 sign of result as needed afterwards.
31598 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31599 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31600 result for underflowing pow the same as for overflow.
31601 (__kernel_standard_l): Handle powl overflow and underflow here
31602 rather than calling __kernel_standard.
31603 * math/libm-test.inc (pow_test): Add more tests.
31604
414fca03 31605 [BZ #3868]
41bf21a1
JM
31606 [BZ #13879]
31607 [BZ #13910]
31608 [BZ #13911]
31609 [BZ #13912]
31610 [BZ #13913]
31611 [BZ #13915]
31612 [BZ #13916]
31613 [BZ #13917]
31614 [BZ #13918]
31615 [BZ #13919]
31616 [BZ #13920]
31617 [BZ #13921]
31618 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31619 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31620 (__kernel_standard_l): New function.
31621 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31622 __kernel_standard.
31623 * math/w_acosl.c (__acosl): Likewise.
31624 * math/w_asinl.c (__asinl): Likewise.
31625 * math/w_atan2l.c (__atan2l): Likewise.
31626 * math/w_atanhl.c (__atanhl): Likewise.
31627 * math/w_coshl.c (__coshl): Likewise.
31628 * math/w_exp10l.c (__exp10l): Likewise.
31629 * math/w_exp2l.c (__exp2l): Likewise.
31630 * math/w_fmodl.c (__fmodl): Likewise.
31631 * math/w_hypotl.c (__hypotl): Likewise.
31632 * math/w_j0l.c (__j0l, __y0l): Likewise.
31633 * math/w_j1l.c (__j1l, __y1l): Likewise.
31634 * math/w_jnl.c (__jnl, __ynl): Likewise.
31635 * math/w_lgammal.c (__lgammal): Likewise.
31636 * math/w_log10l.c (__log10l): Likewise.
31637 * math/w_log2l.c (__log2l): Likewise.
31638 * math/w_logl.c (__logl): Likewise.
31639 * math/w_powl.c (__powl): Likewise.
31640 * math/w_remainderl.c (__remainderl): Likewise.
31641 * math/w_scalbl.c (sysv_scalbl): Likewise.
31642 * math/w_sinhl.c (__sinhl): Likewise.
31643 * math/w_sqrtl.c (__sqrtl): Likewise.
31644 * math/w_tgammal.c (__tgammal): Likewise.
31645 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31646 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31647 * math/libm-test.inc (acos_test): Add more tests.
31648 (acosh_test): Likewise.
31649 (asin_test): Likewise.
31650 (atanh_test): Likewise.
31651 (exp_test): Likewise.
31652 (exp10_test): Likewise.
31653 (exp2_test): Likewise.
31654 (expm1_test): Likewise.
31655 (lgamma_test): Likewise.
31656 (log_test): Likewise.
31657 (log10_test): Likewise.
31658 (log1p_test): Likewise.
31659 (log2_test): Likewise.
31660 (pow_test): Do not allow some spurious overflow exceptions.
31661 (sqrt_test): Add more tests.
31662 (tgamma_test): Likewise.
31663 (y0_test): Likewise.
31664 (y1_test): Likewise.
31665 (yn_test): Likewise.
31666
dd62fda6
AB
316672012-03-27 Anton Blanchard <anton@samba.org>
31668
31669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31670 MAP_HUGETLB.
31671 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31672 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31673 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31674
1e3cdfda
AJ
316752012-03-27 David S. Miller <davem@davemloft.net>
31676
b855ab85
DM
31677 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31678
1e3cdfda
AJ
31679 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31680 have-as-vis3 check.
31681
316822012-03-27 Andreas Jaeger <aj@suse.de>
31683
31684 * sysdeps/x86_64/elf/configure.in: Moved to ...
31685 * sysdeps/x86_64/configure.in: ... here.
31686 * sysdeps/x86_64/elf/start.S: Moved to ...
31687 * sysdeps/x86_64/start.S: ... here.
31688 * sysdeps/x86_64/elf/configure: Delete.
31689
31690 * sysdeps/x86_64/configure.in: Merge contents from
31691 sysdeps/i386/configure.in (without i686 check).
31692
31693 * sysdeps/i386/elf/Versions: Merge into ...
31694 * sysdeps/i386/Versions: ... this.
31695 * sysdeps/i386/elf/Versions: Delete file.
31696 * sysdeps/i386/elf/start.S: Moved to ...
31697 * sysdeps/i386/start.S: ...here.
31698 * sysdeps/i386/elf/configure.in: Merge into...
31699 * sysdeps/i386/configure.in: ...here.
31700 * sysdeps/i386/elf/configure.in: Delete file.
31701 * sysdeps/i386/elf/configure: Delete file.
31702
31703 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31704 * debug/backtracesyms.c: ... here.
31705 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31706 * debug/backtracesymsfd.c: ... here.
31707 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31708 * sysdeps/generic/ifunc-sel.h: ... here.
31709
31710 * sysdeps/unix/i386/start.c: Delete file.
31711 * sysdeps/unix/sparc/start.c: Delete file.
31712 * sysdeps/unix/start.c: Delete file.
31713
31714 * sysdeps/sh/elf/configure.in: Moved to ...
31715 * sysdeps/sh/configure.in: ... here.
31716 * sysdeps/sh/elf/start.S: Moved to ...
31717 * sysdeps/sh/start.S: ... here.
31718 * sysdeps/sh/elf/configure: Delete file.
31719
31720 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31721 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31722 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31723 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31724 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31725 * sysdeps/powerpc/powerpc64/start.S: here.
31726 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31727 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31728 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31729 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31730 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31731
31732 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31733 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31734 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31735 * sysdeps/powerpc/powerpc32/start.S: ... here.
31736 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31737 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31738 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31739
31740 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31741 * sysdeps/powerpc/ifunc-sel.h: ... here.
31742 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31743 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31744
31745 * sysdeps/sparc/elf/configure.in: Moved to ...
31746 * sysdeps/sparc/configure.in: ... here.
31747 * sysdeps/sparc/elf/configure: Delete file.
31748 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31749 * sysdeps/sparc/sparc32/start.S: ... here.
31750 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31751 * sysdeps/sparc/sparc64/start.S: ... here.
31752 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31753 * sysdeps/sparc/sparc32/Makefile: ... this.
31754 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31755 * sysdeps/sparc/sparc64/Makefile: ... this.
31756
31757 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31758 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31759 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31760 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31761 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31762 * sysdeps/s390/s390-32/setjmp.S: ... here.
31763 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31764 * sysdeps/s390/s390-32/configure.in: ... here.
31765 * sysdeps/s390/s390-32/elf/configure: Delete file.
31766 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31767 * sysdeps/s390/s390-32/start.S: ... here.
31768
31769 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31770 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31771 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31772 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31773 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31774 * sysdeps/s390/s390-64/setjmp.S: ... here.
31775 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31776 * sysdeps/s390/s390-64/configure.in: ... here
31777 * sysdeps/s390/s390-64/elf/configure: Delete file.
31778 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31779 * sysdeps/s390/s390-64/start.S: ... here.
31780 * sysdeps/s390/s390-64/elf/configure: Delete.
31781
31782 * configure.in: Remove support for elf directories in sysdeps.
31783
31784 * configure: Regenerated.
31785 * sysdeps/i386/configure: Regenerated.
31786 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31787 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31788 * sysdeps/s390/s390-32/configure: Regenerated.
31789 * sysdeps/s390/s390-64/configure: Regenerated.
31790 * sysdeps/sh/configure: Regenerated.
31791 * sysdeps/sparc/configure: Regenerated.
31792 * sysdeps/x86_64/configure: Regenerated.
31793
a3f61311
AS
317942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31795
c876e002
AS
31796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31797
a3f61311
AS
31798 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31799 denormal result into account.
31800
ac4c54f0
RM
318012012-03-25 Roland McGrath <roland@hack.frob.com>
31802
31803 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31804 Reported by Allan McRae <allan@archlinux.org>.
31805
6a9b9c02
JL
318062012-03-23 Jeff Law <law@redhat.com>
31807
31808 * nss/getnssent.c (__nss_getent): Fix typo.
31809
4c42a0c1
DM
318102012-03-23 David S. Miller <davem@davemloft.net>
31811
31812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31813
1532c7ac
L
318142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31815
31816 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31817 to pad to uint64_t for each field.
31818 (dl_tls_index): Replace unsigned long with uint64_t.
31819
3ff42526
PP
318202012-03-23 Daniel Jacobowitz <dmj@google.com>
31821 Paul Pluzhnikov <ppluzhnikov@google.com>
31822
31823 [BZ #6528]
31824 * grp/Makefile (otherlibs): Don't set it.
31825 * inet/Makefile (otherlibs): Likewise.
31826 * login/Makefile (otherlibs): Likewise.
31827 * nscd/Makefile (otherlibs): Likewise.
31828 * posix/Makefile (otherlibs): Likewise.
31829 * pwd/Makefile (otherlibs): Likewise.
31830 * rt/Makefile (otherlibs): Likewise.
31831 * sunrpc/Makefile (otherlibs): Likewise.
31832 * nss/Makefile (otherlibs): Likewise.
31833 Add libnss_files to routines and static-only-routines.
31834 ($(objpfx)getent): Remove rule.
31835 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31836 static-only-routines.
31837
7c69cd14
JM
318382012-03-22 Joseph Myers <joseph@codesourcery.com>
31839
31840 [BZ #13892]
31841 * math/s_cexp.c: Include <float.h>.
31842 (__cexp): Handle exp result overflowing not necessarily
31843 overflowing both real and imaginary parts of result.
31844 * math/s_cexpf.c: Likewise.
31845 * math/s_cexpl.c: Likewise.
31846 * math/libm-test.inc (cexp_test): Add more tests.
31847 * sysdeps/i386/fpu/libm-test-ulps: Update.
31848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31849
81b035fe
L
318502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31851
31852 * include/link.h (ELFW): New macro.
31853 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31854 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31855
1da7940c
L
318562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31859 with uint64_t.
31860
b749dbb9
L
318612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31862
31863 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31864 declaration.
31865 (struct La_x32_retval): Likewise.
31866
2ff87f3f
L
318672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * sysdeps/x86_64/preconfigure.in: New file.
31870 * sysdeps/x86_64/preconfigure: New generated file.
31871
c0df8e69
JM
318722012-03-22 Joseph Myers <joseph@codesourcery.com>
31873
48e44791
JM
31874 [BZ #13824]
31875 * math/e_exp2l.c: Include <float.h>.
31876 (__ieee754_exp2l): Handle overflow and underflow cases
31877 separately. Only pass fractional part of argument to
31878 __ieee754_expl.
31879 * math/libm-test.inc (exp2_test): Add more tests.
31880
c0df8e69
JM
31881 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31882 negating x to take absolute value.
31883 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31884 Likewise.
31885 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31886 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31887 Likewise.
31888 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31889 computing low part if x was negated.
31890 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31891
c8e43ba7
L
318922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31893
31894 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31895 la_x32_gnu_pltexit.
31896 (pltexit): Cast int_retval to ptrdiff_t.
31897 * elf/tst-auditmod3b.c: Likewise.
31898 * elf/tst-auditmod4b.c: Likewise.
31899 * elf/tst-auditmod5b.c: Likewise.
31900 * elf/tst-auditmod6b.c: Likewise.
31901 * elf/tst-auditmod6c.c: Likewise.
31902 * elf/tst-auditmod7b.c: Likewise.
31903
31904 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31905 and x32_gnu_pltexit.
31906
31907 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31908 __ELF_NATIVE_CLASS.
31909 (La_x32_regs): New macro.
31910 (La_x32_retval): Likewise.
31911 (la_x32_gnu_pltenter): New function prototype.
31912 (la_x32_gnu_pltexit): Likewise.
31913
7998fa78
AS
319142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31915
dcb33988
AS
31916 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31917 exponent.
31918
233fc563
AS
31919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31920
7998fa78
AS
31921 * configure.in (libc_cv_cc_nofma): Check for option to disable
31922 generation of FMA instructions.
31923 * configure: Regenerate.
31924 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31925 * sysdeps/ieee754/dbl-64/Makefile: New file.
31926 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31927 Remove brandred-fma4.
31928 (CFLAGS-brandred-fma4.c): Remove.
31929 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31930 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31931 define.
31932 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31933 define.
31934
8e95c99a
L
319352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31936
31937 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31938 LLONG_MAX != LONG_MAX.
31939 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31940 (_fitoa_word): Likewise.
31941 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31942 LLONG_MAX != LONG_MAX.
31943 * stdio-common/_itowa.h: Include <_itoa.h>.
31944 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31945 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31946 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31947 only if not defined.
31948 (_ITOA_WORD_TYPE): Likewise.
31949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31950 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31951
6f4db457
DM
319522012-03-21 David S. Miller <davem@davemloft.net>
31953
31954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31955
7785fe5a
L
319562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31957
31958 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31959 of x86_64 when setting libc_cv_slibdir, libdir and
31960 libc_cv_localedir.
31961 * sysdeps/unix/sysv/linux/configure: Regenerated.
31962
4535cd55
JM
319632012-03-21 Joseph Myers <joseph@codesourcery.com>
31964
31965 * manual/lang.texi (Old Varargs): Remove section.
31966 (How Variadic): Update menu.
31967 (va_start): Do not mention varargs.h.
31968
17228132
TS
319692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31970 Joseph Myers <joseph@codesourcery.com>
31971
31972 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31973 link test.
31974 * configure: Regenerated.
31975
8149f976
TS
319762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31977
05f3d1f6
UD
31978 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31979 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31980 conformtest.pl
8149f976 31981
1a4ac776
JM
319822012-03-21 Joseph Myers <joseph@codesourcery.com>
31983
be22ce65
JM
31984 * NOTES: Remove.
31985 * Makefile (files-for-dist): Remove NOTES.
31986 (NOTES): Remove rule.
31987 * README: Don't refer to NOTES.
31988 * manual/creature.texi: Don't include macros.texi.
31989 * manual/intro.texi (creature.texi): Remove comment referring to
31990 NOTES.
31991
40b601fb
JM
31992 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31993 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31994 * configure: Regenerated.
31995 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31996 LIBC_TRY_CC_OPTION.
31997 (libc_cv_as_i686): Likewise.
31998 (libc_cv_cc_avx): Likewise.
31999 (libc_cv_cc_sse2avx): Likewise.
32000 (libc_cv_cc_fma4): Likewise.
32001 (libc_cv_cc_novzeroupper): Likewise.
32002 * sysdeps/i386/configure: Regenerated.
32003
1a4ac776
JM
32004 [BZ #13883]
32005 * sysdeps/i386/fpu/s_cexp.S: Remove.
32006 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32007 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32008 * math/libm-test.inc (cexp_test): Add more tests.
32009 * sysdeps/i386/fpu/libm-test-ulps: Update.
32010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32011
a458e7fe
AM
320122012-03-21 Allan McRae <allan@archlinux.org>
32013
32014 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32015
0cb7efc5
JM
320162012-03-21 Joseph Myers <joseph@codesourcery.com>
32017
32018 [BZ #13871]
32019 * math/w_exp2.c: Do not include <float.h>.
32020 (o_threshold, u_threshold): Remove.
32021 (__exp2): Calculate result before checking finiteness and calling
32022 __kernel_standard.
32023 * math/w_exp2f.c: Likewise.
32024 * math/w_exp2l.c: Likewise.
32025 * math/libm-test.inc (exp2_test): Require overflow exception for
32026 1e6 input.
2460d3aa
JM
32027
32028 [BZ #3866]
32029 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32030 range of signed 64-bit integers before using fistpll. Remove
32031 checks for whether integers fit in mantissa bits.
32032 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32033 the range of signed 32-bit integers before using fistpl. Remove
32034 checks for whether integers fit in mantissa bits.
32035 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32036 (__ieee754_powl): Test for y outside the range of signed 64-bit
32037 integers before using fistpll. Reduce 64-bit values to 63-bit
32038 ones as needed.
32039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32040 divide-by-zero is raised for zero to large negative powers.
32041 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32042 (__ieee754_powl): Test for y outside the range of signed 64-bit
32043 integers before using fistpll. Reduce 64-bit values to 63-bit
32044 ones as needed.
32045 * math/libm-test.inc (pow_test): Add more tests.
32046
eb96ffb0
L
320472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32050 <stdio-common/_itoa.h>.
32051 * debug/segfault.c: Likewise.
32052 * elf/dl-cache.c: Likewise.
32053 * elf/dl-minimal.c: Likewise.
32054 * elf/dl-misc.c: Likewise.
32055 * elf/dl-sysdep.c: Likewise.
32056 * elf/dl-version.c: Likewise.
32057 * elf/rtld.c: Likewise.
32058 * hurd/hurdsock.c: Likewise.
32059 * hurd/lookup-retry.c: Likewise.
32060 * malloc/malloc.c: Likewise.
32061 * malloc/mtrace.c: Likewise.
32062 * nscd/nscd_getgr_r.c: Likewise.
32063 * nscd/nscd_getpw_r.c: Likewise.
32064 * nscd/nscd_getserv_r.c: Likewise.
32065 * posix/getopt_init.c: Likewise.
32066 * posix/wordexp.c: Likewise.
32067 * stdio-common/_itoa.c: Likewise.
32068 * stdio-common/printf_fphex.c: Likewise.
32069 * stdio-common/vfprintf.c: Likewise.
32070 * string/_strerror.c: Likewise.
32071 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32072 * sysdeps/i386/i686/hp-timing.h: Likewise.
32073 * sysdeps/mach/_strerror.c: Likewise.
32074 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32075 * sysdeps/mach/hurd/sethostid.c: Likewise.
32076 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32077 * sysdeps/mach/xpg-strerror.c: Likewise.
32078 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32079 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32080 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32081 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32082 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32083 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32085 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32086 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32087 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32088 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32089 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32090 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32091 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32092 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32093 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32094 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32095 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32096 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32097 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32098 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32099
32100 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32101
32102 * stdio-common/_itoa.h: Moved to ...
32103 * sysdeps/generic/_itoa.h: Here.
32104
32105 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32106
32107 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32108 instead of "_itoa.h" and "_itowa.h".
32109 * stdio-common/vfprintf.: Likewise.
32110
d1af992d
L
321112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32112
32113 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32114 <bits/wordsize.h>.
32115 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32116 (__signbit): Likwise.
32117 (llrintf): Likwise.
32118 (llrint): Likwise.
32119
114883e0
L
321202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32121
32122 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32123 __WORDSIZE != 64.
32124
c135cc1b
JM
321252012-03-20 Joseph Myers <joseph@codesourcery.com>
32126
32127 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32128 OVERFLOW_EXCEPTION_OK.
32129 * math/libm-test.inc ("Philosophy"): Update comment about
32130 exception testing.
32131 (OVERFLOW_EXCEPTION): Define.
32132 (OVERFLOW_EXCEPTION_OK): Likewise.
32133 (INVALID_EXCEPTION_OK): Renumber.
32134 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32135 (IGNORE_ZERO_INF_SIGN): Likewise.
32136 (test_exceptions): Handle FE_OVERFLOW.
32137 (exp10_test): Expect overflow exceptions.
32138 (exp2_test): Likewise.
32139 (expm1_test): Likewise.
32140 (nextafter_test): Likewise.
32141 (pow_test): Likewise.
32142 (scalbn_test): Likewise.
32143 (scalbln_test): Likewise.
32144
95443d88
L
321452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32146
32147 * sysdeps/x86_64/bits/atomic.h
32148 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32149 64bit integer.
32150 (atomic_exchange_acq): Likewise.
32151 (__arch_exchange_and_add_body): Likewise.
32152 (__arch_add_body): Likewise.
32153 (atomic_add_negative): Likewise.
32154 (atomic_add_zero): Likewise.
32155
490df6c4
L
321562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32157
c2722551 32158 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32159 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32160
5e52b189
L
321612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32162
32163 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32164 Check __x86_64__ instead of __WORDSIZE.
32165
a9879d4c
L
321662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32167
32168 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32169
5df98260
DM
321702012-03-19 David S. Miller <davem@davemloft.net>
32171
e1497744
DM
32172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32173
5df98260
DM
32174 * sysdeps/sparc/fpu/fenv_private.h: New file.
32175 * sysdeps/sparc/fpu/math_private.h: Use it.
32176 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32177 Remove.
32178 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32179 (libc_feholdexcept_setroundl): Remove.
32180 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32181 Remove.
32182 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32183 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32184
b4c35121
L
321852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32186
32187 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32188 int64_t instead of long int.
32189 (INSERT_WORDS64): Likwise.
32190
56965fd7
L
321912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32192
32193 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32194 _Unwind_GetCFA return to _Unwind_Ptr first.
32195
83d1aec8
JM
321962012-03-19 Joseph Myers <joseph@codesourcery.com>
32197
1897ad44
JM
32198 [BZ #13629]
32199 * math/s_clog.c: Include <float.h>.
32200 (__clog): Scale large or subnormal inputs.
32201 * math/s_clogf.c: Likewise.
32202 * math/s_clogl.c: Likewise.
32203 * math/s_clog10.c: Include <float.h>.
32204 (M_LOG10_2): Define.
32205 (__clog10): Scale large or subnormal inputs.
32206 * math/s_clog10f.c: Likewise.
32207 * math/s_clog10l.c: Likewise.
32208 * math/libm-test.inc (clog_test): Add more tests.
32209 (clog10_test): Likewise.
32210 * sysdeps/i386/fpu/libm-test-ulps: Update.
32211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32212
7726d6a9
JM
32213 [BZ #11451]
32214 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32215 x and y.
32216 * math/libm-test.inc (atan2_test): Add another test.
32217
83d1aec8
JM
32218 * Makerules (common-objdir-compile): Remove.
32219 * sysdeps/unix/Makefile (config-generated): Do not add
32220 $(unix-generated) to variable.
32221 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32222 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32223 Remove rule.
32224 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32225 Likewise.
32226 [generic bits/local_lim.h] (before-compile): Do not append to
32227 variable.
32228 [generic bits/local_lim.h] (common-generated): Likewise.
32229 [generic sys/param.h] (before-compile): Do not append to variable.
32230 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32231 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32232 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32233 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32234 include.
32235 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32236 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32237 [generic sys/param.h] ($(addprefix
32238 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32239 [generic sys/param.h] (common-generated): Do not append to
32240 variable.
32241 [generic sys/param.h] (sysdep_headers): Likewise.
32242 [generic bits/errno.h] (before-compile): Do not append to
32243 variable.
32244 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32245 rule.
32246 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32247 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32248 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32249 [generic bits/errno.h] (common-generated): Do not append to
32250 variable.
32251 [generic bits/ioctls.h] (before-compile): Do not append to
32252 variable.
32253 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32254 rule.
32255 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32256 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32257 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32258 rule.
32259 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32260 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32261 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32262 [generic bits/ioctls.h] (common-generated): Do not append to
32263 variable.
32264 [generic sys/syscall.h] (syscall.h): Remove variable.
32265 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32266 rule.
32267 [generic sys/syscall.h] (before-compile): Do not append to
32268 variable.
32269 [generic sys/syscall.h] (common-generated): Likewise.
32270 * sysdeps/unix/errnos-tmpl.c: Remove file.
32271 * sysdeps/unix/errnos.awk: Likewise.
32272 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32273 * sysdeps/unix/ioctls.awk: Likewise.
32274 * sysdeps/unix/mk-local_lim.c: Likewise.
32275 * sysdeps/unix/snarf-ioctls: Likewise.
32276
4851a949
RH
322772012-03-19 Richard Henderson <rth@twiddle.net>
32278
bd37f2ee
RH
32279 * sysdeps/i386/fpu/fenv_private.h: New file.
32280 * sysdeps/i386/fpu/math_private.h: Use it.
32281 (math_opt_barrier, math_force_eval): Remove.
32282 (libc_feholdexcept_setround_53bit): Remove.
32283 (libc_feupdateenv_53bit): Remove.
32284 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32285 (math_opt_barrier, math_force_eval): Remove.
32286 (libc_feholdexcept): Remove.
32287 (libc_feholdexcept_setround): Remove.
32288 (libc_fetestexcept, libc_fesetenv): Remove.
32289 (libc_feupdateenv_test): Remove.
32290 (libc_feupdateenv, libc_feholdsetround): Remove.
32291 (libc_feresetround): Remove.
32292
d0adc922
RH
32293 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32294 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32295
0fe0f1f8
RH
32296 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32297 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32298 (libc_feupdateenv_testl): New.
32299 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32300 (libc_feupdateenv_testf): New.
32301 (libc_feupdateenv): Use libc_feupdateenv_test.
32302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32303 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32304
eb92c487
RH
32305 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32306 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32307 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32308 (libc_feresetround_noex): New.
32309 (libc_feresetround_noexf): New.
32310 (libc_feresetround_noexl): New.
32311 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32312 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32313 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32314 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32315 SET_RESTORE_ROUND.
32316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32318 (__cos): Likewise.
32319 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32321 SET_RESTORE_ROUND_NOEX.
32322 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32323 SET_RESTORE_ROUND_NOEXF.
32324 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32325 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32326 (libc_feholdsetroundf): New.
32327 (libc_feresetround, libc_feresetroundf): New.
32328
7d2e8012
RH
32329 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32330 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32331 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32332
b4dabbb4
RH
32333 * sysdeps/generic/math_private.h: Include <fenv.h>.
32334 (default_libc_feholdexcept): New.
32335 (default_libc_feholdexcept_setround): New.
32336 (default_libc_fesetenv, default_libc_feupdateenv): New.
32337 (libc_feholdexcept): Only define if undefined.
32338 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32339 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32340 (libc_feholdexcept_setroundl): Likewise.
32341 (libc_feholdexcept_setround_53bit): Likewise.
32342 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32343 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32344 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32345 (libc_feupdateenv_53bit): Likewise.
32346 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32347 (libc_feholdexcept): Convert from macro to inline function.
32348 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32349 (libc_fesetenv, libc_feupdateenv): Likewise.
32350
4851a949
RH
32351 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32352 not previously defined.
32353 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32354 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32355 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32356 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32357 * sysdeps/ieee754/flt-32/math_private.h: New file.
32358 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32359 math_private.h below SET_FLOAT_WORD.
32360 (__isnan, __isinf_ns, __finite): Remove.
32361 (__isnanf, __isinf_nsf, __finitef): Remove.
32362
e79d442e
AS
323632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32364
32365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32366
90b80344
DM
323672012-03-17 David S. Miller <davem@davemloft.net>
32368
32369 [BZ #6471]
32370 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32371 for 2.16.
32372
edc21804
DM
323732012-03-16 David S. Miller <davem@davemloft.net>
32374
77e927af
DM
32375 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32376 warnings.
32377
374976dd
DM
32378 [BZ #6471]
32379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32380 properly.
32381 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32382 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32383 sysdep_routines when subdir is sysvipc.
32384 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32385 __getshmlba helper.
32386
edc21804
DM
32387 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32388
473c3ef3
L
323892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32390
32391 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32392 [__LP64__].
32393
eb0f39b6
L
323942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32395
32396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32397 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32398 (__lround): Renamed to ...
32399 (__llround): This. Replace long int with long long int.
32400 Define lround functions as aliases of llround functions.
32401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32402
6b6cd74b
L
324032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32404
32405 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32406 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32407 adresses to uintptr_t. Replace "long int" and "unsigned long
32408 int" with "greg_t" on va_arg.
32409
f1a77b01
L
324102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32411
32412 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32413 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32414
32415 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32416 Move e_machine check before EI_CLASS check. Handle x32
32417 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32418 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32419 SKIP_EM_IA_64 and include
32420 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32421
32422 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32423 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32424 (add_system_dir): New macro.
32425
32426 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32427 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32428
11b90b9f
JM
324292012-03-16 Joseph Myers <joseph@codesourcery.com>
32430
c36e1d23
JM
32431 [BZ #2551]
32432 [BZ #2552]
32433 [BZ #2553]
32434 [BZ #2554]
32435 [BZ #2562]
32436 [BZ #2563]
32437 [BZ #2565]
32438 [BZ #2566]
32439 [BZ #2576]
32440 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32441 (y0): Likewise.
32442 * math/w_j0f.c (j0f): Likewise.
32443 (y0f): Likewise.
32444 * math/w_j0l.c (__j0l): Likewise.
32445 (__y0l): Likewise.
32446 * math/w_j1.c (j1): Likewise.
32447 (y1): Likewise.
32448 * math/w_j1f.c (j1f): Likewise.
32449 (y1f): Likewise.
32450 * math/w_j1l.c (__j1l): Likewise.
32451 (__y1l): Likewise.
32452 * math/w_jn.c (jn): Likewise.
32453 (yn): Likewise.
32454 * math/w_jnf.c (jnf): Likewise.
32455 (ynf): Likewise.
32456 * math/w_jnl.c (__jnl): Likewise.
32457 (__ynl): Likewise.
32458 * math/libm-test.inc (j0_test): Add more tests.
32459 (j1_test): Likewise.
32460 (jn_test): Likewise. Add trailing semicolon to existing test.
32461 (y0_test): Likewise.
32462 (y1_test): Likewise.
32463 * sysdeps/i386/fpu/libm-test-ulps: Update.
32464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32465
11b90b9f
JM
32466 [BZ #13851]
32467 [BZ #13854]
32468 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32469 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32470 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32471 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32472 (__tanl): Set errno for infinite argument.
32473 * sysdeps/i386/fpu/mptan.c: Remove.
32474 * sysdeps/i386/fpu/s_tan.S: Likewise.
32475 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32476 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32477 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32478 * math/libm-test.inc (tan_test): Add more tests and enable more
32479 tests for double and long double.
32480 * sysdeps/i386/fpu/libm-test-ulps: Update.
32481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32482
6a1bd2a1
JK
324832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32484
32485 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32486 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32487
10a803e0
RM
324882012-03-16 Roland McGrath <roland@hack.frob.com>
32489
32490 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32491 * configure.in: Use it for both main tree and add-ons.
32492 * configure: Regenerated.
32493
f196c7f7
L
324942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32495
32496 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32497
8848d99d
JM
324982012-03-16 Joseph Myers <joseph@codesourcery.com>
32499
96cbe7f4
JM
32500 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32501 in comment.
32502
8848d99d
JM
32503 [BZ #13851]
32504 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32505 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32506 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32509 infinite argument.
32510 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32512 != 0 for prec == 2.
32513 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32514 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32515 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32516 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32517 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32518 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32519 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32520 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32521 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32522 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32523 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32524 * math/libm-test.inc (cos_test): Add more tests and enable more
32525 tests for long double.
32526 (sin_test): Likewise.
32527 (sincos_test): Likewise.
32528 * sysdeps/i386/fpu/libm-test-ulps: Update.
32529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32530
dd7f4703
DM
325312012-03-16 David S. Miller <davem@davemloft.net>
32532
32533 * sysdeps/sparc/fpu/math_private.h: New file.
32534
006f1daa
DM
325352012-03-15 David S. Miller <davem@davemloft.net>
32536
c0c83bc8
DM
32537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32538 file.
e6a62e18 32539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32541 file.
e6a62e18
DM
32542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32548 sysdep routines.
32549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32550
88cb87d9
DM
32551 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32552 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32553
006f1daa 32554 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32556 sparc-ifunc.h
006f1daa 32557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32559 Likewise.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32561 Likewise.
006f1daa
DM
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32566 Likewise.
006f1daa
DM
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32572 Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32574 Likewise.
006f1daa
DM
32575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32599
11e0098e
AS
326002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32601
32602 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32603 scaling.
32604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32605
e85b09d0
AJ
326062012-03-15 Andreas Jaeger <aj@suse.de>
32607
32608 [BZ #13852]
32609 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32610 ieee754/flt-32 implementation for sin, cos and sincos.
32611 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32612 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32613 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32614 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32615 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32616 ieee754/flt-32 implementation for tan.
32617
32618 * math/libm-test.inc (cos_test): Enable some large input tests for
32619 float as well
32620 (sin_test): Likewise.
32621 (sincos_test): Likewise.
32622 (tan_test): Add tests for large input.
32623
32624 * sysdeps/i386/fpu/libm-test-ulps: Update.
32625
81c64153
AJ
326262012-03-15 Andreas Jaeger <aj@suse.de>
32627
32628 [BZ #13658]
32629 * math/libm-test.inc (cos_test): Add more test cases.
32630 (sin_test): Likewise.
32631 (sincos_test): Likewise.
32632
7bbfa5c6
AJ
326332012-03-15 Andreas Jaeger <aj@suse.de>
32634
32635 [BZ #13837]
32636 * math/libm-test.inc (cos_test): Add a test case for large input
32637 value.
32638 (sin_test): Likewise.
32639 (sincos_test): Likewise.
32640
326412012-03-15 Andreas Jaeger <aj@suse.de>,
32642 Joseph Myers <joseph@codesourcery.com>
32643
32644 [BZ #13658]
0671f479 32645 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32646 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32647 * sysdeps/i386/fpu/branred.c: Likewise.
32648 * sysdeps/i386/fpu/dosincos.c: Likewise.
32649 * sysdeps/i386/fpu/mpa.c: Likewise.
32650 * sysdeps/i386/fpu/s_cos.S: Likewise.
32651 * sysdeps/i386/fpu/s_sin.S: Likewise.
32652 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32653 * sysdeps/i386/fpu/sincos32.c: Likewise.
32654
32655 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32656 Define.
32657 (libc_feupdateenv_53bit): Define.
32658 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32659 Define.
32660 (libc_feupdateenv_53bit): Define.
32661
32662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32663 53 bit (without extend i386 double precision).
32664
32665 * math/libm-test.inc (sincos_test): Add tests for large input.
32666 (sin): Likewise.
32667 (cos): Likewise.
32668
32669 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32670
9cad04ea
AS
326712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32672
32673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32674
f7062b9a
DM
326752012-03-15 David S. Miller <davem@davemloft.net>
32676
32677 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32678 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32679 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32680 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32693 file.
f7062b9a 32694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32696 file.
f7062b9a 32697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32699 file.
f7062b9a 32700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32702 file.
f7062b9a
DM
32703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32705 fmin/fmax sysdep routines.
32706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32707
7bd951ff
DM
327082012-03-14 David S. Miller <davem@davemloft.net>
32709
559398ab
DM
32710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32739 routines.
32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32741 file.
559398ab 32742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32744 file.
559398ab 32745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32747 file.
559398ab 32748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32750 file.
559398ab 32751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32753 file.
559398ab 32754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32756 file.
32757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32758 file.
32759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32760 file.
32761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32762 file.
32763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32764 New file.
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32766 file.
32767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32768 file.
559398ab 32769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32771 file.
559398ab 32772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32774 file.
559398ab 32775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32777 file.
559398ab 32778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32780 VIS3 routines.
559398ab
DM
32781
32782 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32783 New file.
32784
5a1c1e32
DM
32785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32786
eae47a36
DM
32787 * sysdeps/sparc/configure.in: New file.
32788 * sysdeps/sparc/configure: Generate.
32789 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32790 * configure: Regenerate.
32791 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32792 * config.make.in (have-as-vis3): New.
32793 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32794 available use -Av9d instead of -Av9a.
32795 * sysdeps/sparc/sparc64/Makefile: Likewise.
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32798 New file.
32799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32800 file.
32801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32802 New file.
32803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32804 file.
eae47a36
DM
32805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32810
c0c83bc8
DM
32811 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32812 fzeros/fnegs to load 0x80000000 into a float register instead of
32813 using the stack.
7bd951ff
DM
32814 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32815
bd951ccb
JM
328162012-03-14 Joseph Myers <joseph@codesourcery.com>
32817
32818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32819 bits/syscall.h.
32820 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32821 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32822 ($(inst_includedir)/bits/syscall.h): Remove rule.
32823 ($(objpfx)bits/syscall.d): Include instead of
32824 $(objpfx)syscall-list.d.
32825 (generated): Change syscall-list.h and syscall-list.d to
32826 bits/syscall.h and bits/syscall.d.
32827
bb4e6db2
RM
328282012-03-14 Roland McGrath <roland@hack.frob.com>
32829
32830 [BZ #13846]
32831 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32832
aa4a2ae1
JM
328332012-03-14 Joseph Myers <joseph@codesourcery.com>
32834
e456826d
JM
32835 [BZ #13841]
32836 * math/s_csqrt.c: Include <float.h>.
32837 (__csqrt): Scale large or subnormal inputs.
32838 * math/s_csqrtf.c: Likewise.
32839 * math/s_csqrtl.c: Likewise.
32840 * math/libm-test.inc (csqrt_test): Add more tests.
32841 * sysdeps/i386/fpu/libm-test-ulps: Update.
32842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32843
aa4a2ae1
JM
32844 [BZ #13840]
32845 * math/libm-test.inc (hypot_test): Add more tests.
32846
7c10fd35
DM
328472012-03-13 David S. Miller <davem@davemloft.net>
32848
32849 [BZ #13840]
32850 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32851 double-precision for the calculation instead of scaling.
32852
f453b98b
JM
328532012-03-13 Joseph Myers <joseph@codesourcery.com>
32854
32855 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32856 manipulate bits before adding and subtracting TWO52[sx].
32857 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32858 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32859 Likewise.
32860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32861
09a3453f
DM
328622012-03-13 David S. Miller <davem@davemloft.net>
32863
8e59da90
DM
32864 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32865 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32867 rtld-global-offsets.h
32868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32869
2a8ab7f2
DM
32870 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32871 large parameters.
32872
10f62770
DM
32873 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32874
5f0bdb18
DM
32875 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32876 'err' in the ifdef scope in which it is actually used.
32877
09a3453f
DM
32878 * nss/nss_db/db-init.c: Include string.h
32879
b4b2eb5e
DM
328802012-03-12 David S. Miller <davem@davemloft.net>
32881
98bb2f1c
DM
32882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32883 masking out of the most significant byte of random value used.
32884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32885 Fix coding style in previous change.
32886
b4b2eb5e
DM
32887 * sysdeps/unix/sysv/linux/kernel-features.h
32888 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32889 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32890 expression.
32891 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32892 later.
32893
6e226b09
DM
328942012-03-11 David S. Miller <davem@davemloft.net>
32895
a1bcbd40
DM
32896 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32897 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32898 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32899 for 'resultvar' otherwise things get truncated on 64-bit.
32900
cb9d6174
DM
32901 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32902 Fix masking out of the most significant byte of random value used.
32903
6e226b09
DM
32904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32905
058c132d
AS
329062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32907
32908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32909
2d2cd515
DM
329102012-03-09 David S. Miller <davem@davemloft.net>
32911
32912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32913 variables with appropriate CPP guards.
32914 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32915 frame pointer, not the stack pointer. Correct layout comments. Fix test
32916 on resulting framesize and the management of the outregs buffer for pltexit.
32917 Preserve floating point return values across _dl_call_pltexit call.
32918 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32919 framesize and the management of the outregs buffer for pltexit.
32920 Preserve floating point return values across _dl_call_pltexit
32921 call.
32922 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32923 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32924 (print_exit): Fix format string for return register value.
32925
9a07f9d0
JM
329262012-03-10 Joseph Myers <joseph@codesourcery.com>
32927
32928 * sunrpc/Makefile (others): Add rpcgen.
32929 ($(objpfx)rpcgen): Remove special build rule and dependency on
32930 libc.
32931 * sunrpc/rpcgen.c: New file.
32932
547b5e30
PE
329332012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32934
c524201a
PE
32935 [BZ #13673]
32936 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32937 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32938 * sysdeps/i386/crti.S: Likewise.
32939 * sysdeps/i386/crtn.S: Likewise.
32940 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32941 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32942 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32943 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32944 * sysdeps/sh/crti.S: Likewise.
32945 * sysdeps/sh/crtn.S: Likewise.
32946 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32947
7b6235f2
PE
32948 [BZ #13673]
32949 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32950 with URL.
32951 * locale/programs/locfile-kw.gperf: Likewise.
32952 * locale/programs/charmap-kw.h: Regenerated.
32953 * locale/programs/locfile-kw.h: Likewise.
32954
547b5e30
PE
32955 [BZ #13673]
32956 * intl/plural.y: Replace FSF snail mail address with URL.
32957 * intl/plural.c: Regenerated.
32958
5f0a5dae
RH
329592012-03-09 Richard Henderson <rth@twiddle.net>
32960
32961 * include/math_private.h: Remove file.
32962 * math/math_private.h: Move file ...
32963 * sysdeps/generic/math_private.h: ... here.
32964
b8c03620
RH
32965 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32966 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32967 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32968
4e234f5d 32969 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32970 and <math_private.h>.
32971 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32972 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32973 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32974 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32975 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33059 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33060 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33061 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33062 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33064 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33066 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33067 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33068 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33071 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33072 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33073 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33074 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33076 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33077 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33081 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33084 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33085 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33086 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33091 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33094 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33095 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33098 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33099 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33100 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33101 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33102 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33103 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33104 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33105 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33106 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33107 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33108 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33109 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33110 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33111 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33113 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33114 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33115 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33116 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33117 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33118 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33119 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33120 * sysdeps/ieee754/k_standard.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33267 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33268 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33269 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33270 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33271 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33275 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33279 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33280 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33281 * sysdeps/ieee754/s_lib_version.c: Likewise.
33282 * sysdeps/ieee754/s_matherr.c: Likewise.
33283 * sysdeps/ieee754/s_signgam.c: Likewise.
33284 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33286 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33287 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33288 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33289 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33290 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33291 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33292 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33293 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33294 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33295 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33296 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33298 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33299 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33301 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33302 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33305
1991fa03
JM
333062012-03-09 Joseph Myers <joseph@codesourcery.com>
33307
33308 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33309 * sunrpc/rpc_main.c: Likewise.
33310 * sunrpc/rpc_svcout.c: Likewise.
33311
60d6f5a6
DM
333122012-03-09 David S. Miller <davem@davemloft.net>
33313
33314 * include/math_private.h: New file.
33315
4962050e
JM
333162012-03-09 Joseph Myers <joseph@codesourcery.com>
33317
02a6f887
JM
33318 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33319 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33320 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33321 from <bits/socket_type.h>.
33322 (enum __socket_type): Don't define here.
33323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33325 bits/socket_type.h.
33326
c6e013c1
JM
33327 [BZ #13566]
33328 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33329 checking __USE_GNU.
33330
4962050e
JM
33331 * Makerules ($(inst_includedir)/%.h): New rule.
33332 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33333 (install-others): Remove variable setting.
33334 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33335
38842f45
RH
333362012-03-08 Richard Henderson <rth@twiddle.net>
33337
67bb6da6
RH
33338 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33339 from macro to inline function; merge with the
33340 !__LIBC_INTERNAL_MATH_INLINES version.
33341 (__ieee754_sqrtf): Likewise.
33342
15194b4b
RH
33343 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33344 to inline function.
33345 (__rintf, __floor, __floorf): Likewise.
33346
64e21ede
RH
33347 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33348 macro to inline function.
33349 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33350
38842f45
RH
33351 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33352 not <math/math_private.h>.
33353
c64bf5fe
DM
333542012-03-08 David S. Miller <davem@davemloft.net>
33355
33356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33357 copyright year.
33358 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33359
82d86f28
TS
333602012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33361
33362 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33363 normalization.
33364 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33365 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33366
aea5d727
UD
333672012-03-08 Ulrich Drepper <drepper@gmail.com>
33368
33369 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33370 be defined individually, they must be defined as a block. Define
33371 S for printing a string instead of hidint the different by using a
33372 macro for adding the 'l'.
33373 * stdio-common/tst-fphex-wide.c: Adjust.
33374
70bca0a3
MP
333752012-03-07 Marek Polacek <polacek@redhat.com>
33376
33377 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33378
65b81130
MP
333792012-03-08 Marek Polacek <polacek@redhat.com>
33380
33381 [BZ #13806]
33382 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33383 * stdio-common/tst-fphex.c: Define a few macros to make the
33384 test reusable. Use them.
33385 * stdio-common/tst-fphex-wide.c: New file.
33386
07037eeb
JM
333872012-03-08 Joseph Myers <joseph@codesourcery.com>
33388
a7a93d50
JM
33389 [BZ #6911]
33390 * manual/macros.texi (gnusystems): New macro.
33391 (nongnusystems): Likewise.
33392 (gnulinuxhurdsystems): Likewise.
33393 (gnuhurdsystems): Likewise..
33394 (gnulinuxsystems): Likewise.
33395 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33396 variants of the GNU system, not "GNU system".
33397 * manual/conf.texi: Likewise.
33398 * manual/errno.texi: Likewise. Update example of errno macro
33399 expansion.
33400 * manual/filesys.texi: Likewise.
33401 (getumask): Document as specific to GNU/Hurd.
33402 * manual/install.texi: Likewise. Reword some references to
33403 GNU/Linux.
33404 * manual/intro.texi: Likewise.
33405 * manual/io.texi: Likewise.
33406 (File Name Portability): Detail which constraints are inapplicable
33407 to all GNU systems and which are only inapplicable to GNU/Hurd.
33408 * manual/job.texi: Likewise.
33409 * manual/llio.texi: Likewise.
33410 (O_NOCTTY): Document as present on GNU/Linux.
33411 * manual/maint.texi: Likewise.
33412 * manual/memory.texi: Likewise.
33413 * manual/pattern.texi: Likewise.
33414 * manual/pipe.texi: Likewise.
33415 * manual/process.texi: Likewise.
33416 * manual/resource.texi: Likewise.
33417 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33418 child on GNU/Hurd.
33419 * manual/setjmp.texi: Likewise.
33420 * manual/signal.texi: Likewise.
33421 * manual/startup.texi: Likewise.
33422 * manual/stdio.texi: Likewise.
33423 * manual/terminal.texi: Likewise.
33424 (ONLCR): Document as POSIX.
33425 (OXTABS): Document availability on GNU/Linux as XTABS.
33426 (ONOEOT): Document availability separately from other bits.
33427 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33428 * manual/time.texi: Likewise.
33429 * manual/users.texi: Likewise.
33430 * INSTALL: Regenerated.
33431 * sysdeps/gnu/errlist.c: Regenerated.
33432
07037eeb
JM
33433 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33434 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33435 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33436 puts.
33437 * configure: Regenerated.
33438
d1d3431a
JM
334392012-03-07 Joseph Myers <joseph@codesourcery.com>
33440
af6a1e37
JM
33441 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33442 default includes instead of AC_HEADER_CHECK.
33443 * sysdeps/i386/configure: Regenerated.
33444
d1d3431a
JM
33445 [BZ #10716]
33446 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33447 * math/s_cacoshf.c (__cacoshf): Likewise.
33448 * math/s_cacoshl.c (__cacoshl): Likewise.
33449 * math/s_casinh.c (__casinh): Set signs of result from argument.
33450 * math/s_casinhf.c (__casinhf): Likewise.
33451 * math/s_casinhl.c (__casinhl): Likewise.
33452 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33453 (casinh_test): Add more tests.
33454 * sysdeps/i386/fpu/libm-test-ulps: Update.
33455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33456
482ff4da
UD
334572012-03-07 Ulrich Drepper <drepper@gmail.com>
33458
872fda05
UD
33459 * po/zh_TW.po: Update from translation team.
33460
a4300c7a
UD
33461 * login/Makefile (distribute): Remove variable.
33462 * catgets/Makefile: Likewise.
33463 * mach/Makefile: Likewise.
33464 * malloc/Makefile: Likewise.
33465 * misc/Makefile: Likewise.
33466 * iconv/Makefile: Likewise.
33467 * nscd/Makefile: Likewise.
33468 * hurd/Makefile: Likewise.
33469 * manual/Makefile: Likewise.
33470 * locale/Makefile: Likewise.
33471 * intl/Makefile: Likewise.
33472 * conform/Makefile: Likewise.
33473 * nss/Makefile: Likewise.
33474 * time/Makefile: Likewise.
33475 * soft-fp/Makefile: Likewise.
33476 * dirent/Makefile: Likewise.
33477 * gmon/Makefile: Likewise.
33478 * po/Makefile: Likewise.
33479 * rt/Makefile: Likewise.
33480 * socket/Makefile: Likewise.
33481 * math/Makefile: Likewise.
33482 * signal/Makefile: Likewise.
33483 * debug/Makefile: Likewise.
33484 * elf/Makefile: Likewise.
33485 * timezone/Makefile: Likewise.
33486 * stdlib/Makefile: Likewise.
33487 * iconvdata/Makefile: Likewise.
33488 * sunrpc/Makefile: Likewise.
33489 * io/Makefile: Likewise.
33490 * argp/Makefile: Likewise.
33491 * inet/Makefile: Likewise.
33492 * hesiod/Makefile: Likewise.
33493 * grp/Makefile: Likewise.
33494 * csu/Makefile: Likewise.
33495 * wctype/Makefile: Likewise.
33496 * crypt/Makefile: Likewise.
33497 * libio/Makefile: Likewise.
33498 * string/Makefile: Likewise.
33499 * nis/Makefile: Likewise.
33500 * resolv/Makefile: Likewise.
33501 * stdio-common/Makefile: Likewise.
33502 * wcsmbs/Makefile: Likewise.
33503 * dlfcn/Makefile: Likewise.
33504 * posix/Makefile: Likewise.
33505
3b7c4e74 33506 [BZ #6959]
482ff4da
UD
33507 * timezone/Makefile: Don't install timezone files, just the programs
33508 and scripts.
33509
f72ed77d
UD
335102012-03-06 Ulrich Drepper <drepper@gmail.com>
33511
a000466f
UD
33512 * nss/databases.def: Add missing gshadow entry.
33513
f72ed77d
UD
33514 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33515
a53b7a4e
MP
335162012-03-06 Marek Polacek <polacek@redhat.com>
33517
33518 [BZ #13726]
33519 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33520 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33521 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33522 * stdio-common/tst-long-dbl-fphex.c: New file.
33523
e9258400
DM
335242012-03-06 David S. Miller <davem@davemloft.net>
33525
33526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33527 (set_obp_int): New function.
33528 (get_obp_int): New function.
33529 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33530 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33531 Avoid unused variable warnings on 'val' and use builtin_expect.
33532 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33533 __builtin_expect.
e9258400
DM
33534 (INLINE_CLONE_SYSCALL): Likewise.
33535
3bd2c723
DM
335362012-03-05 David S. Miller <davem@davemloft.net>
33537
33538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33539
bbb78d03
AS
335402012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33541
884c5db4
AS
33542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33543
bbb78d03
AS
33544 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33545 only for |x| >= 40.
33546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33547
1c9f702a 335482012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33549
33550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33551 Replace gettimeofday with __vdso_gettimeofday.
33552
7be16f82
RM
33553 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33554 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33555 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33556
33557 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33558 time with __vdso_time.
33559
ed58a00f
JM
335602012-03-05 Joseph Myers <joseph@codesourcery.com>
33561
33562 * manual/lang.texi (size_t): Note types to which size_t may be
33563 equivalent with the GNU C Library, but do not describe when
33564 differences between them are significant.
33565
30ee4ced
AJ
335662012-03-05 Andreas Jaeger <aj@suse.de>
33567
33568 * sysdeps/i386/fpu/libm-test-ulps: Update.
33569
b7cd39e8
JM
335702012-03-05 Joseph Myers <joseph@codesourcery.com>
33571
33572 [BZ #3976]
33573 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33574 (__ieee754_pow): Save and restore rounding mode and use
33575 round-to-nearest for main computations.
33576 * math/libm-test.inc (pow_test_tonearest): New function.
33577 (pow_test_towardzero): Likewise.
33578 (pow_test_downward): Likewise.
33579 (pow_test_upward): Likewise.
33580 (main): Call the new functions.
33581 * sysdeps/i386/fpu/libm-test-ulps: Update.
33582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33583
33584 [BZ #3976]
33585 * math/libm-test.inc (cosh_test_tonearest): New function.
33586 (cosh_test_towardzero): Likewise.
33587 (cosh_test_downward): Likewise.
33588 (cosh_test_upward): Likewise.
33589 (sinh_test_tonearest): Likewise.
33590 (sinh_test_towardzero): Likewise.
33591 (sinh_test_downward): Likewise.
33592 (sinh_test_upward): Likewise.
33593 (main): Call the new functions.
33594 * sysdeps/i386/fpu/libm-test-ulps: Update.
33595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33596
6c6a98c9
TV
335972012-03-05 Tom de Vries <tom@codesourcery.com>
33598
33599 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33600 default stack guard is set in last bytes.
33601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33602
21bb2d2e 336032012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33604
21bb2d2e 33605 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33606
21bb2d2e
AJ
33607 [BZ #13656]
33608 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33609 possibly allocate from heap instead of stack.
33610 * stdio-common/bug-vfprintf-nargs.c: New file.
33611 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33612
c6922934
AS
336132012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33614
33615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33616
bc957d53
MP
336172012-03-03 Marek Polacek <polacek@redhat.com>
33618
33619 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33620 * math/math_private.h: Likewise.
33621 * stdlib/tst-strtod.c: Likewise.
33622 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33623 * sysdeps/x86_64/bits/atomic.h: Likewise.
33624
6358490d
DM
336252012-03-02 David S. Miller <davem@davemloft.net>
33626
33627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33631 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33632 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33633 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33634 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33635
01ae168d
RM
336362012-03-02 Roland McGrath <roland@hack.frob.com>
33637
d9a17c07
RM
33638 [BZ #13792]
33639 * manual/examples/README: New file, says the example source files
33640 can be used under GPL>=2.
33641 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33642 line containing just "*/".
33643 * manual/examples/add.c: Add copyright header (GPL>=2).
33644 * manual/examples/argp-ex1.c: Likewise.
33645 * manual/examples/argp-ex2.c: Likewise.
33646 * manual/examples/argp-ex3.c: Likewise.
33647 * manual/examples/argp-ex4.c: Likewise.
33648 * manual/examples/atexit.c: Likewise.
33649 * manual/examples/db.c: Likewise.
33650 * manual/examples/dir.c: Likewise.
33651 * manual/examples/dir2.c: Likewise.
33652 * manual/examples/execinfo.c: Likewise.
33653 * manual/examples/filecli.c: Likewise.
33654 * manual/examples/filesrv.c: Likewise.
33655 * manual/examples/fmtmsgexpl.c: Likewise.
33656 * manual/examples/genpass.c: Likewise.
33657 * manual/examples/inetcli.c: Likewise.
33658 * manual/examples/inetsrv.c: Likewise.
33659 * manual/examples/isockad.c: Likewise.
33660 * manual/examples/longopt.c: Likewise.
33661 * manual/examples/memopen.c: Likewise.
33662 * manual/examples/memstrm.c: Likewise.
33663 * manual/examples/mkfsock.c: Likewise.
33664 * manual/examples/mkisock.c: Likewise.
33665 * manual/examples/mygetpass.c: Likewise.
33666 * manual/examples/pipe.c: Likewise.
33667 * manual/examples/popen.c: Likewise.
33668 * manual/examples/rprintf.c: Likewise.
33669 * manual/examples/search.c: Likewise.
33670 * manual/examples/select.c: Likewise.
33671 * manual/examples/setjmp.c: Likewise.
33672 * manual/examples/sigh1.c: Likewise.
33673 * manual/examples/sigusr.c: Likewise.
33674 * manual/examples/stpcpy.c: Likewise.
33675 * manual/examples/strdupa.c: Likewise.
33676 * manual/examples/strftim.c: Likewise.
33677 * manual/examples/strncat.c: Likewise.
33678 * manual/examples/subopt.c: Likewise.
33679 * manual/examples/swapcontext.c: Likewise.
33680 * manual/examples/termios.c: Likewise.
33681 * manual/examples/testopt.c: Likewise.
33682 * manual/examples/testpass.c: Likewise.
33683 * manual/examples/timeval_subtract.c: Likewise.
33684
01ae168d
RM
33685 [BZ #13792]
33686 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33687 function to ...
33688 * manual/timeval_subtract.c.texi: ... here, new file.
33689
49efa33d
DM
336902012-03-02 David S. Miller <davem@davemloft.net>
33691
33692 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33693
28afd92d
JM
336942012-03-02 Joseph Myers <joseph@codesourcery.com>
33695
804360ed
JM
33696 [BZ #3976]
33697 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33698 (__sin): Save and restore rounding mode and use round-to-nearest
33699 for all computations.
33700 (__cos): Save and restore rounding mode and use round-to-nearest
33701 for all computations.
33702 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33703 <fenv.h>.
33704 (tan): Save and restore rounding mode and use round-to-nearest for
33705 all computations.
33706 * math/libm-test.inc (cos_test_tonearest): New function.
33707 (cos_test_towardzero): Likewise.
33708 (cos_test_downward): Likewise.
33709 (cos_test_upward): Likewise.
33710 (sin_test_tonearest): Likewise.
33711 (sin_test_towardzero): Likewise.
33712 (sin_test_downward): Likewise.
33713 (sin_test_upward): Likewise.
33714 (tan_test_tonearest): Likewise.
33715 (tan_test_towardzero): Likewise.
33716 (tan_test_downward): Likewise.
33717 (tan_test_upward): Likewise.
33718 (main): Call the new functions.
33719 * sysdeps/i386/fpu/libm-test-ulps: Update.
33720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33721
a6d06d7b
JM
33722 [BZ #10135]
33723 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33724 small n, then large n, before computing and testing k+n.
33725 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33727 Likewise.
33728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33729 Likewise.
33730 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33731 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33738 * math/libm-test.inc (scalbn_test): Add more tests.
33739 (scalbln_test): Likewise.
33740
07e12bb3
JM
33741 * manual/filesys.texi (mode_t): Describe constraints on size and
33742 signedness, not exact equivalence to a particular type.
33743 (ino_t): Likewise.
33744 (ino64_t): Likewise.
33745 (dev_t): Likewise.
33746 (nlink_t): Likewise.
33747 (blkcnt_t): Likewise.
33748 (blkcnt64_t): Likewise.
33749 * manual/llio.texi (off_t): Likewise.
33750
28afd92d
JM
33751 [BZ #3976]
33752 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33753 (__ieee754_exp): Save and restore rounding mode and use
33754 round-to-nearest for all computations.
33755 * math/libm-test.inc (exp_test_tonearest): New function.
33756 (exp_test_towardzero): Likewise.
33757 (exp_test_downward): Likewise.
33758 (exp_test_upward): Likewise.
33759 (main): Call the new functions.
33760 * sysdeps/i386/fpu/libm-test-ulps: Update.
33761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762
b1eeb65d
CD
337632012-03-01 Chris Demetriou <cgd@google.com>
33764
33765 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33766 have predictable order.
33767
53362a4b
DM
337682012-03-01 David S. Miller <davem@davemloft.net>
33769
3c969083
DM
33770 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33771
759707de
DM
33772 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33773 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33774 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33775 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33776
dfdb8ff2
DM
33777 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33778 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33779 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33781 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33782 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33783 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33784 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33785 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33786
ead89f96
DM
33787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33788
7f66bd07
DM
33789 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33790 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33791 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33792
53362a4b
DM
33793 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33794 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33795 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33796 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33797 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33799 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33800 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33801 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33802 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33803 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33804 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33806 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33807 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33808 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33809 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33810 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33811 * sysdeps/sparc/elf/configure: Regenerated.
33812
7b1902cb
JM
338132012-03-01 Joseph Myers <joseph@codesourcery.com>
33814
bec039bc
JM
33815 * configure.in (AS, LD): Require binutils 2.20 or later.
33816 * configure: Regenerated.
33817 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33818 as required minimum version.
33819 * INSTALL: Regenerated.
33820
7b1902cb
JM
33821 [BZ #2541]
33822 [BZ #4108]
33823 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33824 before squaring exponent.
33825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33826 bottom long double and 27 bits of top long double before squaring
33827 exponent.
33828 * math/libm-test.inc (erfc_test): Add more tests.
33829 * sysdeps/i386/fpu/libm-test-ulps: Update.
33830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33832
f775c276
KT
338332012-03-01 Kai Tietz <ktietz@redhat.com>
33834
33835 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33836 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33837 containing bit-fields.
33838 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33839 * soft-fp/single.h (_FP_UNION_S): Likewise.
33840 * soft-fp/double.h (_FP_UNION_D): Likewise.
33841
5b8a4d4a
JM
338422012-02-29 Joseph Myers <joseph@codesourcery.com>
33843
0bab47b6
JM
33844 [BZ #13786]
33845 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33846 not include ../strcmp.S.
33847 [USE_AS_STRNCASECMP_L]: Likewise.
33848 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33849 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33850 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33851 (__strncasecmp_l_ia32): Define as alias to
33852 __strncasecmp_l_nonascii.
33853
0fcad3e2
JM
33854 [BZ #5794]
33855 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33856 * sysdeps/i386/fpu/libm-test-ulps: Update.
33857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33858
5b8a4d4a
JM
33859 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33861
8fdceb2e
JL
338622012-02-29 Jeff Law <law@redhat.com>
33863
33864 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33865 out of bounds read.
33866
1f393a11
MP
338672012-02-29 Marek Polacek <polacek@redhat.com>
33868
33869 [BZ #13706]
33870 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33871 * elf/Makefile: Add rules to run tst-unused-dep.out.
33872
8847f037
DM
338732012-02-28 David S. Miller <davem@davemloft.net>
33874
33875 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33876 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33879 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33880 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33881
169d7f11
JM
338822012-02-29 Joseph Myers <joseph@codesourcery.com>
33883
33884 * math/libm-test.inc (llround_test): Move one test from
33885 lround_test. Use TEST_f_L in moved test.
33886 (lround_test): Move misplaced test to llround_test. Add testcase
33887 from bug 2561.
33888
39adf059
UD
338892012-02-28 Ulrich Drepper <drepper@gmail.com>
33890
33891 * sysdeps/x86_64/fpu/e_expf.S: New file.
33892 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33893
71b5d1c5
SB
338942012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33895
33896 [BZ #13637]
33897 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33898 of remain_len that may cause incomplete multi-byte character and
33899 false match.
33900 * posix/bug-regex33.c: New file.
33901 * posix/Makefile (tests): Add bug-regex33.
33902
1f77f049
JM
339032012-02-28 Joseph Myers <joseph@codesourcery.com>
33904
33905 * manual/macros.texi: New file.
33906 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33907 * manual/libc.texinfo: Include macros.texi.
33908 * manual/creatute.texi: Likewise.
33909 * manual/install.texi: Likewise.
33910 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33911 @glibcadj{} in references to the GNU C Library.
33912 * manual/charset.texi: Likewise.
33913 * manual/conf.texi: Likewise.
33914 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33915 when not using those macros.
33916 * manual/creature.texi: Likewise.
33917 * manual/crypt.texi: Likewise.
33918 * manual/errno.texi: Likewise.
33919 * manual/filesys.texi: Likewise.
33920 * manual/header.texi: Likewise.
33921 * manual/install.texi: Likewise.
33922 * manual/intro.texi: Likewise.
33923 * manual/io.texi: Likewise.
33924 * manual/job.texi: Likewise.
33925 * manual/lang.texi: Likewise.
33926 * manual/libc.texiinfo: Likewise.
33927 * manual/llio.texi: Likewise.
33928 * manual/locale.texi: Likewise.
33929 * manual/maint.texi: Likewise.
33930 * manual/math.texi: Likewise.
33931 * manual/memory.texi: Likewise.
33932 * manual/message.texi: Likewise.
33933 * manual/nss.texi: Likewise.
33934 * manual/pattern.texi: Likewise.
33935 * manual/process.texi: Likewise.
33936 * manual/resource.texi: Likewise.
33937 * manual/search.texi: Likewise.
33938 * manual/setjmp.texi: Likewise.
33939 * manual/signal.texi: Likewise.
33940 * manual/socket.texi: Likewise.
33941 * manual/startup.texi: Likewise.
33942 * manual/stdio.texi: Likewise.
33943 * manual/string.texi: Likewise.
33944 * manual/sysinfo.texi: Likewise.
33945 * manual/syslog.texi: Likewise.
33946 * manual/terminal.texi: Likewise.
33947 * manual/time.texi: Likewise.
33948 * manual/users.texi: Likewise.
33949 * INSTALL: Regenerated.
33950 * NOTES: Regenerated.
d40c5d54 33951 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33952
450bf206
AS
339532012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33954
33955 * include/dirent.h: Include <dirstream.h> before
33956 <dirent/dirent.h>.
33957
741a235b
DM
339582012-02-28 David S. Miller <davem@davemloft.net>
33959
33960 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33961 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33962 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33963 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33964
d6b5aa58
DM
339652012-02-27 David S. Miller <davem@davemloft.net>
33966
1aff59a3
DM
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33969 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33970 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33971
d6b5aa58
DM
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33973 frame pointer instead of stack pointer relative arg slot.
33974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33977
433f48bf
CD
339782012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33979
33980 [BZ #3992]
33981 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33982
d674b76d
DM
339832012-02-27 David S. Miller <davem@davemloft.net>
33984
33985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33989 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33990 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33991 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33992 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33993
0e7727f7
JM
339942012-02-27 Joseph Myers <joseph@codesourcery.com>
33995
33996 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33997 later. Allow versions 5-9.
43be4ca2 33998 * configure: Regenerated.
0e7727f7
JM
33999 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34000 required minimum version and 4.6 as recommended version. Do not
34001 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34002 * INSTALL: Regenerated.
0e7727f7 34003
a78bc654
DM
340042012-02-27 David S. Miller <davem@davemloft.net>
34005
428d5830
DM
34006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34010 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34011 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34012 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34013 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34014
a78bc654
DM
34015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34016 manipulate bits before adding and subtracting TWO112[sx].
34017 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34018
4579f81c
RM
340192012-02-27 Roland McGrath <roland@hack.frob.com>
34020
36c8acb4
RM
34021 [BZ #13775]
34022 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34023 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34024 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34025 being in POSIX, because they are in 1003.1-2008.
34026
84ad622b
RM
34027 * rt/tst-aio.c: Include <fcntl.h>.
34028 * rt/tst-aio7.c: Likewise.
34029 * rt/tst-aio64.c: Likewise.
34030
4579f81c
RM
34031 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34032
abd923db
JM
340332012-02-27 Joseph Myers <joseph@codesourcery.com>
34034
34035 * manual/install.texi (--with-headers): Describe headers as
34036 interface headers, not private headers.
34037 (Specific advice for GNU/Linux systems): Describe use of headers
34038 from "make headers_install", not private headers from older
34039 kernels.
43be4ca2 34040 * INSTALL: Regenerated.
abd923db
JM
34041 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34042 Change to 2.6.19.
34043 * sysdeps/unix/sysv/linux/configure: Regenerated.
34044
6664049b
JM
34045 * manual/llio.texi (fclean): Remove documentation.
34046
bb8b6697
JM
34047 * manual/Makefile (libc-texi-generated): New variable. Include
34048 version.texi.
34049 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34050 $(libc-texi-generated), not duplicated list of files.
34051 (version.texi, stamp-version): New rules.
34052 (realclean): Remove $(libc-texi-generated), not individual files
34053 from that list. Do not remove dir-add.texinfo.
34054 * manual/libc.texinfo: Comment out uses of edition numbers and
34055 references to printed manual. Remove last-updated dates.
34056 (EDITION): Comment out.
34057 (ISBN): Likewise.
34058 (VERSION, UPDATED): Remove.
34059 (version.texi): Include.
34060
12e5c3b9
AS
340612012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34062
34063 * sysdeps/posix/spawni.c: Include <signal.h>.
34064 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34065 * sysdeps/pthread/aio_fsync.c: Likewise.
34066
4efeffc1 340672012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34068
ba63ba08
UD
34069 * conform/Makefile (tests): Run only when not cross-compiling and
34070 when fast-check is not defined.
34071
d94a4670
UD
34072 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34073 * conform/data/limits.h-data: Fixes for POSIX2008.
34074 * conform/run-conformtest.sh: Run all tests.
34075 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34076 headers.
34077 * include/bits/dlfcn.h: Likewise.
34078 * include/langinfo.h: Likewise.
34079 * include/monetary.h: Likewise.
34080 * include/sys/poll.h: Likewise.
34081
34082 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34083 for __USE_GNU.
34084 * posix/spawn.h: Define __need_sigset_t.
34085 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34086 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34087 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34088 to get sigevent_t only.
34089 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34090 only for __USE_GNU.
34091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34092 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34093 process_vm_writev only for __USE_GNU.
34094 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34095
34096 * conform/Makefile: For now ignore errors from run-conformtest.
34097 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34098 POSIX to avoid namespace pollution. Don't prepend headers.
34099 * conform/data/aio.h-data: Fixes for POSIX testing.
34100 * conform/data/fcntl.h-data: Likewise.
34101 * conform/data/glob.h-data: Likewise.
34102 * conform/data/grp.h-data: Likewise.
34103 * conform/data/pthread.h-data: Likewise.
34104 * conform/data/pwd.h-data: Likewise.
34105 * conform/data/signal.h-data: Likewise.
34106 * conform/data/spawn.h-data: Likewise.
34107 * conform/data/stdio.h-data: Likewise.
34108 * conform/data/stdlib.h-data: Likewise.
34109 * conform/data/stropts.h-data: Likewise.
34110 * conform/data/sys/mman.h-data: Likewise.
34111 * conform/data/sys/stat.h-data: Likewise.
34112 * conform/data/sys/types.h-data: Likewise.
34113 * conform/data/sys/wait.h-data: Likewise.
34114 * conform/data/time.h-data: Likewise.
34115 * conform/data/unistd.h-data: Likewise.
34116 * conform/data/utime.h-data: Likewise.
34117
34118 * io/sys/stat.h: fchmod was always in POSIX.
34119 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34120 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34121 * rt/aio.h: Define __need_timespec before including <time.h>.
34122 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34123 struct. Add forward declaration of pthread_attr_t and use it in
34124 sigevent.
34125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34126 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34127 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34128 always remove CLK_TCK definition.
34129
c20105c3
AS
341302012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34131
34132 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34133
7a270350
UD
341342012-02-25 Ulrich Drepper <drepper@gmail.com>
34135
31341567
UD
34136 * conform/run-conformtest.sh: New file.
34137 * conform/Makefile: Run run-conformtest for tests.
34138 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34139 support.
34140
34141 * conform/data/uchar.h-data: New file.
34142 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34143 * conform/data/arpa/inet.h-data: Likewise.
34144 * conform/data/assert.h-data: Likewise.
34145 * conform/data/complex.h-data: Likewise.
34146 * conform/data/cpio.h-data: Likewise.
34147 * conform/data/ctype.h-data: Likewise.
34148 * conform/data/dirent.h-data: Likewise.
34149 * conform/data/dlfcn.h-data: Likewise.
34150 * conform/data/errno.h-data: Likewise.
34151 * conform/data/fcntl.h-data: Likewise.
34152 * conform/data/float.h-data: Likewise.
34153 * conform/data/fmtmsg.h-data: Likewise.
34154 * conform/data/fnmatch.h-data: Likewise.
34155 * conform/data/ftw.h-data: Likewise.
34156 * conform/data/glob.h-data: Likewise.
34157 * conform/data/grp.h-data: Likewise.
34158 * conform/data/iconv.h-data: Likewise.
34159 * conform/data/inttypes.h-data: Likewise.
34160 * conform/data/langinfo.h-data: Likewise.
34161 * conform/data/libgen.h-data: Likewise.
34162 * conform/data/limits.h-data: Likewise.
34163 * conform/data/locale.h-data: Likewise.
34164 * conform/data/math.h-data: Likewise.
34165 * conform/data/monetary.h-data: Likewise.
34166 * conform/data/mqueue.h-data: Likewise.
34167 * conform/data/ndbm.h-data: Likewise.
34168 * conform/data/net/if.h-data: Likewise.
34169 * conform/data/netdb.h-data: Likewise.
34170 * conform/data/netinet/in.h-data: Likewise.
34171 * conform/data/nl_types.h-data: Likewise.
34172 * conform/data/poll.h-data: Likewise.
34173 * conform/data/pthread.h-data: Likewise.
34174 * conform/data/pwd.h-data: Likewise.
34175 * conform/data/regex.h-data: Likewise.
34176 * conform/data/sched.h-data: Likewise.
34177 * conform/data/search.h-data: Likewise.
34178 * conform/data/semaphore.h-data: Likewise.
34179 * conform/data/setjmp.h-data: Likewise.
34180 * conform/data/signal.h-data: Likewise.
34181 * conform/data/spawn.h-data: Likewise.
34182 * conform/data/stdarg.h-data: Likewise.
34183 * conform/data/stdio.h-data: Likewise.
34184 * conform/data/stdlib.h-data: Likewise.
34185 * conform/data/string.h-data: Likewise.
34186 * conform/data/strings.h-data: Likewise.
34187 * conform/data/stropts.h-data: Likewise.
34188 * conform/data/sys/ipc.h-data: Likewise.
34189 * conform/data/sys/mman.h-data: Likewise.
34190 * conform/data/sys/msg.h-data: Likewise.
34191 * conform/data/sys/resource.h-data: Likewise.
34192 * conform/data/sys/select.h-data: Likewise.
34193 * conform/data/sys/sem.h-data: Likewise.
34194 * conform/data/sys/shm.h-data: Likewise.
34195 * conform/data/sys/socket.h-data: Likewise.
34196 * conform/data/sys/stat.h-data: Likewise.
34197 * conform/data/sys/statvfs.h-data: Likewise.
34198 * conform/data/sys/time.h-data: Likewise.
34199 * conform/data/sys/timeb.h-data: Likewise.
34200 * conform/data/sys/times.h-data: Likewise.
34201 * conform/data/sys/types.h-data: Likewise.
34202 * conform/data/sys/uio.h-data: Likewise.
34203 * conform/data/sys/un.h-data: Likewise.
34204 * conform/data/sys/utsname.h-data: Likewise.
34205 * conform/data/sys/wait.h-data: Likewise.
34206 * conform/data/syslog.h-data: Likewise.
34207 * conform/data/tar.h-data: Likewise.
34208 * conform/data/termios.h-data: Likewise.
34209 * conform/data/utime.h-data: Likewise.
34210 * conform/data/utmpx.h-data: Likewise.
34211 * conform/data/varargs.h-data: Likewise.
34212 * conform/data/wchar.h-data: Likewise.
34213 * conform/data/wctype.h-data: Likewise.
34214 * conform/data/wordexp.h-data: Likewise.
34215
34216 * include/stropts.h: New file.
34217 * include/uchar.h: New file.
34218 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34219 * include/assert.h: Likewise.
34220 * include/ctype.h: Likewise.
34221 * include/dirent.h: Likewise.
34222 * include/dlfcn.h: Likewise.
34223 * include/fcntl.h: Likewise.
34224 * include/fnmatch.h: Likewise.
34225 * include/glob.h: Likewise.
34226 * include/grp.h: Likewise.
34227 * include/libio.h: Likewise.
34228 * include/locale.h: Likewise.
34229 * include/math.h: Likewise.
34230 * include/net/if.h: Likewise.
34231 * include/netdb.h: Likewise.
34232 * include/netinet/in.h: Likewise.
34233 * include/pthread.h: Likewise.
34234 * include/pwd.h: Likewise.
34235 * include/regex.h: Likewise.
34236 * include/sched.h: Likewise.
34237 * include/search.h: Likewise.
34238 * include/setjmp.h: Likewise.
34239 * include/signal.h: Likewise.
34240 * include/stdio.h: Likewise.
34241 * include/stdlib.h: Likewise.
34242 * include/string.h: Likewise.
34243 * include/sys/cdefs.h: Likewise.
34244 * include/sys/mman.h: Likewise.
34245 * include/sys/msg.h: Likewise.
34246 * include/sys/resource.h: Likewise.
34247 * include/sys/select.h: Likewise.
34248 * include/sys/socket.h: Likewise.
34249 * include/sys/stat.h: Likewise.
34250 * include/sys/statvfs.h: Likewise.
34251 * include/sys/time.h: Likewise.
34252 * include/sys/times.h: Likewise.
34253 * include/sys/uio.h: Likewise.
34254 * include/sys/utsname.h: Likewise.
34255 * include/sys/wait.h: Likewise.
34256 * include/termios.h: Likewise.
34257 * include/time.h: Likewise.
34258 * include/ulimit.h: Likewise.
34259 * include/unistd.h: Likewise.
34260 * include/utime.h: Likewise.
34261 * include/wchar.h: Likewise.
34262 * include/wctype.h: Likewise.
34263 * include/wordexp.h: Likewise.
34264
34265 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34266
7a270350
UD
34267 * time/time.h: TIME_UTC must be a macro.
34268 Make timespec_get available for ISO C11 only as well.
34269
7724defc
UD
342702012-02-24 Ulrich Drepper <drepper@gmail.com>
34271
34272 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34273 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34274
6b1d1d46
JM
342752012-02-24 Joseph Myers <joseph@codesourcery.com>
34276
34277 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34278
0f8bbd69
JM
342792012-02-24 Joseph Myers <joseph@codesourcery.com>
34280
34281 * manual/texinfo.tex: Update to version 2012-01-19.16.
34282
66ab80bc
JM
342832012-02-24 Joseph Myers <joseph@codesourcery.com>
34284
34285 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34286
74981cc5
RM
342872012-02-24 Roland McGrath <roland@hack.frob.com>
34288
ee968201
RM
34289 [BZ #13738]
34290 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34291 * manual/fdl-1.3.texi: New file.
34292 * manual/fdl-1.1.texi: File removed.
34293
74981cc5
RM
34294 [BZ #13738]
34295 * manual/libc.texinfo (FDL_VERSION): New @set.
34296 Use it for mention of FDL in cover text.
34297 (Documentation License): Use it in @include file name.
34298
7bb764bc
JM
342992012-02-22 Joseph Myers <joseph@codesourcery.com>
34300 Roland McGrath <roland@hack.frob.com>
34301
34302 [BZ #5461]
34303 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34304 not LONG_LONG_MAX and LONG_LONG_MIN.
34305 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34306 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34307 name.
34308 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34309
6cbeae47
JM
343102012-02-22 Joseph Myers <joseph@codesourcery.com>
34311
34312 [BZ #2547]
34313 [BZ #11365]
34314 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34315 manipulate bits before adding and subtracting TWO23[sx].
34316 * math/libm-test.inc (nearbyint_test): Add more tests.
34317
fe45ce09
JM
343182012-02-22 Joseph Myers <joseph@codesourcery.com>
34319
34320 [BZ #2548]
34321 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34322 bits before adding and subtracting TWO23[sx].
34323 * math/libm-test.inc (rint_test): Add more tests.
34324 (rint_test_tonearest): Likewise.
34325 (rint_test_towardzero): Likewise.
34326 (rint_test_downward): Likewise.
34327 (rint_test_upward: Likewise.
34328
ff3b3d82
JM
343292012-02-22 Joseph Myers <joseph@codesourcery.com>
34330
34331 [BZ #10110]
34332 * include/stdc-predef.h: New file. Extracted from features.h.
34333 * include/features.h: Include stdc-predef.h.
34334 * Makefile (headers): Add stdc-predef.h.
34335 * CONFORMANCE (Compiler limitations): Update.
34336
ef0aab35
JM
343372012-02-22 Joseph Myers <joseph@codesourcery.com>
34338
34339 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34340
58639409
DM
343412012-02-21 David S. Miller <davem@davemloft.net>
34342
34343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34345
c0e70b25
DM
343462012-02-20 David S. Miller <davem@davemloft.net>
34347
34348 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34349 using a normal save/restore sequence, rather than allocating a
34350 dummy stack frame just to store a frame pointer and restore.
34351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34352
fb06851d
JM
343532012-02-21 Joseph Myers <joseph@codesourcery.com>
34354
34355 * manual/install.texi: Fix stray word in line-wrapped comment.
34356
7a8b71c3
DM
343572012-02-20 David S. Miller <davem@davemloft.net>
34358
d510c123
DM
34359 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34360 both binutils and gcc support GOTDATA.
34361
0722d7c2
DM
34362 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34363 "rd %pc" in the PIC register setup sequences.
34364
3d2b3019
DM
34365 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34366 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34368 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34369 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34374 (SYSCALL_ERROR_HANDLER): Likewise.
34375 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34376 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34378 (SYSCALL_ERROR_HANDLER): Likewise.
34379
c80098a9
DM
34380 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34381 (HAVE_GCC_GOTDATA): New.
34382 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34383 relocation support in both binutils and gcc.
34384 * sysdeps/sparc/elf/configure: Regenerate.
34385
3a2545a0
DM
34386 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34387 * sysdeps/sparc/sparc32/elf/configure: Delete.
34388 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34389 * sysdeps/sparc/sparc64/elf/configure: Delete.
34390 * sysdeps/sparc/elf/configure.in: New file.
34391 * sysdeps/sparc/elf/configure: Generate.
34392
7a8b71c3
DM
34393 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34394 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34395 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34396 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34397 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34398
f1e86fca
JM
343992012-02-21 Joseph Myers <joseph@codesourcery.com>
34400
34401 * manual/install.texi: Do not mention specific glibc version
34402 numbers.
34403 * manual/libc.texinfo (VERSION, UPDATED): Update.
34404 (@copying): Use @copyright{} and range of years.
34405
0e7dfaef
JM
344062012-02-21 Joseph Myers <joseph@codesourcery.com>
34407
34408 [BZ #13695]
34409 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34410 [crti.S not in sysdirs] (generated): Do not append.
34411 [crti.S not in sysdirs] (omit-deps): Likewise.
34412 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34413 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34414 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34415 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34416 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34417 Likewise.
34418 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34419 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34420 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34421 * csu/defs.awk: Remove file.
34422 * sysdeps/generic/initfini.c: Likewise.
34423 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34424 variable.
34425 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34426 Likewise.
34427
599af3ca
JM
344282012-02-20 Joseph Myers <joseph@codesourcery.com>
34429
34430 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34431 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34432 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34435 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34436 <bits/epoll.h>.
34437 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34438 (__EPOLL_PACKED): Define to empty if not defined by
34439 <bits/epoll.h>.
34440 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34442 bits/epoll.h.
34443
0e499750
JM
344442012-02-20 Joseph Myers <joseph@codesourcery.com>
34445
34446 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34447 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34448 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34449 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34450 <bits/timerfd.h>.
34451 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34453 bits/timerfd.h.
34454
5ad91f6e
JM
344552012-02-20 Joseph Myers <joseph@codesourcery.com>
34456
34457 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34458 in C locale.
34459 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34460 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34463
06b99b02
AJ
344642012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34465
34466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34468
7638c0fd
AS
344692012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34470
34471 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34472 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34473 defined.
34474 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34475 Likewise.
34476 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34477 entry for 2.16.
34478
92221550
AJ
344792012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34480
34481 * math/w_acos.c: Use non-signaling floating-point comparisons.
34482 * math/w_acosf.c: Likewise.
34483 * math/w_acosh.c: Likewise.
34484 * math/w_acoshf.c: Likewise.
34485 * math/w_acoshl.c: Likewise.
34486 * math/w_acosl.c: Likewise.
34487 * math/w_asin.c: Likewise.
34488 * math/w_asinf.c: Likewise.
34489 * math/w_asinl.c: Likewise.
34490 * math/w_atanh.c: Likewise.
34491 * math/w_atanhf.c: Likewise.
34492 * math/w_atanhl.c: Likewise.
34493 * math/w_exp2.c: Likewise.
34494 * math/w_exp2f.c: Likewise.
34495 * math/w_exp2l.c: Likewise.
34496 * math/w_j0.c: Likewise.
34497 * math/w_j0f.c: Likewise.
34498 * math/w_j0l.c: Likewise.
34499 * math/w_j1.c: Likewise.
34500 * math/w_j1f.c: Likewise.
34501 * math/w_j1l.c: Likewise.
34502 * math/w_jn.c: Likewise.
34503 * math/w_jnf.c: Likewise.
34504 * math/w_log.c: Likewise.
34505 * math/w_log10.c: Likewise.
34506 * math/w_log10f.c: Likewise.
34507 * math/w_log10l.c: Likewise.
34508 * math/w_log2.c: Likewise.
34509 * math/w_log2f.c: Likewise.
34510 * math/w_log2l.c: Likewise.
34511 * math/w_logf.c: Likewise.
34512 * math/w_logl.c: Likewise.
34513 * math/w_sqrt.c: Likewise.
34514 * math/w_sqrtf.c: Likewise.
34515 * math/w_sqrtl.c: Likewise.
34516 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34517 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34519 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34520 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34521
ebaf36eb
JM
345222012-02-19 Joseph Myers <joseph@codesourcery.com>
34523
34524 [BZ #9739]
34525 * manual/string.texi (strnlen): Use correct parameter name in
34526 equivalent expression.
34527
71c254a6
JM
345282012-02-19 Joseph Myers <joseph@codesourcery.com>
34529
34530 [BZ #11174]
34531 * manual/users.texi (seteuid): Consistently use neweuid for
34532 argument name.
34533
16d2c631
JM
345342012-02-19 Joseph Myers <joseph@codesourcery.com>
34535
34536 [BZ #13704]
34537 * manual/nss.texi (Services in the NSS configuration): Correct
34538 list of services in example configuration file.
34539
cd837b09
NB
345402012-02-19 Nick Bowler <nbowler@draconx.ca>
34541
34542 [BZ #11322]
34543 * manual/arith.texi: Remove statements about negative zero
34544 behaving identically to zero.
34545
02c4bbad
JM
345462012-02-18 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #5993]
34549 * manual/install.texi: Do not document upgrading from libc5.
34550
366842e7
JM
345512012-02-18 Joseph Myers <joseph@codesourcery.com>
34552
34553 [BZ #4596]
34554 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34555
dd54084d
DM
345562012-02-18 David S. Miller <davem@davemloft.net>
34557
34558 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34559 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34560 %o7 across the call.
34561 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34562 instead.
34563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34564 SETUP_PIC_REG_LEAF.
34565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34566 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34567 * sysdeps/sparc/crtn.S: Likewise.
34568
2bcc53a3
UD
345692012-02-17 Ulrich Drepper <drepper@gmail.com>
34570
34571 * aout/Makefile: Remove.
34572
09c093b5
RK
345732012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34574
34575 [BZ #13058]
34576 * manual/examples/argp-ex1.c (main): Format definition in GNU
34577 style.
34578 * manual/examples/argp-ex2.c (main): Likewise.
34579 * manual/examples/argp-ex3.c (main): Likewise.
34580 * manual/examples/argp-ex4.c (main): Likewise.
34581 * manual/examples/longopt.c (main): Use new-style prototype
34582 definition.
34583 * manual/examples/strncat.c (main): Specify return type and use
34584 (void) for arguments.
34585 * manual/examples/subopt.c (main): Use char **argv argument.
34586
2ee633a2
JM
345872012-02-17 Joseph Myers <joseph@codesourcery.com>
34588
34589 [BZ #5077]
34590 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34591 rounding modes.
34592
0520adde
FB
345932012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34594
34595 [BZ #6907]
34596 * manual/string.texi (strchr): Change when strchrnul is
34597 recommended.
34598
3f4081cd
DGM
345992012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34600
34601 [BZ #174]
34602 * manual/locale.texi (setlocale): Document LOCPATH.
34603
d1b10e78
JM
346042012-02-17 Joseph Myers <joseph@codesourcery.com>
34605
34606 [BZ #10210]
34607 * manual/process.texi (execle): Move @dots{} before last argument.
34608
79c6869c
PB
346092012-02-17 Paul Bolle <pebolle@tiscali.nl>
34610
34611 [BZ #12047]
34612 * manual/charset.texi (Generic Charset Conversion): Fix typo
34613 (LC_TYPE -> LC_CTYPE).
34614
cc6e48bc
NB
346152012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34616
34617 [BZ #5805]
34618 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34619 (scalbnf): Likewise.
34620 (scalbnl): Likewise.
34621 (scalbln): Likewise.
34622 (scalblnf): Likewise.
34623 (scalblnl): Likewise.
34624 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34625 (vwarnx): Likewise.
34626 (verr): Likewise.
34627 (verrx): Likewise.
34628 * manual/filesys.texi (telldir): Use braces around return type.
34629 * manual/llio.texi (mmap): Add space after comma.
34630 (mmap64): Likewise.
34631 * manual/math.texi (jn): Use @var{} on parameter names.
34632 (jnf): Likewise.
34633 (jnl): Likewise.
34634 (yn): Likewise.
34635 (ynf): Likewise.
34636 (ynl): Likewise.
34637 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34638 line.
34639 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34640 "...".
34641 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34642 (sched_get_priority_max): Likewise.
34643 * manual/signal.texi (sigvec): Add space after comma.
34644 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34645 names.
34646 (if_indextoname): Likewise.
34647 (if_freenameindex): Likewise.
34648 (sendto): Use ',' instead of '.' in prototype.
34649 * manual/startup.texi (syscall): Use @dots{} instead of literal
34650 "...".
34651 * manual/stdio.texi (__fpending): Separate initial words of
34652 paragraph from @deftypefun line.
34653 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34654 "...".
34655 (vsyslog): Use @var{} on parameter names.
34656 * manual/terminal.texi (stty): Use @var{} on parameter names.
34657 * manual/users.texi (getutmp): Use @var{} on parameter names.
34658 (getutmpx): Likewise.
34659
5b23062f
JM
346602012-02-17 Joseph Myers <joseph@codesourcery.com>
34661
34662 [BZ #6884]
34663 * manual/stdio.texi (fopen): Fix typos in description of
34664 ",ccs=STRING".
34665
8dee4833
AJ
346662012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34667
34668 [BZ #4026]
34669 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34670 get clock_id definition.
34671
9078ce93
TS
346722012-02-17 Thomas Schwinge <thomas@schwinge.name>
34673
34674 [BZ #4822]
34675 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34676 (madvise): Cast every argument to void on its own.
34677
3835c55f
JM
346782012-02-17 Joseph Myers <joseph@codesourcery.com>
34679
34680 [BZ #9902]
34681 * manual/startup.texi (Exit Status): Fix typo.
34682
35c47e37
JM
346832012-02-17 Joseph Myers <joseph@codesourcery.com>
34684
34685 [BZ #10140]
34686 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34687 * manual/examples/argp-ex2.c: Likewise.
34688 * manual/examples/argp-ex3.c: Likewise.
34689
e3b69ca7
RH
346902012-02-16 Richard Henderson <rth@redhat.com>
34691
34692 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34693 * sysdeps/s390/s390-32/initfini.c: Remove.
34694 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34695 * sysdeps/s390/s390-64/initfini.c: Remove.
34696
df83af67
KK
346972012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34698
34699 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34700 compiler output for sysdeps/generic/initfini.c.
34701 * sysdeps/sh/elf/initfini.c: Remove file.
34702
f63f3380
DM
347032012-02-16 David S. Miller <davem@davemloft.net>
34704
fb59b3a4
DM
34705 [BZ #11494]
34706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34707
f63f3380
DM
34708 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34709 * sysdeps/sparc/crti.S: New file.
34710 * sysdeps/sparc/crtn.S: New file.
34711 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34712 * sysdeps/sparc/sparc64/Makefile: Likewise.
34713
df6a4a4a
MF
347142012-02-15 Mike Frysinger <vapier@gentoo.org>
34715
6dd8f3dc 34716 [BZ #3335]
df6a4a4a
MF
34717 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34718
1cac7236
RM
347192012-02-15 Roland McGrath <roland@hack.frob.com>
34720
d2c736f8
RM
34721 [BZ #4822]
34722 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34723
1cac7236
RM
34724 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34725 (write, read, close): Likewise.
34726 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34727
8e475601
JM
347282012-02-15 Joseph Myers <joseph@codesourcery.com>
34729
34730 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34731 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34732 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34733 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34734 <bits/signalfd.h>.
34735 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34737 bits/signalfd.h.
34738
ed656b40
MP
347392012-02-14 Marek Polacek <polacek@redhat.com>
34740
34741 * sysdeps/x86_64/crti.S: New file.
34742 * sysdeps/x86_64/crtn.S: New file.
34743 * sysdeps/x86_64/elf/initfini.c: Remove file.
34744
2a979d3a
JM
347452012-02-13 Joseph Myers <joseph@codesourcery.com>
34746
34747 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34748 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34749 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34750 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34751 <bits/inotify.h>.
34752 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34754 bits/inotify.h.
34755
2a418ac3
JM
347562012-02-13 Joseph Myers <joseph@codesourcery.com>
34757
34758 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34759 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34760 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34761 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34762 <bits/eventfd.h>.
34763 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34765 bits/eventfd.h.
34766
fb779be7
TS
347672012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34768
e19e83c5
RM
34769 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34770 __feraiseexcept instead of feraiseexcept.
7c35ffed 34771
fb779be7
TS
34772 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34773 nanosleep invocations.
34774 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34775 strings, and add error checking for a nanosleep invocations.
34776
59ba27a6
PE
347772012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34778
34779 Replace FSF snail mail address with URLs, as per GNU coding standards.
34780 Most of the snail mail addresses were wrong anyway, and omitting
34781 them makes the source code easier to maintain. Almost all of the
34782 changes are to license notices and to locale LC_IDENTIFICATION
34783 addresses, except for this one:
34784 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34785 not its snail mail address.
34786
57b957eb
RH
347872012-02-09 Richard Henderson <rth@twiddle.net>
34788
af850b1c
RH
34789 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34790 of kernel-features.h.
34791
57b957eb
RH
34792 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34793
6b73181a
MP
347942012-02-08 Marek Polacek <polacek@redhat.com>
34795
34796 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34797 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34798 * sysdeps/gnu/_G_config.h: Likewise.
34799 * sysdeps/generic/_G_config.h: Likewise.
34800
26ecc33a
AS
348012012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34802
6c6dbc63
AS
34803 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34804 tests.
34805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34806
e216c012
AS
34807 * sysdeps/powerpc/powerpc32/crti.S: New file.
34808 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34809 * sysdeps/powerpc/powerpc64/crti.S: New file.
34810 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34811
26ecc33a
AS
34812 * Makeconfig (have-initfini): Don't set.
34813 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34814 * configure.in (nopic_initfini): Don't substitute.
34815 * config.h.in (HAVE_INITFINI): Don't #undef.
34816 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34817 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34818
3add8e13
JM
348192012-02-08 Joseph Myers <joseph@codesourcery.com>
34820
34821 Support crti.S and crtn.S provided directly by architectures.
34822 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34823 [crti.S in sysdirs] (omit-deps): Likewise.
34824 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34825 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34826 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34827 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34828 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34829 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34830 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34831 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34832 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34833 compiler output for sysdeps/generic/initfini.c.
34834 * sysdeps/i386/elf/Makefile: Remove file.
34835 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34836
a22f12b4
MP
348372012-02-07 Marek Polacek <polacek@redhat.com>
34838
34839 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34840 * sysdeps/gnu/_G_config.h: Likewise.
34841 * sysdeps/mach/hurd/_G_config.h: Likewise.
34842
148cf100
MP
348432012-02-07 Marek Polacek <polacek@redhat.com>
34844
34845 * math/Makefile (tests): Add tst-CMPLX2.
34846 * math/tst-CMPLX2.c: New file.
34847
cfdc0dd7
AS
348482012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34849
84ba42c4
AS
34850 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34851
cfdc0dd7
AS
34852 * math/libm-test.inc (jn_test): Add missing L suffix.
34853
622c86f4
MP
348542012-02-06 Marek Polacek <polacek@redhat.com>
34855
34856 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34857 * sysdeps/i386/fpu/e_powf.S: Likewise.
34858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34859 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34861 * sysdeps/i386/fpu/e_pow.S: Likewise.
34862 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34863 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34864 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34865 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34866 * sysdeps/i386/fpu/e_log2.S: Likewise.
34867 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34868 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34869 * sysdeps/i386/fpu/e_powl.S: Likewise.
34870 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34871 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34872 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34873 * sysdeps/i386/fpu/e_logl.S: Likewise.
34874 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34875 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34876 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34877 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34878 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34879 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34880 * sysdeps/i386/fpu/e_log.S: Likewise.
34881 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34882 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34883 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34884 * sysdeps/i386/fpu/e_logf.S: Likewise.
34885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34886 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34887 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34888 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34889 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34890 * sysdeps/i386/fpu/e_log10.S: Likewise.
34891 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34893 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34894 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34896 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34897 * sysdeps/i386/asm-syntax.h: Likewise.
34898 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34899 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34900 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34901 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34902 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34903 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34904 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34905 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34906 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34907 * sysdeps/powerpc/sysdep.h: Likewise.
34908 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34909 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34910
d4a54ac6
JM
349112012-02-06 Joseph Myers <joseph@codesourcery.com>
34912
34913 [BZ #411]
34914 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34915
314054ea
JM
349162012-02-06 Joseph Myers <joseph@codesourcery.com>
34917
34918 * sysdeps/i386/sysdep.h: Include <features.h>.
34919 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34920 version.
34921
d8e0ca50
JM
349222012-02-05 Joseph Myers <joseph@codesourcery.com>
34923
34924 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34925 Define.
34926 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34927 LOAD_PIC_REG_STR.
34928
b1da7dd9
JM
349292012-02-03 Joseph Myers <joseph@codesourcery.com>
34930
34931 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34932 (SETUP_PIC_REG): Use GET_PC_THUNK.
34933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34934 macro.
34935
9a1d9254
JM
349362012-02-03 Joseph Myers <joseph@codesourcery.com>
34937
34938 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34939 for non-PIC compilation.
34940 (SETUP_PIC_REG): Add .p2align directive.
34941 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34942 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34956 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34957 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34958 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34959 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34960 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34962 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34963 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34964 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34965 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34969 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34970 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34971 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34973 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34974 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34975 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34976 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34977 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34978 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34979 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34980 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34981 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34982
65dc3b75
JM
349832012-02-03 Joseph Myers <joseph@codesourcery.com>
34984
34985 * math/tst-CMPLX.c: Include <stdio.h>.
34986
d55bf177
JM
349872012-01-31 Joseph Myers <joseph@codesourcery.com>
34988
34989 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34990 float.
34991 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34992 * sysdeps/sparc/bits/mathdef.h: Likewise.
34993
69db4f8f
MP
349942012-01-31 Marek Polacek <polacek@redhat.com>
34995
34996 * libio/libio.h: Don't define _PARAMS.
34997 * locale/programs/config.h: Don't define PARAMS.
34998 * stdlib/strtol_l.c: Likewise.
34999 (__strtol_l): Remove PARAMS from the prototype.
35000
41b81892
UD
350012012-01-31 Ulrich Drepper <drepper@gmail.com>
35002
3b49edc0
UD
35003 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35004 names. Just use the correct names. Remove unnecessary wrapper
35005 functions.
35006 * malloc/arena.c: Likewise.
35007 * malloc/hooks.c: Likewise.
35008
41b81892
UD
35009 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35010 ARENA_TEST says not to. Simplify test for creation of a new arena.
35011 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35012
27a25b6e
UD
350132012-01-30 Ulrich Drepper <drepper@gmail.com>
35014
35015 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35016 into tail calls.
35017 (update_get_addr): New function.
35018 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35019 GET_ADDR_MODULE parameter.
35020
c8a89e7d
JM
350212012-01-30 Joseph Myers <joseph@codesourcery.com>
35022
35023 * crypt/cert.c: Remove __STDC__ conditionals.
35024 * crypt/crypt-entry.c: Likewise.
35025 * crypt/crypt_util.c: Likewise.
35026 * libio/filedoalloc.c: Likewise.
35027 * libio/fileops.c: Likewise.
35028 * libio/genops.c: Likewise.
35029 * libio/iofclose.c: Likewise.
35030 * libio/iofdopen.c: Likewise.
35031 * libio/iofopen.c: Likewise.
35032 * libio/iofopen64.c: Likewise.
35033 * libio/iogetdelim.c: Likewise.
35034 * libio/iopopen.c: Likewise.
35035 * libio/obprintf.c: Likewise.
35036 * libio/oldfileops.c: Likewise.
35037 * libio/oldiofclose.c: Likewise.
35038 * libio/oldiofdopen.c: Likewise.
35039 * libio/oldiofopen.c: Likewise.
35040 * libio/oldiopopen.c: Likewise.
35041 * libio/wfiledoalloc.c: Likewise.
35042 * libio/wgenops.c: Likewise.
35043 * locale/programs/xmalloc.c: Likewise.
35044 * misc/syslog.c: Likewise.
35045 * stdio-common/xbug.c: Likewise.
35046 * string/memchr.c: Likewise.
35047 * string/memcmp.c: Likewise.
35048 * string/memrchr.c: Likewise.
35049 * string/rawmemchr.c: Likewise.
35050 * sysdeps/posix/getcwd.c: Likewise.
35051 * time/strftime_l.c: Likewise.
35052
3b100462
JM
350532012-01-30 Joseph Myers <joseph@codesourcery.com>
35054
35055 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35056 * config.make.in (config-cflags-sse2avx): Define.
35057 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35058 Fix typo.
35059
607998af
CM
350602012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35061
35062 * scripts/config.guess: Update from upstream config git repository.
35063 * scripts/config.sub: Likewise.
35064
3601428f
CM
350652012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35066
3ac8b282
CM
35067 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35068 (EM_NUM): Update.
35069 (R_TILEPRO_*, R_TILEGX_*): New macros.
35070
e034841e
CM
35071 * scripts/firstversions.awk: Fix bug in version range handling.
35072
540d7568
CM
35073 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35074
3601428f
CM
35075 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35076
463de862
CM
35077 * include/sys/epoll.h: New file.
35078 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35079 libc_hidden_def.
35080
73139a76
UD
350812012-01-28 Ulrich Drepper <drepper@gmail.com>
35082
96bc5b45
UD
35083 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35084 Avoid unnecessary __WORDSIZE == 64 test.
35085 (fmaxf): Use VEX format if possible.
35086 (fmax): Likewise.
35087 (fminf): Likewise.
35088 (fmin): Likewise.
35089
56f6f6a2
UD
35090 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35091 * math/math_private.h: Remove libc_fegetround* and
35092 libc_fesetround*.
35093 * sysdeps/i386/configure.in: Check for -msse2avx.
35094 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35095 also if SSE2AVX is defined.
35096 Remove libc_fegetround* and libc_fesetround*.
35097 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35098 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35099 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35100 of HAS_YMM_USABLE.
35101 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35102 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35103 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35104 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35105 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35106
73139a76
UD
35107 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35108
d73f93a4
AZ
351092012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35110
35111 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35112 size is not set.
35113 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35114
6ee65ed6
UD
351152012-01-27 Ulrich Drepper <drepper@gmail.com>
35116
35117 [BZ #13618]
35118 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35119 relocation.
35120 * Makeconfig (libm): Define.
35121 * elf/Makefile: Add rules to build and run tst-relsort1.
35122 * elf/tst-relsort1.c: New file.
35123 * elf/tst-relsort1mod1.c: New file.
35124 * elf/tst-relsort1mod2.c: New file.
35125
8db21882
JM
351262012-01-27 Joseph Myers <joseph@codesourcery.com>
35127
35128 * math/s_ldexp.c: Remove __STDC__ conditionals.
35129 * math/s_ldexpf.c: Likewise.
35130 * math/s_ldexpl.c: Likewise.
35131 * math/s_nextafter.c: Likewise.
35132 * math/s_nexttowardf.c: Likewise.
35133 * math/s_significand.c: Likewise.
35134 * math/s_significandf.c: Likewise.
35135 * math/s_significandl.c: Likewise.
35136 * math/w_jnl.c: Likewise.
35137 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35138 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35139 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35140 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35141 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35143 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35144 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35145 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35146 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35153 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35154 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35156 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35157 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35158 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35159 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35161 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35162 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35163 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35164 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35165 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35166 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35167 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35168 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35169 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35170 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35171 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35172 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35173 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35174 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35175 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35176 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35177 * sysdeps/ieee754/k_standard.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35239 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35244 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35252 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35253 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35257 * sysdeps/ieee754/s_matherr.c: Likewise.
35258 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35259 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35262
965a54a4
JM
352632012-01-26 Joseph Myers <joseph@codesourcery.com>
35264
35265 * crypt/md5.h: Remove __STDC__ conditionals.
35266 * libio/libioP.h: Likewise.
35267 * locale/programs/config.h: Likewise.
35268 * sysdeps/generic/sysdep.h: Likewise.
35269 * sysdeps/i386/asm-syntax.h: Likewise.
35270 * sysdeps/s390/asm-syntax.h: Likewise.
35271 * sysdeps/unix/sysdep.h: Likewise.
35272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35274
7071ad79
JM
352752012-01-26 Joseph Myers <joseph@codesourcery.com>
35276
35277 * libio/libio.h: Remove __STDC__ conditionals.
35278 * malloc/obstack.h: Likewise.
35279 * math/complex.h: Likewise.
35280 * math/math.h: Likewise.
35281 * sysdeps/generic/_G_config.h: Likewise.
35282 * sysdeps/gnu/_G_config.h: Likewise.
35283 * sysdeps/mach/hurd/_G_config.h: Likewise.
35284 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35285 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35286 * sysdeps/sparc/bits/mathdef.h: Likewise.
35287
afc5ed09
UD
352882012-01-26 Ulrich Drepper <drepper@gmail.com>
35289
35290 [BZ #13583]
35291 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35292 Clean up HAS_* macros.
afc5ed09 35293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35294 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35295 possible.
35296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35297 HAS_AVX.
35298 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35299 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35301 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35302 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35303
bdb6de1d
JM
353042012-01-25 Joseph Myers <joseph@codesourcery.com>
35305
35306 * elf/tst-unique3.cc (gets): Remove declaration.
35307 * elf/tst-unique3lib.cc (gets): Likewise.
35308 * elf/tst-unique3lib2.cc (gets): Likewise.
35309 * elf/tst-unique4.cc (gets): Likewise.
35310
b15549e6
UD
353112012-01-24 Ulrich Drepper <drepper@gmail.com>
35312
35313 * include/stdio.h: Add C++ protection. Add gets declarations and
35314 definitions.
35315 * debug/tst-chk1.c: Don't declare gets here.
35316 * stdio-common/tst-gets.c: Likewise.
35317
a037381f
JM
353182012-01-24 Joseph Myers <joseph@codesourcery.com>
35319
35320 * posix/glob: Remove directory.
35321
f1d4aa75
JM
353222012-01-24 Joseph Myers <joseph@codesourcery.com>
35323
35324 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35325
81c0c964
PT
353262012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35327
35328 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35329 of the non-standard EPFNOSUPPORT.
35330
0ea698ae
ST
353312011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35332
35333 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35334 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35335 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35336
d220b117
UD
353372012-01-21 Ulrich Drepper <drepper@gmail.com>
35338
35339 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35340
3e1aa84e
UD
353412012-01-20 Ulrich Drepper <drepper@gmail.com>
35342
35343 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35344 transient errors.
35345 * nscd/grpcache.c (cache_addgr): Likewise.
35346 * nscd/hstcache.c (cache_addhst): Likewise.
35347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35348 * nscd/pwdcache.c (cache_addpw): Likewise.
35349 * nscd/servicescache.c (cache_addserv): Likewise.
35350
400aa020
UD
353512012-01-16 Ulrich Drepper <drepper@gmail.com>
35352
d77e7869
UD
35353 * malloc/malloc.c: Various cleanups.
35354 * malloc/hooks.c: Likewise.
35355
400aa020
UD
35356 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35357 * stdlib/bug-fmtmsg1.c: New file.
35358
35359 * stdlib/fmtmsg.c (init): Add missing unlock.
35360 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35361
e0a309cf
MP
353622012-01-12 Marek Polacek <polacek@redhat.com>
35363
35364 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35365 and _GNU_SOURCE.
35366
929d11c7
WS
353672012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35368
35369 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35370 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35371 macro to ensure uniqueness of label name.
35372 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35373 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35374
41d0e869
UD
353752012-01-11 Ulrich Drepper <drepper@gmail.com>
35376
0cc5ed3b
UD
35377 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35378
41d0e869
UD
35379 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35380 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35381 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35383
a47a831a
UD
353842012-01-10 Ulrich Drepper <drepper@gmail.com>
35385
daa891c0
UD
35386 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35387
35388 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35389 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35391
e58ef0f2
UD
35392 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35393
a47a831a 35394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35395 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35396 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35398
35399 * math/bits/math-finite.h: Add ldexp support.
35400
a0bfc9c7
MP
354012012-01-10 Marek Polacek <polacek@redhat.com>
35402
35403 * locale/programs/localedef.h (show_archive_content): Add noreturn
35404 attribute.
35405
d6e97a1d
UD
354062012-01-09 Ulrich Drepper <drepper@gmail.com>
35407
35408 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35409
d5835c26
UD
354102012-01-08 Ulrich Drepper <drepper@gmail.com>
35411
e5f484c6
UD
35412 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35413
d5835c26
UD
35414 * io/Makefile (headers): Add bits/poll2.h.
35415
d1f741e9
WS
354162011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35417
35418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35419 typo #include statement.
35420
ec09c1c4
UD
354212012-01-08 Ulrich Drepper <drepper@gmail.com>
35422
35423 * include/sys/cdefs.h: Define __attribute_alloc_size.
35424 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35425 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35426 * elf/pldd.c: Likewise.
35427 * iconv/iconv_charmap.c: Likewise.
35428 * iconv/iconvconfig.c: Likewise.
35429 * iconv/strtab.c: Likewise.
35430 * locale/programs/locale.c: Likewise.
35431 * locale/programs/localedef.h: Likewise.
35432 * locale/programs/simple-hash.c: Likewise.
35433 * nscd/nscd.h: Likewise.
35434 * nss/makedb.c: Likewise.
35435 * sysdeps/generic/ldconfig.h: Likewise.
35436 * locale/programs/localedef.c: Remove xmalloc prototype.
35437 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35438
20b38e03
PP
354392012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35440
35441 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35442 appropriate.
35443
a0da5fe1
UD
354442012-01-08 Ulrich Drepper <drepper@gmail.com>
35445
1d5a644a 35446 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35447 * math/tst-CMPLX.c: New file.
1d5a644a 35448
8784a6db
UD
35449 * math/complex.h (CMPLXL): Fix typo.
35450
d9a216c0
UD
35451 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35452 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35453 GLIBC_2.16.
35454 * debug/tst-chk1.c: Add poll and ppoll tests.
35455 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35456 * include/sys/poll.h: Add hidden proto for ppoll.
35457 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35458 * sysdeps/mach/hurd/ppoll.c: Likewise.
35459 * io/ppoll.c: Likewise.
35460 * debug/poll_chk.c: New file.
35461 * debug/ppoll_chk.c: New file.
35462 * include/bits/poll2.h: New file.
35463 * io/bits/poll2.h: New file.
35464
ac097f5c
UD
35465 [BZ #1350]
35466 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35467
2119dcfa
UD
35468 * configure.in: static is always set to yes. Remove.
35469 * config.make.in: Don't set build-static.
35470 * Makeconfig: Remove use of build-static.
35471 * dlfcn/Makefile: Likewise.
35472 * elf/Makefile: Likewise.
35473 * math/Makefile: Likewise.
35474 * misc/Makefile: Likewise.
35475 * nptl/Makefile: Likewise.
35476 * sysdeps/mach/hurd/Makefile: Likewise.
35477
121766a9
UD
35478 * configure.in: PWD_P is not used anymore.
35479 * config.make.in: Remove PWD_P entry.
35480
51a1d39c 35481 * configure.in: Remove last remnants of RANLIB.
8720d066 35482 No need to check for signed size_t anymore.
215f4bdc
UD
35483 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35484 and IA-64.
3857022a 35485 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35486 * aclocal.m4: Likewise.
35487
d3ed7225
UD
35488 * wcsmbs/mbrtoc16.c: Implement using towc function.
35489 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35490 * wcsmbs/wcsmbsload.c: Likewise.
35491 * iconv/gconv_simple.c: Likewise.
35492 * iconv/gconv_int.h: Likewise.
35493 * iconv/gconv_builtin.h: Likewise.
35494 * iconv/iconv_prog.c: Remove CHAR16 handling.
35495
35496 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35497
35498 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35499
a0da5fe1
UD
35500 * configure.in: Remove --with-elf and --enable-bounded options.
35501 Dont set base_machine for ia64. More non-ELF conditions removed.
35502 Remove testing and setting of leading underscore information.
35503 * config.make.in (build-bounded): Set to no.
35504 * config.h.in: Remove NO_UNDERSCORES entry.
35505 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35506 them.
35507 * csu/start.c: Remove !NO_UNDERSCORE code.
35508 * locale/localeinfo.h: Likewise.
35509 * sysdeps/generic/machine-gmon.h: Likewise.
35510 * sysdeps/generic/sysdep.h: Likewise.
35511 * sysdeps/i386/sysdep.h: Likewise.
35512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35513 * sysdeps/mach/sysdep.h: Likewise.
35514 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35516 * sysdeps/sh/sysdep.h: Likewise.
35517 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35518 * sysdeps/unix/i386/sysdep.S: Likewise.
35519 * sysdeps/unix/sparc/start.c: Likewise.
35520 * sysdeps/unix/sparc/sysdep.S: Likewise.
35521 * sysdeps/unix/sparc/sysdep.h: Likewise.
35522 * sysdeps/unix/start.c: Likewise.
35523 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35524 * sysdeps/x86_64/sysdep.h: Likewise.
35525
df78418a
UD
355262012-01-07 Ulrich Drepper <drepper@gmail.com>
35527
a784e502
UD
35528 [BZ #13553]
35529 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35530 for non-gcc.
35531 * argp/argp-fmtstream.h: Use const instead __const.
35532 * argp/argp.h: Likewise.
35533 * assert/assert.h: Likewise.
35534 * bits/fenv.h: Likewise.
35535 * bits/sched.h: Likewise.
35536 * bits/sigset.h: Likewise.
35537 * bits/sigthread.h: Likewise.
35538 * catgets/nl_types.h: Likewise.
35539 * conform/data/pthread.h-data: Likewise.
35540 * crypt/crypt-private.h: Likewise.
35541 * crypt/crypt.h: Likewise.
35542 * crypt/crypt_util.c: Likewise.
35543 * ctype/ctype.h: Likewise.
35544 * debug/execinfo.h: Likewise.
35545 * debug/mbsnrtowcs_chk.c: Likewise.
35546 * debug/mbsrtowcs_chk.c: Likewise.
35547 * debug/wcsnrtombs_chk.c: Likewise.
35548 * debug/wcsrtombs_chk.c: Likewise.
35549 * debug/wcstombs_chk.c: Likewise.
35550 * dirent/dirent.h: Likewise.
35551 * dlfcn/dlfcn.h: Likewise.
35552 * elf/neededtest4.c: Likewise.
35553 * grp/grp.h: Likewise.
35554 * gshadow/gshadow.h: Likewise.
35555 * iconv/gconv.h: Likewise.
35556 * iconv/gconv_int.h: Likewise.
35557 * iconv/gconv_simple.c: Likewise.
35558 * iconv/iconv.h: Likewise.
35559 * iconv/loop.c: Likewise.
35560 * iconv/skeleton.c: Likewise.
35561 * include/aio.h: Likewise.
35562 * include/aliases.h: Likewise.
35563 * include/argz.h: Likewise.
35564 * include/arpa/inet.h: Likewise.
35565 * include/assert.h: Likewise.
35566 * include/dirent.h: Likewise.
35567 * include/dlfcn.h: Likewise.
35568 * include/execinfo.h: Likewise.
35569 * include/fcntl.h: Likewise.
35570 * include/fenv.h: Likewise.
35571 * include/glob.h: Likewise.
35572 * include/grp.h: Likewise.
35573 * include/libintl.h: Likewise.
35574 * include/mntent.h: Likewise.
35575 * include/netdb.h: Likewise.
35576 * include/pwd.h: Likewise.
35577 * include/rpc/netdb.h: Likewise.
35578 * include/sched.h: Likewise.
35579 * include/search.h: Likewise.
35580 * include/shadow.h: Likewise.
35581 * include/signal.h: Likewise.
35582 * include/stdio.h: Likewise.
35583 * include/stdlib.h: Likewise.
35584 * include/string.h: Likewise.
35585 * include/sys/socket.h: Likewise.
35586 * include/sys/stat.h: Likewise.
35587 * include/sys/statfs.h: Likewise.
35588 * include/sys/statvfs.h: Likewise.
35589 * include/sys/syslog.h: Likewise.
35590 * include/sys/time.h: Likewise.
35591 * include/sys/uio.h: Likewise.
35592 * include/time.h: Likewise.
35593 * include/unistd.h: Likewise.
35594 * include/utmp.h: Likewise.
35595 * include/wchar.h: Likewise.
35596 * include/wctype.h: Likewise.
35597 * inet/aliases.h: Likewise.
35598 * inet/arpa/inet.h: Likewise.
35599 * inet/netinet/ether.h: Likewise.
35600 * inet/netinet/in.h: Likewise.
35601 * intl/libintl.h: Likewise.
35602 * io/bits/fcntl2.h: Likewise.
35603 * io/fcntl.h: Likewise.
35604 * io/ftw.h: Likewise.
35605 * io/sys/poll.h: Likewise.
35606 * io/sys/stat.h: Likewise.
35607 * io/sys/statfs.h: Likewise.
35608 * io/sys/statvfs.h: Likewise.
35609 * io/utime.h: Likewise.
35610 * libio/bits/stdio.h: Likewise.
35611 * libio/bits/stdio2.h: Likewise.
35612 * libio/libio.h: Likewise.
35613 * libio/libioP.h: Likewise.
35614 * libio/stdio.h: Likewise.
35615 * locale/lc-ctype.c: Likewise.
35616 * locale/locale.h: Likewise.
35617 * login/utmp.h: Likewise.
35618 * malloc/arena.c: Likewise.
35619 * malloc/malloc.c: Likewise.
35620 * malloc/malloc.h: Likewise.
35621 * malloc/mcheck.c: Likewise.
35622 * malloc/mtrace.c: Likewise.
35623 * math/bits/mathcalls.h: Likewise.
35624 * math/fenv.h: Likewise.
35625 * math/math_private.h: Likewise.
35626 * misc/bits/error.h: Likewise.
35627 * misc/bits/syslog.h: Likewise.
35628 * misc/err.h: Likewise.
35629 * misc/error.h: Likewise.
35630 * misc/fstab.h: Likewise.
35631 * misc/mntent.h: Likewise.
35632 * misc/regexp.h: Likewise.
35633 * misc/search.h: Likewise.
35634 * misc/sgtty.h: Likewise.
35635 * misc/sys/mman.h: Likewise.
35636 * misc/sys/syslog.h: Likewise.
35637 * misc/sys/uio.h: Likewise.
35638 * misc/sys/xattr.h: Likewise.
35639 * misc/ttyent.h: Likewise.
35640 * nis/rpcsvc/ypclnt.h: Likewise.
35641 * nss/nss.h: Likewise.
35642 * posix/bits/unistd.h: Likewise.
35643 * posix/fnmatch.h: Likewise.
35644 * posix/glob.h: Likewise.
35645 * posix/sched.h: Likewise.
35646 * posix/spawn.h: Likewise.
35647 * posix/sys/wait.h: Likewise.
35648 * posix/unistd.h: Likewise.
35649 * posix/wordexp.h: Likewise.
35650 * pwd/pwd.h: Likewise.
35651 * resolv/netdb.h: Likewise.
35652 * resource/sys/resource.h: Likewise.
35653 * rt/aio.h: Likewise.
35654 * rt/bits/mqueue2.h: Likewise.
35655 * rt/mqueue.h: Likewise.
35656 * shadow/shadow.h: Likewise.
35657 * signal/signal.h: Likewise.
35658 * socket/send.c: Likewise.
35659 * socket/sendto.c: Likewise.
35660 * socket/sys/socket.h: Likewise.
35661 * stdio-common/printf.h: Likewise.
35662 * stdlib/bits/stdlib.h: Likewise.
35663 * stdlib/fmtmsg.h: Likewise.
35664 * stdlib/monetary.h: Likewise.
35665 * stdlib/stdlib.h: Likewise.
35666 * stdlib/ucontext.h: Likewise.
35667 * streams/stropts.h: Likewise.
35668 * string/argz.h: Likewise.
35669 * string/bits/string2.h: Likewise.
35670 * string/string.h: Likewise.
35671 * string/strings.h: Likewise.
35672 * sunrpc/rpc/auth.h: Likewise.
35673 * sunrpc/rpc/auth_des.h: Likewise.
35674 * sunrpc/rpc/clnt.h: Likewise.
35675 * sunrpc/rpc/netdb.h: Likewise.
35676 * sunrpc/rpc/pmap_clnt.h: Likewise.
35677 * sunrpc/rpc/xdr.h: Likewise.
35678 * sysdeps/generic/inttypes.h: Likewise.
35679 * sysdeps/generic/net/if.h: Likewise.
35680 * sysdeps/generic/sys/swap.h: Likewise.
35681 * sysdeps/gnu/net/if.h: Likewise.
35682 * sysdeps/gnu/utmpx.h: Likewise.
35683 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35684 * sysdeps/i386/i486/bits/string.h: Likewise.
35685 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35686 * sysdeps/s390/bits/string.h: Likewise.
35687 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35688 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35689 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35690 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35691 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35692 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35693 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35694 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35695 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35696 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35697 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35698 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35699 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35700 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35701 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35702 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35703 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35709 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35710 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35711 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35712 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35713 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35714 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35715 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35716 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35717 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35718 * sysvipc/sys/ipc.h: Likewise.
35719 * sysvipc/sys/msg.h: Likewise.
35720 * sysvipc/sys/sem.h: Likewise.
35721 * sysvipc/sys/shm.h: Likewise.
35722 * termios/termios.h: Likewise.
35723 * time/sys/time.h: Likewise.
35724 * time/time.h: Likewise.
35725 * wcsmbs/bits/wchar2.h: Likewise.
35726 * wcsmbs/uchar.h: Likewise.
35727 * wcsmbs/wchar.h: Likewise.
35728 * wctype/wctype.h: Likewise.
35729
0269750c
UD
35730 [BZ #13551]
35731 * Makeconfig: Remove all but ELF support including AIX support.
35732 * Makerules: Likewise.
35733 * config.h.in: Likewise.
35734 * config.make.in: Likewise.
35735 * configure: Likewise.
35736 * configure.in: Likewise.
35737 * csu/Makefile: Likewise.
35738 * csu/version.c: Likewise.
35739 * debug/Makefile: Likewise.
35740 * dlfcn/Makefile: Likewise.
35741 * elf/Makefile: Likewise.
35742 * extra-lib.mk: Likewise.
35743 * iconv/Makefile: Likewise.
35744 * include/libc-symbols.h: Likewise.
35745 * include/shlib-compat.h: Likewise.
35746 * resolv/Makefile: Likewise.
35747 * resolv/res_libc.c: Likewise.
35748 * rt/Makefile: Likewise.
35749 * sysdeps/i386/asm-syntax.h: Likewise.
35750 * sysdeps/i386/sysdep.h: Likewise.
35751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35752 * sysdeps/mach/sysdep.h: Likewise.
35753 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35754 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35755 * sysdeps/s390/asm-syntax.h: Likewise.
35756 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35757 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35758 * sysdeps/sh/sysdep.h: Likewise.
35759 * sysdeps/unix/sparc/sysdep.h: Likewise.
35760 * sysdeps/wordsize-32/divdi3.c: Likewise.
35761 * sysdeps/x86_64/sysdep.h: Likewise.
35762
00bbd29b
UD
35763 * argp/Versions: Remove _argp_unlock_xxx.
35764
35765 [BZ #13559]
35766 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35767 * abilist/libBrokenLocale.abilist: Likewise.
35768 * abilist/libanl.abilist: Likewise.
35769 * abilist/libc.abilist: Likewise.
35770 * abilist/libcrypt.abilist: Likewise.
35771 * abilist/libdl.abilist: Likewise.
35772 * abilist/libm.abilist: Likewise.
35773 * abilist/libnsl.abilist: Likewise.
35774 * abilist/libpthread.abilist: Likewise.
35775 * abilist/libresolv.abilist: Likewise.
35776 * abilist/librt.abilist: Likewise.
35777 * abilist/libthread_db.abilist: Likewise.
35778 * abilist/libutil.abilist: Likewise.
35779 * abilist/libnss_db.abilist: New file.
35780
35781 * scripts/abilist.awk: Add support for indirect functions.
35782
a2693a0e
UD
35783 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35784
3f05895f
UD
35785 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35786
ecb6fb48
UD
35787 * shlib-versions: Remove entries for ports architectures.
35788
664f8cb9
UD
35789 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35790 files in ports.
35791 * elf/stackguard-macros.h: Remove support for IA-64.
35792 * elf/tst-auditmod1.c: Likewise.
35793 * sysdeps/generic/ldsodefs.h: Likewise.
35794
7ae81d88
UD
35795 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35796 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35797 configure files.
35798
bdeba135
UD
35799 [BZ #13552]
35800 * configure.in: Remove --enable-omitfp support.
35801 * FAQ.in: Adjust.
35802 * config.make.in: Likewise.
35803 * Makeconfig: Likewise.
35804 * manual/install.texi: Likewise.
35805
d75a0a62
UD
35806 In case anyone cares, the IA-64 architecture could move to ports.
35807 * sysdeps/ia64/*: Removed.
35808 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35809 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35810
dcc9756b
UD
35811 [BZ #13555]
35812 * configure.in: Remove entries for unsupported architectures.
35813
d3761ebc 35814 [BZ #13533]
9954432e
UD
35815 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35816 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35817 routines.
35818 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35819 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35820 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35821 fall back to using wcrtomb.
35822 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35823 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35824 renaming.
35825 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35826 * wcsmbs/tst-c16c32-1.c: New file.
35827
35828 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35829 local variable.
35830
c3a87236
UD
35831 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35832
28926a1b
UD
35833 * elf/tst-unique3.cc: Add explicit declaration of gets.
35834 * elf/tst-unique3lib.cc: Likewise.
35835 * elf/tst-unique3lib2.cc: Likewise.
35836 * elf/tst-unique4.cc: Likewise.
35837
df78418a
UD
35838 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35839
8ecd6b2a
JM
358402012-01-06 Joseph Myers <joseph@codesourcery.com>
35841
35842 [BZ #13566]
35843 * assert/assert.h (static_assert): Don't define for C++.
35844 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35845 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35846
9f115170
UD
358472012-01-03 Ulrich Drepper <drepper@gmail.com>
35848
5e0d0300
UD
35849 * iconv/loop.c (single loop): Fix assertion in storing of
35850 remaining bytes.
35851
9f115170
UD
35852 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35853
81fb02b0
UD
358542012-01-01 Ulrich Drepper <drepper@gmail.com>
35855
35856 * posix/getconf.c: Update copyright year.
35857 * nss/getent.c: Likewise.
a316c1f6 35858 * nss/makedb.c: Likewise.
81fb02b0
UD
35859 * iconv/iconvconfig.c: Likewise.
35860 * iconv/iconv_prog.c: Likewise.
35861 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35862 * elf/pldd.c: Likewise.
35863 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35864 * catgets/gencat.c: Likewise.
35865 * csu/version.c: Likewise.
35866 * elf/ldd.bash.in: Likewise.
35867 * elf/sprof.c (print_version): Likewise.
35868 * locale/programs/locale.c: Likewise.
35869 * locale/programs/localedef.c: Likewise.
a316c1f6 35870 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35871 * nscd/nscd.c (print_version): Likewise.
35872 * debug/xtrace.sh: Likewise.
35873 * malloc/memusage.sh: Likewise.
35874 * malloc/mtrace.pl: Likewise.
35875 * debug/catchsegv.sh: Likewise.
35876
2ba92745
JJ
358772011-12-30 Jakub Jelinek <jakub@redhat.com>
35878
35879 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35880 pure attribute.
35881
dadebdae
UD
358822011-12-24 Ulrich Drepper <drepper@gmail.com>
35883
d3761ebc 35884 [BZ #13533]
db6af3eb
UD
35885 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35886 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35887 transformations.
35888 * iconv/gconv_int.h: Likewise.
35889 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35890 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35891 from libc for GLIBC_2.16.
35892 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35893 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35894 * wcsmbs/uchar.h: Really define mbstate_t.
35895 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35896 * wcsmbs/c16rtomb.c: New file.
35897 * wcsmbs/mbrtoc16.c: New file.
35898 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35899 for C/POSIX locale.
35900 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35901 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35902
dadebdae
UD
35903 * wcsmbs/wchar.h: Add missing __restrict.
35904
67371b56
UD
359052011-12-23 Ulrich Drepper <drepper@gmail.com>
35906
74033a25
UD
35907 [BZ #13532]
35908 * time/Makefile (routines): Add timespec_get.
35909 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35910 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35911 timespec for ISO C11.
35912 * time/timespec_get.c: New file.
35913 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35914 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35915
380d7e87
UD
35916 [BZ #13531]
35917 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35918 * stdlib/stdlib.h: Declare aligned_alloc.
35919 * Versions.def: Add GLIBC_2.16 for libc.
35920 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35921
4e9e7a35
UD
35922 [BZ 13527]
35923 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35924 ISO C11.
35925
380d7e87 35926 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35927 code.
35928
03a71829
UD
35929 [BZ #13528]
35930 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35931
839e283e
UD
35932 [BZ #13529]
35933 * assert/assert.h (static_assert): Define.
35934
ce5294e2 35935 * version.h: Update for 2.16 development version.
90fa7312 35936
8d44e150 35937 [BZ #13526]
d7809905
UD
35938 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35939 _ISOC11_SOURCE.
35940
c0da14cd
UD
35941 * version.h (RELEASE): Bump for 2.15 release.
35942 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35943
530a3249
MP
35944 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35945 Patch by Marek Polacek <mpolacek@redhat.com>.
35946
67371b56
UD
35947 * bits/byteswap.h: Protect long long constants with __extension__.
35948 * sysdeps/i386/bits/byteswap.h: Likewise.
35949 * sysdeps/ia64/bits/byteswap.h: Likewise.
35950 * sysdeps/s390/bits/byteswap.h: Likewise.
35951 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35952
15db4de1
LD
359532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35954
35955 [BZ #13540]
bbe315ea
LD
35956 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35957 destination buffer.
15db4de1
LD
35958 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35959
2b2596b1
MP
359602011-12-23 Marek Polacek <polacek@redhat.com>
35961
35962 * elf/dl-addr.c (determine_info): Add inline keyword.
35963 * elf/tst-auditmod4b.c (check_avx): Likewise.
35964 * elf/tst-auditmod6b.c (check_avx): Likewise.
35965 * elf/tst-auditmod6c.c (check_avx): Likewise.
35966 * elf/tst-auditmod7b.c (check_avx): Likewise.
35967
70c6c246
UD
359682011-12-23 Ulrich Drepper <drepper@gmail.com>
35969
35970 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35971 !__SSE_MATH__.
35972
c044cf14
LD
359732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35974
15db4de1 35975 [BZ #13540]
c044cf14
LD
35976 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35977 processing for last bytes.
35978
6b13d9d9
BH
359792011-08-06 Bruno Haible <bruno@clisp.org>
35980
d455f537
BH
35981 [BZ #13061]
35982 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35983 U+0385, not to U+1FEE.
35984
6b13d9d9
BH
35985 [BZ #13062]
35986 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35987 entry for U+00A5 U+0301.
35988
db910efd
UD
359892011-12-22 Ulrich Drepper <drepper@gmail.com>
35990
27deeafc
UD
35991 [BZ #13166]
35992 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35993 buffer for the output is too small.
35994
aed9d171
UD
35995 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35996 optimization.
35997
db910efd
UD
35998 [BZ #13185]
35999 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36000 SSE flags if possible.
36001
2bd779ae
LD
360022011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36003
e7f9dac3 36004 [BZ #13540]
2bd779ae
LD
36005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36006 processing for last bytes.
36007
154bfc16
JM
360082011-12-22 Joseph Myers <joseph@codesourcery.com>
36009
36010 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36011 (syscall-list-default-options, syscall-list-default-condition)
36012 (syscall-list-includes): Define.
36013 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36014 list of ABIs and options and #if conditions for each ABI. Do not
36015 handle common syscalls between ABIs specially.
36016 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36017 Remove.
36018 (syscall-list-variants, syscall-list-32bit-options)
36019 (syscall-list-32bit-condition, syscall-list-64bit-options)
36020 (syscall-list-64bit-condition): Define.
36021 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36022 (syscall-list-variants, syscall-list-32bit-options)
36023 (syscall-list-32bit-condition, syscall-list-64bit-options)
36024 (syscall-list-64bit-condition): Define.
36025 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36026 Remove.
36027 (syscall-list-variants, syscall-list-32bit-options)
36028 (syscall-list-32bit-condition, syscall-list-64bit-options)
36029 (syscall-list-64bit-condition): Define.
36030 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36031 Remove.
36032 (syscall-list-variants, syscall-list-32bit-options)
36033 (syscall-list-32bit-condition, syscall-list-64bit-options)
36034 (syscall-list-64bit-condition): Define.
36035
21eaf3a5
UD
360362011-12-22 Ulrich Drepper <drepper@gmail.com>
36037
16c6f992
UD
36038 * locale/iso-639.def: Add brx entry.
36039
41043168
UD
36040 [BZ #13328]
36041 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36042 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36043
21eaf3a5
UD
36044 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36045 __feraiseexcept_renamed.
36046
e3a851a2
UD
360472011-12-21 Ulrich Drepper <drepper@gmail.com>
36048
4920765e
UD
36049 [BZ #13538]
36050 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36051 EPOLLET with unsigned values.
36052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36054
e3a851a2
UD
36055 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36056 to large cancellation.
36057 * math/s_cacoshf.c: Likewise.
36058 * math/s_cacoshl.c: Likewise.
36059
b27e24b8
RK
360602011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36061
36062 [BZ #13305]
aebefeee 36063 [BZ #12786]
b27e24b8
RK
36064 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36065 * math/s_cacoshf.c: Likewise.
36066 * math/s_cacoshl.c: Likewise.
36067
ee190f67
UD
360682011-12-21 Ulrich Drepper <drepper@gmail.com>
36069
36070 [BZ #13439]
36071 * iconv/gconv.h: Define __GCONV_SWAP.
36072 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36073 * iconvdata/utf-16.c: Likewise.
36074 * iconvdata/utf-32.c: Likewise.
36075
707f25df
AS
360762011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36077
36078 [BZ #13524]
36079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36080 numerator after shifting it by one limb.
36081
d2daaa1e
RÁE
360822011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36083
36084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36085 under [__USE_EXTERN_INLINES].
36086
a4647e72
UD
360872011-12-17 Ulrich Drepper <drepper@gmail.com>
36088
36089 [BZ #13446]
36090 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36091
f0b264f1
AZ
360922011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36093
36094 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36095 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36096 optimized code.
36097 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36098 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36099 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36100 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36101 for strncasecmp/strncasecmp_l compilation.
36102 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36103 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36104
8ef4f244
MP
361052011-12-08 Marek Polacek <mpolacek@redhat.com>
36106
36107 [BZ #13484]
36108 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36109 of __asm__.
36110
97ac2654
UD
361112011-12-17 Ulrich Drepper <drepper@gmail.com>
36112
36113 [BZ #13506]
36114 * time/tzfile.c (__tzfile_read): Check values from file header.
36115
91d2a845
WS
361162011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36117
36118 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36119 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36120 * powerpc/powerpc32/dl-start.S: Likewise.
36121 * powerpc/powerpc32/elf/start.S: Likewise.
36122 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36123 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36124 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36125 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36126 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36127 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36128 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36129 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36130 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36131 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36132 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36133 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36134 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36135 * powerpc/powerpc32/memset.S: Likewise.
36136 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36137 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36138 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36139 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36140 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36141 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36142 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36143 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36144 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36145 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36146 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36147 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36148 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36149
a1267ba1
AZ
361502011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36151
36152 * math/libm-test.inc: Added more nearbyint tests.
36153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36154 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36156 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36157
ad8ac1bd
RL
361582011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36159
36160 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36161 FD_CLOEXEC.
36162
1d3e4b61
UD
361632011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36164
36165 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36166 Add wcscpy-ssse3 wcscpy-c.
36167 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36168 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36169 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36170 * sysdeps/x86_64/wcschr.S: New file.
36171 * sysdeps/x86_64/wcsrchr.S: New file.
36172 * string/test-strcmp.c: Remove checking of wcscmp function for
36173 wrong alignments.
36174 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36175 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36176 wcsrchr-sse2 wcsrchr-c.
36177 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36178 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36179 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36180 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36181 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36182 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36183 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36184 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36185 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36186 * wcsmbc/wcschr.c (WCSCHR): New macro.
36187
5b330a2d
UD
361882011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36189
36190 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36191 * wcsmbs/test-wcsrchr.c: New file.
36192 * string/test-strrchr.c: Add wcsrchr support.
36193 (WIDE): New macro.
36194 * wcsmbs/test-wcscpy.c: New file.
36195 * string/test-strcpy.c: Add wcscpy support.
36196 (WIDE): New macro.
26428b7c 36197
f039c043
UD
361982011-12-10 Ulrich Drepper <drepper@gmail.com>
36199
36200 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36201 the inner loop.
36202
850fb039
AS
362032011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36204
36205 [BZ #13472]
36206 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36207
4efbd5cb
UD
362082011-12-04 Ulrich Drepper <drepper@gmail.com>
36209
52ff5dd0 36210 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36211 Minor optimizations.
52ff5dd0 36212
4efbd5cb
UD
36213 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36214 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36215 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36216
8a426e12
UD
362172011-12-03 Ulrich Drepper <drepper@gmail.com>
36218
aff2453d
UD
36219 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36220 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36221 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36222 for gcc to avoid warnings.
36223 * inet/Makefile (tests): Add tst-checks.
36224 * inet/tst-checks.c: New file.
36225
36226 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36227 warning.
36228
36229 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36230 __wmemcmp_sse2.
36231
36232 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36233 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36234
8a426e12
UD
36235 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36236
9bea3473
UD
362372011-12-02 Ulrich Drepper <drepper@gmail.com>
36238
3a965496
UD
36239 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36240 problem.
36241
9bea3473
UD
36242 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36243
f101631b
UD
362442011-11-29 Joseph Myers <joseph@codesourcery.com>
36245
36246 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36247 conditional on GCC version.
36248 (__arch_compare_and_exchange_val_8_acq)
36249 (__arch_compare_and_exchange_val_16_acq)
36250 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36251 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36252 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36253
a98275aa
UD
362542011-12-02 Joseph Myers <joseph@codesourcery.com>
36255
36256 * sysdeps/sh/backtrace.c: New file.
36257
d4cc29a2
AS
362582011-12-02 Andreas Schwab <schwab@redhat.com>
36259
36260 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36261 parenthesis.
36262
6257af2d
AS
362632011-12-01 Andreas Schwab <schwab@redhat.com>
36264
36265 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36266 falling back to utime.
36267
b5f44c1a
AS
362682011-11-30 Andreas Schwab <schwab@redhat.com>
36269
36270 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36271 expectations for float.
36272
f3a6cc0a
AS
362732011-11-29 Andreas Schwab <schwab@redhat.com>
36274
36275 * locale/weight.h (findidx): Add parameter len.
36276 * locale/weightwc.h (findidx): Likewise.
36277 * posix/fnmatch_loop.c (FCT): Adjust caller.
36278 * posix/regcomp.c (build_equiv_class): Likewise.
36279 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36280 * posix/regexec.c (check_node_accept_bytes): Likewise.
36281 * string/strcoll_l.c (STRCOLL): Likewise.
36282 * string/strxfrm_l.c (STRXFRM): Likewise.
36283
9d65ea3a
UD
362842011-11-17 Ulrich Drepper <drepper@gmail.com>
36285
36286 * Makefile.in: Remove CVSOPT handling.
36287 * configure.in: Remove use of AC_REVISION.
36288 * iconvdata/Makefile (distribute): No need to filter out CVS.
36289 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36290 handling.
36291
5583a086
AS
362922011-11-16 Andreas Schwab <schwab@redhat.com>
36293
36294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36295 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36296 [USE_AS_STRNCASECMP_L]: Likewise.
36297 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36298 NO_TLS_DIRECT_SEG_REFS.
36299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36300 Fix argument offsets for non-PIC.
36301 [USE_AS_STRNCASECMP_L]: Likewise.
36302 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36303 NO_TLS_DIRECT_SEG_REFS.
36304
d62a8200
UD
363052011-11-15 Ulrich Drepper <drepper@gmail.com>
36306
9d65ea3a 36307 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36308 O_CLOEXEC.
36309 * locale/loadlocale.c (_nl_load_locale): Likewise.
36310
09f93bd3
AS
363112011-11-15 Andreas Schwab <schwab@redhat.com>
36312
446514f9
AS
36313 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36314 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36315 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36316 (SYSCALL_GETTIME): Set errno on error.
36317
09f93bd3
AS
36318 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36319 count references to noai6ai_cached.
36320
312be3f9
UD
363212011-11-15 Ulrich Drepper <drepper@gmail.com>
36322
36323 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36324
36325 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36326 FD_CLOEXEC for /proc/self/maps.
36327
36328 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36329 FD_CLOEXEC for /proc/meminfo.
36330
36331 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36332 gai.conf.
36333
36334 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36335 FD_CLOEXEC for given file.
36336
36337 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36338
36339 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36340 FD_CLOEXEC for /etc/hosts.
36341 (_gethtent): Likewise.
36342
36343 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36344
36345 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36346 cancellation and set FD_CLOEXEC for /etc/netgroup.
36347
36348 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36349 reading /etc/publickey.
36350
36351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36352 allow cancellation when reading /etc/group.
36353
36354 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36355 cancellation.
36356 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36357
36358 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36359 when using data file.
36360
36361 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36362
36363 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36364 (write_nis_obj): Use "c" and "e" in fopen.
36365
36366 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36367
36368 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36369
36370 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36371
36372 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36373
36374 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36375 locale.alias.
36376
36377 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36378
36379 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36380
36381 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36382
36383 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36384 file parsing and set FD_CLOEXEC.
36385
82af0fa8
UD
363862011-11-14 Ulrich Drepper <drepper@gmail.com>
36387
36388 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36389
a5fb313c
AS
363902011-11-14 Andreas Schwab <schwab@redhat.com>
36391
36392 * malloc/arena.c (arena_get2): Don't call reused_arena when
36393 _int_new_arena failed.
36394
6abf3465
UD
363952011-11-14 Ulrich Drepper <drepper@gmail.com>
36396
36397 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36398 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36399 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36401 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36403 to compile strcasecmp and strncasecmp.
36404 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36405 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36406
36407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36408
76e3966e
UD
364092011-11-13 Ulrich Drepper <drepper@gmail.com>
36410
36411 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36412 locale-defines.sym to gen-as-const-headers.
36413 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36414 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36416 to compile strcasecmp and strncasecmp.
36417 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36418 strcasecmp_l and strncasecmp_l.
36419 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36420 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36421 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36422 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36423 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36424 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36425 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36426 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36427 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36428 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36429 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36430
ab26144e
UD
364312011-11-12 Ulrich Drepper <drepper@gmail.com>
36432
7edb22ef
UD
36433 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36434 result of SYSDEP_GETTIME_CPU to retval.
36435 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36436 parameter list to macro. Remove trailing semicolon. Adjust users.
36437
9694fc44
UD
36438 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36439 variable.
36440
8ad89ef8
UD
36441 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36442 mantissa words.
36443 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36444
0c822ef9
UD
36445 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36446 from unused variable.
36447
874e0564
UD
36448 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36449 DWARF definitions.
36450 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36451 for assembling.
36452
3a2edc79
UD
36453 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36454 over namespaces.
36455
f3c2577f
UD
36456 * sunrpc/rpc_prot.c (rejected): Fix case value.
36457
294ce126
UD
36458 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36459 unsigned long long int to avoid warnings in shift.
36460
5e2b63c6
UD
36461 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36462 of use of trans.
36463 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36464 variable tmp.
36465
e7f4b08e
UD
36466 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36467 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36468 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36469
ab26144e
UD
36470 * nis/nis_table.c (nis_list): Use variable of correct type for
36471 result of __follow_path call.
36472
8a6d5255
AZ
364732011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36474
36475 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36476 of math functions ceil, trunc, floor, round, and sqrt, when
36477 avaliable on the platform.
36478 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36479 name clash.
36480 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36481 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36482 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36483
aaddc98c
MP
364842011-10-30 Marek Polacek <mpolacek@redhat.com>
36485
36486 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36487 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36488
95b7042b
RM
364892011-11-11 Roland McGrath <roland@hack.frob.com>
36490
36491 * include/unistd.h: Fix __readlink return type.
36492 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36493
57769839
UD
364942011-11-11 Ulrich Drepper <drepper@gmail.com>
36495
36496 * stdlib/ucontext.h: Undo last change for makecontext.
36497
edc5984d
AS
364982011-11-11 Andreas Schwab <schwab@redhat.com>
36499
98591e58
AS
36500 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36501
edc5984d
AS
36502 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36503 * setjmp/setjmp.h: Mark functions as non-leaf.
36504 * setjmp/bits/setjmp2.h: Likewise.
36505 * stdlib/ucontext.h: Likewise.
36506
77cdc054
AS
365072011-11-10 Andreas Schwab <schwab@redhat.com>
36508
36509 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36510 (reused_arena): Don't check arena limit.
36511 (arena_get2): Atomically check arena limit.
36512
fe72eebd
UD
365132011-11-08 Ulrich Drepper <drepper@gmail.com>
36514
5f078c32
UD
36515 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36516 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36517
fe72eebd
UD
36518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36519 instructions.
36520
ae1bc2fa
AS
365212011-11-07 Andreas Schwab <schwab@redhat.com>
36522
7583a88d
AS
36523 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36524 handler when locking.
36525
ae1bc2fa
AS
36526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36527 Fix size of allocated buffer.
36528
10fb0bfa
AS
365292011-11-04 Andreas Schwab <schwab@redhat.com>
36530
998832a4
AS
36531 [BZ #10103]
36532 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36533 declarations for long double functions.
36534 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36535
10fb0bfa
AS
36536 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36537
3d7ba52b
AS
365382011-11-03 Andreas Schwab <schwab@redhat.com>
36539
a9ae54a1
AS
36540 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36541 installed.
36542
3d7ba52b
AS
36543 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36544 is disabled.
36545
bc8db248
ST
365462011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36547
36548 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36549
45b96dd6
AS
365502011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36551
647776f6
AS
36552 * include/alloca.h (stackinfo_alloca_round): Define.
36553 (extend_alloca): Use it.
36554 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36555 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36556 here.
36557
d91a8b93
AS
36558 * scripts/check-local-headers.sh: Ignore libaudit.h.
36559
45b96dd6
AS
36560 * nscd/Makefile (extra-objs): Make recursively expanded.
36561
432d41ce
UD
365622011-11-01 Ulrich Drepper <drepper@gmail.com>
36563
34372fc6
UD
36564 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36566
fadb59f8
UD
36567 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36568 * posix/tst-rfc3484-2.c: Likewise.
36569 * posix/tst-rfc3484-3.c: Likewise.
36570
78239589
UD
36571 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36572 process_vm_writev.
36573 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36574 process_vm_writev.
36575 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36576 process_vm_writev from libc using GLIBC_2.15 version.
36577
432d41ce
UD
36578 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36579
02f9c6cf
PP
365802011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36581
36582 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36583 stack usage.
36584
3a2c0242
UD
365852011-10-31 Ulrich Drepper <drepper@gmail.com>
36586
f4ec4833
UD
36587 [BZ #13367]
36588 * nss/getent.c (initgroups_keys): Show error message in case no group
36589 names are given.
36590
3a2c0242
UD
36591 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36592 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36593 __bump_nl_timestamp.
36594 * nscd/connections (nscd_init): When host database is served open
36595 netlink socket and request notification about configuration changes.
36596 (main_loop_poll): Track netlink file descriptor and bump timestamp
36597 in case data becomes available.
36598 (main_loop_epoll): Likewise.
36599 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36600 (database_pers_head): Add extra_data fileds.
36601 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36602 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36603 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36604 Adjust caller.
36605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36606 in6ai data, call __free_in6ai.
36607 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36608 Add -DHAVE_NETLINK.
36609 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36610 interface information. Reuse previous data if netlink timestamp
36611 is not changed.
36612 (__bump_nl_timestamp): New function.
36613 (__free_in6ai): New function.
36614
636064eb
UD
366152011-10-30 Ulrich Drepper <drepper@gmail.com>
36616
36617 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36618 close_not_cancel_no_status here.
36619 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36620
9beb2334
UD
366212011-10-29 Ulrich Drepper <drepper@gmail.com>
36622
6ef76f3b
UD
36623 [BZ #13276]
36624 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36625 return value.
36626
0ffc4f3e 36627 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36628 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36629 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36630
cb95113e
UD
366312011-07-03 Andreas Jaeger <aj@suse.de>
36632
36633 [BZ #10709]
36634 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36635 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36636 * math/libm-test.inc (sin_test): Add test case.
36637
a1b560ff
UD
366382011-10-29 Ulrich Drepper <drepper@gmail.com>
36639
c9aaface
UD
36640 [BZ #13337]
36641 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36642 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36643
d272e7f1
UD
36644 * elf/chroot_canon.c (chroot_canon): Cleanups.
36645
1bc33071
UD
36646 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36647
1760874d
TJ
36648 [BZ #13335]
36649 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36650 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36651
51d91b18
UD
36652 * string/test-strchr.c: Make usable for strchrnul testing.
36653 * string/test-strchrnul.c: New file.
36654 * string/Makefile (strop-tests): Add strchrnul.
36655
a1b560ff 36656 * po/it.po: Update from translation team.
b611fb81 36657 * po/es.po: Likewise.
a1b560ff 36658
a5b81e1f
UD
366592011-10-28 Ulrich Drepper <drepper@gmail.com>
36660
fd52bc6d
UD
36661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36662 the three constants needed as parameters. Drop the others.
36663 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36664 __m128i_strloadu_tolower.
52e4b9eb
UD
36665 Create and initialize variable zero and use it in all the places
36666 where _mm_setzero_si128 was used.
fd52bc6d 36667
a5b81e1f
UD
36668 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36669 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36670 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36671 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36672 anymore.
36673 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36674 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36675 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36676 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36677 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36678 __mpranred, __mptan.
36679 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36680 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36681 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36682 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36683 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36684 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36685 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36686 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36688
b4343346
AS
366892011-10-28 Andreas Schwab <schwab@redhat.com>
36690
0c92d8a8
AS
36691 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36692 redefine if SHARED.
36693 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36694
b4343346
AS
36695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36696 wide char related routines to wcsmbs subdir.
36697
3871f58f
AS
366982011-10-27 Andreas Schwab <schwab@redhat.com>
36699
36700 [BZ #13344]
36701 * misc/sys/cdefs.h (__THROWNL): Define.
36702 * posix/unistd.h: Use __THREADNL instead of __THREAD
36703 for memory synchronization functions.
36704
94d44d9f
RM
367052011-10-26 Roland McGrath <roland@hack.frob.com>
36706
21b64b15 36707 [BZ #13349]
94d44d9f
RM
36708 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36709 doesn't exist.
36710 * manual/stdio.texi (Obstack Streams): Node removed.
36711
f6ce9294
AS
367122011-10-26 Andreas Schwab <schwab@redhat.com>
36713
80479147
AS
36714 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36715 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36716 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36717
f6ce9294
AS
36718 * math/math_private.h (math_force_eval): Allow non-addressable
36719 arguments.
36720 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36721
618280a1
UD
367222011-10-25 Ulrich Drepper <drepper@gmail.com>
36723
e0016b11
UD
36724 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36725 file is not needed.
36726
36727 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36734 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36735 Add AVX variants.
36736 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36737 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36738 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36739 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36740 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36741 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36742 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36743 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36744 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36745 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36746 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36747 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36749 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36750 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36751 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36752 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36753 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36754 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36755
36756 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36757 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36758
618280a1
UD
36759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36760 place. Use VEX encoding when compiling for AVX.
36761
37822576
AS
367622011-10-25 Andreas Schwab <schwab@redhat.com>
36763
1f1e1947
AS
36764 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36765 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36766
37822576
AS
36767 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36768
31ea014d
UD
367692011-10-25 Ulrich Drepper <drepper@gmail.com>
36770
d7826aa1 36771 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36772 useless if() expression.
d7826aa1
UD
36773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36774 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36777 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36778 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36780 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36781 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36782 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36783 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36785 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36786 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36787 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36788 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36789 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36791 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36792
31ea014d
UD
36793 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36794
16437fec
AS
367952011-10-25 Andreas Schwab <schwab@redhat.com>
36796
36797 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36798 condition.
36799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36800
31d3cc00
UD
368012011-10-25 Ulrich Drepper <drepper@gmail.com>
36802
36803 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36804 .text section. Avoid duplicate constants.
36805 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36815 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36816 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36817 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36818 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36819 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36820 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36821 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36822 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36825 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36826 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36827 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36828 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36829 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36830 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36831 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36832 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36833 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36834 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36835 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36836 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36837 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36838 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36839 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36840 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36841 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36843 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36844 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36845 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36847 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36848 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36849 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36850
58985aa9
UD
368512011-10-24 Ulrich Drepper <drepper@gmail.com>
36852
202c9deb
UD
36853 * sysdeps/x86_64/dla.h: Move to ...
36854 * sysdeps/x86_64/fpu/dla.h: ...here.
36855 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36856 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36857
af968f62
UD
36858 * config.make.in: Add have-mfma4 entry.
36859 * configure.in: Substitute libc_cv_cc_fma4.
36860 * math/Makefile (dbl-only-routines): Add sincostab.
36861 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36862 Use __sincostab not sincos.
36863 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36864 name is a macro.
36865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36869 using __copysign.
36870 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36871 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36872 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36873 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36874 and __inv.
36875 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36876 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36877 __copysign.
36878 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36879 define aliases when function name is a macro.
36880 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36881 sysdeps/ieee754/dbl-64/sincos.tbl.
36882 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36883 fma4-enabled routines.
36884 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36885 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36886 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36887 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36889 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36891 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36893 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36894 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36895 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36896 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36897 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36898 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36899 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36900 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36901 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36902 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36903 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36904 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36905 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36906 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36907 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36909 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36914
58985aa9
UD
36915 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36916 rename.
36917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36923 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36925
a201fbcf
AS
369262011-10-24 Andreas Schwab <schwab@redhat.com>
36927
36928 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36929
fc2ee42a
LD
369302011-10-23 Ulrich Drepper <drepper@gmail.com>
36931
bb3129bd
UD
36932 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36933
0275fff8
UD
36934 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36935 prediction.
36936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36937
2fa2ae85
UD
36938 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36939 Remove unused variable magic_bits.
36940 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36941
fc2ee42a
LD
36942 * string/strnlen.c: Define and use STRNLEN macro.
36943 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36944 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36945 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36946 * wcsmbs/wcslen.c: Define and use WCSLEN.
36947 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36948 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36949 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36950 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36951 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36952 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36953 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36954
ce7dd29f
LD
369552011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36956
36957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36958 strnlen-sse2-no-bsf.
36959 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36961 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36962 Add strnlen support.
36963 (USE_AS_STRNLEN): New macro.
36964 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36965 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36966 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36967 * sysdeps/x86_64/wcslen.S: New file.
36968
979c70a3
MZ
369692011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36970
36971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36972 XMM-moves are used for copying on small sizes.
36973
2d09f82f
LD
369742011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36975
36976 * wcsmbs/Makefile (strop-tests): Add wcschr.
36977 * wcsmbs/test-wcschr.c: New file.
36978 * string/test-strchr.c: Update.
36979 Add wcschr support.
36980 (WIDE): New macro.
36981
619fccca
LD
369822011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36983
2d09f82f 36984 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36985 * wcsmbs/test-wcslen.c: New file.
36986 * string/test-strlen.c: Update.
36987 Add wcslen support.
36988 (WIDE): New macro.
36989
09f699ea
UD
369902011-10-23 Ulrich Drepper <drepper@gmail.com>
36991
36992 * po/it.po: Update from translation team.
36993
95584d3b
LD
369942011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36995
36996 * sysdeps/x86_64/wcscmp.S: Update.
36997 Fix wrong comparison semantics.
36998 wcscmp shall use signed comparison not unsigned.
36999 Don't use substraction to avoid overflow bug.
37000 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37001 * wcsmbc/wcscmp.c: Likewise.
37002 * string/test-strcmp.c: Likewise.
37003 Add new tests to check cases with negative values.
37004
c8b3296b
UD
370052011-10-23 Ulrich Drepper <drepper@gmail.com>
37006
37007 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37008 * sysdeps/x86_64/dla.h: ...here. New file.
37009 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37018
246ad57a
AS
370192011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37020
37021 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37022 __ynl_finite aliases.
37023
a1a87169
UD
370242011-10-22 Ulrich Drepper <drepper@gmail.com>
37025
0d355eb7
UD
37026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37027
a1a87169
UD
37028 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37029 define DLA_FMA.
37030 [DLA_FMA] (EMULV): Use DLA_FMA.
37031 [DLA_FMA] (MUL12): Use EMULV.
37032 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37033 that are not needed.
37034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37041
ee2aafe0
AS
370422011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37043
37044 * math/s_nan.c: Undef __nan.
37045 * math/s_nanf.c: Undef __nanf.
37046 * math/s_nanl.c: Undef __nanl.
37047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37048 "math_private.h".
37049
bc62c2fb
UD
370502011-10-22 Ulrich Drepper <drepper@gmail.com>
37051
77425c63
UD
37052 * math/s_catan.c: Add branch predictions.
37053 * math/s_catanf.c: Likewise.
37054 * math/s_catanh.c: Likewise.
37055 * math/s_catanhf.c: Likewise.
37056 * math/s_catanhl.c: Likewise.
37057 * math/s_catanl.c: Likewise.
37058 * math/s_cexp.c: Likewise.
37059 * math/s_cexpf.c: Likewise.
37060 * math/s_cexpl.c: Likewise.
37061 * math/s_clog.c: Likewise.
37062 * math/s_clog10.c: Likewise.
37063 * math/s_clog10f.c: Likewise.
37064 * math/s_clog10l.c: Likewise.
37065 * math/s_clogf.c: Likewise.
37066 * math/s_clogl.c: Likewise.
37067 * math/s_csqrt.c: Likewise.
37068 * math/s_csqrtf.c: Likewise.
37069 * math/s_csqrtl.c: Likewise.
37070 * math/s_ctanf.c: Likewise.
37071 * math/s_ctanh.c: Likewise.
37072 * math/s_ctanhf.c: Likewise.
37073 * math/s_ctanhl.c: Likewise.
37074 * math/s_ctanl.c: Likewise.
37075
bc62c2fb
UD
37076 * math/math_private.h: Define __nan, __nanf, __nanl.
37077 * math/s_cacosh.c: Include <math_private.h>.
37078 * math/s_cacoshl.c: Likewise.
37079 * math/s_casinh.c: Likewise.
37080 * math/s_casinhf.c: Likewise.
37081 * math/s_casinhl.c: Likewise.
37082 * math/s_ccos.c: Rely entire on ccosh.
37083 * math/s_ccosf.c: Rely entire on ccoshf.
37084 * math/s_ccosl.c: Rely entirely on ccoshl.
37085 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37086 Remove tests for FE_INVALID.
37087 * math/s_ccoshf.c: Likewise.
37088 * math/s_ccoshl.c: Likewise.
37089 * math/s_csin.c: Likewise.
37090 * math/s_csinf.c: Likewise.
37091 * math/s_csinh.c Likewise.
37092 * math/s_csinhf.c: Likewise.
37093 * math/s_csinhl.c: Likewise.
37094 * math/s_csinl.c: Likewise.
37095 * math/s_ctan.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37097 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37098 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37099
8ec250a4
UD
371002011-10-21 Ulrich Drepper <drepper@gmail.com>
37101
c196fed8
UD
37102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37103 compilation problems.
37104
8ec250a4
UD
37105 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37106 __builtin_expect.
37107
8d4f46c6
UD
371082011-10-20 Ulrich Drepper <drepper@gmail.com>
37109
ed72b654
UD
37110 * sysdeps/i386/configure.in: Test for -mfma4 option.
37111 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37112 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37113 COMMON_CPUID_INDEX_80000001.
37114 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37115 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37116 use it if FMA3 is not supported.
37117 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37118
8d4f46c6
UD
37119 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37120 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37121
d45c60c2
AS
371222011-10-20 Andreas Schwab <schwab@redhat.com>
37123
37124 [BZ #12892]
37125 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37126 it would create a cycle with a link time dependency.
37127
d9a4d2ab
UD
371282011-10-19 Ulrich Drepper <drepper@gmail.com>
37129
855d1560
UD
37130 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37131 instruction.
37132 * string/Makefile (strop-tests): Add rawmemchr.
37133 * string/test-rawmemchr.c: New file.
37134
d9a4d2ab
UD
37135 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37137 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37138 when compiling str{,n}casecmp and when AVX is available. Hook up
37139 new optimized code in initializers.
37140
8f3b1ffe
AS
371412011-10-19 Andreas Schwab <schwab@redhat.com>
37142
37143 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37144 __feraiseexcept instead of feraiseexcept.
37145
d38f1dba
UD
371462011-10-18 Ulrich Drepper <drepper@gmail.com>
37147
d9a8d0ab
UD
37148 * math/math_private.h: Define defaults for libc_fetestexcept and
37149 libc_feupdateenv.
37150 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37151 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37152 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37153 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37156 libc_fetestexcept and libc_feupdateenv.
37157
4855e3dd
UD
37158 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37159 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37160 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37161 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37162 libc_feholdexcept_setround.
37163
581d30e3
UD
37164 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37165 Add s_nearbyint-c and s_nearbyintf-c.
37166 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37167 nearbyintf inlines.
37168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37169 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37171 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37172
d38f1dba
UD
37173 * math/math_private.h: Define defaults for libc_fegetround,
37174 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37175 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37176 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37178 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37179 standard functions.
37180 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37181 Remove comments and hacks for old compiler versions.
37182 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37183 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37184 libc_feholdexceptl.
37185
caa6c9d8
AS
371862011-10-18 Andreas Schwab <schwab@redhat.com>
37187
37188 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37189 (__feraiseexcept_renamed): Add __NTH.
37190 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37191 namespace violations.
37192
97c066e6
UD
371932011-10-17 Ulrich Drepper <drepper@gmail.com>
37194
99ce7b04
UD
37195 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37196
1004d182
UD
37197 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37198
228a984d
UD
37199 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37200 recently added interfaces.
37201 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37202
c8553a6a
UD
37203 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37204 about macro parameter expansion.
37205
ed22dcf6
UD
37206 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37207 __NO_MATH_INLINES is defined. Cleanups.
37208
37209 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37210 and __floorf is target has SSE4.1.
37211 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37212 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37213 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37214 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37215
b171c137
UD
37216 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37217 name.
37218 (floorf): Likewise.
37219
97c066e6
UD
37220 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37221
629f62ef
AS
372222011-10-17 Andreas Schwab <schwab@redhat.com>
37223
49a43d80
AS
37224 * misc/sys/cdefs.h: Fix last change.
37225
629f62ef
AS
37226 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37227 database lookup.
37228
e453f6cd
UD
372292011-10-16 Ulrich Drepper <drepper@gmail.com>
37230
aa78043a
UD
37231 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37232
ad0f5cad
UD
37233 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37235 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37237 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37238 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37239 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37240 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37241 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37242 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37243 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37244 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37245 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37246 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37247 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37248 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37249 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37250 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37251 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37252 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37253 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37254 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37255
37256 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37257 ceil, ceilf, floor, floorf.
37258
37259 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37260 Perform IRELATIVE relocations last.
37261
e453f6cd
UD
37262 * elf/do-rel.h: Add another parameter nrelative, replacing the
37263 local variable with the same name. Change name of the function
37264 to end in Rel or Rela (uppercase).
37265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37266 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37267 elf_dynamic_do_##reloc function.
37268
fd5bdc09
UD
372692011-10-15 Ulrich Drepper <drepper@gmail.com>
37270
79b195b5
UD
37271 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37272 is sufficient, at least on modern CPUs.
37273
d4a28569
UD
37274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37275
b61099b5
UD
37276 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37277 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37278
bcf01e6d
UD
37279 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37280 __expl_finite.
37281 * math/bits/math-finite.h: Add entries for exp.
37282 * math/e_expl.c: Add __*_finite alias.
37283 * sysdeps/i386/fpu/e_exp.S: Likewise.
37284 * sysdeps/i386/fpu/e_expf.S: Likewise.
37285 * sysdeps/i386/fpu/e_expl.c: Likewise.
37286 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37287 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37290 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37291 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37292 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37293
ba1a0d59
UD
37294 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37295 is sufficient, at least on modern CPUs.
37296
fd5bdc09
UD
37297 * ctype/ctype-info.c (__ctype_init): Define.
37298 * include/ctype.h (__ctype_init): Declare.
37299 (__ctype_b_loc): The variable is always initialized.
37300 (__ctype_toupper_loc): Likewise.
37301 (__ctype_tolower_loc): Likewise.
37302 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37303 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37304
7872cfb0
AS
373052011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37306
b468825a
AS
37307 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37308
7872cfb0
AS
37309 * configure.in: Also look in $cxxmachine/include for C++ system
37310 headers.
37311
be13f7bf
LD
373122011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37313
37314 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37315 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37316 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37317 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37318 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37319 (USE_AS_WMEMCMP): New macro.
37320 Fixing indents.
37321 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37322 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37323 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37324 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37326 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37327 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37328 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37329 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37330 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37331 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37332 (USE_AS_WMEMCMP): New macro.
37333 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37334 * sysdeps/string/test-memcmp.c: Update.
37335 Fix simple_wmemcmp.
37336 Add new tests.
37337 * wcsmbs/wmemcmp.c: Update.
37338 (WMEMCMP): New macro.
37339 Fix overflow bug.
37340
556a2007
AJ
373412011-10-12 Andreas Jaeger <aj@suse.de>
37342
37343 [BZ #13268]
37344 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37345
538faaa7
UD
373462011-10-15 Ulrich Drepper <drepper@gmail.com>
37347
ab6737ff
UD
37348 * libio/iofwide.c (do_length): Avoid warning.
37349
538faaa7
UD
37350 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37351
396a21b1
UD
373522011-10-14 Ulrich Drepper <drepper@gmail.com>
37353
cdf2901f
UD
37354 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37355
38ad40ce
UD
37356 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37357 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37358 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37359 * sysdeps/i386/i686/fpu/e_log.S: New file.
37360 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37361 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37362
396a21b1
UD
37363 * ctype/ctype.h: Add support for inlined isXXX functions when
37364 compiling C++ code.
37365
6b1f68c9
AS
373662011-10-14 Andreas Schwab <schwab@redhat.com>
37367
349290c0
AS
37368 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37369
6b1f68c9
AS
37370 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37371
f2282d42
RM
373722011-10-13 Roland McGrath <roland@hack.frob.com>
37373
37374 [BZ #13291]
37375 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37376
5298ffa8
AS
373772011-10-13 Andreas Schwab <schwab@redhat.com>
37378
714fad23
AS
37379 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37380 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37381 feraiseexcept.
37382
81dcc7fb
AS
37383 * sysdeps/x86_64/memrchr.S: Check for zero size.
37384
5298ffa8
AS
37385 * string/stratcliff.c: Add memrchr tests.
37386
951fbcec
LD
373872011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37388
37389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37390 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37391 rawmemchr-sse2 rawmemchr-sse2-bsf.
37392 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37393 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37394 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37395 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37396 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37397 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37398 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37399 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37401 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37402 * string/memrchr.c (MEMRCHR): New macro.
37403
0ac5ae23
UD
374042011-10-12 Ulrich Drepper <drepper@gmail.com>
37405
37406 Add integration with gcc's -ffinite-math-only and optimize wrapper
37407 functions in libm.
37408 * Versions.def: Define GLIBC_2.15 version for libm.
37409 * math/Makefile (headers): Add bits/math-finite.h.
37410 * math/bits/math-finite.h: New file.
37411 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37412 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37413 * math/e_acoshl.c: Add __*_finite alias.
37414 * math/e_acosl.c: Likewise.
37415 * math/e_asinl.c: Likewise.
37416 * math/e_atan2l.c: Likewise.
37417 * math/e_atanhl.c: Likewise.
37418 * math/e_coshl.c: Likewise.
37419 * math/e_exp10.c: Likewise.
37420 * math/e_exp10f.c: Likewise.
37421 * math/e_exp10l.c: Likewise.
37422 * math/e_exp2l.c: Likewise.
37423 * math/e_fmodl.c: Likewise.
37424 * math/e_gammal_r.c: Likewise.
37425 * math/e_hypotl.c: Likewise.
37426 * math/e_j0l.c: Likewise.
37427 * math/e_j1l.c: Likewise.
37428 * math/e_jnl.c: Likewise.
37429 * math/e_lgammal_r.c: Likewise.
37430 * math/e_log10l.c: Likewise.
37431 * math/e_log2l.c: Likewise.
37432 * math/e_logl.c: Likewise.
37433 * math/e_powl.c: Likewise.
37434 * math/e_sinhl.c: Likewise.
37435 * math/e_sqrtl.c: Likewise.
37436 * math/e_scalb.c: Completely rewritten and optimized.
37437 * math/e_scalbf.c: Likewise.
37438 * math/e_scalbl.c: Likewise.
37439 * math/w_acos.c: Likewise.
37440 * math/w_acosf.c: Likewise.
37441 * math/w_acosl.c: Likewise.
37442 * math/w_acosh.c: Likewise.
37443 * math/w_acoshf.c: Likewise.
37444 * math/w_acoshl.c: Likewise.
37445 * math/w_asin.c: Likewise.
37446 * math/w_asinf.c: Likewise.
37447 * math/w_asinl.c: Likewise.
37448 * math/w_atan2.c: Likewise.
37449 * math/w_atan2f.c: Likewise.
37450 * math/w_atan2l.c: Likewise.
37451 * math/w_atanh.c: Likewise.
37452 * math/w_atanhf.c: Likewise.
37453 * math/w_atanhl.c: Likewise.
37454 * math/w_exp10.c: Likewise.
37455 * math/w_exp10f.c: Likewise.
37456 * math/w_exp10l.c: Likewise.
37457 * math/w_fmod.c: Likewise.
37458 * math/w_fmodf.c: Likewise.
37459 * math/w_fmodl.c: Likewise.
37460 * math/w_j0.c: Likewise.
37461 * math/w_j0f.c: Likewise.
37462 * math/w_j0l.c: Likewise.
37463 * math/w_j1.c: Likewise.
37464 * math/w_j1f.c: Likewise.
37465 * math/w_j1l.c: Likewise.
37466 * math/w_jn.c: Likewise.
37467 * math/w_jnf.c: Likewise.
37468 * math/w_log.c: Likewise.
37469 * math/w_logf.c: Likewise.
37470 * math/w_logl.c: Likewise.
37471 * math/w_log10.c: Likewise.
37472 * math/w_log10f.c: Likewise.
37473 * math/w_log10l.c: Likewise.
37474 * math/w_log2.c: Likewise.
37475 * math/w_log2f.c: Likewise.
37476 * math/w_log2l.c: Likewise.
37477 * math/w_pow.c: Likewise.
37478 * math/w_powf.c: Likewise.
37479 * math/w_powl.c: Likewise.
37480 * math/w_remainder.c: Likewise.
37481 * math/w_remainderf.c: Likewise.
37482 * math/w_remainderl.c: Likewise.
37483 * math/w_scalb.c: Likewise.
37484 * math/w_scalbf.c: Likewise.
37485 * math/w_scalbl.c: Likewise.
37486 * math/w_sqrt.c: Likewise.
37487 * math/w_sqrtf.c: Likewise.
37488 * math/w_sqrtl.c: Likewise.
37489 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37490 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37491 used.
37492 * math/math_private.h: Declare __kernel_standard_f.
37493 * math/w_cosh.c: Remove cruft and optimize a bit.
37494 * math/w_coshf.c: Likewise.
37495 * math/w_coshl.c: Likewise.
37496 * math/w_exp2.c: Likewise.
37497 * math/w_exp2f.c: Likewise.
37498 * math/w_exp2l.c: Likewise.
37499 * math/w_hypot.c: Likewise.
37500 * math/w_hypotf.c: Likewise.
37501 * math/w_hypotl.c: Likewise.
37502 * math/w_lgamma.c: Likewise.
37503 * math/w_lgamma_r.c: Likewise.
37504 * math/w_lgammaf.c: Likewise.
37505 * math/w_lgammaf_r.c: Likewise.
37506 * math/w_lgammal.c: Likewise.
37507 * math/w_lgammal_r.c: Likewise.
37508 * math/w_sinh.c: Likewise.
37509 * math/w_sinhf.c: Likewise.
37510 * math/w_sinhl.c: Likewise.
37511 * math/w_tgamma.c: Likewise.
37512 * math/w_tgammaf.c: Likewise.
37513 * math/w_tgammal.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37515 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37516 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37517 Minor optimizations. Pretty printing. Remove cruft.
37518 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37519 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37520 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37521 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37522 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37523 * sysdeps/i386/fpu/e_asin.S: Likewise.
37524 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37525 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37526 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37527 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37529 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37530 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37531 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37532 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37533 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37534 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37535 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37536 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37537 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37538 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37539 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37540 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37541 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37542 * sysdeps/i386/fpu/e_log.S: Likewise.
37543 * sysdeps/i386/fpu/e_log10.S: Likewise.
37544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37545 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37546 * sysdeps/i386/fpu/e_log2.S: Likewise.
37547 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37548 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37549 * sysdeps/i386/fpu/e_logf.S: Likewise.
37550 * sysdeps/i386/fpu/e_logl.S: Likewise.
37551 * sysdeps/i386/fpu/e_pow.S: Likewise.
37552 * sysdeps/i386/fpu/e_powf.S: Likewise.
37553 * sysdeps/i386/fpu/e_powl.S: Likewise.
37554 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37555 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37556 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37557 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37558 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37559 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37560 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37561 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37562 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37584 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37585 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37586 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37587 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37588 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37589 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37590 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37592 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37594 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37595 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37597 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37598 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37599 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37600 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37601 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37602 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37604 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37605 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37607 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37609 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37613 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37614 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37615 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37616 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37618 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37619 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37620 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37621 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37622 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37623 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37625 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37627 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37630 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37631 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37642 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37645 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37646 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37648 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37649 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37651 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37654 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37655 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37656 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37657 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37658 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37659 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37660 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37661 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37662 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37663 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37664 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37665 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37666 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37667 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37669 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37670 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37671 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37673 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37674 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37675 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37676 (__isnanf): Likewise.
37677 (__isinf_ns): Likewise.
37678 (__isinf_nsf): Likewise.
37679 (__finite): Likewise.
37680 (__finitef): Likewise.
37681 (__ieee754_sqrt): Define as macro.
37682 (__ieee754_sqrtf): Define as macro.
37683 (__ieee754_sqrtl): Define as macro.
37684 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37685 inlined copy.
37686 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37687 __FINITE_MATH_ONLY__ consistent.
37688 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37689
12cc2fcd
AS
376902011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37691
a843a204
AS
37692 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37693 of rawmemchr.
37694
12cc2fcd
AS
37695 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37696
c853acd5
UD
376972011-10-09 Ulrich Drepper <drepper@gmail.com>
37698
37699 * po/ja.po: Update from translation team.
37700
c658d255
RM
377012011-10-08 Roland McGrath <roland@hack.frob.com>
37702
110946e4
RM
37703 * locale/programs/locarchive.c (prepare_address_space): New function.
37704 (create_archive, enlarge_archive, open_archive): Use it.
37705
50604220
RM
37706 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37707 inside [SHARED], where it is used.
37708
c658d255
RM
37709 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37710
37711 * nss/getent.c (netgroup_keys): Remove unused variable.
37712 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37713
6a621eb7
UD
377142011-10-08 Ulrich Drepper <drepper@gmail.com>
37715
7edb55ce
UD
37716 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37717 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37719 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37720 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37721 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37722 * math/Makefile (libm-calls): Add s_isinf_ns.
37723 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37724 * math/multc3.c: Likewise.
37725 * math/s_casin.c: Likewise.
37726 * math/s_casinf.c: Likewise.
37727 * math/s_casinl.c: Likewise.
37728 * math/s_ccos.c: Likewise.
37729 * math/s_ccosf.c: Likewise.
37730 * math/s_ccosl.c: Likewise.
37731 * math/s_ctan.c: Likewise.
37732 * math/s_ctanf.c: Likewise.
37733 * math/s_ctanh.c: Likewise.
37734 * math/s_ctanhf.c: Likewise.
37735 * math/s_ctanhl.c: Likewise.
37736 * math/s_ctanl.c: Likewise.
37737 * math/w_fmod.c: Likewise.
37738 * math/w_fmodf.c: Likewise.
37739 * math/w_fmodl.c: Likewise.
37740 * math/w_remainder.c: Likewise.
37741 * math/w_remainderf.c: Likewise.
37742 * math/w_remainderl.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37744 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37747 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37748 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37749 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37750 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37751
187da0ae
UD
37752 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37753 of the number.
37754 * stdio-common/printf_fphex.c: Likewise.
37755 * stdio-common/printf_size.c: Likewise.
37756
9277c064
UD
37757 * math/e_exp10.c: Include math_private.h using <...> not "...".
37758 * math/e_exp10f.c: Likewise.
37759 * math/e_exp10l.c: Likewise.
37760 * math/e_exp2l.c: Likewise.
37761 * math/e_j0l.c: Likewise.
37762 * math/e_j1l.c: Likewise.
37763 * math/e_jnl.c: Likewise.
37764 * math/e_lgammal_r.c: Likewise.
37765 * math/e_rem_pio2l.c: Likewise.
37766 * math/e_scalb.c: Likewise.
37767 * math/e_scalbf.c: Likewise.
37768 * math/e_scalbl.c: Likewise.
37769 * math/k_cosl.c: Likewise.
37770 * math/k_sinl.c: Likewise.
37771 * math/k_tanl.c: Likewise.
37772 * math/s_cacoshf.c: Likewise.
37773 * math/s_catan.c: Likewise.
37774 * math/s_catanf.c: Likewise.
37775 * math/s_catanh.c: Likewise.
37776 * math/s_catanhf.c: Likewise.
37777 * math/s_catanhl.c: Likewise.
37778 * math/s_catanl.c: Likewise.
37779 * math/s_ccosh.c: Likewise.
37780 * math/s_ccoshf.c: Likewise.
37781 * math/s_ccoshl.c: Likewise.
37782 * math/s_cexp.c: Likewise.
37783 * math/s_cexpf.c: Likewise.
37784 * math/s_cexpl.c: Likewise.
37785 * math/s_clog.c: Likewise.
37786 * math/s_clog10.c: Likewise.
37787 * math/s_clog10f.c: Likewise.
37788 * math/s_clog10l.c: Likewise.
37789 * math/s_clogf.c: Likewise.
37790 * math/s_clogl.c: Likewise.
37791 * math/s_csin.c: Likewise.
37792 * math/s_csinf.c: Likewise.
37793 * math/s_csinh.c: Likewise.
37794 * math/s_csinhf.c: Likewise.
37795 * math/s_csinhl.c: Likewise.
37796 * math/s_csinl.c: Likewise.
37797 * math/s_csqrt.c: Likewise.
37798 * math/s_csqrtf.c: Likewise.
37799 * math/s_csqrtl.c: Likewise.
37800 * math/s_ctan.c: Likewise.
37801 * math/s_ctanf.c: Likewise.
37802 * math/s_ctanh.c: Likewise.
37803 * math/s_ctanhf.c: Likewise.
37804 * math/s_ctanhl.c: Likewise.
37805 * math/s_ctanl.c: Likewise.
37806 * math/s_ldexp.c: Likewise.
37807 * math/s_ldexpf.c: Likewise.
37808 * math/s_ldexpl.c: Likewise.
37809 * math/s_significand.c: Likewise.
37810 * math/s_significandf.c: Likewise.
37811 * math/s_significandl.c: Likewise.
37812 * math/w_acos.c: Likewise.
37813 * math/w_acosf.c: Likewise.
37814 * math/w_acosh.c: Likewise.
37815 * math/w_acoshf.c: Likewise.
37816 * math/w_acoshl.c: Likewise.
37817 * math/w_acosl.c: Likewise.
37818 * math/w_asin.c: Likewise.
37819 * math/w_asinf.c: Likewise.
37820 * math/w_asinl.c: Likewise.
37821 * math/w_atan2.c: Likewise.
37822 * math/w_atan2f.c: Likewise.
37823 * math/w_atan2l.c: Likewise.
37824 * math/w_atanh.c: Likewise.
37825 * math/w_atanhf.c: Likewise.
37826 * math/w_atanhl.c: Likewise.
37827 * math/w_cosh.c: Likewise.
37828 * math/w_coshf.c: Likewise.
37829 * math/w_coshl.c: Likewise.
37830 * math/w_dremf.c: Likewise.
37831 * math/w_exp10.c: Likewise.
37832 * math/w_exp10f.c: Likewise.
37833 * math/w_exp10l.c: Likewise.
37834 * math/w_exp2.c: Likewise.
37835 * math/w_exp2f.c: Likewise.
37836 * math/w_fmod.c: Likewise.
37837 * math/w_fmodf.c: Likewise.
37838 * math/w_fmodl.c: Likewise.
37839 * math/w_hypot.c: Likewise.
37840 * math/w_hypotf.c: Likewise.
37841 * math/w_hypotl.c: Likewise.
37842 * math/w_j0.c: Likewise.
37843 * math/w_j0f.c: Likewise.
37844 * math/w_j0l.c: Likewise.
37845 * math/w_j1.c: Likewise.
37846 * math/w_j1f.c: Likewise.
37847 * math/w_j1l.c: Likewise.
37848 * math/w_jn.c: Likewise.
37849 * math/w_jnf.c: Likewise.
37850 * math/w_jnl.c: Likewise.
37851 * math/w_lgamma.c: Likewise.
37852 * math/w_lgamma_r.c: Likewise.
37853 * math/w_lgammaf.c: Likewise.
37854 * math/w_lgammaf_r.c: Likewise.
37855 * math/w_lgammal.c: Likewise.
37856 * math/w_lgammal_r.c: Likewise.
37857 * math/w_log.c: Likewise.
37858 * math/w_log10.c: Likewise.
37859 * math/w_log10f.c: Likewise.
37860 * math/w_log10l.c: Likewise.
37861 * math/w_log2.c: Likewise.
37862 * math/w_log2f.c: Likewise.
37863 * math/w_log2l.c: Likewise.
37864 * math/w_logf.c: Likewise.
37865 * math/w_logl.c: Likewise.
37866 * math/w_pow.c: Likewise.
37867 * math/w_powf.c: Likewise.
37868 * math/w_powl.c: Likewise.
37869 * math/w_remainder.c: Likewise.
37870 * math/w_remainderf.c: Likewise.
37871 * math/w_remainderl.c: Likewise.
37872 * math/w_scalb.c: Likewise.
37873 * math/w_scalbf.c: Likewise.
37874 * math/w_scalbl.c: Likewise.
37875 * math/w_sinh.c: Likewise.
37876 * math/w_sinhf.c: Likewise.
37877 * math/w_sinhl.c: Likewise.
37878 * math/w_sqrt.c: Likewise.
37879 * math/w_sqrtf.c: Likewise.
37880 * math/w_sqrtl.c: Likewise.
37881 * math/w_tgamma.c: Likewise.
37882 * math/w_tgammaf.c: Likewise.
37883 * math/w_tgammal.c: Likewise.
37884
6a621eb7
UD
37885 * po/ja.po: Update from translation team.
37886
bf582445
AJ
378872011-09-29 Andreas Jaeger <aj@suse.de>
37888
f9efbf3a
AJ
37889 [BZ #13179]
37890 * sunrpc/netname.c (netname2host): Fix logic.
37891
bf582445
AJ
37892 [BZ #6779]
37893 [BZ #6783]
37894 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37895 correctly.
37896 * math/w_remainder.c (__remainder): Likewise.
37897 * math/w_remainderf.c (__remainderf): Likewise.
37898 * math/libm-test.inc (remainder_test): Add test cases.
37899
48693bea
AK
379002011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37901
37902 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37903 sdiv_qrnnd.
37904
42622229
LD
379052011-10-07 Ulrich Drepper <drepper@gmail.com>
37906
37907 * string/test-memcmp.c: Avoid unncessary #defines.
37908 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37909
093ecf92
LD
379102011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37911
37912 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37913 Use new sse2 version for core i3 - i7 as it's faster
37914 than sse42 version.
37915 (bit_Prefer_PMINUB_for_stringop): New.
37916 * sysdeps/x86_64/rawmemchr.S: Update.
37917 Replace with faster SSE2 version.
37918 * sysdeps/x86_64/memrchr.S: New file.
37919 * sysdeps/x86_64/memchr.S: Update.
37920 Replace with faster SSE2 version.
37921
fde56e5c
MP
379222011-09-12 Marek Polacek <mpolacek@redhat.com>
37923
37924 * elf/dl-load.c (lose): Add cast to avoid warning.
37925
21fd49a9
UD
379262011-10-07 Ulrich Drepper <drepper@gmail.com>
37927
5a06e643
UD
37928 * po/ca.po: Update from translation team.
37929
684ae515
UD
37930 * inet/getnetgrent_r.c: Hook up nscd.
37931 * nscd/Makefile (routines): Add nscd_netgroup.
37932 (nscd-modules): Add netgroupcache.
37933 (CFLAGS-netgroupcache.c): Define.
37934 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37935 (cache_search): Add const to second parameter.
37936 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37937 INNETGR.
37938 (dbs): Add netgrdb entry.
37939 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37940 (verify_persistent_db): Handle netgrdb.
37941 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37942 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37943 GETFDNETGR.
37944 (netgroup_response_header): Define.
37945 (innetgroup_response_header): Define.
37946 (datahead): Add netgroup_response_header and innetgroup_response_header
37947 elements.
37948 * nscd/nscd.conf: Add entries for netgroup cache.
37949 * nscd/nscd.h (dbtype): Add netgrdb.
37950 (_PATH_NSCD_NETGROUP_DB): Define.
37951 (netgroup_iov_disabled): Declare.
37952 (xmalloc, xcalloc, xrealloc): Move declarations here.
37953 (cache_search): Adjust prototype.
37954 Add netgroup-related prototypes.
37955 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37956 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37957 (__nscd_innetgr): Declare.
37958 * nscd/selinux.c (perms): Use access_vector_t as element type and
37959 add netgroup-related initializers.
37960 * nscd/netgroupcache.c: New file.
37961 * nscd/nscd_netgroup.c: New file.
37962 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37963 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37964 For four parameters use innetgr.
37965 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37966 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37967 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37968 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37969
21fd49a9
UD
37970 * nscd/connections.c (register_traced_file): Don't register file
37971 for disabled databases.
37972
054c0457
UD
379732011-10-06 Ulrich Drepper <drepper@gmail.com>
37974
32b63198
UD
37975 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37976
054c0457
UD
37977 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37978 from tree and freeing node.
37979
64031225
JO
379802011-09-25 Jiri Olsa <jolsa@redhat.com>
37981
37982 * nss/nsswitch.c (__nss_database_lookup): Handle
37983 nss_parse_service_list out of memory case.
37984
0490345c
JO
379852011-09-15 Jiri Olsa <jolsa@redhat.com>
37986
37987 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37988 out of memory case.
37989
3a62d00d
AS
379902011-10-04 Andreas Schwab <schwab@redhat.com>
37991
37992 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37993 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37994 pass it down.
37995 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37996 elf_machine_rela, elf_machine_lazy_rel.
37997 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37998 (ELF_DYNAMIC_DO_REL): Likewise.
37999 (ELF_DYNAMIC_DO_RELA): Likewise.
38000 (ELF_DYNAMIC_RELOCATE): Likewise.
38001 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38002 to ELF_DYNAMIC_DO_REL.
38003 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38004 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38005 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38006 elf_machine_rela.
38007 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38008 skip_ifunc, don't call ifunc function if non-zero.
38009 (elf_machine_rela): Likewise.
38010 (elf_machine_lazy_rel): Likewise.
38011 (elf_machine_lazy_rela): Likewise.
38012 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38013 (elf_machine_lazy_rel): Likewise.
38014 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38015 Likewise.
38016 (elf_machine_lazy_rel): Likewise.
38017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38018 Likewise.
38019 (elf_machine_lazy_rel): Likewise.
38020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38021 (elf_machine_lazy_rel): Likewise.
38022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38023 (elf_machine_lazy_rel): Likewise.
38024 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38025 (elf_machine_lazy_rel): Likewise.
38026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38027 (elf_machine_lazy_rel): Likewise.
38028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38029 (elf_machine_lazy_rel): Likewise.
38030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38031 (elf_machine_lazy_rel): Likewise.
38032
68577918
UD
380332011-09-28 Ulrich Drepper <drepper@gmail.com>
38034
38035 * nss/nss_files/files-init.c (_nss_files_init): Use static
38036 initialization for all the *_traced_file variables.
38037
68822d74
AS
380382011-09-28 Andreas Schwab <schwab@redhat.com>
38039
38040 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38041
2056100b
RM
380422011-09-27 Roland McGrath <roland@hack.frob.com>
38043
38044 [BZ #13226]
38045 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38046
32c76b63
AS
380472011-09-27 Andreas Schwab <schwab@redhat.com>
38048
38049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38050 Reread the line before reparsing it.
38051
bf972c9d
AS
380522011-09-26 Andreas Schwab <schwab@redhat.com>
38053
38054 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38055
e057a1b5
JM
380562011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38057 Maxim Kuvyrkov <maxim@codesourcery.com>
38058 Joseph Myers <joseph@codesourcery.com>
38059
38060 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38061 if needed for __stack_chk_guard.
38062
bc7e1c36
RM
380632011-09-19 Roland McGrath <roland@hack.frob.com>
38064
ecb1482f
RM
38065 * sysdeps/posix/spawni.c (script_execute): Always define it.
38066 It will be optimized away if unused.
38067 (maybe_script_execute): New function.
38068 (__spawni): Call it.
38069
bc7e1c36
RM
38070 * Makerules: Don't include tls.make.
38071 (config-tls): Always set to thread.
38072 * tls.make.c: File removed.
38073
1c3b002b
MF
380742011-09-19 Mike Frysinger <vapier@gentoo.org>
38075
38076 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38077 * config.make.in (CPPFLAGS-config): New substituted variable.
38078
2840865d
UD
380792011-09-15 Ulrich Drepper <drepper@gmail.com>
38080
88738eb6
UD
38081 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38082
cbf645a6 38083 [BZ #13192]
2840865d
UD
38084 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38085 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38086
b402e91a
RM
380872011-09-15 Roland McGrath <roland@hack.frob.com>
38088
38089 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38090 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38092 (CALL_FAIL): Likewise.
38093 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38094 (CALL_FAIL): Macro removed.
38095 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38096
4c1a1f71
UD
380972011-09-15 Ulrich Drepper <drepper@gmail.com>
38098
38099 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38100 for __FINITE_MATH_ONLY__ == 1.
38101
edc121be
AS
381022011-09-15 Andreas Schwab <schwab@redhat.com>
38103
38104 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38105 __ieee754_sqrt instead of sqrt.
38106 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38107 __ieee754_sqrtf instead of sqrtf.
38108 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38109 __floorf instead of floorf.
38110 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38111 __floorf, __truncf instead of floorf, truncf.
38112
cd205654
UD
381132011-09-14 Ulrich Drepper <drepper@gmail.com>
38114
ee4d0315
UD
38115 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38116
cd205654
UD
38117 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38118 __extern_always_inline.
38119 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38120 32-bit.
38121
48b67d71
AS
381222011-09-14 Andreas Schwab <schwab@redhat.com>
38123
38124 * elf/rtld.c (dl_main): Also relocate in dependency order when
38125 doing symbol dependency testing.
38126
1ae12c75
AS
381272011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38128
38129 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38130 Always define `refsym'.
38131
995a80df
AS
381322011-09-13 Andreas Schwab <schwab@redhat.com>
38133
e529793b
AS
38134 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38135 (__FD_ELT): Renamed from __FDELT.
38136 * misc/bits/select2.h (__FD_ELT): Likewise.
38137 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38138 __FD_MASK instead of __FDELT, __FDMASK.
38139 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38140 Likewise.
38141 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38142 Likewise.
38143
52d4fef8
AS
38144 * elf/Makefile (gen-ldd): Fix pattern.
38145
995a80df
AS
38146 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38147 (init_tls): Likewise.
38148
8682f8b0
UD
381492011-09-12 Ulrich Drepper <drepper@gmail.com>
38150
38151 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38152
de82006d
AS
381532011-09-12 Andreas Schwab <schwab@redhat.com>
38154
a7c8e6a1
AS
38155 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38156 `struct cmsghdr *' instead of `void *'.
38157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38158 Likewise.
38159
0f31fe77
AS
381602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38161
38162 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38163 if non-absolute.
38164 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38165 ldd_rewrite_script.
0f31fe77 38166
32b4c839
UD
381672011-09-11 Ulrich Drepper <drepper@gmail.com>
38168
83cd1420
UD
38169 * configure.in: Remove --with-tls option.
38170 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38171 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38172 out in case it is missing.
38173 * sysdeps/ia64/elf/configure.in: Likewise.
38174 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38175 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38176 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38177 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38178 * sysdeps/sh/elf/configure.in: Likewise.
38179 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38180 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38181 * sysdeps/x86_64/elf/configure.in: Likewise.
38182 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38183 * sysdeps/mach/hurd/tls.h: Likewise.
38184
633f745d
UD
38185 [BZ #13067]
38186 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38187
f318beb8
UD
38188 [BZ #13090]
38189 * configure.in: Fix use of AC_INIT.
38190
32b4c839
UD
38191 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38192
3ce1f295
UD
381932011-09-10 Ulrich Drepper <drepper@gmail.com>
38194
bb016596
UD
38195 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38196 __set_errno.
8e58439c
UD
38197 * malloc/hooks.c: Likewise.
38198
aebae053 38199 [BZ #11929]
02d46fc4
UD
38200 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38201 variables statically.
38202 (narenas): Initialize.
38203 (list_lock): Initialize.
bb016596
UD
38204 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38205 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38206 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38207 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38208 Add initializers to main_arena and mp_.
38209 (malloc_state): Remove pagesize member. Change all users to use
38210 GLRO(dl_pagesize).
38211
38212 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38213 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38214 is always initialized.
38215
22a89187
UD
38216 * malloc/malloc.c: Removed unused configurations and dead code.
38217 * malloc/arena.c: Likewise.
38218 * malloc/hooks.c: Likewise.
02d46fc4 38219 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38220
d063d164
UD
38221 * include/tls.h: Removed. USE___THREAD must always be defined.
38222 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38223 * elf/dl-libc.c: Likewise.
38224 * elf/dl-tsd.c: Likewise.
38225 * include/errno.h: Likewise.
38226 * include/netdb.h: Likewise.
38227 * include/resolv.h: Likewise.
38228 * inet/herrno-loc.c: Likewise.
38229 * inet/herrno.c: Likewise.
38230 * malloc/arena.c: Likewise.
38231 * malloc/hooks.c: Likewise.
38232 * malloc/malloc.c: Likewise.
38233 * resolv/res-state.c: Likewise.
38234 * resolv/res_libc.c: Likewise.
38235 * sysdeps/i386/dl-machine.h: Likewise.
38236 * sysdeps/ia64/dl-machine.h: Likewise.
38237 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38238 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38239 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38240 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38241 * sysdeps/sh/dl-machine.h: Likewise.
38242 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38243 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38244 * sysdeps/unix/i386/sysdep.S: Likewise.
38245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38246 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38250 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38251 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38256 * sysdeps/x86_64/dl-machine.h: Likewise.
38257 * tls.make.c: Likewise.
38258
3ce1f295
UD
38259 * configure.in: Remove --with-__thread option. Make tests for
38260 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38261 tls_model attribute fail if no support is available. Remove
38262 USE_IN_LIBIO.
38263 * Makeconfig: Adjust for dropped configure option. All features are
38264 now mandatory.
38265 * Makerules: Likewise.
38266 * Versions.def: Likewise.
38267 * argp/argp-fmtstream.c: Likewise.
38268 * argp/argp-fmtstream.h: Likewise.
38269 * argp/argp-help.c: Likewise.
38270 * assert/assert.c: Likewise.
38271 * config.h.in: Likewise.
38272 * config.make.in: Likewise.
38273 * configure: Likewise.
38274 * configure.in: Likewise.
38275 * csu/Versions: Likewise.
38276 * csu/init.c: Likewise.
38277 * elf/tst-audit2.c: Likewise.
38278 * elf/tst-tls10.c: Likewise.
38279 * elf/tst-tls10.h: Likewise.
38280 * elf/tst-tls11.c: Likewise.
38281 * elf/tst-tls12.c: Likewise.
38282 * elf/tst-tls14.c: Likewise.
38283 * elf/tst-tlsmod11.c: Likewise.
38284 * elf/tst-tlsmod12.c: Likewise.
38285 * elf/tst-tlsmod13.c: Likewise.
38286 * elf/tst-tlsmod13a.c: Likewise.
38287 * elf/tst-tlsmod14a.c: Likewise.
38288 * elf/tst-tlsmod15b.c: Likewise.
38289 * elf/tst-tlsmod16a.c: Likewise.
38290 * elf/tst-tlsmod16b.c: Likewise.
38291 * elf/tst-tlsmod7.c: Likewise.
38292 * elf/tst-tlsmod8.c: Likewise.
38293 * elf/tst-tlsmod9.c: Likewise.
38294 * gmon/gmon.c: Likewise.
38295 * grp/fgetgrent_r.c: Likewise.
38296 * grp/putgrent.c: Likewise.
38297 * hurd/fopenport.c: Likewise.
38298 * include/libc-symbols.h: Likewise.
38299 * include/tls.h: Likewise.
38300 * intl/gettextP.h: Likewise.
38301 * intl/loadinfo.h: Likewise.
38302 * locale/global-locale.c: Likewise.
38303 * locale/localeinfo.h: Likewise.
38304 * mach/devstream.c: Likewise.
38305 * malloc/arena.c: Likewise.
38306 * malloc/set-freeres.c: Likewise.
38307 * misc/err.c: Likewise.
38308 * misc/getttyent.c: Likewise.
38309 * misc/mntent_r.c: Likewise.
38310 * posix/getopt.c: Likewise.
38311 * posix/wordexp.c: Likewise.
38312 * pwd/fgetpwent_r.c: Likewise.
38313 * resolv/Versions: Likewise.
38314 * resolv/res_hconf.c: Likewise.
38315 * shadow/fgetspent_r.c: Likewise.
38316 * shadow/putspent.c: Likewise.
38317 * stdio-common/printf_fphex.c: Likewise.
38318 * stdio-common/tmpfile.c: Likewise.
38319 * stdlib/abort.c: Likewise.
38320 * stdlib/fmtmsg.c: Likewise.
38321 * sunrpc/auth_unix.c: Likewise.
38322 * sunrpc/clnt_perr.c: Likewise.
38323 * sunrpc/clnt_tcp.c: Likewise.
38324 * sunrpc/clnt_udp.c: Likewise.
38325 * sunrpc/clnt_unix.c: Likewise.
38326 * sunrpc/openchild.c: Likewise.
38327 * sunrpc/svc_simple.c: Likewise.
38328 * sunrpc/svc_tcp.c: Likewise.
38329 * sunrpc/svc_udp.c: Likewise.
38330 * sunrpc/svc_unix.c: Likewise.
38331 * sunrpc/xdr.c: Likewise.
38332 * sunrpc/xdr_array.c: Likewise.
38333 * sunrpc/xdr_rec.c: Likewise.
38334 * sunrpc/xdr_ref.c: Likewise.
38335 * sunrpc/xdr_stdio.c: Likewise.
38336
1248c1c4
PB
383372011-09-09 Ulrich Drepper <drepper@gmail.com>
38338
38339 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38340
383412011-07-03 Andreas Jaeger <aj@suse.de>
38342
38343 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38344 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38345 regenerate with gen-libm-tests.pl.
38346
383472010-05-12 Petr Baudis <pasky@suse.cz>
38348
38349 [BZ #11589]
38350 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38351 around j0() zero points by switching to j1().
38352 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38356
f22e1074
UD
383572011-09-09 Ulrich Drepper <drepper@gmail.com>
38358
f19009c1
UD
38359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38360 instead of 0.
38361 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38362 instead of 0.
f19009c1
UD
38363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38364 Patch in part by Pavel Roskin <proski@gnu.org>.
38365
3f8cc204
UD
38366 [BZ #13138]
38367 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38368 realloc.
38369 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38370 Free memory block if necessary.
38371
f22e1074
UD
38372 [BZ #12847]
38373 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38374 be NULL. Don't lock in this case.
38375
0a2349f9
RM
383762011-09-09 Roland McGrath <roland@hack.frob.com>
38377
38378 * elf/elf.h (ELFOSABI_GNU): New macro.
38379 (ELFOSABI_LINUX): Define to that.
38380
f3cdd467
DZ
383812011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38382
38383 * string/strncat.c (strncat): Undef the symbol in case it has been
38384 defined in bits/string.h.
38385
74718d13
UD
383862011-09-09 Ulrich Drepper <drepper@gmail.com>
38387
633e9e0f
UD
38388 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38389
0a2349f9 38390 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38391 link map.
38392
f9924780
AJ
383932011-08-17 Andreas Jaeger <aj@suse.de>
38394
38395 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38396
7f5517aa
PP
383972011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38398 Ian Lance Taylor <iant@google.com>
38399
38400 * math/libm-test.inc (lround_test): New testcase.
38401 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38402
762011fe
UD
384032011-09-08 Ulrich Drepper <drepper@gmail.com>
38404
92963737
UD
38405 * Makefile: Remove support for automatic cvs check-ins.
38406 * Makerules: Likewise.
38407 * config.make.in: Likewise.
38408 * configure.in: Likewise.
38409 * intl/Makefile: Likewise.
38410 * locale/Makefile: Likewise.
38411 * po/Makefile: Likewise.
38412 * posix/Makefile: Likewise.
38413 * sysdeps/gnu/Makefile: Likewise.
38414 * sysdeps/mach/hurd/Makefile: Likewise.
38415 * sysdeps/sparc/sparc32/Makefile: Likewise.
38416
b0727fd8
JS
38417 [BZ #13118]
38418 * posix/Makefile (bug-regex32-ENV): Define.
38419 Patch by John Stanley <jpsinthemix@verizon.net>.
38420
a0f33f99
UD
38421 * misc/Makefile (headers): Add bits/select2.h.
38422 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38423 * misc/bits/select2.h: New file.
38424 * include/bits/select2.h: New file.
38425 * debug/Makefile (routines): Add fdelt_chk.
38426 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38427 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38428 FD_ISSET.
38429 * debug/fdelt_chk.c: New file.
38430
762011fe
UD
38431 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38432 * wcsmbs/test-wmemcmp.c: Likewise.
38433 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38434 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38435
384362011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38437
38438 * string/Makefile (strop-tests): Add memcmp.
38439 * string/test-wmemcmp.c: New file.
38440 * string/test-memcmp.c: Add wmemcmp support.
38441
7f513ec8
RM
384422011-09-08 Roland McGrath <roland@hack.frob.com>
38443
0442afb4
RM
38444 [BZ #13153]
38445 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38446 2011-07-19 change.
38447
7f513ec8
RM
38448 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38449 garbage value in a __mach_port_mod_refs call in the cases of the
38450 task-self and thread-self ports.
38451
a12b2239
ST
384522011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38453
38454 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38455
610f9ab4
AS
384562011-09-08 Andreas Schwab <schwab@redhat.com>
38457
7f513ec8 38458 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38459
48882a1a
LD
384602011-09-07 Ulrich Drepper <drepper@gmail.com>
38461
b49865be
UD
38462 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38463
fdc86bc9
UD
38464 * elf/dl-libc.c (dlerror_run): Pass back error code from
38465 dl_catch_error.
38466
c966526a
UD
38467 [BZ #13123]
38468 * elf/dl-load.c (lose): Free l_origin if it is valid.
38469
48882a1a
LD
38470 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38471 names.
38472 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38473 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38475 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38476 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38477 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38478
77a2a8b4
AZ
384792011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38480
38481 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38482 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38483 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38484 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38485 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38486 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38487 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38488 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38489 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38490 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38491
24f579d8
AM
384922011-08-15 Alan Modra <amodra@gmail.com>
38493
38494 [BZ #13092]
38495 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38496 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38497 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38498 ppc_mcount to static-only-routines.
38499 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38500 __mcount_internal.
38501 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38502 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38503
3d4837df
UD
385042011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38505
38506 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38507 for finite and infinity parameters.
38508
22700377
WS
385092011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38510
38511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38512 and add nop instructions for throughput optimization.
38513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38514
5025581e
WS
385152011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38516
38517 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38518 aligned copy for power7 with vector-scalar instructions.
38519 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38520
08a300c9
L
385212011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38522
38523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38524 AVX check.
38525
59178ef9
AS
385262011-09-07 Andreas Schwab <schwab@redhat.com>
38527
38528 [BZ #13144]
38529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38530 last change.
38531
e38ba7ab
UD
385322011-09-07 Ulrich Drepper <drepper@gmail.com>
38533
38534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38535 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38536 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38537 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38538 clock_gettime.
38539
d53a73ac
UD
385402011-09-06 Ulrich Drepper <drepper@gmail.com>
38541
fc8bffcc
UD
38542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38543 Forgot to demangle the pointer.
38544
ceaa0c5d
UD
38545 * sysdeps/i386/sysdep.h: Define atom_text_section.
38546 * sysdeps/x86_64/sysdep.h: Likewise.
38547 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38548 section with atom_text_section.
38549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38553 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38554
a77d3c17
UD
38555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38556 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38557 already be defined. Change to take two parameters and don't assign
38558 result to variable. Adjust all users.
38559 Define INTERNAL_GETTIME if not already defined.
38560 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38561 call.
38562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38563 HAVE_CLOCK_GETTIME_VSYSCALL.
38564 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38565
d53a73ac
UD
38566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38567 gettimeofday vsyscall, just use time.
38568
a8f84144
AS
385692011-09-06 Andreas Schwab <schwab@redhat.com>
38570
38571 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38572 <errno.h>.
38573
ef606249
UD
385742011-09-06 Ulrich Drepper <drepper@gmail.com>
38575
38576 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38577 syscall on x86-64.
38578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38579 syscall.
38580 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38581 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38582 syscall if possible.
38583
6585cb60
UD
385842011-09-05 Ulrich Drepper <drepper@gmail.com>
38585
38586 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38587 e_ident. Don't pass to find_mapsXX.
38588 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38589
a5f524e4
LD
385902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38591
38592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38593 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38594 * sysdeps/x86_64/multiarch/strchr.S: Update.
38595 Check bit_slow_BSF bit.
38596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38597 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38598 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38599
554881ef
UD
386002011-09-05 Ulrich Drepper <drepper@gmail.com>
38601
d96de963
UD
38602 [BZ #13134]
38603 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38604 before glibc 2.15.
38605 (tryshell): Define.
38606 (__spawni): Change last parameter to be flag. Test
38607 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38608 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38609 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38610 * posix/spawni.c: Likewise.
38611 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38612 * posix/spawnp.c: Likewise. Change normal version to use
38613 SPAWN_XFLAGS_USE_PATH.
38614 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38615 SPAWN_XFLAGS_TRY_SHELL.
38616
d48e5868
UD
38617 [BZ #13150]
38618 * posix/glob.h: Remove gcc 1.x support.
38619
554881ef
UD
38620 [BZ #13068]
38621 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38622
693fb948
LD
386232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38624
38625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38626 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38627 strrchr-sse2-bsf
38628 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38629 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38630 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38631 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38632 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38633 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38634
1b48c537
UD
386352011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38636
49d42c37
UD
38637 * sysdeps/x86_64/wcscmp.S: New file.
38638
1b48c537
UD
38639 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38640 wcscmp-c wcscmp-sse2
38641 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38642 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38643 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38644 * wcsmbs/wcscmp.c: Allow renaming.
38645
15c95c5d
DM
386462011-09-05 David S. Miller <davem@davemloft.net>
38647
38648 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38649 stack slot, rather than the struct return pointer slot.
38650 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38651 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38653 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38654
2f0ad8f3
UD
386552011-09-05 Ulrich Drepper <drepper@gmail.com>
38656
d88ae418
UD
38657 * po/ja.po: Update from translation team.
38658
2f0ad8f3
UD
38659 [BZ #13144]
38660 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38661 kernel in 64-bit binaries.
38662
5f4318d1
DM
386632011-09-01 David S. Miller <davem@davemloft.net>
38664
38665 * elf/elf.h (HWCAP_SPARC_*): Move to..
38666 * sysdeps/sparc/sysdep.h: this new file and add new values.
38667 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38668 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38669 _DL_HWCAP_COUNT to 24.
38670 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38671 entries.
38672 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38673 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38674 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38676 instead of magic constants.
38677 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38678
3ba57516
DM
386792011-08-31 David S. Miller <davem@davemloft.net>
38680
38681 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38683 Reimplement to do errno handling inline.
38684 (SYSCALL_ERROR_HANDLER): New macro.
38685 (__SYSCALL_STRING): Do not do errno handling in asm.
38686 (__CLONE_SYSCALL_STRING): Delete.
38687 (__INTERNAL_SYSCALL_STRING): Delete.
38688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38689 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38690 (PSEUDO): Reimplement to do errno handling inline.
38691 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38692 (SYSCALL_ERROR_HANDLER): New macro.
38693 (__SYSCALL_STRING): Do not do errno handling in asm.
38694 (__CLONE_SYSCALL_STRING): Delete.
38695 (__INTERNAL_SYSCALL_STRING): Delete.
38696 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38697 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38698 i386.
38699 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38700 (inline_syscall*): Add 'err' argument.
38701 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38702 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38703 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38704 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38705
38706 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38707 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38708
2bc17433
AS
387092011-08-30 Andreas Schwab <schwab@redhat.com>
38710
38711 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38712
fbeb5f4d
JO
387132011-08-29 Jiri Olsa <jolsa@redhat.com>
38714
38715 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38716 directive.
38717
ad69cc26
DM
387182011-08-24 David S. Miller <davem@davemloft.net>
38719
38720 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38721
39dd69df
AS
387222011-08-24 Andreas Schwab <schwab@redhat.com>
38723
38724 * elf/Makefile: Add rules to build and run unload8 test.
38725 * elf/unload8.c: New file.
38726 * elf/unload8mod1.c: New file.
38727 * elf/unload8mod1x.c: New file.
38728 * elf/unload8mod2.c: New file.
38729 * elf/unload8mod3.c: New file.
38730
38731 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38732 it wasn't used.
38733
2c0b250a
DM
387342011-08-23 David S. Miller <davem@davemloft.net>
38735
38736 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38737 subtract stack bias.
38738 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38739 %sp not %fp in calculations.
38740 (_JMPBUF_UNWINDS_ADJ): Likewise.
38741
22044b48
DM
38742 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38743 (aio_suspend): Call it to force an exception region around the
38744 AIO_MISC_WAIT() invocation.
38745
2cae4995
AS
387462011-08-23 Andreas Schwab <schwab@redhat.com>
38747
38748 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38749 backslash.
38750
873a772e
AJ
387512011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38752
38753 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38754 protection macro.
38755 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38756 and <dl-machine.h>.
38757 (Elf64_FuncDesc): Remove.
38758
25ad0df1
DM
387592011-08-22 David S. Miller <davem@davemloft.net>
38760
38761 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38762 sigaltstack check, add missing cfi directives.
38763 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38764 missing cfi directives, and sigaltstack handling.
38765
e888bcbe
AS
387662011-08-16 Andreas Schwab <schwab@redhat.com>
38767
38768 [BZ #11724]
38769 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38770 object is seen twice.
38771 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38772
38773 * elf/Makefile (distribute): Add tst-initorder2.c.
38774 (tests): Add tst-initorder2.
38775 (modules-names): Add tst-initorder2a tst-initorder2b
38776 tst-initorder2c tst-initorder2d. Add rules to build them.
38777 ($(objpfx)tst-initorder2.out): New rule.
38778 * elf/tst-initorder2.c: New file.
38779 * elf/tst-initorder2.exp: New file.
38780
87162f46
AS
387812011-08-22 Andreas Schwab <schwab@redhat.com>
38782
70538b7f
AS
38783 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38784
f55ffe58
AS
38785 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38786 dependencies back to end of function.
38787
87162f46
AS
38788 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38789 $(elfobjdir)/ld.so.
38790
91b392a4
UD
387912011-08-21 Ulrich Drepper <drepper@gmail.com>
38792
38793 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38794 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38796 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38797 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38798 of __vdso_gettimeofday.
38799 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38800 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38801 attribute_hidden.
38802 (_libc_vdso_platform_setup): Remove initialization of
38803 __vdso_gettimeofday and __vdso_time.
38804
5c43483f
UD
388052011-08-20 Ulrich Drepper <drepper@gmail.com>
38806
775a77e7
UD
38807 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38808 and fgetc_unlocked.
38809 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38810 getc_unlocked.
89f447ed 38811
49c74ba9
UD
38812 * elf/dl-open.c (add_to_global): Report additions to the global scope
38813 for LD_DEBUG=scopes.
38814 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38815 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38816
5c43483f
UD
38817 [BZ #13114]
38818 * stdio-common/Makefile (tests): Add bug24.
38819 * stdio-common/bug24.c: New file.
38820
a101b025
AJ
388212011-08-19 Andreas Jaeger <aj@suse.de>
38822
38823 [BZ #13114]
38824 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38825 non-existant file when using close-on-exec mode.
38826
c88f1766
UD
388272011-08-20 Ulrich Drepper <drepper@gmail.com>
38828
0276a718
UD
38829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38830 the very first instruction.
38831
c88f1766
UD
38832 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38833 the CFI state in the end.
38834 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38835 inclusion of dl-trampoline.h.
38836 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38837
51ccffa0
AS
388382011-08-19 Andreas Schwab <schwab@redhat.com>
38839
94d7165f
AS
38840 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38841 expectations for long double.
38842
51ccffa0
AS
38843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38844 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38845
fd708658 388462011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38847
38848 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38849 artificual limit depends upon the system page size.
38850
44f0a71e
UD
388512011-08-17 Ulrich Drepper <drepper@gmail.com>
38852
38853 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38854 * resolv/Makefile: Define CFLAGS-libresolv.
38855
8de79a24
AS
388562011-08-17 Andreas Schwab <schwab@redhat.com>
38857
38858 * nss/makedb.c (compute_tables): Make variables used in nested
38859 function static.
38860
27724598
UD
388612011-08-17 Ulrich Drepper <drepper@gmail.com>
38862
c5305d88
UD
38863 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38864 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38865 if buffer was too small.
38866
27724598
UD
38867 * elf/pldd.c (main): Attach to all threads in the process.
38868 Rewrite /proc handling to use *at functions.
38869
076fe015
UD
388702011-08-16 Ulrich Drepper <drepper@gmail.com>
38871
174baab3
UD
38872 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38873 specifies first scope to show.
38874 (dl_open_worker): Update callers. Move printing scope of new
38875 object to before the relocation.
44f0a71e 38876 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38877 * sysdeps/generic/ldsodefs.h: Update declaration.
38878
076fe015
UD
38879 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38880 string for the scope number.
38881
a60df2c3
UD
388822011-08-14 Ulrich Drepper <drepper@gmail.com>
38883
38884 * nscd/servicescache.c (cache_addserv): Make sure written is always
38885 initialized.
38886
5e4287d1
RM
388872011-08-14 Roland McGrath <roland@hack.frob.com>
38888
85ae0589
RM
38889 * sysdeps/i386/i486/bits/atomic.h
38890 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38891 statement expression, so as to suppress "set but not used" warning.
38892 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38893
69f63097
RM
38894 * string/strncat.c (STRNCAT): Use prototype definition.
38895
675456ef
RM
38896 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38897 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38898 -Iprograms here.
38899 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38900 (localedef-modules): Add localedef.
38901 (locale-modules): Add locale.
38902
5e4287d1
RM
38903 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38904 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38905 to avoid a warning.
38906
9c96ff23
DM
389072011-08-14 David S. Miller <davem@davemloft.net>
38908
38909 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38910 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38911
f9ddf089
UD
389122011-08-13 Ulrich Drepper <drepper@gmail.com>
38913
44f0a71e 38914 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38915 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38916 * elf/rtld.c (dl_main): Set l_name of vDSO.
38917 Call _dl_show_scope when DL_DEBUG_SCOPES.
38918 (process_dl_debug): Recognize scopes flag and also set it for all.
38919 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38920 Declare _dl_show_scope.
38921
1dc27704
UD
38922 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38923 (do_dlopen): Pass caller_dlopen to dl_open.
38924 (__libc_dlopen_mode): Initialize caller_dlopen.
38925
f9ddf089
UD
38926 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38927 of libc. Make tolower call locale-independent. Optimize a bit by
38928 using isdigit instead of isalnum.
38929 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38930
9ac533d3
UD
389312011-08-12 Ulrich Drepper <drepper@gmail.com>
38932
38933 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38934 was a dependency or dynamically loaded.
38935
89edf2e9
UD
389362011-08-11 Ulrich Drepper <drepper@gmail.com>
38937
8e999d29
UD
38938 * intl/l10nflist.c: Allow architecture-specific pop function.
38939 * sysdeps/x86_64/l10nflist.c: New file.
38940
89edf2e9
UD
38941 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38942 classification.
38943
14d96785
AS
389442011-08-10 Andreas Schwab <schwab@redhat.com>
38945
38946 * include/dirent.h: Add libc_hidden_proto for scandirat and
38947 scandirat64. Don't declare __scandirat64.
38948 * dirent/scandirat.c: Add libc_hidden_def.
38949 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38950 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38951
6761ac04
DM
389522011-08-10 David S. Miller <davem@davemloft.net>
38953
38954 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38955 enum.
38956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38958 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38959
c55fbd1e
UD
389602011-08-09 Ulrich Drepper <drepper@gmail.com>
38961
38962 * Versions.def [libc]: Add GLIBC_2.15.
38963 * dirent/Makefile (routines): Add scandirat and scandirat64.
38964 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38965 GLIBC_2.15.
38966 * dirent/dirent.h: Declare scandirat and scandirat64.
38967 * dirent/scandirat.c: New file.
38968 * dirent/scandirat64.c: New file.
38969 * sysdeps/wordsize-64/scandirat.c: New file.
38970 * sysdeps/wordsize-64/scandirat64.c: New file.
38971 * dirent/opendir.c: Define opendirat.
38972 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38973 using scandirat.
38974 * dirent/scandir64.c: Adjust for scandir.c change.
38975 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38976 __scandirat64, and __scandir_cancel_handler.
38977 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38978 additional parameter and use openat instead of open (outside of ld.so).
38979 Add new __opendir as wrapper around __opendirat.
38980 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38981 here without requiring old scandirat implementation.
38982
879165f2
UD
389832011-08-08 Ulrich Drepper <drepper@gmail.com>
38984
38985 * dirent/scandir.c (cancel_handler): Renamed to
38986 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38987 defined. Adjust users.
38988 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38989 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38990
cb7e923b
UD
389912011-08-04 Ulrich Drepper <drepper@gmail.com>
38992
16292edd
UD
38993 * string/test-string.h (IMPL): Use __STRING to expand name and then
38994 stringify it.
38995
cb7e923b
UD
38996 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38997 of cleanups.
38998
cff82933
LD
389992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39000
39001 * string/Makefile: Update.
39002 (strop-tests): Append strncat.
39003 * string/test-wcscmp.c: New file.
39004 New comprehensive test for wcscmp.
39005 * string/test-strcmp.c: Update.
39006 (WIDE): New define.
39007
9be9bfcc
AS
390082011-07-22 Andreas Schwab <schwab@redhat.com>
39009
39010 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39011 line.
39012
2e96f1c7
AS
390132011-07-26 Andreas Schwab <schwab@redhat.com>
39014
39015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39016 encoding to ACE if AI_IDN.
39017
85188888
JJ
390182011-08-01 Jakub Jelinek <jakub@redhat.com>
39019
39020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39021 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39022
5fa16e9b
LD
390232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39024
39025 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39026 Fix overflow bug in strncat.
39027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39028
39029 * string/test-strncat.c: Update.
39030 Add new tests for checking overflow bugs.
39031
390322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39033
39034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39035 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39036 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39037 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39039 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39040 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39041 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39042 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39043
39044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39045 (USE_AS_STRCAT): Define.
39046 Add strcat and strncat support.
39047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39048
8c1a459f
AS
390492011-07-25 Andreas Schwab <schwab@redhat.com>
39050
39051 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39052 __n bigger than INT_MAX+1.
39053 (__strncmp_g): Likewise.
39054
bba33c28
UD
390552011-07-23 Ulrich Drepper <drepper@gmail.com>
39056
798be72d
UD
39057 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39058 * libio/stido.h: Likewise.
39059
8accd4dc
UD
39060 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39061 (AF_NFC): Define.
39062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39063 (AF_NFC): Define.
39064
cbff0d96
UD
39065 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39066 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39068 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39070
9191c04a
UD
39071 [BZ #13021]
39072 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39073 installed.
39074
bba33c28
UD
39075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39076 typo.
39077 (_dl_x86_64_save_sse): Likewise.
39078
90f139dd
UD
390792011-07-22 Ulrich Drepper <drepper@gmail.com>
39080
1aae088a
UD
39081 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39082 OSXSAVE.
39083 (_dl_x86_64_save_sse): Likewise.
39084
8e2045f5
UD
39085 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39086
90f139dd
UD
39087 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39088
1d002f25
AS
390892011-07-21 Andreas Schwab <schwab@redhat.com>
39090
39091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39092 change.
39093 (_dl_x86_64_save_sse): Use correct AVX check.
39094
21137f89
UD
390952011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39096
39097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39098 bug in strncpy/strncat.
39099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39100
a65c0b7a
UD
391012011-07-21 Ulrich Drepper <drepper@gmail.com>
39102
39103 * string/tester.c (test_strcat): Add tests for different alignments
39104 of source and destination.
39105 (test_strncat): Likewise.
39106
6986b98a
UD
391072011-07-20 Ulrich Drepper <drepper@gmail.com>
39108
90bb2039
UD
39109 [BZ #12852]
39110 * posix/glob.c (glob): Check passed in values before using them in
39111 expressions to avoid some overflows.
39112 (glob_in_dir): Likewise.
39113
5644ef54
UD
39114 [BZ #13007]
39115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39116 check for AVX enablement so that we don't crash with old kernels and
39117 new hardware.
39118 * elf/tst-audit4.c: Add same checks here.
39119 * elf/tst-audit6.c: Likewise.
39120
39121 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39122
bfc9dc9b
AS
391232011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39124
39125 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39126
702e64bb
UD
391272011-07-20 Ulrich Drepper <drepper@gmail.com>
39128
39129 * po/cs.po: Update from translation team.
39130 * po/bg.po: Likewise.
39131
295e904f
MP
391322011-07-12 Marek Polacek <mpolacek@redhat.com>
39133
39134 * misc/sys/cdefs.h: Add support for const attribute.
39135 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39136 to gnu_dev_{major,minor,makedev} functions.
39137
3ff94596
MP
391382011-07-20 Marek Polacek <mpolacek@redhat.com>
39139
39140 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39141
28b59fca
AS
391422011-07-20 Andreas Schwab <schwab@redhat.com>
39143
39144 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39145 strlen results.
39146
19df733e
AK
391472011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39148
39149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39150 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39151 register in order to avoid conflicts with the soft frame pointer
39152 being held in r11 when necessary.
39153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39154 (INTERNAL_VSYSCALL_NCS): Likewise.
39155
c8835729
MP
391562011-07-14 Marek Polacek <mpolacek@redhat.com>
39157
39158 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39159 * elf/dl-fini.c (_dl_fini): Adjust caller.
39160 * elf/dl-close.c (_dl_close_worker): Likewise.
39161 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39162
b902330c
MP
391632011-07-15 Marek Polacek <mpolacek@redhat.com>
39164
8991e135
MP
39165 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39166 "aux_cache->nlibs < 0".
39167
b902330c
MP
39168 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39169 in the reload-count case.
39170
99710781
LD
391712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39172
39173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39174 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39175 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39176 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39177 * sysdeps/x86_64/multiarch/strcat.S: New file.
39178 * sysdeps/x86_64/multiarch/strncat.S: New file.
39179 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39180 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39181 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39182 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39184 (USE_AS_STRCAT): Define.
39185 Add strcat and strncat support.
39186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39188 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39189 * string/strncat.c: Update.
39190 (USE_AS_STRNCAT): Define.
39191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39192 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39193 and i7.
39194 * sysdeps/x86_64/multiarch/init-arch.h
39195 (bit_Prefer_PMINUB_for_stringop): New.
39196 (index_Prefer_PMINUB_for_stringop): Likewise.
39197 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39198 bit_Prefer_PMINUB_for_stringop.
39199
7dc6bd90
UD
392002011-07-19 Ulrich Drepper <drepper@gmail.com>
39201
39202 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39203 buffer64.
39204 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39205 of casting of buffer.
39206 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39207 buffer32 and buffer64.
39208 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39209 writes instead of casting of buffer.
39210 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39211 buffer32.
39212 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39213 casting of buffer.
39214
e0e72284
AS
392152011-07-19 Andreas Schwab <schwab@redhat.com>
39216
39217 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39218
feb1eb0b
UD
392192011-07-19 Ulrich Drepper <drepper@gmail.com>
39220
39221 * nscd/nscd.c (termination_handler): Don't do anything for a database
39222 if it has not yet been initialized.
39223
298711ff
UD
392242011-07-18 Ulrich Drepper <drepper@gmail.com>
39225
39226 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39227
392282011-07-15 Marek Polacek <mpolacek@redhat.com>
39229
39230 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39231
f9d68389
UD
392322011-07-18 Ulrich Drepper <drepper@gmail.com>
39233
39234 * po/nl.po: Update from translation team.
39235 * po/sv.po: Likewise.
39236
db290cf5
RM
392372011-07-16 Roland McGrath <roland@hack.frob.com>
39238
39239 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39240 now disallowed by GCC.
5c550700 39241
fd5e21c7
RM
39242 * configure.in (use-default-link): Default to yes if a test -shared
39243 link meets our qualifications.
39244 * configure: Regenerated.
39245
5c550700
RM
39246 * config.make.in (output-format): New variable.
39247 * configure.in: Check for ld --print-output-format support.
39248 * configure: Regenerated.
39249 * Makerules ($(common-objpfx)format.lds)
39250 [$(output-format) != unknown]: Just use $(output-format),
39251 instead of the linker-script munging.
39252
9fa2c032
RM
392532011-07-14 Roland McGrath <roland@hack.frob.com>
39254
a6928d51
RM
39255 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39256 of $(common-objpfx)shlib.lds.
39257 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39258
661607b3
RM
39259 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39260 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39261
9fa2c032
RM
39262 * configure.in (-z relro check): Adjust test code to add a large
39263 writable data section after it.
39264 * configure: Regenerated.
39265
defe9061
RM
392662011-07-11 Roland McGrath <roland@hack.frob.com>
39267
39268 * configure.in (-z relro check): Fix test code to make the variable
39269 truly const.
39270 * configure: Regenerated.
39271
319b9ad4
UD
392722011-07-11 Ulrich Drepper <drepper@gmail.com>
39273
39274 * nscd/nscd.h (struct traced_file): Define.
39275 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39276 elements. Add traced_files.
39277 (inotify_fd): Declare.
39278 (register_traced_file): Declare.
39279 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39280 (inotify_fd): Export.
39281 (resolv_conf_descr): Remove.
39282 (nscd_init): Move inotify descriptor creation to main.
39283 Don't register files for notification here.
39284 (register_traced_file): New function.
39285 (invalidate_cache): Don't use reset_res to determine whether to call
39286 res_init, go through the list of registered files.
39287 (main_loop_poll): The inotify descriptors are now stored in the
39288 structures for the traced files.
39289 (main_loop_epoll): Likewise
39290 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39291 to __nss_disable_nscd.
39292 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39293 for a database anymore. Check the records for all the registered
39294 files instead.
39295 * nss/Makefile (libnss_files-routines): Add files-init.
39296 (libnss_db-routines): Add db-init.
39297 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39298 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39299 * nss/nss_db/db-init.c: New file.
39300 * nss/nss_files/files-init.c: New file.
39301 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39302 __nss_lookup_function.
39303 (__nss_lookup_function): Call nss_load_library.
39304 (nss_load_all_libraries): New function.
39305 (__nss_disable_nscd): Take parameter with callback function for files
39306 to register. Set is_nscd. Load all the DSOs for the NSS modules
39307 used for the cached services.
39308 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39309 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39310 options for features to all the files in nscd.
39311
39312 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39313
23bee3e8
RM
393142011-07-10 Roland McGrath <roland@hack.frob.com>
39315
39316 * csu/elf-init.c (__libc_csu_init): Comment typo.
39317
46a5b7f0
UD
393182011-07-09 Ulrich Drepper <drepper@gmail.com>
39319
39320 * po/pl.po: Update from translation team.
39321 * po/ja.po: Likewise.
39322 * po/ru.po: Likewise.
39323 * po/ko.po: Likewise.
39324 * po/fr.po: Likewise.
39325
d30cf5bb
RM
393262011-07-09 Roland McGrath <roland@hack.frob.com>
39327
113ddea4
RM
39328 * configure.in (.ctors/.dtors header and trailer check):
39329 Use an empirical test on a built program.
39330 * configure: Regenerated.
39331
574920b4
RM
39332 * configure.in (-z relro check): Use an empirical test on a built DSO.
39333 Detect, but do not require, on ia64.
39334 * configure: Regenerated.
39335
d30cf5bb
RM
39336 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39337 Update tests that use readelf to use $READELF instead.
39338 * configure: Regenerated.
39339
8538fdb3
UD
393402011-07-08 Ulrich Drepper <drepper@gmail.com>
39341
39342 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39343 if the result is not used.
39344
04d08991
AJ
393452011-07-05 Andreas Jaeger <aj@suse.de>
39346
39347 [BZ#9696]
39348 * stdlib/tst-strtod.c: Add testcase.
39349
de283087
AD
393502011-07-07 Ulrich Drepper <drepper@gmail.com>
39351
4e5f31c8 39352 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39353 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39354 The latter has a higher limit. Take additional parameter to pass to
39355 the new function.
39356 (__pathconf): Pass file to __statfs_link_max.
39357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39358 __statfs_link_max.
39359 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39360 __statfs_link_max.
39361
de283087
AD
39362 [BZ #12868]
39363 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39365 Handle Lustre.
39366 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39367 (__statfs_filesize_max): Likewise.
39368 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39369
c75fa153
AJ
393702011-07-05 Andreas Jaeger <aj@suse.de>
39371
39372 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39373
1a544854
UD
393742011-07-06 Marek Polacek <mpolacek@redhat.com>
39375
39376 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39377 `status' variable.
39378 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39379 Likewise.
39380
6f0eec67
UD
393812011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39382
39383 * Makefile (strop-tests): Add strncat.
39384 * string/test-strncat.c: New file.
39385
aae30307
UD
393862011-06-30 Marek Polacek <mpolacek@redhat.com>
39387
39388 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39389
c0cfb5eb
UD
393902011-06-21 Andreas Jaeger <aj@suse.de>
39391
39392 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39393 Copy rule from iconvdata/Makefile.
39394
01636b21
UD
393952011-07-06 Ulrich Drepper <drepper@gmail.com>
39396
39397 [BZ #12922]
39398 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39399 but no long options are defined, just return 'W'.
39400
9895c8bc
UD
394012011-06-22 Marek Polacek <mpolacek@redhat.com>
39402
39403 [BZ #9696]
39404 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39405
5d4cf042
UD
394062011-07-06 Ulrich Drepper <drepper@gmail.com>
39407
39408 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39409 netgroups to read.
960e5535 39410 (innetgr): Likewise.
5d4cf042 39411
751eb97e
RM
394122011-07-05 Roland McGrath <roland@hack.frob.com>
39413
39414 * config.make.in (install_root): Default to $(DESTDIR).
39415
f15f1e45
UD
394162011-07-05 Ulrich Drepper <drepper@gmail.com>
39417
39418 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39419
4e34ac6a
RM
394202011-07-02 Roland McGrath <roland@hack.frob.com>
39421
5e9b6af4
RM
39422 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39423
84f9ea0f
RM
39424 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39425 containing directory rather than embedding absolute directory names.
39426
ea5ee9f7
RM
39427 * scripts/check-local-headers.sh: Rewritten using awk.
39428 Match by word, not by line. Print error messages for matches.
39429 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39430
1b74661a
RM
39431 * Makerules [shlib-lds-flags empty]:
39432 ($(common-objpfx)libc_pic.opts): New target.
39433 ($(common-objpfx)libc_pic.os.clean): New target.
39434 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39435
39436 * config.make.in (OBJCOPY): New variable.
39437 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39438 * configure: Regenerated.
39439
f781ef40
RM
39440 * config.make.in (use-default-link): New variable.
39441 * configure.in (use_default_link): Grok --with-default-link to set it.
39442 * configure: Regenerated.
39443 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39444 (shlib-lds, shlib-lds-flags): Define to empty.
39445
2d4fa81e
RM
39446 * Makerules (shlib-lds): New variable.
39447 (shlib-lds-flags): New variable.
39448 (build-shlib, build-moduile, build-module-asneeded): Use it.
39449 ($(common-objpfx)libc.so): Use $(shlib-lds).
39450 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39451 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39452
31fffa6b
RM
39453 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39454 DT_FLAGS/DT_FLAGS_1 with zero flags.
39455
4e34ac6a
RM
39456 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39457 linker script munging.
39458
fcfc776b
UD
394592011-07-02 Ulrich Drepper <drepper@gmail.com>
39460
39461 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39462 as 128-bit value.
39463 * crypt/sha512.c (sha512_process_block): Perform total addition using
39464 128-bit if possible.
39465 (__sha512_finish_ctx): Likewise.
39466 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39467 as 64-bit value.
39468 * crypt/sha256.c (SWAP64): Define.
39469 (sha256_process_block): Perform total addition using 64-bit if
39470 possible.
39471 (__sha256_finish_ctx): Likewise.
39472
99231d9a
UD
394732011-07-01 Ulrich Drepper <drepper@gmail.com>
39474
39475 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39477 * nscd/hstcache.c (cache_addhst): Likewise.
39478 * nscd/grpcache.c (cache_addgr): Likewise.
39479 * nscd/aicache.c (addhstaiX): Likewise
39480 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39481
445b4a53
TK
394822011-07-01 Thorsten Kukuk <kukuk@suse.de>
39483
39484 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39485 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39486 * nscd/hstcache.c (cache_addhst): Likewise.
39487 * nscd/grpcache.c (cache_addgr): Likewise.
39488 * nscd/aicache.c (addhstaiX): Likewise
39489
6d4d8e8e
AS
394902011-07-01 Andreas Schwab <schwab@redhat.com>
39491
39492 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39493 domain only when needed.
39494
89f654c5
AS
394952011-06-30 Andreas Schwab <schwab@redhat.com>
39496
39497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39498 is always restored.
39499
cf3b23ff
UD
395002011-06-29 Ulrich Drepper <drepper@gmail.com>
39501
39502 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39503 are re-adding the entry.
39504 * nscd/servicescache.c (cache_addserv): Likewise.
39505
751626f9
AJ
395062011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39507
39508 * sysdeps/generic/dl-irel.h: fix protection against multiple
39509 inclusions.
39510 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39511
9113ea1f
UD
395122011-06-28 Ulrich Drepper <drepper@gmail.com>
39513
5c0b8d90
UD
39514 [BZ #12935]
39515 * malloc/memusage.sh: Fix quoting in message.
39516 * debug/xtrace.sh: Likewise.
39517
9113ea1f
UD
39518 * configure.in: Remove support for --experimental-malloc option, make
39519 it the default.
39520 * config.make.in: Likewise.
39521 * malloc/Makefile: Likewise.
39522
a4172181
AS
395232011-06-27 Andreas Schwab <schwab@redhat.com>
39524
39525 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39526 two-byte characters.
39527
78a7eee7
RM
395282011-06-27 Roland McGrath <roland@hack.frob.com>
39529
62bede13
RM
39530 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39531 AC_CACHE_CHECK invocation.
39532 * configure: Regenerated.
39533
78a7eee7
RM
39534 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39535
5ce33a62
UD
395362011-06-27 Ulrich Drepper <drepper@gmail.com>
39537
034807a9
UD
39538 [BZ #12350]
39539 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39540 bit from old_res_options.
39541
4902da17
UD
39542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39543
5ce33a62
UD
39544 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39545 value type for setfct.
39546
c2344f56
L
395472011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39548
39549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39550 __gettimeofday instead of gettimeofday.
39551
68468076
UD
395522011-06-26 Ulrich Drepper <drepper@gmail.com>
39553
39554 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39555
acb0d739
L
395562011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39557
39558 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39559
39560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39561 info.
39562
8912479f
L
395632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39564
39565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39566 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39567 strcpy-sse2-unaligned strncpy-sse2-unaligned
39568 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39569 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39570 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39571 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39572 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39573 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39575 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39576 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39577 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39578 (STRCPY): Support SSE2 and SSSE3 versions.
39579
d5495a11
UD
395802011-06-24 Ulrich Drepper <drepper@gmail.com>
39581
39582 [BZ #12874]
39583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39584 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39585 kernels which artificially limit size of requests.
39586
0b1cbaae
L
395872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39588
39589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39590 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39591 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39592 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39593 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39594 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39595 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39596 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39599 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39600 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39601 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39602 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39603 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39605 Enable unaligned load optimization for Intel Core i3, i5 and i7
39606 processors.
39607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39608 Define.
39609 (index_Fast_Unaligned_Load): Define.
39610 (HAS_FAST_UNALIGNED_LOAD): Define.
39611
07f494a0
MP
396122011-06-23 Marek Polacek <mpolacek@redhat.com>
39613
39614 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39615
fa3fc0fe
UD
396162011-06-22 Ulrich Drepper <drepper@gmail.com>
39617
39618 [BZ #12907]
39619 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39620 until it is clear that the information is realy needed.
39621 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39622
e12df166
AS
396232011-06-22 Andreas Schwab <schwab@redhat.com>
39624
39625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39626
852eb34d
UD
396272011-06-22 Ulrich Drepper <drepper@gmail.com>
39628
84e2a551
UD
39629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39630 /sys/devices/system/cpu/online if it is usable.
39631
852eb34d
UD
39632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39633 reading the information from the /proc filesystem to once a second.
39634
6e502e19
UD
396352011-06-21 Andreas Jaeger <aj@suse.de>
39636
39637 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39638 NULL after inclusion of kernel headers.
39639
75d39ff2
UD
396402011-06-21 Ulrich Drepper <drepper@gmail.com>
39641
51f9aa6a
UD
39642 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39643 calls to internal_setent.
39644
c0244a9d
UD
39645 [BZ #12885]
39646 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39647 addresses using gethostbyname4_r ignore IPv4 addresses.
39648
c5e3c2ae
UD
39649 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39650 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39651
75d39ff2
UD
39652 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39653
42675c6f
DM
396542011-06-20 David S. Miller <davem@davemloft.net>
39655
39656 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39657 inclusions.
39658 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39659
39660 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39661 (elf_irel): Use it.
39662 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39663 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39664 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39665 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39666 * sysdeps/x86_64/dl-irel.h: Likewise.
39667
39668 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39669 * elf/dl-sym.c: Likewise.
39670
57912a71
UD
396712011-06-15 Ulrich Drepper <drepper@gmail.com>
39672
39673 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39674 need to dereference resplen2.
39675
ee22793d
AS
396762011-06-14 Andreas Schwab <schwab@redhat.com>
39677
39678 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39679
a9e836b0
UD
396802011-06-15 Ulrich Drepper <drepper@gmail.com>
39681
77fb9117
UD
39682 * Makeconfig: Define vardbdir and inst_vardbdir.
39683 * nss/Makefile: Add rules to install db-Makefile.
39684
40c1b22c
UD
39685 * nss/nss_db/db-XXX.c: Cleanup.
39686
9f2da732
UD
39687 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39688 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39689 GLIBC_PRIVATE.
39690 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39691 * nss/makedb.c: Implement -g option to specify that value strings
39692 are generated and should not be added to table iterated over for
39693 get*ent calls.
39694 * nss/nss_db/db-initgroups.c: New file.
39695
82e9a1f7
UD
39696 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39697 interface.
39698
c41af17e
UD
39699 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39700 (internal_getgrouplist): Adjust to name change.
39701 Update use_initgroups_entry if this is not the first call.
39702 * nss/databases.def: Add initgroups entry.
39703
a9e836b0
UD
39704 * nss/makedb.c (compute_tables): Check result of multiple hash table
39705 sizes to minimize maximum chain length.
39706
2666d441
UD
397072011-06-14 Ulrich Drepper <drepper@gmail.com>
39708
39709 * Versions.def: Add entry for libnss_db.
39710 * shlib-versions: Likewise.
39711 * nss/Makefile: Add rules to build libnss_db.
39712 * nss/Versions: Add libnss_db information. Organize libnss_files
39713 entries better.
39714 * nss/db-Makefile: Add gshadow support. Change rules for the new
39715 makedb progra. Some minor improvements to generate smaller files.
39716 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39717 here from...
39718 * nss/makedb.c: ...here.
39719 Improve database format to be smaller and require less memory at
39720 runtime.
39721 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39722 db anymore.
39723 * nss/nss_db/db-netgrp.c: Likewise.
39724 * nss/nss_db/db-open.c: Likewise.
39725 * nss/nss_files/flies-XXX.x: Adjust comments.
39726 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39727 * nss/nss_files/files-grp.c: Likewise.
39728 * nss/nss_files/files-hosts.c: Likewise.
39729 * nss/nss_files/files-network.c: Likewise.
39730 * nss/nss_files/files-proto.c: Likewise.
39731 * nss/nss_files/files-pwd.c: Likewise.
39732 * nss/nss_files/files-rpc.c: Likewise.
39733 * nss/nss_files/files-service.c: Likewise.
39734 * nss/nss_files/files-sgrp.c: Likewise.
39735 * nss/nss_files/files-spwd.c: Likewise.
39736 * nss/nss_db/db-alias.c: Removed.
39737 * nss/nss_db/dummy-db.h: Removed.
39738
9ee76b5a
UD
397392011-06-02 Ulrich Drepper <drepper@gmail.com>
39740
39741 * nss/makedb.c: Rewritten to not use database library.
39742 * nss/Makefile: Update to build new makedb program.
39743
c71ca1f8
AJ
397442011-06-14 Andreas Jaeger <aj@suse.de>
39745
39746 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39747 memset declaration.
39748
3154bfb8
UD
397492011-06-10 Andreas Schwab <schwab@redhat.com>
39750
39751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39752 tmpbuf.
39753
b350afab
RM
397542011-06-10 Roland McGrath <roland@hack.frob.com>
39755
decd4e50
RM
39756 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39757 * elf/Makefile ($(objpfx)ld.so): Likewise.
39758
5615eaf2
RM
39759 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39760 Don't list ld.so twice in dependencies.
39761
39762 * posix/bug-regex31.c: Include <stdlib.h>.
39763
39764 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39765
39766 * nis/nss_compat/compat-spwd.c
39767 (getspent_next_nss_netgr): Remove unused variable.
39768 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39769
39770 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39771 nonmembers" output to use the right array.
39772
39773 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39774
39775 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39776
39777 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39778 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39779 * catgets/gencat.c (read_input_file): Likewise.
39780 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39781
39782 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39783 variable definition inside #if's controlling its use.
39784
39785 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39786
39787 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39788
39789 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39790
39791 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39792 unreachable code.
39793
39794 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39795
b68e08db
RM
39796 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39797 * configure: Regenerated.
39798
b350afab
RM
39799 * Makerules: Revert last change.
39800 * elf/Makefile: Likewise.
39801
28368601
RM
398022011-06-09 Roland McGrath <roland@hack.frob.com>
39803
39804 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39805 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39806 (reloc-link): Likewise.
39807
11988f8f
UD
398082011-06-09 Ulrich Drepper <drepper@gmail.com>
39809
39810 * elf/Makefile: Add rules to build pldd.
39811 * elf/pldd.c: New file.
39812 * elf/pldd-xx.c: New file.
39813
e80fab37
UD
398142011-06-07 Ulrich Drepper <drepper@gmail.com>
39815
39816 * version.h: Update for 2.15 development version.
39817
9b849836
DM
398182011-06-07 David S. Miller <davem@davemloft.net>
39819
39820 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39821 ifuncs.
39822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39823 elf_machine_lazy_rel): Likewise.
39824 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39826 elf_machine_lazy_rel): Likewise.
39827 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39828 dl_hwcap via passed in argument.
39829 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39830 Likewise.
39831
5a31b283
AK
398322011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39833
39834 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39835
069e52f8
RM
398362011-06-06 Roland McGrath <roland@hack.frob.com>
39837
39838 [BZ #12849]
39839 * manual/fdl-1.1.texi: New file, verbatim from:
39840 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39841 * manual/lgpl-2.1.texi: New file, verbatim from:
39842 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39843 * manual/Makefile (licenses): New variable, list those new file names.
39844 (texis): Use it.
39845 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39846
39847 * manual/fdl.texi: File removed.
39848 * manual/lesser.texi: File removed.
39849 * manual/libc.texinfo (Copying, Documentation License):
39850 Use new @include file names, put @appendix directive before @include.
39851
f16846a5
JJ
398522011-06-04 Jakub Jelinek <jakub@redhat.com>
39853
39854 [BZ #12841]
39855 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39856 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39857 (mq_open): Add __NTH.
39858
3d29045b
L
398592011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39860
39861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39862 Assume Intel Core i3/i5/i7 processor if AVX is available.
39863
8c297311
UD
398642011-05-31 Ulrich Drepper <drepper@gmail.com>
39865
39866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39867 typo.
39868
c8fc0c91
UD
398692011-05-31 Andreas Schwab <schwab@redhat.com>
39870
39871 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39872 memory. Use alloca_account. Fix memory leak when retrying.
39873
5b27a807
UD
398742011-05-31 Ulrich Drepper <drepper@gmail.com>
39875
356f8bc6
UD
39876 * version.h (RELEASE): Bump for 2.14 release.
39877 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39878
5b27a807
UD
39879 * config.make.in (RANLIB): Remove entry.
39880
01f16ab0
UD
398812011-05-30 Ulrich Drepper <drepper@gmail.com>
39882
41fce8bd
UD
39883 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39884 (libc.pot): Work around missing support for .ksh extension in xgettext.
39885
4769ae77
UD
39886 [BZ #12684]
39887 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39888 if both request failed.
39889 (send_dg): In case of server errors clear resplen or *resplen2.
39890
6b1e7d19
UD
39891 [BZ #12454]
39892 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39893 when there are multiple maps.
39894 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39895 (_dl_fini): Remove test here.
39896
01f16ab0
UD
39897 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39898
b1ebd700
UD
398992011-05-29 Ulrich Drepper <drepper@gmail.com>
39900
7ae22829
UD
39901 [BZ #12350]
39902 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39903 bit from old_res_options.
39904 (gaih_inet): Likewise.
39905
553149f6 39906 [BZ #11099]
18a84741 39907 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39908 as signed.
39909
652ffab1
UD
39910 * resolv/res_init.c (res_setoptions): Make the code more compact.
39911
16985fd0
UD
39912 [BZ #11558]
39913 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39914 set RES_USEVC.
39915
0464f746
UD
39916 [BZ #11634]
39917 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39918
7d17596c
UD
39919 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39920
cf6bbbd7
UD
39921 [BZ #11781]
39922 * malloc/malloc.h: Declare malloc hook variables as volatile.
39923
13f1ab36
UD
39924 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39925 in last patch.
39926
b1ebd700
UD
39927 [BZ #11799]
39928 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39929 raise in the comment.
80e2212d
UD
39930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39932 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39933
ce67228d
UD
399342011-05-28 Ulrich Drepper <drepper@gmail.com>
39935
8887a920
UD
39936 [BZ #12811]
39937 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39938 grow the buffers more if it already has to be sufficient.
39939 (build_wcs_upper_buffer): Likewise.
39940 * posix/regexec.c (check_matching): Likewise.
39941 (clean_state_log_if_needed): Likewise.
39942 (extend_buffers): Don't enlarge buffers beyond size of the input
39943 buffer.
39944 Patches mostly by Emil Wojak <emil@wojak.eu>.
39945 * posix/bug-regex32.c: New file.
39946 * posix/Makefile (tests): Add bug-regex32.
39947
4f031072
UD
39948 * locale/findlocale.c (_nl_find_locale): Return right away if
39949 _nl_explode_name failed.
39950 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39951
d0478f0c
UD
39952 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39953
de81b246
UD
39954 * debug/xtrace.sh: Unify messages.
39955 * malloc/memusage.sh: Likewise.
39956
c738465a
UD
39957 [BZ #12813]
39958 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39959 time symbol from vDSO. Substitute with vsyscall if not available.
39960 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39961 __vdso_time.
39962
f1f929d7
UD
39963 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39964 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39965 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39966 Add sendmmsg and internal_sendmmsg.
39967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39968 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39969 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39970
ce67228d
UD
39971 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39972 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39974
e57420c6
UD
399752011-05-27 Ulrich Drepper <drepper@gmail.com>
39976
a8509ca5
UD
39977 [BZ #12813]
39978 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39979 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39980 available.
39981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39982 __vdso_getcpu.
39983
e57420c6
UD
39984 [BZ #12814]
39985 * iconvdata/Makefile (tests): Add bug-iconv9.
39986 * iconvdata/bug-iconv9.c: New file.
39987
4d07db15
AS
399882011-05-27 Andreas Schwab <schwab@redhat.com>
39989
39990 [BZ #12814]
39991 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39992
ea486f69
JJ
399932011-05-25 Jakub Jelinek <jakub@redhat.com>
39994
39995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39996 (struct user_regs_struct): Change intcs field back to cs.
39997
6f038433
UD
399982011-05-25 Ulrich Drepper <drepper@gmail.com>
39999
40000 * po/ja.po: Update from translation team.
40001
67f86a25
UD
400022011-05-23 Ulrich Drepper <drepper@gmail.com>
40003
40004 [BZ #12795]
40005 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40006 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40007
def7fbd6
AS
400082011-05-20 Andreas Schwab <schwab@redhat.com>
40009
40010 * stdlib/longlong.h: Update from GCC.
40011
f50ef8f1
AS
400122011-05-23 Andreas Schwab <schwab@redhat.com>
40013
40014 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40015 parameter name.
40016 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40017 Add parameter name.
40018 (__sysconf): Pass it down.
40019
de7ce8f1
UD
400202011-05-22 Ulrich Drepper <drepper@gmail.com>
40021
f2962a71
UD
40022 [BZ #12671]
40023 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40024 some situations.
40025 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40026 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40027 add in in __libc_use_alloca calls. Adjust callers.
40028 (glob): Use malloc in some situations.
40029
de7ce8f1
UD
40030 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40031 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40032 pltexit.
40033
aec84f53
UD
400342011-05-21 Ulrich Drepper <drepper@gmail.com>
40035
05bb4a68
UD
40036 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40037 and CLOCK_BOOTTIME_ALARM.
40038
7ea72f99
UD
40039 [BZ #12782]
40040 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40041 is returned.
40042
7e4afad5
UD
40043 * string/_strerror.c (__strerror_r): Print negative errors as signed
40044 numbers.
40045
8e211fec
UD
40046 [BZ #12777]
40047 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40048 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40049 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40050
f7d82dc9
UD
40051 * configure.in: Fix typo in redirection and correct removal of test
40052 files in two cases.
40053
cc9e536d
UD
40054 [BZ #12788]
40055 * locale/setlocale.c (new_composite_name): Fix test to check for
40056 identical name of all categories.
40057
aec84f53
UD
40058 [BZ #12792]
40059 * libio/filedoalloc.c (local_isatty): New function.
40060 (_IO_file_doallocate): Use local_isatty.
40061 * stdio-common/perror.c (perror): In case a new stream is used
40062 forward the stream error.
40063 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40064 error flag.
40065
78e64fdc
RT
400662011-05-20 Ulrich Drepper <drepper@gmail.com>
40067
34a9094f
UD
40068 [BZ #11869]
40069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40070 alloca.
40071 * include/alloca.h (extend_alloca_account): Define.
40072
78e64fdc
RT
40073 [BZ #11857]
40074 * posix/regex.h: Fix comments with documentation of user-accessible
40075 fields after compilation and describe correct free'ing of pattern
40076 after re_compile_pattern.
40077 Patch by Reuben Thomas <rrt@sc3d.org>.
40078
457bddfc
RA
400792011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40080
40081 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40082 and -mno-altivec to prevent the compiler from using Altivec and/or
40083 VSX instructions when the corresponding registers are not available.
40084
a4527b51
AS
400852011-05-19 Andreas Schwab <schwab@redhat.com>
40086
40087 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40088
ed690b2f
UD
400892011-05-19 Ulrich Drepper <drepper@gmail.com>
40090
40091 * libio/freopen.c (freopen): Use __dup2, not dup2.
40092 * libio/freopen64.c (freopen64): Likewise.
40093
8db73634
L
400942011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40095
40096 [BZ #12775]
40097 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40098 * math/Makefile (tests): Add test-powl.
40099 (CFLAGS-test-powl.c): Define.
40100 * math/test-powl.c: New file.
40101
0a197a9d
L
401022011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40103
40104 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40105
ee30c380
UD
401062011-05-17 Ulrich Drepper <drepper@gmail.com>
40107
40108 [BZ #11837]
40109 * iconvdata/gb18030.c: Update to GB18020-2005.
40110
6ce75379
UD
401112011-05-16 Ulrich Drepper <drepper@gmail.com>
40112
a4b89fd8
AR
40113 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40114 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40115 Patch by Aharon Robbins <arnold@skeeve.com>.
40116
ea389b12
UD
40117 [BZ #11892]
40118 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40119 on the stack.
40120
68a3f91f
UD
40121 [BZ #11895]
40122 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40123 through underflows.
40124
15cc7dd1
UD
40125 [BZ #12766]
40126 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40127 point to strings before performing equality test for error_one_per_line
40128 mode.
40129
f3799213
UD
40130 [BZ #11697]
40131 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40132
d79a9c94
UD
40133 [BZ #11820]
40134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40135 (struct user_fpregs_struct): Avoid __uint*_t types.
40136
56e5eb46
UD
40137 [BZ #6420]
40138 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40139 symbol info. Use it instead of calling _dl_addr locally.
40140 (lock_and_info): New function.
40141 (tr_freehook): Call lock_and_info and pass symbol info as additional
40142 parameter to tr_where.
40143 (tr_mallochook): Likewise.
40144 (tr_reallochook): Likewise.
40145 (tr_memalignhook): Likewise.
40146
6ce75379
UD
40147 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40148 used and couldn't be at all thread-safe.
40149
f8a3b5bf
UD
401502011-05-15 Ulrich Drepper <drepper@gmail.com>
40151
94b7cc37
UD
40152 * libio/freopen.c (freopen): Don't close old file descriptor
40153 before the new one is opened. Instead dup the new file descriptor
40154 to the old one after the new stream is created.
40155 * libio/freopen64.c (freopen64): Likewise.
40156 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40157 * libio/fileops.c (_IO_new_file_close_it): Handle new
40158 _IO_FLAGS2_NOCLOSE flag.
40159 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40160 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40161 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40162 _IO_FLAGS2_NOCLOSE flag.
40163 * include/unistd.h: Add hidden_proto for dup3.
40164 Define __have_dup3.
40165 * io/dup3.c: Define hidden symbol.
40166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40167
bd25564e
UD
40168 [BZ #7101]
40169 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40170 when an incomplete long option is used.
40171 * posix/tst-getopt_long1.c: New file.
40172 * posix/Makefile (tests): Add tst-getopt_long1.
40173
c84cfef4
UD
40174 [BZ #10138]
40175 * scripts/config.guess: Update from autoconf-2.68.
40176 * scripts/config.sub: Likewise.
40177
3b85df27
UD
40178 [BZ #10157]
40179 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40180 tests into ...
40181 (has_cpuclock): ...this. New function.
40182 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40183 macro here based on has_cpuclock code.
40184
15a856b1
UD
40185 [BZ #10149]
40186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40187 First byte (not low byte) is now always NUL.
40188 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40189
05f399e6
UD
40190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40191 Use non-cancelable interfaces.
40192
10a52685 40193 [BZ #9809]
94ecc67d
UD
40194 * locale/iso-639.def: Add entry for Sorani.
40195
f8a3b5bf
UD
40196 [BZ #11901]
40197 * include/stdlib.h: Move include protection to the right place.
40198 Define abort_msg_s. Declare __abort_msg with it.
40199 * stdlib/abort.c (__abort_msg): Adjust type.
40200 * assert/assert.c (__assert_fail_base): New function. Majority
40201 of code from __assert_fail. Allocate memory for __abort_msg with
40202 mmap.
40203 (__assert_fail): Now call __assert_fail_base.
40204 * assert/assert-perr.c: Remove bulk of implementation. Use
40205 __assert_fail_base.
40206 * include/assert.hL Declare __assert_fail_base.
40207 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40208 mmap.
40209 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40210
1af4e298
UD
402112011-05-14 Ulrich Drepper <drepper@gmail.com>
40212
f8a3b5bf 40213 [BZ #11952]
d26dfc60
MG
40214 [BZ #12453]
40215 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40216 until all modules are registered in the DTV.
40217 * elf/Makefile: Add rules to build and run tst-tls19.
40218 * elf/tst-tls19.c: New file.
40219 * elf/tst-tls19mod1.c: New file.
40220 * elf/tst-tls19mod2.c: New file.
40221 * elf/tst-tls19mod3.c: New file.
40222 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40223
2fc54d6f
UD
40224 [BZ #12083]
40225 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40226 correctly.
40227
98d76b46
UD
40228 [BZ #12601]
40229 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40230 two-byte sequence errors.
40231 * iconvdata/Makefile (tests): Add bug-iconv8.
40232 * iconvdata/bug-iconv8.c: New file.
40233
da3c19ef
UD
40234 [BZ #12626]
40235 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40236 buf2 definition.
40237
ca408c15
UD
40238 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40239
d6f67f7d
UD
40240 [BZ #12432]
40241 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40242 (dummy_getcfa): New function.
40243 (init): Get _Unwind_GetCFA address, use dummy if not found.
40244 (backtrace_helper): In recursion check, also check whether CFA changes.
40245 (__backtrace): Completely initialize arg.
40246
1af4e298 40247 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40248 storing incomplete byte sequence in state object. Avoid testing for
40249 guaranteed too small input if we know there is enough data available.
1af4e298 40250
da62f81b
AS
402512011-05-11 Andreas Schwab <schwab@redhat.com>
40252
40253 * Makeconfig (+link-pie): Indent.
40254 * Rules (binaries-pie): Define if $(have-fpie) and
40255 $(build-shared).
40256 (binaries-shared): Also filter out $(binaries-pie).
40257 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40258 * nscd/Makefile (others-pie): Add nscd.
40259 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40260 ($(objpfx)nscd): Remove command override.
40261 * login/Makefile (others-pie): Add pt_chown.
40262 ($(objpfx)pt_chown): Remove command override.
40263 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40264 remove command overrides.
40265
fcabc0f8
UD
402662011-05-13 Ulrich Drepper <drepper@gmail.com>
40267
20030ae6
UD
40268 * libio/tst_putwc.c: Fix error messages.
40269
fcabc0f8
UD
40270 [BZ #12724]
40271 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40272 currently writing and seek to current position when not.
40273 * libio/Makefile (tests): Add bug-fclose1.
40274 * libio/bug-fclose1.c: New file.
40275
320a5dc0
PB
402762011-05-12 Ulrich Drepper <drepper@gmail.com>
40277
40278 [BZ #12511]
40279 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40280 don't set DF_1_NODELETE here.
40281 (do_lookup_x): When entering new entry test for copy relocation
40282 and if necessary set DF_1_NODELETE flag.
40283 * elf/tst-unique4.cc: New file.
40284 * elf/tst-unique4.h: New file.
40285 * elf/tst-unique4lib.cc: New file.
40286 * elf/Makefile: Add rules to build and run tst-unique4.
40287 Patch by Piotr Bury <pbury@goahead.com>.
40288
22836f52
UD
402892011-05-11 Ulrich Drepper <drepper@gmail.com>
40290
f574184a
UD
40291 [BZ #12052]
40292 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40293
e1fb097f
UD
40294 [BZ #12625]
40295 * misc/mntent_r.c (addmntent): Flush the stream after the output
40296
22836f52
UD
40297 [BZ #12393]
40298 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40299 (is_trusted_path_normalize): Skip initial colon. Append slash
40300 to empty buffer. Duplicate is_trusted_path code but allow
40301 constructed patch to be prefix.
40302 (is_dst): Allow $ORIGIN followed by /.
40303 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40304 Correct testing of result of is_trusted_path_normalize
40305 (decompose_rpath): Fix warning.
40306
7b3b0b2a
UD
403072011-05-10 Ulrich Drepper <drepper@gmail.com>
40308
40309 [BZ #11257]
40310 * grp/initgroups.c (internal_getgrouplist): When we found the service
40311 list through the initgroups entry in nsswitch.conf do not always
40312 continue on a successful lookup. Don't always use the
eac80ce2 40313 __nss_group_database value if it is set.
7b3b0b2a
UD
40314 * nss/nsswitch.conf (initgroups): Change action for successful db
40315 lookup to continue for compatibility.
40316
2a81eaa5
UD
403172011-05-09 Ulrich Drepper <drepper@gmail.com>
40318
be97a69e
UD
40319 [BZ #11532]
40320 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40321 and CP774 modules.
40322 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40323 and CP774 modules.
40324 * iconvdata/tst-tables.sh: Likewise.
40325 * iconvdata/cp770.c: New file.
40326 * iconvdata/cp771.c: New file.
40327 * iconvdata/cp772.c: New file.
40328 * iconvdata/cp773.c: New file.
40329 * iconvdata/cp774.c: New file.
40330 * iconvdata/testdata/CP770: New file.
40331 * iconvdata/testdata/CP770..UTF8: New file.
40332 * iconvdata/testdata/CP771: New file.
40333 * iconvdata/testdata/CP771..UTF8: New file.
40334 * iconvdata/testdata/CP772: New file.
40335 * iconvdata/testdata/CP772..UTF8: New file.
40336 * iconvdata/testdata/CP773: New file.
40337 * iconvdata/testdata/CP773..UTF8: New file.
40338 * iconvdata/testdata/CP774: New file.
40339 * iconvdata/testdata/CP774..UTF8: New file.
40340
40341 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40342 END CHARMAP line.
40343 * iconvdata/gen-8bit-gap.sh: Likewise.
40344 * iconvdata/gen-8bit.sh: Likewise.
40345
c1e9e399
UD
40346 * locale/iso-639.def: Add ary entry.
40347
24c55fb3 40348 [BZ #11258]
96b4b1b0
UD
40349 * locale/C-translit.h.in: Add U20A1 transliteration.
40350
bdc2f971
KB
40351 [BZ #12178]
40352 * locale/iso-639.def: Add wae entry.
40353 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40354
2952b117
UD
40355 [BZ #12545]
40356 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40357 for n.
40358
2a81eaa5
UD
40359 [BZ #12711]
40360 * locale/C-translit.h.in: Add entry for U20B9.
40361 Patch by pravin.d.s@gmail.com.
40362
28377d1b
UD
403632011-05-08 Ulrich Drepper <drepper@gmail.com>
40364
7fb90fb8
UD
40365 [BZ #12713]
40366 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40367 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40368 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40369 in rtld. Use *stat64.
7fb90fb8 40370 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40371 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40372 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40373 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40374 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40375 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40376 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40377 __fstatat64 macros.
7fb90fb8
UD
40378 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40379 * dirent/rewinddir.c: Add libc_hidden_def.
40380 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40381 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40382
28377d1b
UD
40383 * include/dirent.h (__alloc_dir): Add flags parameter.
40384 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40385 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40386 __alloc_dir.
40387 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40388 from fdopendir if O_CLOEXEC is already set.
40389
66bdbaa4
AM
403902011-03-15 Alan Modra <amodra@gmail.com>
40391
40392 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40393 l_tls_firstbyte_offset non-zero. Save padding offset in
40394 l_tls_firstbyte_offset for later use.
40395 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40396 freeing static tls block.
40397
95721191
JN
403982011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40399
40400 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40401 where #ifdef was intended. The intent is to prevent ARG_MAX from
40402 being defined by the kernel headers.
40403
f87dfb1f
UD
404042011-05-07 Ulrich Drepper <drepper@gmail.com>
40405
40406 [BZ #12734]
40407 * resolv/resolv.h: Define RES_NOTLDQUERY.
40408 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40409 no-tld-query and set RES_NOTLDQUERY.
40410 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40411 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40412 modern BIND to search name as TLD unless forbidden.
40413
47c3cd7a
UD
404142011-05-07 Petr Baudis <pasky@suse.cz>
40415 Ulrich Drepper <drepper@gmail.com>
40416
40417 [BZ #12393]
40418 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40419 (is_trusted_path): ...to here.
c1e9ea35 40420 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40421 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40422 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40423
8a35c912
PP
404242011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40425
40426 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40427 __BEGIN/__END_DECLS.
40428
acd41f47
UD
404292011-05-06 Ulrich Drepper <drepper@gmail.com>
40430
40431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40432 NSS_STATUS_NOTFOUND if no record was found.
40433
597df647
AS
404342011-05-05 Andreas Schwab <schwab@redhat.com>
40435
40436 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40437 (headers-not-in-tirpc): Remove rpc/netdb.h
40438 * resolv/netdb.h: Revert last change.
40439
b9af1301
PP
404402011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40441
40442 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40443 circular dependency between libgcc.a and libc.a.
40444
4e34d5f5
AS
404452011-05-05 Andreas Schwab <schwab@redhat.com>
40446
40447 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40448 * nis/Makefile: Don't install rpcsvc/*.
40449 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40450 instead of <rpc/types.h>.
40451 (MAXHOSTNAMELEN): Define.
40452
00ee369c
AS
404532011-05-03 Andreas Schwab <schwab@redhat.com>
40454
40455 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40456
0b592a30
MB
404572011-04-28 Maciej Babinski <mbabinski@google.com>
40458
40459 [BZ #12714]
40460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40461 gethostbyname4_r when IPv6 results are possible.
40462
6e04cbbe
UD
404632011-05-02 Ulrich Drepper <drepper@gmail.com>
40464
40465 [BZ #12723]
40466 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40467 _PC_PIPE_BUF handling.
40468
e4ecafe0
BH
404692011-04-30 Bruno Haible <bruno@clisp.org>
40470
40471 [BZ #12717]
40472 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40473 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40474 to 'int'.
40475 * inet/getnameinfo.c (getnameinfo): Likewise.
40476
125ee683
UD
404772011-04-29 Ulrich Drepper <drepper@gmail.com>
40478
40479 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40480 to groups setting in database lookup.
40481 * nss/nsswitch.conf: Add initgroups entry.
40482
b722481a
EB
404832011-04-22 Ulrich Drepper <drepper@gmail.com>
40484
40485 [BZ #12685]
40486 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40487 mode string.
40488 Patch by Eric Blake <eblake@redhat.com>.
40489
4df46dbd
L
404902011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40491
40492 * sunrpc/Makefile (need-export-routines): Add svc_run.
40493 (routines): Remove svc_run.
40494 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40495 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40496 * sunrpc/svc_run.c (svc_run): Likewise.
40497 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40498
e84142d2
UD
404992011-04-21 Ulrich Drepper <drepper@gmail.com>
40500
40501 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40502 problem in reallocation in last patch.
40503
877175d8
UD
405042011-04-20 Ulrich Drepper <drepper@gmail.com>
40505
40506 * sunrpc/Makefile: Move inclusion of Rules.
40507
ab8eed78
UD
405082011-04-19 Ulrich Drepper <drepper@gmail.com>
40509
40510 * nss/nss_files/files-initgroups.c: New file.
40511 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40512 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40513 _nss_files_initgroups_dyn.
40514
e3d8f584
RS
405152011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40516
40517 * elf/elf.h (R_ARM_IRELATIVE): Define.
40518
af190f45
UD
405192011-04-19 Ulrich Drepper <drepper@gmail.com>
40520
40521 * po/ru.po: Update from translation team.
40522
53cf59ef
UD
405232011-04-17 Ulrich Drepper <drepper@gmail.com>
40524
40525 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40526 dependencies.
40527
4c559bcd
MF
405282011-02-06 Mike Frysinger <vapier@gentoo.org>
40529
40530 [BZ #12653]
40531 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40532 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40534 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40536
4420675c
AS
405372011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40538
40539 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40540 differing bytes.
40541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40544
75ea32ab
UD
405452011-04-17 Ulrich Drepper <drepper@gmail.com>
40546
40547 [BZ #12420]
40548 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40549 storing it.
40550 * stdlib/bug-getcontext.c: New file.
40551 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40552
27390476
AK
405532011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40554
40555 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40556 instructions into .machine "z9-109".
40557 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40558 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40559
10442705
AK
405602011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40561
40562 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40563 between environment variables and auxiliary vector.
40564
7b57bfe5
UD
405652011-04-16 Ulrich Drepper <drepper@gmail.com>
40566
40567 * Makefile: Add rules to build linkobj/libc.so.
40568 * include/libc-symbols.h: Define libc_hidden_nolink.
40569 * include/rpc/auth.h: Mark functions which are to be hidden.
40570 * include/rpc/auth_des.h: Likewise.
40571 * include/rpc/auth_unix.h: Likewise.
40572 * include/rpc/clnt.h: Likewise.
40573 * include/rpc/des_crypt.h: Likewise.
40574 * include/rpc/key_prot.h: Likewise.
40575 * include/rpc/pmap_clnt.h: Likewise.
40576 * include/rpc/pmap_prot.h: Likewise.
40577 * include/rpc/pmap_rmt.h: Likewise.
40578 * include/rpc/rpc_msg.h: Likewise.
40579 * include/rpc/svc.h: Likewise.
40580 * include/rpc/svc_auth.h: Likewise.
40581 * include/rpc/xdr.h: Likewise.
40582 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40583 * nss/Makefile: Likewise.
40584 * sunrpc/Makefile: Don't install headers. Build library with normal
40585 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40586 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40587 for the compat linking library. Remove use of INTDEF/INTUSE.
40588 * sunrpc/auth_none.c: Likewise.
40589 * sunrpc/auth_unix.c: Likewise.
40590 * sunrpc/authdes_prot.c: Likewise.
40591 * sunrpc/authuxprot.c: Likewise.
40592 * sunrpc/clnt_gen.c: Likewise.
40593 * sunrpc/clnt_perr.c: Likewise.
40594 * sunrpc/clnt_raw.c: Likewise.
40595 * sunrpc/clnt_simp.c: Likewise.
40596 * sunrpc/clnt_tcp.c: Likewise.
40597 * sunrpc/clnt_udp.c: Likewise.
40598 * sunrpc/clnt_unix.c: Likewise.
40599 * sunrpc/des_crypt.c: Likewise.
40600 * sunrpc/des_soft.c: Likewise.
40601 * sunrpc/get_myaddr.c: Likewise.
40602 * sunrpc/key_call.c: Likewise.
40603 * sunrpc/key_prot.c: Likewise.
40604 * sunrpc/netname.c: Likewise.
40605 * sunrpc/pm_getmaps.c: Likewise.
40606 * sunrpc/pm_getport.c: Likewise.
40607 * sunrpc/pmap_clnt.c: Likewise.
40608 * sunrpc/pmap_prot.c: Likewise.
40609 * sunrpc/pmap_prot2.c: Likewise.
40610 * sunrpc/pmap_rmt.c: Likewise.
40611 * sunrpc/publickey.c: Likewise.
40612 * sunrpc/rpc_cmsg.c: Likewise.
40613 * sunrpc/rpc_common.c: Likewise.
40614 * sunrpc/rpc_dtable.c: Likewise.
40615 * sunrpc/rpc_prot.c: Likewise.
40616 * sunrpc/rpc_thread.c: Likewise.
40617 * sunrpc/rtime.c: Likewise.
40618 * sunrpc/svc.c: Likewise.
40619 * sunrpc/svc_auth.c: Likewise.
40620 * sunrpc/svc_authux.c: Likewise.
40621 * sunrpc/svc_raw.c: Likewise.
40622 * sunrpc/svc_run.c: Likewise.
40623 * sunrpc/svc_simple.c: Likewise.
40624 * sunrpc/svc_tcp.c: Likewise.
40625 * sunrpc/svc_udp.c: Likewise.
40626 * sunrpc/svc_unix.c: Likewise.
40627 * sunrpc/svcauth_des.c: Likewise.
40628 * sunrpc/xcrypt.c: Likewise.
40629 * sunrpc/xdr.c: Likewise.
40630 * sunrpc/xdr_array.c: Likewise.
40631 * sunrpc/xdr_float.c: Likewise.
40632 * sunrpc/xdr_intXX_t.c: Likewise.
40633 * sunrpc/xdr_mem.c: Likewise.
40634 * sunrpc/xdr_rec.c: Likewise.
40635 * sunrpc/xdr_ref.c: Likewise.
40636 * sunrpc/xdr_sizeof.c: Likewise.
40637 * sunrpc/xdr_stdio.c: Likewise.
40638
e6c61494
UD
406392011-04-10 Ulrich Drepper <drepper@gmail.com>
40640
40641 [BZ #12650]
40642 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40643 * sysdeps/ia64/dl-tls.h: Likewise.
40644 * sysdeps/powerpc/dl-tls.h: Likewise.
40645 * sysdeps/s390/dl-tls.h: Likewise.
40646 * sysdeps/sh/dl-tls.h: Likewise.
40647 * sysdeps/sparc/dl-tls.h: Likewise.
40648 * sysdeps/x86_64/dl-tls.h: Likewise.
40649 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40650
34fe483e
AS
406512011-03-14 Andreas Schwab <schwab@redhat.com>
40652
40653 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40654 rpath element also skip the following colon.
40655 (expand_dynamic_string_token): Add is_path parameter and pass
40656 down to DL_DST_REQUIRED and _dl_dst_substitute.
40657 (decompose_rpath): Call expand_dynamic_string_token with
40658 non-zero is_path. Ignore empty rpaths.
40659 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40660 with zero is_path.
40661
f12a32e6
AS
406622011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40663
40664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40665 Make cancelable.
40666
38a7d692
UD
406672011-04-09 Ulrich Drepper <drepper@gmail.com>
40668
40669 [BZ #12655]
40670 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40671 Patch by Filipe David Manana <fdmanana@apache.org>.
40672
e451d22b
AS
406732011-04-07 Andreas Schwab <schwab@redhat.com>
40674
40675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40676 Maintain aligned stack.
40677 (CHECK_RSP): Remove unused macro.
40678
dedc7c7b
UD
406792011-04-03 Ulrich Drepper <drepper@gmail.com>
40680
40681 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40683
94521213
UD
406842011-04-02 Ulrich Drepper <drepper@gmail.com>
40685
40686 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40687
8cb700c0 40688 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40689
0354e355
L
406902011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40691
40692 [BZ #12518]
40693 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40694 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40695 * sysdeps/x86_64/memmove.c: New file.
40696 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40697 (memcpy): Renamed to ...
40698 (__new_memcpy): This.
40699 (memcpy): Provide GLIBC_2_14 memcpy.
40700 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40701 (memcpy): Provide GLIBC_2_2_5 memcpy.
40702
8593482f
UD
407032011-04-01 Ulrich Drepper <drepper@gmail.com>
40704
40705 [BZ #12631]
40706 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40707
81a5726b
AS
407082011-03-30 Andreas Schwab <schwab@redhat.com>
40709
40710 * misc/syncfs.c: New file.
40711 * misc/Makefile (routines): Add syncfs.
40712 * posix/unistd.h: Declare syncfs.
40713 * sysdeps/unix/syscalls.list: Add syncfs.
40714
00e5419f
AS
407152011-04-01 Andreas Schwab <schwab@redhat.com>
40716
40717 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40718 open_by_handle_at.
40719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40720 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40722 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40724 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40726
748876bf
UD
407272011-04-01 Ulrich Drepper <drepper@gmail.com>
40728
658e451d
UD
40729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40730 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40736
748876bf
UD
40737 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40738 sync_file_range.c with -fexceptions.
40739 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40740 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40741 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40742 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40743 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40744 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40746 sync_file_range as cancellation point
40747 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40748 now a wrapper around __call_sync_file_range with cancellation handling.
40749 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40750 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40751 function name to __call_sync_file_range.
40752 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40753 Add call_sync_file_range.
748876bf 40754
6e63d5e1
AS
407552011-04-01 Andreas Schwab <schwab@redhat.com>
40756
40757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40758 bits/timex.h.
6e63d5e1 40759
46998f74
UD
407602011-04-01 Ulrich Drepper <drepper@gmail.com>
40761
4c1423ed
UD
40762 * iconv/iconv.h: Fix typo in comment.
40763 * io/fcntl.h: Likewise.
40764 * libio/stdio.h: Likewise.
40765 * posix/spawn.h: Likewise.
40766 * posix/unistd.h: Likewise.
40767 * stdlib/stdlib.h: Likewise.
40768 * time/time.h: Likewise.
40769 * wcsmbs/wchar.h: Likewise.
40770
158648c0
UD
40771 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40772 open_by_handle): Add.
40773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40774 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40775 Augment a few comments.
40776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40781 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40782 open_by_handle.
40783
46998f74
UD
40784 * io/fcntl.h (AT_EMPTY_PATH): Define.
40785
83fe108b
UD
407862011-03-30 Ulrich Drepper <drepper@gmail.com>
40787
40788 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40789 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40790 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40791 to...
40792 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40793 * Versions.def: Add GLIBC_2.14.
40794 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40795 Export.
83fe108b 40796
bb242059
UD
407972011-03-22 Ulrich Drepper <drepper@gmail.com>
40798
40799 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40800 round counter.
40801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40802
c97a1282
L
408032011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40804
40805 [BZ #12597]
40806 * string/test-strncmp.c (do_page_test): New function.
40807 (check2): Likewise.
40808 (test_main): Call check2.
40809 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40810
2a115601
UD
408112011-03-20 Ulrich Drepper <drepper@gmail.com>
40812
40813 [BZ #12587]
40814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40815 Handle cache information in CPU leaf 4.
40816 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40817
8126d904
UD
408182011-03-18 Ulrich Drepper <drepper@gmail.com>
40819
042c49c6 40820 [BZ #12583]
8126d904
UD
40821 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40822 character representation.
40823 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40824
ccfe366e
RA
408252011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40826
40827 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40828 END(__isnan) to END(__isnanf) to match function entry point/label
40829 EALIGN(__isnanf,...).
40830
c6e13027
JJ
408312011-03-10 Jakub Jelinek <jakub@redhat.com>
40832
40833 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40834
33f85a3f
UD
408352011-03-10 Ulrich Drepper <drepper@gmail.com>
40836
028478fa
UD
40837 [BZ #12510]
40838 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40839 copy from the symbol referenced in the relocation to initialize the
40840 used variable.
40841 Patch by Piotr Bury <pbury@goahead.com>.
40842 * elf/Makefile: Add rules to build and tst-unique3.
40843 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40844 * elf/tst-unique3.cc: New file.
40845 * elf/tst-unique3.h: New file.
40846 * elf/tst-unique3lib.cc: New file.
40847 * elf/tst-unique3lib2.cc: New file.
40848
33f85a3f
UD
40849 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40850
03592fc7
MF
408512011-03-10 Mike Frysinger <vapier@gentoo.org>
40852
40853 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40854 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40855 to _start.
03592fc7 40856
6a5ee102
UD
408572011-03-06 Ulrich Drepper <drepper@gmail.com>
40858
40859 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40860 to-be-loaded object along a path to loader is ld.so.
40861
7e4ba49c
HJ
408622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40863 Ulrich Drepper <drepper@gmail.com>
40864
40865 * sysdeps/x86_64/memset.S: After aligning destination, code
40866 branches to different locations depending on the value of
40867 misalignment, when multiarch is enabled. Fix this.
40868
408692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40870
40871 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40872 Set _x86_64_preferred_memory_instruction for AMD processsors.
40873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40874 Set bit_Prefer_SSE_for_memop for AMD processors.
40875
13a804de
UD
408762011-03-04 Ulrich Drepper <drepper@gmail.com>
40877
40878 * libio/fmemopen.c (fmemopen): Optimize a bit.
40879
9d25c392
AS
408802011-03-03 Andreas Schwab <schwab@redhat.com>
40881
40882 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40883
a5543c6a
RM
408842011-03-03 Roland McGrath <roland@redhat.com>
40885
40886 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40887
012d35f7
DM
408882011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40889
7e4ba49c 40890 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40891 __bzero_ultra1 instead of __memset_ultra1.
40892
4bff6e01
AS
408932011-02-23 Andreas Schwab <schwab@redhat.com>
40894 Ulrich Drepper <drepper@gmail.com>
40895
40896 [BZ #12509]
40897 * include/link.h (struct link_map): Add l_orig_initfini.
40898 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40899 returning unsuccessfully.
40900 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40901 close of a file loaded at startup, restore the original l_initfini
40902 list.
40903 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40904 list, store the pointer.
40905 * elf/Makefile ($(objpfx)noload-mem): New rule.
40906 (noload-ENV): Define.
40907 (tests): Add $(objpfx)noload-mem.
40908 * elf/noload.c: Include <memcheck.h>.
40909 (main): Call mtrace. Close all opened handles.
40910
f2092faf
AS
409112011-02-17 Andreas Schwab <schwab@redhat.com>
40912
40913 [BZ #12454]
40914 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40915 dependencies are missing.
40916
6c8a2e88
ST
409172011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40918
f2092faf 40919 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40920 Hurd needs munmap.
40921 * sysdeps/mach/hurd/ifreq.h: New file.
40922
84a42118
PB
409232011-01-27 Petr Baudis <pasky@suse.cz>
40924 Ulrich Drepper <drepper@gmail.com>
40925
071f805e 40926 [BZ 12445]#
84a42118
PB
40927 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40928 to extend_alloca().
40929 * stdio-common/bug23.c: New file.
40930 * stdio-common/Makefile (tests): Add bug23.
40931
e23fe25b
AS
409322010-09-28 Andreas Schwab <schwab@redhat.com>
40933 Ulrich Drepper <drepper@gmail.com>
40934
40935 [BZ #12489]
40936 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40937 before performing relro protection. At old place add assertion
40938 to make sure nothing changed.
40939
d3f02e10
NS
409402011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40941 Glauber de Oliveira Costa <glommer@gmail.com>
40942
40943 * elf/elf.h: Add new ARM TLS relocs.
40944
d55fd7a5
RA
409452011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40946
40947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40948 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40949 cast from r3.
40950 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40951 'tests' variable.
40952 * sysdeps/wordsize-64/tst-writev.c: New file.
40953
2206397e
RA
409542011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40955
40956 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40957 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40958 insns in _dl_start to prevent a TOC reference before relocs are
40959 resolved.
40960
e9433893
UD
409612011-02-15 Ulrich Drepper <drepper@gmail.com>
40962
40963 [BZ #12469]
40964 * Makeconfig: Remove RANLIB definition.
40965 * Makerules: Don't use RANLIB.
40966 * aclocal.m4: Remove ranlib test.
40967 * configure.in: No need to check for ranlib.
40968 * elf/rtld-Rules: Don't use RANLIB.
40969
f75286c6
ST
409702011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40971
8e31c82d
ST
40972 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40973 protection macro.
40974 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40975 inclusion protection macro.
40976
f75286c6
ST
40977 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40978 SIGRTMIN and SIGRTMAX and print information in that case only when
40979 SIGRTMIN is defined.
40980
c1d0e639
JJ
409812011-02-11 Jakub Jelinek <jakub@redhat.com>
40982
40983 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40984 arginfo fn returning -1.
40985
40986 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40987 and thousands string is zero terminated.
40988
edf9294e
AS
409892011-02-03 Andreas Schwab <schwab@redhat.com>
40990
40991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40992 sysdeps/unix/sysv/linux/bits/socket.h.
40993
2b7e92df
ST
409942011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40995
edf9294e
AS
40996 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40997 (__CPU_COUNT): Remove old macros.
40998 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40999 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41000 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41001 (__sched_cpualloc, __sched_cpufree): Add declarations.
41002
a4c7ea7b
UD
410032011-02-05 Ulrich Drepper <drepper@gmail.com>
41004
41005 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41006 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41007 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41008 (readdhstai): Return value of addhstaiX call.
41009 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41010 (addgrbyX): Return value returned by cache_addgr.
41011 (readdgrbyname): Return value returned by addgrbyX.
41012 (readdgrbygid): Likewise.
41013 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41014 (addpwbyX): Return value returned by cache_addpw.
41015 (readdpwbyname): Return value returned by addhstbyX.
41016 (readdpwbyuid): Likewise.
41017 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41018 (addservbyX): Return value returned by cache_addserv.
41019 (readdservbyname): Return value returned by addservbyX:
41020 (readdservbyport): Likewise.
41021 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41022 (addhstbyX): Return value returned by cache_addhst.
41023 (readdhstbyname): Return value returned by addhstbyX.
41024 (readdhstbyaddr): Likewise.
41025 (readdhstbynamev6): Likewise.
41026 (readdhstbyaddrv6): Likewise.
41027 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41028 (readdinitgroups): Return value returned by addinitgroupsX.
41029 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41030 (prune_cache): Keep track of timeout value of re-added entries.
41031 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41032 * nscd/nscd.h: Adjust prototypes of readd* functions.
41033
a0bf67cc
RM
410342011-02-04 Roland McGrath <roland@redhat.com>
41035
41036 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41037 (nis_stats): Likewise.
41038 * nis/nis_modify.c (nis_modify): Likewise.
41039 * nis/nis_remove.c (nis_remove): Likewise.
41040 * nis/nis_add.c (nis_add): Likewise.
41041
41042 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41043
41044 * posix/fnmatch_loop.c: Add some consts.
41045
41046 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41047
435b95eb
L
410482011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41049
41050 [BZ #12460]
41051 * config.make.in (config-cflags-novzeroupper): Define.
41052 * configure.in: Substitute libc_cv_cc_novzeroupper.
41053 * elf/Makefile (AVX-CFLAGS): Define.
41054 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41055 (CFLAGS-tst-auditmod4a.c): Likewise.
41056 (CFLAGS-tst-auditmod4b.c): Likewise.
41057 (CFLAGS-tst-auditmod6b.c): Likewise.
41058 (CFLAGS-tst-auditmod6c.c): Likewise.
41059 (CFLAGS-tst-auditmod7b.c): Likewise.
41060 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41061
8517b15e
UD
410622011-02-02 Ulrich Drepper <drepper@gmail.com>
41063
41064 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41065 function to the callback.
41066 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41067
10a656fe
AS
410682011-02-02 Andreas Schwab <schwab@redhat.com>
41069
41070 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41071 of errno.
41072
968dad0a
UD
410732011-01-19 Ulrich Drepper <drepper@gmail.com>
41074
9f94d2ea 41075 [BZ #11724]
968dad0a
UD
41076 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41077 of constructors.
41078 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41079 of destructors.
41080 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41081
41082 [BZ #11724]
41083 * elf/Makefile: Add rules to build and run new test.
41084 * elf/tst-initorder.c: New file.
41085 * elf/tst-initorder.exp: New file.
41086 * elf/tst-initordera1.c: New file.
41087 * elf/tst-initordera2.c: New file.
41088 * elf/tst-initordera3.c: New file.
41089 * elf/tst-initordera4.c: New file.
41090 * elf/tst-initorderb1.c: New file.
41091 * elf/tst-initorderb2.c: New file.
41092 * elf/tst-order-a1.c: New file.
41093 * elf/tst-order-a2.c: New file.
41094 * elf/tst-order-a3.c: New file.
41095 * elf/tst-order-a4.c: New file.
41096 * elf/tst-order-b1.c: New file.
41097 * elf/tst-order-b2.c: New file.
41098 * elf/tst-order-main.c: New file.
41099 New test case by George Gensure <werkt0@gmail.com>.
41100
86e92359
UD
411012010-10-01 Andreas Schwab <schwab@redhat.com>
41102
41103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41104 decoding ACE if AI_CANONIDN.
41105
5d5732b0
UD
411062011-01-18 Ulrich Drepper <drepper@gmail.com>
41107
41108 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41109
a77e8cbc
UD
411102011-01-17 Ulrich Drepper <drepper@gmail.com>
41111
6392473f
UD
41112 * version.h (RELEASE): Bump for 2.13 release.
41113 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41114
620a0529
UD
41115 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41116
18ba70a5
UD
41117 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41118 MADV_NOHUGEPAGE.
32465c3e
UD
41119 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41123 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41125
c0dafcf1
UD
41126 * posix/getconf.c: Update copyright year.
41127 * catgets/gencat.c: Likewise.
41128 * csu/version.c: Likewise.
41129 * debug/catchsegv.sh: Likewise.
41130 * debug/xtrace.sh: Likewise.
41131 * elf/ldconfig.c: Likewise.
41132 * elf/ldd.bash.in: Likewise.
41133 * elf/sprof.c (print_version): Likewise.
41134 * iconv/iconv_prog.c: Likewise.
41135 * iconv/iconvconfig.c: Likewise.
41136 * locale/programs/locale.c: Likewise.
41137 * locale/programs/localedef.c: Likewise.
41138 * malloc/memusage.sh: Likewise.
41139 * malloc/mtrace.pl: Likewise.
41140 * nscd/nscd.c (print_version): Likewise.
41141 * nss/getent.c: Likewise.
41142
a77e8cbc
UD
41143 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41144 PF_CAIF, and PF_ALG.
41145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41146
77e8bddf
AS
411472011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41148
1f20b93a
AS
41149 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41150 (modules-names): Use them.
41151 (ifunc-test-modules, ifunc-pie-tests): Define.
41152 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41153 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41154 (test-extras): Likewise.
41155 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41156 $(compile-command.c).
41157 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41158 (all-built-dso): Define.
41159 (check-textrel.out, check-execstack.out): Depend on it.
41160
77e8bddf
AS
41161 * configure.in: Don't override --enable-multi-arch.
41162
bc425b33
UD
411632011-01-15 Ulrich Drepper <drepper@gmail.com>
41164
41165 [BZ #6812]
41166 * nscd/hstcache.c (tryagain): Define.
41167 (cache_addhst): Return tryagain not notfound for temporary errors.
41168 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41169 failed.
41170
794c3ad3
UD
411712011-01-14 Ulrich Drepper <drepper@gmail.com>
41172
70181fdd
UD
41173 [BZ #10563]
41174 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41175 to make the syscall.
41176 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41177
794c3ad3
UD
41178 [BZ #12378]
41179 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41180 and fall back to matching as normal character if the string ends before
41181 the matching ']' is found. This is what POSIX requires.
41182 * posix/testfnm.c: Adjust test result.
41183 * posix/globtest.sh: Adjust test result. Add new test.
41184 * posix/tst-fnmatch.input: Likewise.
41185 * posix/tst-fnmatch2.c: Add new test.
41186
68dc9497
AS
411872010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41188
41189 * elf/Makefile (check-execstack): Revert last change. Depend on
41190 check-execstack.h.
41191 (check-execstack.h): New target.
41192 (generated): Add check-execstack.h.
41193 * elf/check-execstack.c: Include "check-execstack.h".
41194 (main): Revert last change.
41195 (handle_file): Return zero if GNU_STACK is absent and
41196 DEFAULT_STACK_PERMS doesn't include PF_X.
41197
451f001b
UD
411982011-01-13 Ulrich Drepper <drepper@gmail.com>
41199
cfa28e56
UD
41200 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41201 in child fails because the descriptor is already closed.
8cf8ce17
UD
41202 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41203 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41204 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41205
1086d70d
UD
41206 [BZ #12397]
41207 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41208 syscall.
41209
451f001b
UD
41210 [BZ #10484]
41211 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41212 temporary buffer used to handle multi lookups locally.
a85b5cb4 41213 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41214
08769175
UD
412152011-01-12 Ulrich Drepper <drepper@gmail.com>
41216
41217 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41218 loader is ld.so.
41219
5e49c52e
UD
412202011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41221
41222 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41223 alignment for SSE2.
41224
60522a5f
UD
412252011-01-12 Ulrich Drepper <drepper@gmail.com>
41226
41227 [BZ #12394]
41228 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41229 characters. When rounding increased number of integer digits recompute
41230 number of groups.
41231 * stdio-common/tst-grouping.c: New file.
41232 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41233
f257bbd7
UD
412342011-01-09 Ulrich Drepper <drepper@gmail.com>
41235
41236 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41237 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41238
41239 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41240 void.
41241 * bits/select.h: Likewise.
41242
fa9c15cb
UD
412432011-01-08 Ulrich Drepper <drepper@gmail.com>
41244
41245 * po/ja.po: Update from translation team.
41246
16c2895f
DM
412472011-01-04 David S. Miller <davem@sunset.davemloft.net>
41248
41249 [BZ #11155]
41250 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41251 implementation just like for lxstat, fxstatat, et al.
41252
2543fef2
JM
412532010-12-27 Jim Meyering <meyering@redhat.com>
41254
41255 [BZ #12348]
41256 * posix/regexec.c (build_trtable): Return failure indication upon
41257 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41258
98727dbe
UD
412592010-12-25 Ulrich Drepper <drepper@gmail.com>
41260
5bd6dc5c
UD
41261 [BZ #12201]
41262 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41263 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41265 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41266
97983464
UD
41267 [BZ #12207]
41268 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41269
98727dbe
UD
41270 [BZ #12204]
41271 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41272 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41273
4a531bb0
L
412742010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41275
41276 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41277 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41278 script has SORT_BY_INIT_PRIORITY.
41279 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41280 NO_CTORS_DTORS_SECTIONS is defined.
41281 * elf/soinit.c: Likewise.
41282 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41283 NO_CTORS_DTORS_SECTIONS is defined.
41284 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41285 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41286 * sysdeps/sh/init-first.c: Likewise.
41287 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41288
07eb4b71
UD
412892010-12-24 Ulrich Drepper <drepper@gmail.com>
41290
41291 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41292 always use the slow path.
41293
30950a5f
RA
412942010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41295
41296 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41297 similar rule which adds the sysdep directories to the header search in
41298 order to pick up the correct platform stackinfo.h.
41299 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41300 perform test if it is, otherwise return successfully without testing.
41301 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41302 DEFAULT_STACK_PERMS define in stackinfo.h.
41303 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41304 defined in stackinfo.h.
41305 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41306 DEFAULT_STACK_PERMS defined in stackinfo.h.
41307 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41308 * sysdeps/ia64/stackinfo.h: Likewise.
41309 * sysdeps/s390/stackinfo.h: Likewise.
41310 * sysdeps/sh/stackinfo.h: Likewise.
41311 * sysdeps/sparc/stackinfo.h: Likewise.
41312 * sysdeps/x86_64/stackinfo.h: Likewise.
41313 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41314 PF_X for powerpc64. Retain PF_X for powerpc32.
41315
db753e2c
UD
413162010-12-19 Ulrich Drepper <drepper@gmail.com>
41317
14b697f7
UD
41318 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41319 accurately.
db753e2c
UD
41320 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41321 GETDENTS_64BIT_ALIGNED.
41322
28300719
UD
413232010-12-14 Ulrich Drepper <dreper@gmail.com>
41324
14b697f7 41325 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41326
4f197237
AS
413272010-12-10 Andreas Schwab <schwab@redhat.com>
41328
dbb0472f
AS
41329 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41330 _GNU_SOURCE.
41331
4f197237
AS
41332 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41333 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41334 Remove __restrict.
41335 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41336 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41337
fb88ac72
UD
413382010-12-09 Ulrich Drepper <drepper@gmail.com>
41339
41340 [BZ #11655]
41341 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41342 are initialized.
41343
42acbb92
JJ
413442010-12-09 Jakub Jelinek <jakub@redhat.com>
41345
41346 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41347
c038d98d
UD
413482010-12-03 Ulrich Drepper <drepper@gmail.com>
41349
41350 * po/it.po: Update from translation team.
41351
3a4a2499
L
413522010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41355 unused codes.
41356
1e24cf6e
UD
413572010-11-30 Ulrich Drepper <drepper@gmail.com>
41358
41359 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41360
a7690819
AS
413612010-11-24 Andreas Schwab <schwab@redhat.com>
41362
41363 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41364 specially.
41365 (gaih_getanswer_slice): Likewise.
41366
3bf8d1b1
JJ
413672010-10-20 Jakub Jelinek <jakub@redhat.com>
41368
41369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41370
6db52fbb
PB
413712010-05-31 Petr Baudis <pasky@suse.cz>
41372
41373 [BZ #11149]
41374 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41375 silently even in the chroot mode.
41376
eaca7569
UD
413772010-11-22 Ulrich Drepper <drepper@gmail.com>
41378
41379 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41380 last patch a bit. Pretty printing
41381
3056dcdb
UD
413822010-05-31 Petr Baudis <pasky@suse.cz>
41383
41384 [BZ #10085]
41385 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41386 initialization of skip_initgroups_dyn.
41387
cf7c9078
UD
413882010-11-19 Ulrich Drepper <drepper@gmail.com>
41389
41390 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41391 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41392
a1fb5e3e
UD
413932010-11-16 Ulrich Drepper <drepper@gmail.com>
41394
41395 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41396
3540d66b
AS
413972010-11-11 Andreas Schwab <schwab@redhat.com>
41398
41399 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41400 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41401 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41402 ($(objpfx)tst-fnmatch-mem): New rule.
41403 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41404 * posix/tst-fnmatch.c (main): Call mtrace.
41405
13b69574
L
414062010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41407
41408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41409 Support Intel processor model 6 and model 0x2c.
41410
da93d214
LM
414112010-11-10 Luis Machado <luisgpm@br.ibm.com>
41412
41413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41414 signed comparison.
41415
8ca52c6e
L
414162010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41417
41418 [BZ #12205]
41419 * string/test-strncasecmp.c (check_result): New function.
41420 (do_one_test): Use it.
41421 (check1): New function.
41422 (test_main): Use it.
41423 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41424 Support strcasecmp and strncasecmp.
41425
69da074d
UD
414262010-11-08 Ulrich Drepper <drepper@gmail.com>
41427
41428 [BZ #12194]
41429 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41430 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41431
ff02d528
L
414322010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41433
41434 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41435 IFUNC support.
41436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41437 memset-x86-64.
41438 * sysdeps/x86_64/multiarch/bzero.S: New file.
41439 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41440 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41441 * sysdeps/x86_64/multiarch/memset.S: New file.
41442 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41444 Set bit_Prefer_SSE_for_memop for Intel processors.
41445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41446 Define.
41447 (index_Prefer_SSE_for_memop): Define.
41448 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41449
344d0b54
LM
414502010-11-04 Luis Machado <luisgpm@br.ibm.com>
41451
41452 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41453 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41454
c0dde15b
UD
414552010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41456
41457 [BZ #12191]
41458 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41459 (__x86_64_raw_data_cache_size_half): Likewise.
41460 (__x86_64_raw_shared_cache_size): Likewise.
41461 (__x86_64_raw_shared_cache_size_half): Likewise.
41462
41463 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41464 (__x86_64_raw_data_cache_size_half): Likewise.
41465 (__x86_64_raw_shared_cache_size): Likewise.
41466 (__x86_64_raw_shared_cache_size_half): Likewise.
41467 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41468 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41469 and __x86_64_raw_shared_cache_size_half. Round
41470 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41471 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41472 to multiple of 256 bytes.
41473
0e516e0e
MS
414742010-11-03 Ulrich Drepper <drepper@gmail.com>
41475
41476 [BZ #12167]
41477 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41478 of inacessible symlinks. Verify result of symlink before returning it.
41479 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41480 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41481
0e012e87
ER
414822010-10-28 Erich Ritz <erichritz@gmail.com>
41483
41484 * math/math.h (isinf): Fix typo in comment.
41485
de0ff7bc
UD
414862010-11-01 Ulrich Drepper <drepper@gmail.com>
41487
41488 * po/da.po: Update from translation team.
41489
fa41c84d
UD
414902010-10-26 Ulrich Drepper <drepper@gmail.com>
41491
41492 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41493 is added to the list.
41494
f0967738
AK
414952010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41496 Ulrich Drepper <drepper@gmail.com>
41497
41498 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41499 the global list here. Move code to...
41500 (_dl_add_to_namespace_list): ...here. New function.
41501 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41502 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41503 * elf/dl-load.c (lose): Don't remove the element from the list.
41504 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41505 (_dl_map_object): Likewise.
41506
415072010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41508
41509 [BZ #12159]
41510 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41511 into all bytes of SSE register.
41512 Patch by Richard Li <richardpku@gmail.com>.
41513
f0967738 415142010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41515
41516 [BZ #12140]
41517 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41518 perturbing.
41519
d0b9e94f
MB
415202010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41521
41522 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41523 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41524 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41525 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41527 submachine.
41528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41529
8e9f92e9
AS
415302010-10-22 Andreas Schwab <schwab@redhat.com>
41531
41532 * include/dlfcn.h (__RTLD_SECURE): Define.
41533 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41534 mode & __RTLD_SECURE instead.
41535 (open_path): Rename preloaded parameter to secure.
41536 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41537 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41538 * elf/dl-deps.c (openaux): Likewise.
41539 * elf/rtld.c (struct map_args): Remove is_preloaded.
41540 (map_doit): Don't use it.
41541 (dl_main): Likewise.
41542 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41543 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41544
bc96fbda
AS
415452010-09-09 Andreas Schwab <schwab@redhat.com>
41546
41547 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41548 (sysd-rules-targets): Remove duplicates.
41549 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41550 rtld-%.$o dependency.
41551
22cd1c9b
AS
415522010-10-18 Andreas Schwab <schwab@redhat.com>
41553
41554 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41555 _dl_map_object do it.
41556
18edac48
UD
415572010-10-19 Ulrich Drepper <drepper@gmail.com>
41558
41559 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41560 fast fma builtins, define the macros in the C99 standard.
41561 (FP_FAST_FMAF): Likewise.
41562 (FP_FAST_FMAL): Likewise.
41563 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41564
41565 * bits/mathdef.h: Update copyright year.
41566 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41567
d2050124
MM
415682010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41569
41570 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41571 builtins, define the macros in the C99 standard.
41572 (FP_FAST_FMAF): Likewise.
41573 (FP_FAST_FMAL): Likewise.
41574 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41575 multiply/add.
41576 (FP_FAST_FMAF): Likewise.
41577
475facd1
JJ
415782010-10-15 Jakub Jelinek <jakub@redhat.com>
41579
41580 [BZ #3268]
41581 * math/libm-test.inc (fma_test): Some new testcases.
41582 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41583 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41584 y and infinite z. Do multiplication by C already in long double.
41585 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41587 y and infinite z. Do bitwise or of inexact bit into u.d.
41588 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41589 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41590 * sysdeps/i386/fpu/s_fma.S: Removed.
41591 * sysdeps/i386/fpu/s_fmal.S: Removed.
41592
7c08a05c
JJ
415932010-10-16 Jakub Jelinek <jakub@redhat.com>
41594
41595 [BZ #3268]
41596 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41598 computation is not scheduled after fetestexcept. Fix value
41599 of minimum denormal long double.
41600
f3f7372d
JJ
416012010-10-14 Jakub Jelinek <jakub@redhat.com>
41602
41603 [BZ #3268]
41604 * math/libm-test.inc (fma_test): Add some more tests.
41605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41606 correctly.
41607
14d43591
AS
416082010-10-15 Andreas Schwab <schwab@redhat.com>
41609
41610 * scripts/data/localplt-s390-linux-gnu.data: New file.
41611 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41612
5e908464
JJ
416132010-10-13 Jakub Jelinek <jakub@redhat.com>
41614
41615 [BZ #3268]
41616 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41617 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41618 instead of dbl-64.
41619 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41620 inlines.
41621 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41623 if one of x and y is very large and the other is subnormal.
41624 * sysdeps/s390/fpu/s_fmaf.c: New file.
41625 * sysdeps/s390/fpu/s_fma.c: New file.
41626 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41627 * sysdeps/powerpc/fpu/s_fma.S: New file.
41628 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41629 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41630 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41631
416322010-10-12 Jakub Jelinek <jakub@redhat.com>
41633
41634 [BZ #3268]
41635 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41636 fma tests.
41637 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41638 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41639 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41640 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41641 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41642 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41644
b833d51f
UD
416452010-10-12 Ulrich Drepper <drepper@redhat.com>
41646
41647 [BZ #12078]
41648 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41649 * posix/bug-regex31.input: Add test case.
41650
1751705d
UD
416512010-10-11 Ulrich Drepper <drepper@gmail.com>
41652
e9b9cbf5
UD
41653 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41654 * posix/bug-regex31.input: New file.
41655
41656 [BZ #12078]
41657 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41658 (parse_sub_exp): Fix last change, use postorder.
41659
ef06edbe
UD
41660 * posix/bug-regex31.c: New file.
41661 * posix/Makefile: Add rules to build and run bug-regex31.
41662
a129c80d
UD
41663 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41664
41665 [BZ #12078]
41666 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41667
b76b818e
UD
41668 [BZ #12108]
41669 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41670 to have entries in sys_siglist.
41671
1751705d
UD
41672 [BZ #12093]
41673 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41674 be NULL.
41675
9ff8d36f
JJ
416762010-10-07 Jakub Jelinek <jakub@redhat.com>
41677
41678 [BZ #3268]
41679 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41680 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41681 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41682 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41683 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41684 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41685 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41686 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41687 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41688 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41689 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41690 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41691 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41692 * math/ftestexcept.c (fetestexcept): Likewise.
41693 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41694 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41695 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41696 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41697 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41698 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41699 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41700
af325969
UD
417012010-10-11 Ulrich Drepper <drepper@gmail.com>
41702
c579b202 41703 [BZ #12107]
af325969
UD
41704 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41705 newline.
41706
67a67b95
UD
417072010-10-06 Ulrich Drepper <drepper@gmail.com>
41708
41709 * string/bug-strstr1.c: New file.
41710 * string/Makefile: Add rules to build and run bug-strstr1.
41711
5fb308bc
EB
417122010-10-05 Eric Blake <eblake@redhat.com>
41713
41714 [BZ #12092]
41715 * string/str-two-way.h (two_way_long_needle): Always clear memory
41716 when skipping input due to the shift table.
41717
45db99c7
UD
417182010-10-03 Ulrich Drepper <drepper@gmail.com>
41719
3b111893
UD
41720 [BZ #12005]
41721 * malloc/mcheck.c: Handle large requests.
41722
45db99c7
UD
41723 [BZ #12077]
41724 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41725 for strncmp and strncasecmp.
41726 * string/stratcliff.c: Add tests for strcmp and strncmp.
41727 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41728
cf7a1eb8
NI
417292010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41730
41731 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41732 __set_fpscr.
41733
6484ba5e
AJ
417342010-09-30 Andreas Jaeger <aj@suse.de>
41735
41736 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41737 (CGROUP_SUPER_MAGIC): Define.
41738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41739 Handle btrfs and cgroup file systems.
41740 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41741 Likewise.
41742
91c42559
LM
417432010-09-27 Luis Machado <luisgpm@br.ibm.com>
41744
41745 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41746 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41747
87a97932
AK
417482010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41749
41750 [BZ #12067]
41751 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41752 trying to locate the ELF header.
41753
c21cc9bc
AS
417542010-09-27 Andreas Schwab <schwab@redhat.com>
41755
41756 [BZ #11611]
41757 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41758 Mask out sign-bit copies when constructing f_fsid.
41759
315970f6
PB
417602010-09-24 Petr Baudis <pasky@suse.cz>
41761
41762 * debug/stack_chk_fail_local.c: Add missing licence exception.
41763 * debug/warning-nop.c: Likewise.
41764
1ac7a2c7
JM
417652010-09-15 Joseph Myers <joseph@codesourcery.com>
41766
41767 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41768 implementing getdents64 using getdents syscall, set d_type if
41769 __ASSUME_GETDENTS32_D_TYPE.
41770
56801c50
AS
417712010-09-16 Andreas Schwab <schwab@redhat.com>
41772
41773 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41774 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41775
dda51327
UD
417762010-09-21 Ulrich Drepper <drepper@redhat.com>
41777
41778 [BZ #12037]
41779 * posix/unistd.h: Undo change of feature selection for ftruncate from
41780 2010-01-11.
41781
8ffcee4a
UD
417822010-09-20 Ulrich Drepper <drepper@redhat.com>
41783
a545ecd9 41784 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41785 detection.
41786
e24f0a8b
AS
417872010-09-20 Andreas Schwab <schwab@redhat.com>
41788
41789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41790 fanotify_mark.
41791 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41792
7291c56f
AS
417932010-09-14 Andreas Schwab <schwab@redhat.com>
41794
41795 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41796 variables after CHECK_SP call.
41797 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41798
bc5fb037
AS
417992010-09-13 Andreas Schwab <schwab@redhat.com>
41800 Ulrich Drepper <drepper@redhat.com>
41801
41802 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41803 re-relocationg ld.so.
41804 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41805 _dl_init_paths call.
41806 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41807 here anymore.
41808
e66e7419
UD
418092010-09-14 Ulrich Drepper <drepper@redhat.com>
41810
41811 * resolv/res_init.c (__res_vinit): Count the default server we added.
41812
c044aa75
CLT
418132010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41814 Ulrich Drepper <drepper@redhat.com>
41815
41816 [BZ #11968]
41817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41818 (____longjmp_chk): Use %ebx for saving value across system call.
41819 Add unwind info.
41820
32cf4069
AS
418212010-09-06 Andreas Schwab <schwab@redhat.com>
41822
41823 * manual/Makefile: Don't mix pattern rules with normal rules.
41824
817328ee
AS
418252010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41826
41827 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41828 operation.
41829 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41830 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41831 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41832 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41834 Likewise.
41835
29fddf61
UD
418362010-09-04 Ulrich Drepper <drepper@redhat.com>
41837
41838 [BZ #11979]
41839 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41840 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41841
0959ffc9
UD
418422010-09-02 Ulrich Drepper <drepper@redhat.com>
41843
41844 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41845 * sysdeps/x86_64/addmul_1.S: Likewise.
41846 * sysdeps/x86_64/lshift.S: Likewise.
41847 * sysdeps/x86_64/mul_1.S: Likewise.
41848 * sysdeps/x86_64/rshift.S: Likewise.
41849 * sysdeps/x86_64/sub_n.S: Likewise.
41850 * sysdeps/x86_64/submul_1.S: Likewise.
41851
ece29840
ST
418522010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41853
0959ffc9
UD
41854 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41855 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41856 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41857 * bits/sched.h [__need_schedparam]
ece29840 41858 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41859 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41860 (__defined_schedparam): Define to 1.
ece29840
ST
41861 (__sched_param): New structure, identical to sched_param.
41862 (__need_schedparam): Undefine.
41863
e53a31fe
MF
418642010-08-31 Mike Frysinger <vapier@gentoo.org>
41865
fdc0c10d
MF
41866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41867 (epoll_create1): Declare.
41868
e53a31fe
MF
41869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41870
a726d796
AS
418712010-08-31 Andreas Schwab <schwab@redhat.com>
41872
41873 [BZ #7066]
41874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41875 shifting retval into place.
41876
2f3e3dc7
UD
418772010-09-01 Ulrich Drepper <drepper@redhat.com>
41878
f2933da9
UD
41879 * nis/rpcsvc/nis.h: Update copyright notice.
41880 * nis/rpcsvc/nis.x: Likewise.
41881 * nis/rpcsvc/nis_callback.h: Likewise.
41882 * nis/rpcsvc/nis_callback.x: Likewise.
41883 * nis/rpcsvc/nis_object.x: Likewise.
41884 * nis/rpcsvc/nis_tags.h: Likewise.
41885 * nis/rpcsvc/yp.h: Likewise.
41886 * nis/rpcsvc/yp.x: Likewise.
41887 * nis/rpcsvc/ypupd.h: Likewise.
41888 * nis/yp_xdr.c: Likewise.
41889 * nis/ypupdate_xdr.c: Likewise.
41890
2f3e3dc7
UD
41891 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41892 mainly the body of pmap_getport. Add parameters to specify timeouts.
41893 (pmap_getport): Use __libc_rpc_getport.
41894 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41895 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41896 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41897
f3dcc2f9
AS
418982010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41899
41900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41901 fanotify_mark.
41902
6d34eb5b
RM
419032010-08-27 Roland McGrath <roland@redhat.com>
41904
41905 * sysdeps/i386/i686/multiarch/Makefile
41906 (CFLAGS-varshift.c): New variable.
41907
9ea3de11
UD
419082010-08-27 Ulrich Drepper <drepper@redhat.com>
41909
c96d23fc
UD
41910 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41911 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41912
9ea3de11
UD
41913 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41914
41915 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41916
623aac7f
L
419172010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41918
41919 * sysdeps/x86_64/strlen.S: Unroll the loop.
41920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41921 strlen-sse2 strlen-sse2-bsf.
41922 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41923 __strlen_no_bsf if bit_Slow_BSF is set.
41924 (__strlen_sse42): Removed.
41925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41926 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41927
8b2b7715
RM
419282010-08-25 Roland McGrath <roland@redhat.com>
41929
41930 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41931 * sysdeps/x86_64/multiarch/varshift.c: New file.
41932 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41933 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41934 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41935 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41936
e73015f2
L
419372010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41938
41939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41940 strlen-sse2 strlen-sse2-bsf.
41941 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41942 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41943 (__strlen_sse2): Removed.
41944 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41945 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41947 bit_Slow_BSF for Atom.
41948 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41949 (index_Slow_BSF): Define.
41950 (HAS_SLOW_BSF): Define.
41951
df24a73e
UD
419522010-08-25 Ulrich Drepper <drepper@redhat.com>
41953
41954 [BZ #10851]
41955 * resolv/res_init.c (__res_vinit): When no server address at all
41956 is given default to loopback.
41957
f2ac4868
RM
419582010-08-24 Roland McGrath <roland@redhat.com>
41959
09055553
RM
41960 * configure.in: Remove config-name.h generation.
41961 * configure: Regenerated.
41962 * config-name.in: File removed.
41963 * scripts/config-uname.sh: New file.
41964 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41965 ($(objdir)config-name.h): New target.
41966
f2ac4868
RM
41967 * sunrpc/rpc_parse.h: Avoid nested comment.
41968
73f27d5e
RH
419692010-08-24 Richard Henderson <rth@redhat.com>
41970 Ulrich Drepper <drepper@redhat.com>
41971 H.J. Lu <hongjiu.lu@intel.com>
41972
41973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41975 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41976 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41977 _mm_alignr_epi8 with _mm_loadu_si128.
41978 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41979 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41980 (__m128i_shift_right): Removed.
41981 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41982 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41983 * sysdeps/x86_64/multiarch/varshift.h: New file.
41984 * sysdeps/x86_64/multiarch/varshift.S: New file.
41985
84b9230c
MF
419862010-08-21 Mike Frysinger <vapier@gentoo.org>
41987
41988 * configure.in: Move assembler checks to before sysdep dir checking.
41989
9bbd0ddc
PB
419902010-08-20 Petr Baudis <pasky@suse.cz>
41991
41992 * LICENSES: Sync the sunrpc license.
41993
9da4bb31
UD
419942010-08-19 Ulrich Drepper <drepper@redhat.com>
41995
a7ab6ec8
UD
41996 * sunrpc/auth_des.c: Update copyright notice once again.
41997 * sunrpc/auth_none.c: Likewise.
41998 * sunrpc/auth_unix.c: Likewise.
41999 * sunrpc/authdes_prot.c: Likewise.
42000 * sunrpc/authuxprot.c: Likewise.
42001 * sunrpc/bindrsvprt.c: Likewise.
42002 * sunrpc/clnt_gen.c: Likewise.
42003 * sunrpc/clnt_perr.c: Likewise.
42004 * sunrpc/clnt_raw.c: Likewise.
42005 * sunrpc/clnt_simp.c: Likewise.
42006 * sunrpc/clnt_tcp.c: Likewise.
42007 * sunrpc/clnt_udp.c: Likewise.
42008 * sunrpc/clnt_unix.c: Likewise.
42009 * sunrpc/des_crypt.c: Likewise.
42010 * sunrpc/des_soft.c: Likewise.
42011 * sunrpc/get_myaddr.c: Likewise.
42012 * sunrpc/getrpcport.c: Likewise.
42013 * sunrpc/key_call.c: Likewise.
42014 * sunrpc/key_prot.c: Likewise.
42015 * sunrpc/openchild.c: Likewise.
42016 * sunrpc/pm_getmaps.c: Likewise.
42017 * sunrpc/pm_getport.c: Likewise.
42018 * sunrpc/pmap_clnt.c: Likewise.
42019 * sunrpc/pmap_prot.c: Likewise.
42020 * sunrpc/pmap_prot2.c: Likewise.
42021 * sunrpc/pmap_rmt.c: Likewise.
42022 * sunrpc/rpc/auth.h: Likewise.
42023 * sunrpc/rpc/auth_unix.h: Likewise.
42024 * sunrpc/rpc/clnt.h: Likewise.
42025 * sunrpc/rpc/des_crypt.h: Likewise.
42026 * sunrpc/rpc/key_prot.h: Likewise.
42027 * sunrpc/rpc/netdb.h: Likewise.
42028 * sunrpc/rpc/pmap_clnt.h: Likewise.
42029 * sunrpc/rpc/pmap_prot.h: Likewise.
42030 * sunrpc/rpc/pmap_rmt.h: Likewise.
42031 * sunrpc/rpc/rpc.h: Likewise.
42032 * sunrpc/rpc/rpc_des.h: Likewise.
42033 * sunrpc/rpc/rpc_msg.h: Likewise.
42034 * sunrpc/rpc/svc.h: Likewise.
42035 * sunrpc/rpc/svc_auth.h: Likewise.
42036 * sunrpc/rpc/types.h: Likewise.
42037 * sunrpc/rpc/xdr.h: Likewise.
42038 * sunrpc/rpc_clntout.c: Likewise.
42039 * sunrpc/rpc_cmsg.c: Likewise.
42040 * sunrpc/rpc_common.c: Likewise.
42041 * sunrpc/rpc_cout.c: Likewise.
42042 * sunrpc/rpc_dtable.c: Likewise.
42043 * sunrpc/rpc_hout.c: Likewise.
42044 * sunrpc/rpc_main.c: Likewise.
42045 * sunrpc/rpc_parse.c: Likewise.
42046 * sunrpc/rpc_parse.h: Likewise.
42047 * sunrpc/rpc_prot.c: Likewise.
42048 * sunrpc/rpc_sample.c: Likewise.
42049 * sunrpc/rpc_scan.c: Likewise.
42050 * sunrpc/rpc_scan.h: Likewise.
42051 * sunrpc/rpc_svcout.c: Likewise.
42052 * sunrpc/rpc_tblout.c: Likewise.
42053 * sunrpc/rpc_util.c: Likewise.
42054 * sunrpc/rpc_util.h: Likewise.
42055 * sunrpc/rpcinfo.c: Likewise.
42056 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42057 * sunrpc/rpcsvc/key_prot.x: Likewise.
42058 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42059 * sunrpc/rpcsvc/mount.x: Likewise.
42060 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42061 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42062 * sunrpc/rpcsvc/rex.x: Likewise.
42063 * sunrpc/rpcsvc/rstat.x: Likewise.
42064 * sunrpc/rpcsvc/rusers.x: Likewise.
42065 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42066 * sunrpc/rpcsvc/spray.x: Likewise.
42067 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42068 * sunrpc/rtime.c: Likewise.
42069 * sunrpc/svc.c: Likewise.
42070 * sunrpc/svc_auth.c: Likewise.
42071 * sunrpc/svc_authux.c: Likewise.
42072 * sunrpc/svc_raw.c: Likewise.
42073 * sunrpc/svc_run.c: Likewise.
42074 * sunrpc/svc_simple.c: Likewise.
42075 * sunrpc/svc_tcp.c: Likewise.
42076 * sunrpc/svc_udp.c: Likewise.
42077 * sunrpc/svc_unix.c: Likewise.
42078 * sunrpc/svcauth_des.c: Likewise.
42079 * sunrpc/xcrypt.c: Likewise.
42080 * sunrpc/xdr.c: Likewise.
42081 * sunrpc/xdr_array.c: Likewise.
42082 * sunrpc/xdr_float.c: Likewise.
42083 * sunrpc/xdr_mem.c: Likewise.
42084 * sunrpc/xdr_rec.c: Likewise.
42085 * sunrpc/xdr_ref.c: Likewise.
42086 * sunrpc/xdr_sizeof.c: Likewise.
42087 * sunrpc/xdr_stdio.c: Likewise.
42088
9da4bb31
UD
42089 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42090 handling.
42091
bdaa77bc
AS
420922010-08-19 Andreas Schwab <schwab@redhat.com>
42093
42094 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42095
fe2f79db
LM
420962010-08-19 Luis Machado <luisgpm@br.ibm.com>
42097
42098 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42099 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42100 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42101 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42102 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42103 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42104 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42105 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42107 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42108 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42109 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42110 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42111 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42112
b9b42ee0
AB
421132010-07-26 Anton Blanchard <anton@samba.org>
42114
42115 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42116 * malloc/arena.c (heap_trim): Likewise.
42117
1c06ba31
UD
421182010-08-16 Ulrich Drepper <drepper@redhat.com>
42119
42120 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42121 here. Not...
42122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42123 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42124
f8392f40
L
421252010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42126
42127 * sysdeps/i386/elf/Makefile: New file.
42128
3162f12e
AS
421292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42130
42131 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42132 from fanotify_init.
42133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42134 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42135
28c90b2c
UD
421362010-08-15 Ulrich Drepper <drepper@redhat.com>
42137
42138 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42139 of strncasecmp_l.
1feccb6c 42140 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42141
ca6bb004
UD
421422010-08-14 Ulrich Drepper <drepper@redhat.com>
42143
e9f82e0d
UD
42144 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42145 strncase_l-nonascii.
42146 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42147 Add strncase_l-ssse3.
42148 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42149 * sysdeps/x86_64/strcmp.S: Likewise.
42150 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42151 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42152 * sysdeps/x86_64/strncase.S: New file.
42153 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42154 * sysdeps/x86_64/strncase_l.S: New file.
42155 * string/Makefile (strop-tests): Add strncasecmp.
42156 * string/test-strncasecmp.c: New file.
42157
42158 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42159 warning.
42160
ca6bb004
UD
42161 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42162 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42163
052fa7b3
AS
421642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42165
42166 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42167
962dba78
UD
421682010-08-12 Ulrich Drepper <drepper@redhat.com>
42169
42170 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42171 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42172 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42173
bebff237
AM
421742010-05-01 Alan Modra <amodra@gmail.com>
42175
42176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42177 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42178 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42179 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42180 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42181 tidying. Don't tail-call __sigjmp_save for static lib.
42182 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42183 save location.
42184 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42185 (CALL_MCOUNT): Add eh info, and nop after bl.
42186 (TAIL_CALL_SYSCALL_ERROR): New macro.
42187 (PSEUDO_RET): Use it.
42188 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42189 Correct save location of integer regs and cr.
42190 (_dl_profile_resolve): Correct cr save location. Delete nops
42191 after bl when SHARED. Reduce cfi size a little by better
42192 placement of cfi directives.
42193 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42194 make a stack frame. Instead use parm save area as a temp.
42195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42196 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42198 Don't make a stack frame for parent, use parm save area.
42199 Increase child stack frame to 112 bytes. Don't save unused reg,
42200 and adjust reg usage. Set up cfi on error recovery and
42201 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42203 (__makecontext): Add dummy nop after jump to exit.
42204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42205 Use correct parm save area and cr save, reduce stack frame.
42206 Correct cfi for possible PSEUDO_RET frame setup.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42208 Branch to local label emitted by PSEUDO_RET rather than
42209 __syscall_error.
42210
02637374
AS
422112010-08-12 Andreas Schwab <schwab@redhat.com>
42212
42213 [BZ #11904]
42214 * locale/programs/locale.c (print_assignment): New function.
42215 (show_locale_vars): Use it.
42216
c3e2f19b
UD
422172010-08-11 Ulrich Drepper <drepper@redhat.com>
42218
3cdaa6ad
UD
42219 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42220 field.
42221 (struct statfs64): Likewise.
42222 (_STATFS_F_FLAGS): Define.
42223 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42225 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42226 (ST_VALID): Define locally.
42227 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42228 __statvfs_getflags, use the provided value.
42229 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42230 __ASSUME_STATFS_F_FLAGS.
42231
754f7da3
UD
42232 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42233
10b3bedc
UD
42234 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42235 Add sys/fanotify.h.
42236 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42237 fanotify_mask for GLIBC_2.13.
42238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42239 fanotify_init and fanotify_mark.
42240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42241 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42242
c08fb0d7
UD
42243 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42244 Add prlimit.
42245 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42246 prlimit64 for GLIBC_2.13.
42247 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42248 prlimit64.
42249 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42250 syscall.
42251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42252 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42253 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42254 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42256 add prlimit alias.
42257 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42258
15bac72b
UD
42259 [BZ #11903]
42260 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42261 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42262
c3e2f19b
UD
42263 * nss/Makefile: Add rules to build and run tst-nss-test1.
42264 * shlib-versions: Add entry for libnss_test1.
42265 * nss/nss_test1.c: New file.
42266 * nss/tst-nss-test1.c: New file.
42267
42268 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42269 (__nss_configure_lookup): Set appropriate entry in
42270 __nss_configure_lookup to true.
42271 * nss/nsswitch.h: Define enum with indeces of databases in
42272 databases and __nss_database_custom arrays. Declare
42273 __nss_database_custom.
42274 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42275 to avoid using nscd when custom rules are installed.
42276 * nss/getXXbyYY_r.c: Likewise.
42277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42278
42279 * nss/nss_files/files-parse.c: Whitespace fixes.
42280
f15ce4d8
UD
422812010-08-09 Ulrich Drepper <drepper@redhat.com>
42282
42283 [BZ #11883]
42284 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42285 * posix/fnmatch_loop.c: Likewise.
42286
d22e4cc9
AK
422872010-07-17 Andi Kleen <ak@linux.intel.com>
42288
42289 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42290 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42291 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42292 * Versions.def [GLIBC_2.13]: Add.
42293
805bc17d
UD
422942010-08-06 Ulrich Drepper <drepper@redhat.com>
42295
42296 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42297 Also fail if tpwd after pwuid call is NULL.
42298
5a42321d
ST
422992010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42300
42301 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42302 when converting to ms.
42303
fd3ebeda
ST
423042010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42305
42306 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42307 EOPNOTSUPP errors with ENOTTY.
42308 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42309 EOPNOTSUPP errors with ENOTTY.
42310
73507d3a
UD
423112010-07-31 Ulrich Drepper <drepper@redhat.com>
42312
42313 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42314 Add strcasecmp_l-ssse3.
42315 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42316 strcasecmp.
42317 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42318 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42319 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42320
fe36dd02
UD
423212010-07-30 Ulrich Drepper <drepper@redhat.com>
42322
66f6765a
UD
42323 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42324
42e08a54
UD
42325 * string/Makefile (strop-tests): Add strcasecmp.
42326 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42327 strcasecmp_l-nonascii.
42328 (gen-as-const-headers): Add locale-defines.sym.
42329 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42330 * sysdeps/x86_64/strcasecmp.S: New file.
42331 * sysdeps/x86_64/strcasecmp_l.S: New file.
42332 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42333 * sysdeps/x86_64/locale-defines.sym: New file.
42334 * string/test-strcasecmp.c: New file.
42335
fe36dd02
UD
42336 * string/test-strcasestr.c: Test both ends of the range of characters.
42337 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42338
48cbc0d6
RM
423392010-07-29 Roland McGrath <roland@redhat.com>
42340
76e6d6bc 42341 [BZ #11856]
48cbc0d6
RM
42342 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42343
880113d9
UD
423442010-07-27 Ulrich Drepper <drepper@redhat.com>
42345
42346 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42347 for ld.so.
42348
deb9cabb
AS
423492010-07-27 Andreas Schwab <schwab@redhat.com>
42350
42351 * manual/memory.texi (Malloc Tunable Parameters): Document
42352 M_PERTURB.
42353
1c7570ff
RM
423542010-07-26 Roland McGrath <roland@redhat.com>
42355
42356 [BZ #11840]
42357 * configure.in (-fgnu89-inline check): Set and substitute
42358 gnu89_inline, not libc_cv_gnu89_inline.
42359 * configure: Regenerated.
42360 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42361
24fb0f88
UD
423622010-07-26 Ulrich Drepper <drepper@redhat.com>
42363
42364 * string/test-strnlen.c: New file.
42365 * string/Makefile (strop-tests): Add strnlen.
42366 * string/tester.c (test_strnlen): Add a few more test cases.
42367 * string/tst-strlen.c: Better error reporting.
42368
42369 * sysdeps/x86_64/strnlen.S: New file.
42370
8e96b93a
UD
423712010-07-24 Ulrich Drepper <drepper@redhat.com>
42372
42373 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42374 lower-latency instructions.
42375
dbc676d4
UD
423762010-07-23 Ulrich Drepper <drepper@redhat.com>
42377
42378 * string/test-strcasestr.c: New file.
42379 * string/test-strstr.c: New file.
42380 * string/Makefile (strop-tests): Add strstr and strcasestr.
42381 * string/str-two-way.h: Don't undefine MAX.
42382 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42383
f6a31e0e
AS
423842010-07-21 Andreas Schwab <schwab@redhat.com>
42385
42386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42387 strcasestr-nonascii.
42388 (CFLAGS-strcasestr-nonascii.c): Define.
42389 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42390 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42391 Remove unused attribute.
42392
5dbc3b6c
RM
423932010-07-20 Roland McGrath <roland@redhat.com>
42394
42395 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42396 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42397 ld.so.cache was broken. With it, there is no way to disable dsocaps
42398 like LD_HWCAP_MASK can disable hwcaps.
42399
23d101d8
EPM
424002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42401
42402 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42403
cc9f2e47
UD
424042010-07-16 Ulrich Drepper <drepper@redhat.com>
42405
42406 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42407 call in strcasestr.
42408 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42409 __strcasestr_sse42_nonascii.
42410 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42411 strcasestr-nonascii.c.
42412 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42413
77c1b069
LM
424142010-06-15 Luis Machado <luisgpm@br.ibm.com>
42415
42416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42417 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42419 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42420
440566c3
UD
424212010-07-09 Ulrich Drepper <drepper@redhat.com>
42422
42423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42424 fcntl.
42425
5be9d05d
AS
424262010-07-06 Andreas Schwab <schwab@redhat.com>
42427
c30b7ee2 42428 [BZ #11577]
5be9d05d
AS
42429 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42430 dl_signal_cerror.
42431
8a492a67
UD
424322010-07-06 Ulrich Drepper <drepper@redhat.com>
42433
42434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42435 _PC_PIPE_BUF using F_GETPIPE_SZ.
42436
713df3d5
RM
424372010-07-05 Roland McGrath <roland@redhat.com>
42438
42439 * manual/arith.texi (Rounding Functions): Fix rint description
42440 implicit in round description.
42441
702e8f14
UD
424422010-07-02 Ulrich Drepper <drepper@redhat.com>
42443
42444 * elf/Makefile: Fix linking for a few tests to make recent linker
42445 happy.
42446
52ed8be9
AS
424472010-06-30 Andreas Schwab <schwab@redhat.com>
42448
42449 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42450 $(common-objpfx)libc_nonshared.a.
42451
f47c9a11
LM
424522010-06-21 Luis Machado <luisgpm@br.ibm.com>
42453
42454 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42455 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42456 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42457 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42458 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42459 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42460 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42461 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42476 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42477 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42478 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42479 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42480 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42481 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42482 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42483 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42484 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42485 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42486 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42487 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42502
6fb8cbcb
L
425032010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42504
42505 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42506 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42507 * string/memmove.c (memmove): Renamed to ...
42508 (MEMMOVE): ...this. Default to memmove.
42509 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42510 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42511 (END_CHK): Define.
42512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42513 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42514 mempcpy-ssse3-back memmove-ssse3-back.
42515 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42518 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42519 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42520 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42521 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42522 * sysdeps/x86_64/multiarch/memmove.c: New file.
42523 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42524 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42525 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42526 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42527 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42529 Define.
42530 (index_Fast_Copy_Backward): Define.
42531 (HAS_ARCH_FEATURE): Define.
42532 (HAS_FAST_REP_STRING): Define.
42533 (HAS_FAST_COPY_BACKWARD): Define.
42534
4e733bac 425352010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42536
42537 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42538 Restore proper fallback handling.
42539
63c4ed22
UD
425402010-06-19 Ulrich Drepper <drepper@redhat.com>
42541
ac2b484c
UD
42542 [BZ #11701]
42543 * posix/group_member.c (__group_member): Correct checking loop.
42544
63c4ed22
UD
42545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42546 OOM in getpwuid_r correctly. Return error number when the caller
42547 should return, otherwise -1.
42548 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42549 call returning > 0 value.
42550 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42551
765ade4b
AS
425522010-06-07 Andreas Schwab <schwab@redhat.com>
42553
42554 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42555 libc_nonshared.a from targets in modules-names.
42556
80da2e09
KS
425572010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42558
42559 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42560 requires it.
42561
158db122
LM
425622010-06-10 Luis Machado <luisgpm@br.ibm.com>
42563
42564 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42566 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42568
caa78cf8
AS
425692010-06-02 Andreas Schwab <schwab@redhat.com>
42570
42571 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42572
b2ef2c01
UD
425732010-06-14 Ulrich Drepper <drepper@redhat.com>
42574
42575 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42576 and F_GETPIPE_SZ.
42577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42578 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42579 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42583
fbd643b6
RM
425842010-06-14 Roland McGrath <roland@redhat.com>
42585
42586 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42587
f32f2869
JJ
425882010-06-07 Jakub Jelinek <jakub@redhat.com>
42589
42590 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42591 __REDIRECT followed by __THROW.
42592 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42593 * posix/getopt.h (getopt): Likewise.
42594
2a50c078
EPM
425952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42596
42597 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42598 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42599 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42600 in AT_FLAGS.
42601 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42602 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42603
eb5ad2eb
LM
426042010-05-28 Luis Machado <luisgpm@br.ibm.com>
42605
42606 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42607
3c88fe1e
L
426082010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42609
42610 [BZ #11640]
42611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42612 Properly check family and model.
42613
d2f73151
TY
426142010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42615
42616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42617
ebd2e13d
LM
426182010-05-24 Luis Machado <luisgpm@br.ibm.com>
42619
42620 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42621
b32b8b45
UD
426222010-05-21 Ulrich Drepper <drepper@redhat.com>
42623
42624 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42625 symbol reference.
42626
9acbe24d
AS
426272010-05-19 Andreas Schwab <schwab@redhat.com>
42628
42629 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42630 symbol reference.
42631
f0ccf6ea
AS
426322010-05-21 Andreas Schwab <schwab@redhat.com>
42633
3d04ff3a
AS
42634 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42635 and internal_recvmmsg.
42636 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42637 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42638 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42639 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42640
f0ccf6ea
AS
42641 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42642 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42643 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42644
5b08ac57
AS
426452010-05-20 Andreas Schwab <schwab@redhat.com>
42646
42647 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42648
4828935d
LM
426492010-05-17 Luis Machado <luisgpm@br.ibm.com>
42650
42651 POWER7 optimizations.
42652 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42653 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42654
373d545e
UD
426552010-05-19 Ulrich Drepper <drepper@redhat.com>
42656
42657 * version.h: Update for 2.13 development version.
42658
21a2b1ae
AS
426592010-05-12 Andrew Stubbs <ams@codesourcery.com>
42660
42661 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42662 exceptions. Return 0.
42663
3f7dcb2b
RM
426642010-05-07 Roland McGrath <roland@redhat.com>
42665
42666 * elf/ldconfig.c (main): Add a const.
42667
5f24d53a 426682010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42669
a160f8d8
UD
42670 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42671 (args_options): Add no-idn option.
42672 (ahosts_keys_int): Add idn_flags to ai_flags.
42673 (parse_option): Handle 'i' option to clear idn_flags.
42674
5f24d53a
UD
42675 * malloc/malloc.c (_int_free): Possible race in the most recently
42676 added check. Only act on the data if no current modification
42677 happened.
265bb1ce
UD
42678
42679See ChangeLog.17 for earlier changes.